Class CfnTaskDefinition.EphemeralStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnTaskDefinition.EphemeralStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinition.EphemeralStorageProperty>
- Enclosing interface:
- CfnTaskDefinition.EphemeralStorageProperty
@Stability(Stable)
public static final class CfnTaskDefinition.EphemeralStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinition.EphemeralStorageProperty>
A builder for
CfnTaskDefinition.EphemeralStorageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTaskDefinition.EphemeralStorageProperty.getSizeInGiB()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sizeInGiB
@Stability(Stable) public CfnTaskDefinition.EphemeralStorageProperty.Builder sizeInGiB(Number sizeInGiB) Sets the value ofCfnTaskDefinition.EphemeralStorageProperty.getSizeInGiB()
- Parameters:
sizeInGiB
- The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is21
GiB and the maximum supported value is200
GiB.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTaskDefinition.EphemeralStorageProperty>
- Returns:
- a new instance of
CfnTaskDefinition.EphemeralStorageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-