Class Device.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.Device.Jsii$Proxy
All Implemented Interfaces:
Device, software.amazon.jsii.JsiiSerializable
Enclosing interface:
Device

@Stability(Stable) @Internal public static final class Device.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements Device
An implementation for Device
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.Device

    Device.Builder, Device.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the Device.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The path inside the container at which to expose the host device.
    final String
    The path for the device on the host container instance.
    The explicit permissions to provide to the container for the device.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(Device.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Device.Builder.
  • Method Details

    • getHostPath

      public final String getHostPath()
      Description copied from interface: Device
      The path for the device on the host container instance.
      Specified by:
      getHostPath in interface Device
    • getContainerPath

      public final String getContainerPath()
      Description copied from interface: Device
      The path inside the container at which to expose the host device.

      Default: Same path as the host

      Specified by:
      getContainerPath in interface Device
    • getPermissions

      public final List<DevicePermission> getPermissions()
      Description copied from interface: Device
      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.

      Default: Readonly

      Specified by:
      getPermissions in interface Device
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object