@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NumberCondition extends Object implements Serializable, Cloneable, StructuredPojo
A leaf node condition which can be used to specify a numeric condition.
The currently supported value for FieldName
is limit
.
Constructor and Description |
---|
NumberCondition() |
Modifier and Type | Method and Description |
---|---|
NumberCondition |
clone() |
boolean |
equals(Object obj) |
String |
getComparisonType()
The type of comparison to be made when evaluating the number condition.
|
String |
getFieldName()
The name of the field in the number condition.
|
Integer |
getMaxValue()
The maxValue to be used while evaluating the number condition.
|
Integer |
getMinValue()
The minValue to be used while evaluating the number condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparisonType(String comparisonType)
The type of comparison to be made when evaluating the number condition.
|
void |
setFieldName(String fieldName)
The name of the field in the number condition.
|
void |
setMaxValue(Integer maxValue)
The maxValue to be used while evaluating the number condition.
|
void |
setMinValue(Integer minValue)
The minValue to be used while evaluating the number condition.
|
String |
toString()
Returns a string representation of this object.
|
NumberCondition |
withComparisonType(NumberComparisonType comparisonType)
The type of comparison to be made when evaluating the number condition.
|
NumberCondition |
withComparisonType(String comparisonType)
The type of comparison to be made when evaluating the number condition.
|
NumberCondition |
withFieldName(String fieldName)
The name of the field in the number condition.
|
NumberCondition |
withMaxValue(Integer maxValue)
The maxValue to be used while evaluating the number condition.
|
NumberCondition |
withMinValue(Integer minValue)
The minValue to be used while evaluating the number condition.
|
public void setFieldName(String fieldName)
The name of the field in the number condition.
fieldName
- The name of the field in the number condition.public String getFieldName()
The name of the field in the number condition.
public NumberCondition withFieldName(String fieldName)
The name of the field in the number condition.
fieldName
- The name of the field in the number condition.public void setMinValue(Integer minValue)
The minValue to be used while evaluating the number condition.
minValue
- The minValue to be used while evaluating the number condition.public Integer getMinValue()
The minValue to be used while evaluating the number condition.
public NumberCondition withMinValue(Integer minValue)
The minValue to be used while evaluating the number condition.
minValue
- The minValue to be used while evaluating the number condition.public void setMaxValue(Integer maxValue)
The maxValue to be used while evaluating the number condition.
maxValue
- The maxValue to be used while evaluating the number condition.public Integer getMaxValue()
The maxValue to be used while evaluating the number condition.
public NumberCondition withMaxValue(Integer maxValue)
The maxValue to be used while evaluating the number condition.
maxValue
- The maxValue to be used while evaluating the number condition.public void setComparisonType(String comparisonType)
The type of comparison to be made when evaluating the number condition.
comparisonType
- The type of comparison to be made when evaluating the number condition.NumberComparisonType
public String getComparisonType()
The type of comparison to be made when evaluating the number condition.
NumberComparisonType
public NumberCondition withComparisonType(String comparisonType)
The type of comparison to be made when evaluating the number condition.
comparisonType
- The type of comparison to be made when evaluating the number condition.NumberComparisonType
public NumberCondition withComparisonType(NumberComparisonType comparisonType)
The type of comparison to be made when evaluating the number condition.
comparisonType
- The type of comparison to be made when evaluating the number condition.NumberComparisonType
public String toString()
toString
in class Object
Object.toString()
public NumberCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.