Interface LifecycleRuleAndOperator.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<LifecycleRuleAndOperator.Builder,,- LifecycleRuleAndOperator> - SdkBuilder<LifecycleRuleAndOperator.Builder,,- LifecycleRuleAndOperator> - SdkPojo
- Enclosing class:
- LifecycleRuleAndOperator
- 
Method SummaryModifier and TypeMethodDescriptionobjectSizeGreaterThan(Long objectSizeGreaterThan) The non-inclusive minimum object size for the lifecycle rule.objectSizeLessThan(Long objectSizeLessThan) The non-inclusive maximum object size for the lifecycle rule.Prefix identifying one or more objects to which the rule applies.tags(Collection<S3Tag> tags) All of these tags must exist in the object's tag set in order for the rule to apply.tags(Consumer<S3Tag.Builder>... tags) All of these tags must exist in the object's tag set in order for the rule to apply.All of these tags must exist in the object's tag set in order for the rule to apply.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
prefixPrefix identifying one or more objects to which the rule applies. - Parameters:
- prefix- Prefix identifying one or more objects to which the rule applies.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsAll of these tags must exist in the object's tag set in order for the rule to apply. - Parameters:
- tags- All of these tags must exist in the object's tag set in order for the rule to apply.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsAll of these tags must exist in the object's tag set in order for the rule to apply. - Parameters:
- tags- All of these tags must exist in the object's tag set in order for the rule to apply.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsAll of these tags must exist in the object's tag set in order for the rule to apply. This is a convenience method that creates an instance of theS3Tag.Builderavoiding the need to create one manually viaS3Tag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<S3Tag>).- Parameters:
- tags- a consumer that will call methods on- S3Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
objectSizeGreaterThanThe non-inclusive minimum object size for the lifecycle rule. Setting this property to 7 means the rule applies to objects with a size that is greater than 7. - Parameters:
- objectSizeGreaterThan- The non-inclusive minimum object size for the lifecycle rule. Setting this property to 7 means the rule applies to objects with a size that is greater than 7.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
objectSizeLessThanThe non-inclusive maximum object size for the lifecycle rule. Setting this property to 77 means the rule applies to objects with a size that is less than 77. - Parameters:
- objectSizeLessThan- The non-inclusive maximum object size for the lifecycle rule. Setting this property to 77 means the rule applies to objects with a size that is less than 77.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-