@Generated(value="software.amazon.awssdk:codegen") public class Device extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<DeviceCgroupPermission> |
permissions()
The explicit permissions to provide to the container for the device.
|
List<String> |
permissionsStrings()
The explicit permissions to provide to the container for the device.
|
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 will be able to
read
, write
, and mknod
the device.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
read
, write
, and mknod
the device.public List<String> permissionsStrings()
The explicit permissions to provide to the container for the device. By default, the container will be able to
read
, write
, and mknod
the device.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
read
, write
, and mknod
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.