@Stability(value=Stable) public static final class CfnJobDefinition.DeviceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobDefinition.DeviceProperty>
CfnJobDefinition.DeviceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobDefinition.DeviceProperty |
build()
Builds the configured instance.
|
CfnJobDefinition.DeviceProperty.Builder |
containerPath(String containerPath)
Sets the value of
CfnJobDefinition.DeviceProperty.getContainerPath() |
CfnJobDefinition.DeviceProperty.Builder |
hostPath(String hostPath)
Sets the value of
CfnJobDefinition.DeviceProperty.getHostPath() |
CfnJobDefinition.DeviceProperty.Builder |
permissions(List<String> permissions)
Sets the value of
CfnJobDefinition.DeviceProperty.getPermissions() |
@Stability(value=Stable) public CfnJobDefinition.DeviceProperty.Builder containerPath(String containerPath)
CfnJobDefinition.DeviceProperty.getContainerPath()containerPath - The path inside the container that's used to expose the host device.
By default, the hostPath value is used.this@Stability(value=Stable) public CfnJobDefinition.DeviceProperty.Builder hostPath(String hostPath)
CfnJobDefinition.DeviceProperty.getHostPath()hostPath - The path for the device on the host container instance.this@Stability(value=Stable) public CfnJobDefinition.DeviceProperty.Builder permissions(List<String> permissions)
CfnJobDefinition.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 CfnJobDefinition.DeviceProperty build()
build in interface software.amazon.jsii.Builder<CfnJobDefinition.DeviceProperty>CfnJobDefinition.DevicePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.