Struct: s3.Tag
Overview
A container of a key value name pair.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Key *string
Name of the object key.
-
Value *string
Value of the tag.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetKey(string) *Tag
operation
SetKey sets the Key field's value.
-
SetValue(string) *Tag
operation
SetValue sets the Value 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"`
Name of the object key.
Key is a required field
Value *string
`type:"string" required:"true"`
Value of the tag.
Value is a required field
_ struct{}
`type:"structure"`
Method Details
func (s Tag) 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”.
22074 22075 22076 |
// File 'service/s3/api.go', line 22074
|
func (s *Tag) SetKey(v string) *Tag
SetKey sets the Key field's value.
22098 22099 22100 22101 |
// File 'service/s3/api.go', line 22098
|
func (s *Tag) SetValue(v string) *Tag
SetValue sets the Value field's value.
22104 22105 22106 22107 |
// File 'service/s3/api.go', line 22104
|
func (s Tag) 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”.
22065 22066 22067 |
// File 'service/s3/api.go', line 22065
|
func (s *Tag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 |
// File 'service/s3/api.go', line 22079
|