Struct: s3.ListLegalHoldsOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
- CreateTime *time.Time
- LegalHolds []*LegalHold
-
RetentionPeriod *int64
Retention period to store on the object in seconds.
- RetentionPeriodExpirationDate *time.Time
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetCreateTime(time.Time) *ListLegalHoldsOutput
operation
SetCreateTime sets the CreateTime field’s value.
-
SetLegalHolds([]*LegalHold) *ListLegalHoldsOutput
operation
SetLegalHolds sets the LegalHolds field’s value.
-
SetRetentionPeriod(int64) *ListLegalHoldsOutput
operation
SetRetentionPeriod sets the RetentionPeriod field’s value.
-
SetRetentionPeriodExpirationDate(time.Time) *ListLegalHoldsOutput
operation
SetRetentionPeriodExpirationDate sets the RetentionPeriodExpirationDate field’s value.
-
String() string
operation
String returns the string representation.
Structure Field Details
CreateTime *time.Time
`type:"timestamp" timestampFormat:"iso8601"`
LegalHolds []*LegalHold
`type:"list"`
RetentionPeriod *int64
`type:"integer"`
Retention period to store on the object in seconds. The object can be neither overwritten nor deleted until the amount of time specified in the retention period has elapsed. If this field and Retention-Expiration-Date are specified a 400 error is returned. If neither is specified the bucket’s DefaultRetention period will be used. 0 is a legal value assuming the bucket’s minimum retention period is also 0.
RetentionPeriodExpirationDate *time.Time
`type:"timestamp" timestampFormat:"iso8601"`
_ struct{}
`type:"structure"`
Method Details
func (s ListLegalHoldsOutput) 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”.
16491 16492 16493 |
// File 'service/s3/api.go', line 16491
|
func (s *ListLegalHoldsOutput) SetCreateTime(v time.Time) *ListLegalHoldsOutput
SetCreateTime sets the CreateTime field’s value.
16496 16497 16498 16499 |
// File 'service/s3/api.go', line 16496
|
func (s *ListLegalHoldsOutput) SetLegalHolds(v []*LegalHold) *ListLegalHoldsOutput
SetLegalHolds sets the LegalHolds field’s value.
16502 16503 16504 16505 |
// File 'service/s3/api.go', line 16502
|
func (s *ListLegalHoldsOutput) SetRetentionPeriod(v int64) *ListLegalHoldsOutput
SetRetentionPeriod sets the RetentionPeriod field’s value.
16508 16509 16510 16511 |
// File 'service/s3/api.go', line 16508
|
func (s *ListLegalHoldsOutput) SetRetentionPeriodExpirationDate(v time.Time) *ListLegalHoldsOutput
SetRetentionPeriodExpirationDate sets the RetentionPeriodExpirationDate field’s value.
16514 16515 16516 16517 |
// File 'service/s3/api.go', line 16514
|
func (s ListLegalHoldsOutput) 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”.
16482 16483 16484 |
// File 'service/s3/api.go', line 16482
|