Class CfnContainerGroupDefinition.ContainerMountPointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerMountPointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerGroupDefinition.ContainerMountPointProperty>
- Enclosing interface:
CfnContainerGroupDefinition.ContainerMountPointProperty
@Stability(Stable)
public static final class CfnContainerGroupDefinition.ContainerMountPointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerGroupDefinition.ContainerMountPointProperty>
A builder for
CfnContainerGroupDefinition.ContainerMountPointProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessLevel
(String accessLevel) Sets the value ofCfnContainerGroupDefinition.ContainerMountPointProperty.getAccessLevel()
build()
Builds the configured instance.containerPath
(String containerPath) instancePath
(String instancePath)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instancePath
@Stability(Stable) public CfnContainerGroupDefinition.ContainerMountPointProperty.Builder instancePath(String instancePath) - Parameters:
instancePath
- The path to the source file or directory. This parameter is required.- Returns:
this
-
accessLevel
@Stability(Stable) public CfnContainerGroupDefinition.ContainerMountPointProperty.Builder accessLevel(String accessLevel) Sets the value ofCfnContainerGroupDefinition.ContainerMountPointProperty.getAccessLevel()
- Parameters:
accessLevel
- The type of access for the container.- Returns:
this
-
containerPath
@Stability(Stable) public CfnContainerGroupDefinition.ContainerMountPointProperty.Builder containerPath(String containerPath) - Parameters:
containerPath
- The mount path on the container. If this property isn't set, the instance path is used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContainerGroupDefinition.ContainerMountPointProperty>
- Returns:
- a new instance of
CfnContainerGroupDefinition.ContainerMountPointProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-