@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IntegerRange extends Object implements Serializable, Cloneable, StructuredPojo
An integer range that has a minimum and maximum value.
Constructor and Description |
---|
IntegerRange() |
Modifier and Type | Method and Description |
---|---|
IntegerRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximum()
A maximum value.
|
Integer |
getMinimum()
A minimum value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaximum(Integer maximum)
A maximum value.
|
void |
setMinimum(Integer minimum)
A minimum value.
|
String |
toString()
Returns a string representation of this object.
|
IntegerRange |
withMaximum(Integer maximum)
A maximum value.
|
IntegerRange |
withMinimum(Integer minimum)
A minimum value.
|
public void setMaximum(Integer maximum)
A maximum value.
maximum
- A maximum value.public Integer getMaximum()
A maximum value.
public IntegerRange withMaximum(Integer maximum)
A maximum value.
maximum
- A maximum value.public void setMinimum(Integer minimum)
A minimum value.
minimum
- A minimum value.public Integer getMinimum()
A minimum value.
public IntegerRange withMinimum(Integer minimum)
A minimum value.
minimum
- A minimum value.public String toString()
toString
in class Object
Object.toString()
public IntegerRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.