public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
| Modifier and Type | Method and Description |
|---|---|
Device.Builder |
containerPath(String containerPath)
The path inside the container that's used 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDevice.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 that's used to expose the host device. By default, the hostPath
value is used.
containerPath - The path inside the container that's used to expose the host device. By default, the
hostPath value is used.Device.Builder permissionsWithStrings(Collection<String> 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.
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.Device.Builder permissionsWithStrings(String... 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.
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.Device.Builder permissions(Collection<DeviceCgroupPermission> 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.
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.Device.Builder permissions(DeviceCgroupPermission... 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.
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.Copyright © 2023. All rights reserved.