@Generated(value="software.amazon.awssdk:codegen") public final class Device extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Device.Builder,Device>
An object representing a container instance host device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Device.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Device.Builder |
builder() |
String |
containerPath()
The path inside the container at which to expose the host device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPermissions()
Returns true if the Permissions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
hostPath()
The path for the device on the host container instance.
|
List<DeviceCgroupPermission> |
permissions()
The explicit permissions to provide to the container for the device.
|
List<String> |
permissionsAsStrings()
The explicit permissions to provide to the container for the device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Device.Builder> |
serializableBuilderClass() |
Device.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostPath()
The path for the device on the host container instance.
public final String containerPath()
The path inside the container at which to expose the host device.
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPermissions() to see if a value was sent in this field.
read, write, and mknod for the device.public final boolean hasPermissions()
public final List<String> permissionsAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPermissions() to see if a value was sent in this field.
read, write, and mknod for the device.public Device.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Device.Builder,Device>public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.