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”.
19177 19178 19179 |
// File 'service/s3/api.go', line 19177
|
func (s *PutBucketReplicationInput) SetBucket(v string) *PutBucketReplicationInput
SetBucket sets the Bucket field's value.
19206 19207 19208 19209 |
// File 'service/s3/api.go', line 19206
|
func (s *PutBucketReplicationInput) SetExpectedBucketOwner(v string) *PutBucketReplicationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
19219 19220 19221 19222 |
// File 'service/s3/api.go', line 19219
|
func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput
SetReplicationConfiguration sets the ReplicationConfiguration field's value.
19225 19226 19227 19228 |
// File 'service/s3/api.go', line 19225
|
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”.
19168 19169 19170 |
// File 'service/s3/api.go', line 19168
|
func (s *PutBucketReplicationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 |
// File 'service/s3/api.go', line 19182
|