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