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