@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of the resource used to execute the containerAction.
| Constructor and Description |
|---|
ResourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ResourceConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getComputeType()
The type of the compute resource used to execute the
containerAction. |
Integer |
getVolumeSizeInGB()
The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComputeType(String computeType)
The type of the compute resource used to execute the
containerAction. |
void |
setVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50). |
String |
toString()
Returns a string representation of this object.
|
ResourceConfiguration |
withComputeType(ComputeType computeType)
The type of the compute resource used to execute the
containerAction. |
ResourceConfiguration |
withComputeType(String computeType)
The type of the compute resource used to execute the
containerAction. |
ResourceConfiguration |
withVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50). |
public void setComputeType(String computeType)
The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).
computeType - The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).ComputeTypepublic String getComputeType()
The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).
containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).ComputeTypepublic ResourceConfiguration withComputeType(String computeType)
The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).
computeType - The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).ComputeTypepublic ResourceConfiguration withComputeType(ComputeType computeType)
The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).
computeType - The type of the compute resource used to execute the containerAction. Possible values are:
ACU_1 (vCPU=4, memory=16 GiB) or ACU_2 (vCPU=8, memory=32 GiB).ComputeTypepublic void setVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50).
volumeSizeInGB - The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50).public Integer getVolumeSizeInGB()
The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50).
containerAction (min: 1, max: 50).public ResourceConfiguration withVolumeSizeInGB(Integer volumeSizeInGB)
The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50).
volumeSizeInGB - The size, in GB, of the persistent storage available to the resource instance used to execute the
containerAction (min: 1, max: 50).public String toString()
toString in class ObjectObject.toString()public ResourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.