@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskEphemeralStorage extends Object implements Serializable, Cloneable, StructuredPojo
The amount of ephemeral storage to allocate for the task.
Constructor and Description |
---|
TaskEphemeralStorage() |
Modifier and Type | Method and Description |
---|---|
TaskEphemeralStorage |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyId()
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
|
Integer |
getSizeInGiB()
The total amount, in GiB, of the ephemeral storage to set for the task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyId(String kmsKeyId)
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
|
void |
setSizeInGiB(Integer sizeInGiB)
The total amount, in GiB, of the ephemeral storage to set for the task.
|
String |
toString()
Returns a string representation of this object.
|
TaskEphemeralStorage |
withKmsKeyId(String kmsKeyId)
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
|
TaskEphemeralStorage |
withSizeInGiB(Integer sizeInGiB)
The total amount, in GiB, of the ephemeral storage to set for the task.
|
public void setSizeInGiB(Integer sizeInGiB)
The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is
200
GiB.
sizeInGiB
- The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is
200
GiB.public Integer getSizeInGiB()
The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is
200
GiB.
20
GiB and the maximum supported value is
200
GiB.public TaskEphemeralStorage withSizeInGiB(Integer sizeInGiB)
The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is
200
GiB.
sizeInGiB
- The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20
GiB and the maximum supported value is
200
GiB.public void setKmsKeyId(String kmsKeyId)
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
kmsKeyId
- Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.public String getKmsKeyId()
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
public TaskEphemeralStorage withKmsKeyId(String kmsKeyId)
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
kmsKeyId
- Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.public String toString()
toString
in class Object
Object.toString()
public TaskEphemeralStorage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.