@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemorySizeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The memory size configurations of a container.
Constructor and Description |
---|
MemorySizeConfiguration() |
Modifier and Type | Method and Description |
---|---|
MemorySizeConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMemory()
The amount of memory in the container.
|
Integer |
getMemoryReservation()
The limit of memory reserve for the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMemory(Integer memory)
The amount of memory in the container.
|
void |
setMemoryReservation(Integer memoryReservation)
The limit of memory reserve for the container.
|
String |
toString()
Returns a string representation of this object.
|
MemorySizeConfiguration |
withMemory(Integer memory)
The amount of memory in the container.
|
MemorySizeConfiguration |
withMemoryReservation(Integer memoryReservation)
The limit of memory reserve for the container.
|
public void setMemory(Integer memory)
The amount of memory in the container.
memory
- The amount of memory in the container.public Integer getMemory()
The amount of memory in the container.
public MemorySizeConfiguration withMemory(Integer memory)
The amount of memory in the container.
memory
- The amount of memory in the container.public void setMemoryReservation(Integer memoryReservation)
The limit of memory reserve for the container.
memoryReservation
- The limit of memory reserve for the container.public Integer getMemoryReservation()
The limit of memory reserve for the container.
public MemorySizeConfiguration withMemoryReservation(Integer memoryReservation)
The limit of memory reserve for the container.
memoryReservation
- The limit of memory reserve for the container.public String toString()
toString
in class Object
Object.toString()
public MemorySizeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.