@Generated(value="software.amazon.awssdk:codegen") public final class LifecycleRuleFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>
The container for the filter of the lifecycle rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecycleRuleFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
LifecycleRuleAndOperator |
and()
The container for the
AND condition for the lifecycle rule. |
static LifecycleRuleFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
objectSizeGreaterThan()
Minimum object size to which the rule applies.
|
Long |
objectSizeLessThan()
Maximum object size to which the rule applies.
|
String |
prefix()
Prefix identifying one or more objects to which the rule applies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LifecycleRuleFilter.Builder> |
serializableBuilderClass() |
S3Tag |
tag()
Returns the value of the Tag property for this object.
|
LifecycleRuleFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String prefix()
Prefix identifying one or more objects to which the rule applies.
When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.
When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.
public final S3Tag tag()
public final LifecycleRuleAndOperator and()
The container for the AND condition for the lifecycle rule.
AND condition for the lifecycle rule.public final Long objectSizeGreaterThan()
Minimum object size to which the rule applies.
public final Long objectSizeLessThan()
Maximum object size to which the rule applies.
public LifecycleRuleFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>public static LifecycleRuleFilter.Builder builder()
public static Class<? extends LifecycleRuleFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.