@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryMiBRange extends Object implements Serializable, Cloneable, StructuredPojo
The range of memory in MiB.
Constructor and Description |
---|
MemoryMiBRange() |
Modifier and Type | Method and Description |
---|---|
MemoryMiBRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getMax()
The maximum amount of memory (in MiB).
|
Integer |
getMin()
The minimum amount of memory (in MiB).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMax(Integer max)
The maximum amount of memory (in MiB).
|
void |
setMin(Integer min)
The minimum amount of memory (in MiB).
|
String |
toString()
Returns a string representation of this object.
|
MemoryMiBRange |
withMax(Integer max)
The maximum amount of memory (in MiB).
|
MemoryMiBRange |
withMin(Integer min)
The minimum amount of memory (in MiB).
|
public void setMax(Integer max)
The maximum amount of memory (in MiB).
max
- The maximum amount of memory (in MiB).public Integer getMax()
The maximum amount of memory (in MiB).
public MemoryMiBRange withMax(Integer max)
The maximum amount of memory (in MiB).
max
- The maximum amount of memory (in MiB).public void setMin(Integer min)
The minimum amount of memory (in MiB).
min
- The minimum amount of memory (in MiB).public Integer getMin()
The minimum amount of memory (in MiB).
public MemoryMiBRange withMin(Integer min)
The minimum amount of memory (in MiB).
min
- The minimum amount of memory (in MiB).public String toString()
toString
in class Object
Object.toString()
public MemoryMiBRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.