Class CfnJobDefinition.EmptyDirProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.EmptyDirProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.EmptyDirProperty>
- Enclosing interface:
CfnJobDefinition.EmptyDirProperty
@Stability(Stable)
public static final class CfnJobDefinition.EmptyDirProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.EmptyDirProperty>
A builder for
CfnJobDefinition.EmptyDirProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnJobDefinition.EmptyDirProperty.getMedium()
Sets the value ofCfnJobDefinition.EmptyDirProperty.getSizeLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
medium
Sets the value ofCfnJobDefinition.EmptyDirProperty.getMedium()
- Parameters:
medium
- the value to be set.- Returns:
this
-
sizeLimit
Sets the value ofCfnJobDefinition.EmptyDirProperty.getSizeLimit()
- Parameters:
sizeLimit
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.EmptyDirProperty>
- Returns:
- a new instance of
CfnJobDefinition.EmptyDirProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-