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.BuildercontainerPath(String containerPath)The path inside the container that's used to expose the host device.Device.BuilderhostPath(String hostPath)The path for the device on the host container instance.Device.Builderpermissions(Collection<DeviceCgroupPermission> permissions)The explicit permissions to provide to the container for the device.Device.Builderpermissions(DeviceCgroupPermission... permissions)The explicit permissions to provide to the container for the device.Device.BuilderpermissionsWithStrings(String... permissions)The explicit permissions to provide to the container for the device.Device.BuilderpermissionsWithStrings(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
hostPathvalue is used.- Parameters:
containerPath- The path inside the container that's used to expose the host device. By default, thehostPathvalue 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, andmknodfor the device.- Parameters:
permissions- The explicit permissions to provide to the container for the device. By default, the container has permissions forread,write, andmknodfor 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, andmknodfor the device.- Parameters:
permissions- The explicit permissions to provide to the container for the device. By default, the container has permissions forread,write, andmknodfor 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, andmknodfor the device.- Parameters:
permissions- The explicit permissions to provide to the container for the device. By default, the container has permissions forread,write, andmknodfor 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, andmknodfor the device.- Parameters:
permissions- The explicit permissions to provide to the container for the device. By default, the container has permissions forread,write, andmknodfor the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-