Interface Device.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Device.Builder,
,Device> SdkBuilder<Device.Builder,
,Device> SdkPojo
- Enclosing class:
Device
-
Method Summary
Modifier and TypeMethodDescriptioncontainerPath
(String containerPath) The path inside the container at which to expose the host device.The path for the device on the host container instance.permissions
(Collection<DeviceCgroupPermission> permissions) The explicit permissions to provide to the container for the device.permissions
(DeviceCgroupPermission... permissions) The explicit permissions to provide to the container for the device.permissionsWithStrings
(String... permissions) The explicit permissions to provide to the container for the device.permissionsWithStrings
(Collection<String> permissions) The explicit permissions to provide to the container for the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hostPath
The path for the device on the host container instance.
- Parameters:
hostPath
- The path for the device on the host container instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPath
The path inside the container at which to expose the host device.
- Parameters:
containerPath
- The path inside the container at which to expose the host device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithStrings
The explicit permissions to provide to the container for the device. By default, the container has permissions for
read
,write
, andmknod
for the device.- Parameters:
permissions
- The explicit permissions to provide to the container for the device. By default, the container has permissions forread
,write
, andmknod
for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithStrings
The explicit permissions to provide to the container for the device. By default, the container has permissions for
read
,write
, andmknod
for the device.- Parameters:
permissions
- The explicit permissions to provide to the container for the device. By default, the container has permissions forread
,write
, andmknod
for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The explicit permissions to provide to the container for the device. By default, the container has permissions for
read
,write
, andmknod
for the device.- Parameters:
permissions
- The explicit permissions to provide to the container for the device. By default, the container has permissions forread
,write
, andmknod
for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The explicit permissions to provide to the container for the device. By default, the container has permissions for
read
,write
, andmknod
for the device.- Parameters:
permissions
- The explicit permissions to provide to the container for the device. By default, the container has permissions forread
,write
, andmknod
for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-