@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String hostPath()
The path for the device on the host container instance.
public String containerPath()
The path inside the container at which to expose the host device.
public 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.
read
, write
, and mknod
for the device.public 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.
read
, write
, and mknod
for the device.public Device.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Device.Builder,Device>
public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.