public static interface LifecycleRuleFilter.Builder extends SdkPojo, CopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>
| Modifier and Type | Method and Description |
|---|---|
default LifecycleRuleFilter.Builder |
and(Consumer<LifecycleRuleAndOperator.Builder> and)
The container for the
AND condition for the lifecycle rule. |
LifecycleRuleFilter.Builder |
and(LifecycleRuleAndOperator and)
The container for the
AND condition for the lifecycle rule. |
LifecycleRuleFilter.Builder |
objectSizeGreaterThan(Long objectSizeGreaterThan)
Minimum object size to which the rule applies.
|
LifecycleRuleFilter.Builder |
objectSizeLessThan(Long objectSizeLessThan)
Maximum object size to which the rule applies.
|
LifecycleRuleFilter.Builder |
prefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
|
default LifecycleRuleFilter.Builder |
tag(Consumer<S3Tag.Builder> tag)
Sets the value of the Tag property for this object.
|
LifecycleRuleFilter.Builder |
tag(S3Tag tag)
Sets the value of the Tag property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLifecycleRuleFilter.Builder prefix(String prefix)
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.
prefix - 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.
LifecycleRuleFilter.Builder tag(S3Tag tag)
tag - The new value for the Tag property for this object.default LifecycleRuleFilter.Builder tag(Consumer<S3Tag.Builder> tag)
S3Tag.Builder avoiding the need to
create one manually via S3Tag.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to tag(S3Tag).
tag - a consumer that will call methods on S3Tag.Buildertag(S3Tag)LifecycleRuleFilter.Builder and(LifecycleRuleAndOperator and)
The container for the AND condition for the lifecycle rule.
and - The container for the AND condition for the lifecycle rule.default LifecycleRuleFilter.Builder and(Consumer<LifecycleRuleAndOperator.Builder> and)
The container for the AND condition for the lifecycle rule.
LifecycleRuleAndOperator.Builder
avoiding the need to create one manually via LifecycleRuleAndOperator.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to and(LifecycleRuleAndOperator).
and - a consumer that will call methods on LifecycleRuleAndOperator.Builderand(LifecycleRuleAndOperator)LifecycleRuleFilter.Builder objectSizeGreaterThan(Long objectSizeGreaterThan)
Minimum object size to which the rule applies.
objectSizeGreaterThan - Minimum object size to which the rule applies.LifecycleRuleFilter.Builder objectSizeLessThan(Long objectSizeLessThan)
Maximum object size to which the rule applies.
objectSizeLessThan - Maximum object size to which the rule applies.Copyright © 2022. All rights reserved.