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