Struct: s3.ReplicationRuleAndOperator
Overview
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
-
If you specify both a Prefix and a Tag filter, wrap these filters in an And tag.
-
If you specify a filter based on multiple tags, wrap the Tag elements in an And tag.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Prefix *string
An object key name prefix that identifies the subset of objects to which the rule applies.
-
Tags []*Tag
An array of tags containing key and value pairs.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetPrefix(string) *ReplicationRuleAndOperator
operation
SetPrefix sets the Prefix field's value.
-
SetTags([]*Tag) *ReplicationRuleAndOperator
operation
SetTags sets the Tags 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
Prefix *string
`type:"string"`
An object key name prefix that identifies the subset of objects to which the rule applies.
Tags []*Tag
`locationName:"Tag" locationNameList:"Tag" type:"list" flattened:"true"`
An array of tags containing key and value pairs.
_ struct{}
`type:"structure"`
Method Details
func (s ReplicationRuleAndOperator) 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”.
21399 21400 21401 |
// File 'service/s3/api.go', line 21399
|
func (s *ReplicationRuleAndOperator) SetPrefix(v string) *ReplicationRuleAndOperator
SetPrefix sets the Prefix field's value.
21424 21425 21426 21427 |
// File 'service/s3/api.go', line 21424
|
func (s *ReplicationRuleAndOperator) SetTags(v []*Tag) *ReplicationRuleAndOperator
SetTags sets the Tags field's value.
21430 21431 21432 21433 |
// File 'service/s3/api.go', line 21430
|
func (s ReplicationRuleAndOperator) 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”.
21390 21391 21392 |
// File 'service/s3/api.go', line 21390
|
func (s *ReplicationRuleAndOperator) Validate() error
Validate inspects the fields of the type to determine if they are valid.
21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 |
// File 'service/s3/api.go', line 21404
|