software.amazon.jsii.JsiiObject.InitializationModeDevice.Builder, Device.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String hostPath,
String containerPath,
List<? extends DevicePermission> permissions)
Constructor that initializes the object based on literal property values passed by the
Device.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getContainerPath()
(experimental) The path inside the container at which to expose the host device.
|
String |
getHostPath()
(experimental) The path for the device on the host container instance.
|
List<DevicePermission> |
getPermissions()
(experimental) The explicit permissions to provide to the container for the device.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String hostPath, String containerPath, List<? extends DevicePermission> permissions)
Device.Builder.public final String getHostPath()
DevicegetHostPath in interface Devicepublic final String getContainerPath()
DeviceDefault: Same path as the host
getContainerPath in interface Devicepublic final List<DevicePermission> getPermissions()
DeviceBy default, the container has permissions for read, write, and mknod for the device.
Default: Readonly
getPermissions in interface Device@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.