@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
The CPU and memory recommendations for a container within the tasks of your Amazon ECS service.
| Constructor and Description |
|---|
ContainerRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
ContainerRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container.
|
Integer |
getCpu()
The recommended number of CPU units reserved for the container.
|
MemorySizeConfiguration |
getMemorySizeConfiguration()
The recommended memory size configurations for the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContainerName(String containerName)
The name of the container.
|
void |
setCpu(Integer cpu)
The recommended number of CPU units reserved for the container.
|
void |
setMemorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration)
The recommended memory size configurations for the container.
|
String |
toString()
Returns a string representation of this object.
|
ContainerRecommendation |
withContainerName(String containerName)
The name of the container.
|
ContainerRecommendation |
withCpu(Integer cpu)
The recommended number of CPU units reserved for the container.
|
ContainerRecommendation |
withMemorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration)
The recommended memory size configurations for the container.
|
public void setContainerName(String containerName)
The name of the container.
containerName - The name of the container.public String getContainerName()
The name of the container.
public ContainerRecommendation withContainerName(String containerName)
The name of the container.
containerName - The name of the container.public void setMemorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration)
The recommended memory size configurations for the container.
memorySizeConfiguration - The recommended memory size configurations for the container.public MemorySizeConfiguration getMemorySizeConfiguration()
The recommended memory size configurations for the container.
public ContainerRecommendation withMemorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration)
The recommended memory size configurations for the container.
memorySizeConfiguration - The recommended memory size configurations for the container.public void setCpu(Integer cpu)
The recommended number of CPU units reserved for the container.
cpu - The recommended number of CPU units reserved for the container.public Integer getCpu()
The recommended number of CPU units reserved for the container.
public ContainerRecommendation withCpu(Integer cpu)
The recommended number of CPU units reserved for the container.
cpu - The recommended number of CPU units reserved for the container.public String toString()
toString in class ObjectObject.toString()public ContainerRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.