Struct: s3.ObjectVersion
Overview
The version of an object.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ETag *string
The entity tag is an MD5 hash of that version of the object.
-
IsLatest *bool
Specifies whether the object is (true) or is not (false) the latest version of an object.
-
Key *string
The object key.
-
LastModified *time.Time
Date and time the object was last modified.
-
Owner *Owner
Specifies the owner of the object.
-
Size *int64
Size in bytes of the object.
-
StorageClass *string
The class of storage used to store the object.
-
VersionId *string
Version ID of an object.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetETag(string) *ObjectVersion
operation
SetETag sets the ETag field's value.
-
SetIsLatest(bool) *ObjectVersion
operation
SetIsLatest sets the IsLatest field's value.
-
SetKey(string) *ObjectVersion
operation
SetKey sets the Key field's value.
-
SetLastModified(time.Time) *ObjectVersion
operation
SetLastModified sets the LastModified field's value.
-
SetOwner(*Owner) *ObjectVersion
operation
SetOwner sets the Owner field's value.
-
SetSize(int64) *ObjectVersion
operation
SetSize sets the Size field's value.
-
SetStorageClass(string) *ObjectVersion
operation
SetStorageClass sets the StorageClass field's value.
-
SetVersionId(string) *ObjectVersion
operation
SetVersionId sets the VersionId field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
ETag *string
`type:"string"`
The entity tag is an MD5 hash of that version of the object.
IsLatest *bool
`type:"boolean"`
Specifies whether the object is (true) or is not (false) the latest version of an object.
Key *string
`min:"1" type:"string"`
The object key.
LastModified *time.Time
`type:"timestamp"`
Date and time the object was last modified.
Owner *Owner
`type:"structure"`
Specifies the owner of the object.
Size *int64
`type:"integer"`
Size in bytes of the object.
StorageClass *string
`type:"string" enum:"ObjectVersionStorageClass"`
The class of storage used to store the object.
VersionId *string
`type:"string"`
Version ID of an object.
_ struct{}
`type:"structure"`
Method Details
func (s ObjectVersion) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
18248 18249 18250 |
// File 'service/s3/api.go', line 18248
|
func (s *ObjectVersion) SetETag(v string) *ObjectVersion
SetETag sets the ETag field's value.
18253 18254 18255 18256 |
// File 'service/s3/api.go', line 18253
|
func (s *ObjectVersion) SetIsLatest(v bool) *ObjectVersion
SetIsLatest sets the IsLatest field's value.
18259 18260 18261 18262 |
// File 'service/s3/api.go', line 18259
|
func (s *ObjectVersion) SetKey(v string) *ObjectVersion
SetKey sets the Key field's value.
18265 18266 18267 18268 |
// File 'service/s3/api.go', line 18265
|
func (s *ObjectVersion) SetLastModified(v time.Time) *ObjectVersion
SetLastModified sets the LastModified field's value.
18271 18272 18273 18274 |
// File 'service/s3/api.go', line 18271
|
func (s *ObjectVersion) SetOwner(v *Owner) *ObjectVersion
SetOwner sets the Owner field's value.
18277 18278 18279 18280 |
// File 'service/s3/api.go', line 18277
|
func (s *ObjectVersion) SetSize(v int64) *ObjectVersion
SetSize sets the Size field's value.
18283 18284 18285 18286 |
// File 'service/s3/api.go', line 18283
|
func (s *ObjectVersion) SetStorageClass(v string) *ObjectVersion
SetStorageClass sets the StorageClass field's value.
18289 18290 18291 18292 |
// File 'service/s3/api.go', line 18289
|
func (s *ObjectVersion) SetVersionId(v string) *ObjectVersion
SetVersionId sets the VersionId field's value.
18295 18296 18297 18298 |
// File 'service/s3/api.go', line 18295
|
func (s ObjectVersion) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
18239 18240 18241 |
// File 'service/s3/api.go', line 18239
|