software.amazon.jsii.JsiiObject.InitializationMode
Device.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, jsiiStaticSet
protected 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()
Device
getHostPath
in interface Device
public final String getContainerPath()
Device
Default: Same path as the host
getContainerPath
in interface Device
public final List<DevicePermission> getPermissions()
Device
By 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.JsiiSerializable
Copyright © 2021. All rights reserved.