Struct: s3.ObjectLockRetention
Overview
A Retention configuration for an object.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Mode *string
Indicates the Retention mode for the specified object.
-
RetainUntilDate *time.Time
The date on which this Object Lock Retention will expire.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetMode(string) *ObjectLockRetention
operation
SetMode sets the Mode field's value.
-
SetRetainUntilDate(time.Time) *ObjectLockRetention
operation
SetRetainUntilDate sets the RetainUntilDate field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
Mode *string
`type:"string" enum:"ObjectLockRetentionMode"`
Indicates the Retention mode for the specified object.
RetainUntilDate *time.Time
`type:"timestamp" timestampFormat:"iso8601"`
The date on which this Object Lock Retention will expire.
_ struct{}
`type:"structure"`
Method Details
func (s ObjectLockRetention) 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”.
18153 18154 18155 |
// File 'service/s3/api.go', line 18153
|
func (s *ObjectLockRetention) SetMode(v string) *ObjectLockRetention
SetMode sets the Mode field's value.
18158 18159 18160 18161 |
// File 'service/s3/api.go', line 18158
|
func (s *ObjectLockRetention) SetRetainUntilDate(v time.Time) *ObjectLockRetention
SetRetainUntilDate sets the RetainUntilDate field's value.
18164 18165 18166 18167 |
// File 'service/s3/api.go', line 18164
|
func (s ObjectLockRetention) 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”.
18144 18145 18146 |
// File 'service/s3/api.go', line 18144
|