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