Class LifecycleRuleFilter
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.LifecycleRuleFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLifecycleRuleFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleRuleAndOperatorand()The container for theANDcondition for the lifecycle rule.static LifecycleRuleFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongobjectSizeGreaterThan()Minimum object size to which the rule applies.LongobjectSizeLessThan()Maximum object size to which the rule applies.Stringprefix()Prefix identifying one or more objects to which the rule applies.List<SdkField<?>>sdkFields()static Class<? extends LifecycleRuleFilter.Builder>serializableBuilderClass()S3Tagtag()Returns the value of the Tag property for this object.LifecycleRuleFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
prefix
public 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.
- Returns:
- 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.
-
tag
public final S3Tag tag()
Returns the value of the Tag property for this object.- Returns:
- The value of the Tag property for this object.
-
and
public final LifecycleRuleAndOperator and()
The container for the
ANDcondition for the lifecycle rule.- Returns:
- The container for the
ANDcondition for the lifecycle rule.
-
objectSizeGreaterThan
public final Long objectSizeGreaterThan()
Minimum object size to which the rule applies.
- Returns:
- Minimum object size to which the rule applies.
-
objectSizeLessThan
public final Long objectSizeLessThan()
Maximum object size to which the rule applies.
- Returns:
- Maximum object size to which the rule applies.
-
toBuilder
public LifecycleRuleFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>
-
builder
public static LifecycleRuleFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends LifecycleRuleFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-