Struct: s3.LifecycleRuleFilter
Overview
The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix, Tag, or And specified.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Prefix *string
Prefix identifying one or more objects to which the rule applies.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetPrefix(string) *LifecycleRuleFilter
operation
SetPrefix sets the Prefix field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
Prefix *string
`type:"string"`
Prefix identifying one or more objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints (docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).
_ struct{}
`type:"structure"`
Method Details
func (s LifecycleRuleFilter) 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”.
15728 15729 15730 |
// File 'service/s3/api.go', line 15728
|
func (s *LifecycleRuleFilter) SetPrefix(v string) *LifecycleRuleFilter
SetPrefix sets the Prefix field's value.
15733 15734 15735 15736 |
// File 'service/s3/api.go', line 15733
|
func (s LifecycleRuleFilter) 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”.
15719 15720 15721 |
// File 'service/s3/api.go', line 15719
|