@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=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
computeType
- The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1
(vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).ComputeType
public String getComputeType()
The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
ComputeType
public ResourceConfiguration withComputeType(String computeType)
The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
computeType
- The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1
(vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).ComputeType
public ResourceConfiguration withComputeType(ComputeType computeType)
The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
computeType
- The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1
(vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).ComputeType
public 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).
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 Object
Object.toString()
public ResourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.