Class CfnJobDefinition.EphemeralStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.EphemeralStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.EphemeralStorageProperty>
- Enclosing interface:
CfnJobDefinition.EphemeralStorageProperty
@Stability(Stable)
public static final class CfnJobDefinition.EphemeralStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.EphemeralStorageProperty>
A builder for
CfnJobDefinition.EphemeralStorageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnJobDefinition.EphemeralStorageProperty.getSizeInGiB()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sizeInGiB
@Stability(Stable) public CfnJobDefinition.EphemeralStorageProperty.Builder sizeInGiB(Number sizeInGiB) Sets the value ofCfnJobDefinition.EphemeralStorageProperty.getSizeInGiB()
- Parameters:
sizeInGiB
- The total amount, in GiB, of ephemeral storage to set for the task. This parameter is required. 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<CfnJobDefinition.EphemeralStorageProperty>
- Returns:
- a new instance of
CfnJobDefinition.EphemeralStorageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-