@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MatchObjectSize extends Object implements Serializable, Cloneable
A filter condition that specifies the object size range of included objects in bytes. Only integers are supported.
Constructor and Description |
---|
MatchObjectSize() |
Modifier and Type | Method and Description |
---|---|
MatchObjectSize |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesGreaterThan()
Specifies the minimum object size in Bytes.
|
Long |
getBytesLessThan()
Specifies the maximum object size in Bytes.
|
int |
hashCode() |
void |
setBytesGreaterThan(Long bytesGreaterThan)
Specifies the minimum object size in Bytes.
|
void |
setBytesLessThan(Long bytesLessThan)
Specifies the maximum object size in Bytes.
|
String |
toString()
Returns a string representation of this object.
|
MatchObjectSize |
withBytesGreaterThan(Long bytesGreaterThan)
Specifies the minimum object size in Bytes.
|
MatchObjectSize |
withBytesLessThan(Long bytesLessThan)
Specifies the maximum object size in Bytes.
|
public void setBytesGreaterThan(Long bytesGreaterThan)
Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less than 5 TB.
bytesGreaterThan
- Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less
than 5 TB.public Long getBytesGreaterThan()
Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less than 5 TB.
public MatchObjectSize withBytesGreaterThan(Long bytesGreaterThan)
Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less than 5 TB.
bytesGreaterThan
- Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less
than 5 TB.public void setBytesLessThan(Long bytesLessThan)
Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum object size and less than 5 TB.
bytesLessThan
- Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum
object size and less than 5 TB.public Long getBytesLessThan()
Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum object size and less than 5 TB.
public MatchObjectSize withBytesLessThan(Long bytesLessThan)
Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum object size and less than 5 TB.
bytesLessThan
- Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum
object size and less than 5 TB.public String toString()
toString
in class Object
Object.toString()
public MatchObjectSize clone()