Interface Device.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Device.Builder,Device>
,SdkBuilder<Device.Builder,Device>
,SdkPojo
- Enclosing class:
- Device
public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String... 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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
hostPath
Device.Builder hostPath(String 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
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.- Parameters:
containerPath
- The path inside the container that's used to expose the host device. By default, thehostPath
value is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithStrings
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
, 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
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
, 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
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
, 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
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
, 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.
-
-