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