Struct: s3.GetObjectLockConfigurationInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The bucket whose Object Lock configuration you want to retrieve.
-
ExpectedBucketOwner *string
Ignored by COS.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *GetObjectLockConfigurationInput
operation
SetBucket sets the Bucket field’s value.
-
SetExpectedBucketOwner(string) *GetObjectLockConfigurationInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner 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"`
The bucket whose Object Lock configuration you want to retrieve.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points (docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) in the Amazon S3 User Guide.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
_ struct{}
`locationName:"GetObjectLockConfigurationRequest" type:"structure"`
Method Details
func (s GetObjectLockConfigurationInput) 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”.
13645 13646 13647 |
// File 'service/s3/api.go', line 13645
|
func (s *GetObjectLockConfigurationInput) SetBucket(v string) *GetObjectLockConfigurationInput
SetBucket sets the Bucket field’s value.
13666 13667 13668 13669 |
// File 'service/s3/api.go', line 13666
|
func (s *GetObjectLockConfigurationInput) SetExpectedBucketOwner(v string) *GetObjectLockConfigurationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
13679 13680 13681 13682 |
// File 'service/s3/api.go', line 13679
|
func (s GetObjectLockConfigurationInput) 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”.
13636 13637 13638 |
// File 'service/s3/api.go', line 13636
|
func (s *GetObjectLockConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 |
// File 'service/s3/api.go', line 13650
|