@Stability(value=Stable) public static final class CfnTaskDefinition.DeviceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition.DeviceProperty>
CfnTaskDefinition.DeviceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskDefinition.DeviceProperty |
build()
Builds the configured instance.
|
CfnTaskDefinition.DeviceProperty.Builder |
containerPath(String containerPath)
Sets the value of
CfnTaskDefinition.DeviceProperty.getContainerPath() |
CfnTaskDefinition.DeviceProperty.Builder |
hostPath(String hostPath)
Sets the value of
CfnTaskDefinition.DeviceProperty.getHostPath() |
CfnTaskDefinition.DeviceProperty.Builder |
permissions(List<String> permissions)
Sets the value of
CfnTaskDefinition.DeviceProperty.getPermissions() |
@Stability(value=Stable) public CfnTaskDefinition.DeviceProperty.Builder containerPath(String containerPath)
CfnTaskDefinition.DeviceProperty.getContainerPath()containerPath - The path inside the container at which to expose the host device.this@Stability(value=Stable) public CfnTaskDefinition.DeviceProperty.Builder hostPath(String hostPath)
CfnTaskDefinition.DeviceProperty.getHostPath()hostPath - The path for the device on the host container instance.this@Stability(value=Stable) public CfnTaskDefinition.DeviceProperty.Builder permissions(List<String> permissions)
CfnTaskDefinition.DeviceProperty.getPermissions()permissions - The explicit permissions to provide to the container for the device.
By default, the container has permissions for read , write , and mknod for the device.this@Stability(value=Stable) public CfnTaskDefinition.DeviceProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskDefinition.DeviceProperty>CfnTaskDefinition.DevicePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.