@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MatchObjectAge extends Object implements Serializable, Cloneable
A filter condition that specifies the object age range of included objects in days. Only integers are supported.
Constructor and Description |
---|
MatchObjectAge() |
Modifier and Type | Method and Description |
---|---|
MatchObjectAge |
clone() |
boolean |
equals(Object obj) |
Integer |
getDaysGreaterThan()
Specifies the maximum object age in days.
|
Integer |
getDaysLessThan()
Specifies the minimum object age in days.
|
int |
hashCode() |
void |
setDaysGreaterThan(Integer daysGreaterThan)
Specifies the maximum object age in days.
|
void |
setDaysLessThan(Integer daysLessThan)
Specifies the minimum object age in days.
|
String |
toString()
Returns a string representation of this object.
|
MatchObjectAge |
withDaysGreaterThan(Integer daysGreaterThan)
Specifies the maximum object age in days.
|
MatchObjectAge |
withDaysLessThan(Integer daysLessThan)
Specifies the minimum object age in days.
|
public void setDaysGreaterThan(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.
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.public Integer getDaysGreaterThan()
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.
public MatchObjectAge withDaysGreaterThan(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.
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.public void setDaysLessThan(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.
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.public Integer getDaysLessThan()
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.
public MatchObjectAge withDaysLessThan(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.
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.public String toString()
toString
in class Object
Object.toString()
public MatchObjectAge clone()