Class HostVolumeOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class HostVolumeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HostVolumeOptions
An implementation for HostVolumeOptions
  • 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.batch.HostVolumeOptions

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the HostVolumeOptions.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 on the container where this volume is mounted.
    final String
    The path on the host machine this container will have access to.
    final String
    the name of this volume.
    final Boolean
    if set, the container will have readonly access to the volume.
    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(HostVolumeOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the HostVolumeOptions.Builder.
  • Method Details

    • getHostPath

      public final String getHostPath()
      Description copied from interface: HostVolumeOptions
      The path on the host machine this container will have access to.

      Default: - Docker will choose the host path. The data may not persist after the containers that use it stop running.

      Specified by:
      getHostPath in interface HostVolumeOptions
    • getContainerPath

      public final String getContainerPath()
      Description copied from interface: EcsVolumeOptions
      the path on the container where this volume is mounted.
      Specified by:
      getContainerPath in interface EcsVolumeOptions
    • getName

      public final String getName()
      Description copied from interface: EcsVolumeOptions
      the name of this volume.
      Specified by:
      getName in interface EcsVolumeOptions
    • getReadonly

      public final Boolean getReadonly()
      Description copied from interface: EcsVolumeOptions
      if set, the container will have readonly access to the volume.

      Default: false

      Specified by:
      getReadonly in interface EcsVolumeOptions
    • $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