Struct: s3.PutBucketReplicationInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The name of the bucket.
-
ExpectedBucketOwner *string
Ignored by COS.
-
ReplicationConfiguration *ReplicationConfiguration
A container for replication rules.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *PutBucketReplicationInput
operation
SetBucket sets the Bucket field's value.
-
SetExpectedBucketOwner(string) *PutBucketReplicationInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
-
SetReplicationConfiguration(*ReplicationConfiguration) *PutBucketReplicationInput
operation
SetReplicationConfiguration sets the ReplicationConfiguration 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 name of the bucket
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
ReplicationConfiguration *ReplicationConfiguration
`locationName:"ReplicationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
ReplicationConfiguration is a required field
_ struct{}
`locationName:"PutBucketReplicationRequest" type:"structure" payload:"ReplicationConfiguration"`
Method Details
func (s PutBucketReplicationInput) 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”.
19414 19415 19416 |
// File 'service/s3/api.go', line 19414
|
func (s *PutBucketReplicationInput) SetBucket(v string) *PutBucketReplicationInput
SetBucket sets the Bucket field's value.
19443 19444 19445 19446 |
// File 'service/s3/api.go', line 19443
|
func (s *PutBucketReplicationInput) SetExpectedBucketOwner(v string) *PutBucketReplicationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
19456 19457 19458 19459 |
// File 'service/s3/api.go', line 19456
|
func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput
SetReplicationConfiguration sets the ReplicationConfiguration field's value.
19462 19463 19464 19465 |
// File 'service/s3/api.go', line 19462
|
func (s PutBucketReplicationInput) 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”.
19405 19406 19407 |
// File 'service/s3/api.go', line 19405
|
func (s *PutBucketReplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 |
// File 'service/s3/api.go', line 19419
|