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”.
19866 19867 19868 |
// File 'service/s3/api.go', line 19866
|
func (s *PutBucketReplicationInput) SetBucket(v string) *PutBucketReplicationInput
SetBucket sets the Bucket field’s value.
19895 19896 19897 19898 |
// File 'service/s3/api.go', line 19895
|
func (s *PutBucketReplicationInput) SetExpectedBucketOwner(v string) *PutBucketReplicationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
19908 19909 19910 19911 |
// File 'service/s3/api.go', line 19908
|
func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput
SetReplicationConfiguration sets the ReplicationConfiguration field’s value.
19914 19915 19916 19917 |
// File 'service/s3/api.go', line 19914
|
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”.
19857 19858 19859 |
// File 'service/s3/api.go', line 19857
|
func (s *PutBucketReplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 |
// File 'service/s3/api.go', line 19871
|