Class MatchObjectAge
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.MatchObjectAge
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MatchObjectAge.Builder,MatchObjectAge>
@Generated("software.amazon.awssdk:codegen") public final class MatchObjectAge extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MatchObjectAge.Builder,MatchObjectAge>
A filter condition that specifies the object age range of included objects in days. Only integers are supported.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMatchObjectAge.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatchObjectAge.Builderbuilder()IntegerdaysGreaterThan()Specifies the maximum object age in days.IntegerdaysLessThan()Specifies the minimum object age in days.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends MatchObjectAge.Builder>serializableBuilderClass()MatchObjectAge.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
-
daysGreaterThan
public final Integer daysGreaterThan()
Specifies the maximum object age in days. Must be a positive whole number, greater than the minimum object age and less than or equal to 2,147,483,647.
- Returns:
- Specifies the maximum object age in days. Must be a positive whole number, greater than the minimum object age and less than or equal to 2,147,483,647.
-
daysLessThan
public final Integer daysLessThan()
Specifies the minimum object age in days. The value must be a positive whole number, greater than 0 and less than or equal to 2,147,483,647.
- Returns:
- Specifies the minimum object age in days. The value must be a positive whole number, greater than 0 and less than or equal to 2,147,483,647.
-
toBuilder
public MatchObjectAge.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MatchObjectAge.Builder,MatchObjectAge>
-
builder
public static MatchObjectAge.Builder builder()
-
serializableBuilderClass
public static Class<? extends MatchObjectAge.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.
-
-