Struct: s3.DeleteLegalHoldInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
Bucket is a required field.
-
Key *string
Key is a required field.
-
RetentionLegalHoldId *string
RetentionLegalHoldId is a required field.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *DeleteLegalHoldInput
operation
SetBucket sets the Bucket field’s value.
-
SetKey(string) *DeleteLegalHoldInput
operation
SetKey sets the Key field’s value.
-
SetRetentionLegalHoldId(string) *DeleteLegalHoldInput
operation
SetRetentionLegalHoldId sets the RetentionLegalHoldId 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
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
Bucket is a required field
Key *string
`location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
Key is a required field
RetentionLegalHoldId *string
`location:"querystring" locationName:"remove" type:"string" required:"true"`
RetentionLegalHoldId is a required field
_ struct{}
`locationName:"DeleteLegalHoldRequest" type:"structure"`
Method Details
func (s DeleteLegalHoldInput) 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”.
10545 10546 10547 |
// File 'service/s3/api.go', line 10545
|
func (s *DeleteLegalHoldInput) SetBucket(v string) *DeleteLegalHoldInput
SetBucket sets the Bucket field’s value.
10575 10576 10577 10578 |
// File 'service/s3/api.go', line 10575
|
func (s *DeleteLegalHoldInput) SetKey(v string) *DeleteLegalHoldInput
SetKey sets the Key field’s value.
10588 10589 10590 10591 |
// File 'service/s3/api.go', line 10588
|
func (s *DeleteLegalHoldInput) SetRetentionLegalHoldId(v string) *DeleteLegalHoldInput
SetRetentionLegalHoldId sets the RetentionLegalHoldId field’s value.
10594 10595 10596 10597 |
// File 'service/s3/api.go', line 10594
|
func (s DeleteLegalHoldInput) 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”.
10536 10537 10538 |
// File 'service/s3/api.go', line 10536
|
func (s *DeleteLegalHoldInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 |
// File 'service/s3/api.go', line 10550
|