Struct: s3.ObjectIdentifier
Overview
Object Identifier is unique value to identify objects.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Key *string
Key name of the object.
-
VersionId *string
VersionId for the specific version of the object to delete.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetKey(string) *ObjectIdentifier
operation
SetKey sets the Key field’s value.
-
SetVersionId(string) *ObjectIdentifier
operation
SetVersionId sets the VersionId field’s value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Key *string
`min:"1" type:"string" required:"true"`
Key name of the object.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints (docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).
Key is a required field
VersionId *string
`type:"string"`
VersionId for the specific version of the object to delete.
_ struct{}
`type:"structure"`
Method Details
func (s ObjectIdentifier) 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”.
18633 18634 18635 |
// File 'service/s3/api.go', line 18633
|
func (s *ObjectIdentifier) SetKey(v string) *ObjectIdentifier
SetKey sets the Key field’s value.
18654 18655 18656 18657 |
// File 'service/s3/api.go', line 18654
|
func (s *ObjectIdentifier) SetVersionId(v string) *ObjectIdentifier
SetVersionId sets the VersionId field’s value.
18660 18661 18662 18663 |
// File 'service/s3/api.go', line 18660
|
func (s ObjectIdentifier) 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”.
18624 18625 18626 |
// File 'service/s3/api.go', line 18624
|
func (s *ObjectIdentifier) Validate() error
Validate inspects the fields of the type to determine if they are valid.
18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 |
// File 'service/s3/api.go', line 18638
|