public static interface Device.Builder extends CopyableBuilder<Device.Builder,Device>
Modifier and Type | Method and Description |
---|---|
Device.Builder |
containerPath(String containerPath)
The path inside the container at which to expose the host device.
|
Device.Builder |
hostPath(String hostPath)
The path for the device on the host container instance.
|
Device.Builder |
permissions(Collection<DeviceCgroupPermission> permissions)
The explicit permissions to provide to the container for the device.
|
Device.Builder |
permissions(DeviceCgroupPermission... permissions)
The explicit permissions to provide to the container for the device.
|
Device.Builder |
permissionsWithStrings(Collection<String> permissions)
The explicit permissions to provide to the container for the device.
|
Device.Builder |
permissionsWithStrings(String... permissions)
The explicit permissions to provide to the container for the device.
|
copy
applyMutation, build
Device.Builder hostPath(String hostPath)
The path for the device on the host container instance.
hostPath
- The path for the device on the host container instance.Device.Builder containerPath(String containerPath)
The path inside the container at which to expose the host device.
containerPath
- The path inside the container at which to expose the host device.Device.Builder permissionsWithStrings(Collection<String> permissions)
The explicit permissions to provide to the container for the device. By default, the container will be able
to read
, write
, and mknod
the device.
permissions
- The explicit permissions to provide to the container for the device. By default, the container will be
able to read
, write
, and mknod
the device.Device.Builder permissionsWithStrings(String... permissions)
The explicit permissions to provide to the container for the device. By default, the container will be able
to read
, write
, and mknod
the device.
permissions
- The explicit permissions to provide to the container for the device. By default, the container will be
able to read
, write
, and mknod
the device.Device.Builder permissions(Collection<DeviceCgroupPermission> permissions)
The explicit permissions to provide to the container for the device. By default, the container will be able
to read
, write
, and mknod
the device.
permissions
- The explicit permissions to provide to the container for the device. By default, the container will be
able to read
, write
, and mknod
the device.Device.Builder permissions(DeviceCgroupPermission... permissions)
The explicit permissions to provide to the container for the device. By default, the container will be able
to read
, write
, and mknod
the device.
permissions
- The explicit permissions to provide to the container for the device. By default, the container will be
able to read
, write
, and mknod
the device.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.