Class TaskEphemeralStorage
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.TaskEphemeralStorage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskEphemeralStorage.Builder,TaskEphemeralStorage>
@Generated("software.amazon.awssdk:codegen") public final class TaskEphemeralStorage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskEphemeralStorage.Builder,TaskEphemeralStorage>
The amount of ephemeral storage to allocate for the task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskEphemeralStorage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskEphemeralStorage.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.List<SdkField<?>>sdkFields()static Class<? extends TaskEphemeralStorage.Builder>serializableBuilderClass()IntegersizeInGiB()The total amount, in GiB, of the ephemeral storage to set for the task.TaskEphemeralStorage.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sizeInGiB
public final Integer sizeInGiB()
The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20GiB and the maximum supported value is200GiB.- Returns:
- The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is
20GiB and the maximum supported value is200GiB.
-
kmsKeyId
public final String kmsKeyId()
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
- Returns:
- Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
-
toBuilder
public TaskEphemeralStorage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskEphemeralStorage.Builder,TaskEphemeralStorage>
-
builder
public static TaskEphemeralStorage.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskEphemeralStorage.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-