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