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