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