Class FileAssetSource.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the FileAssetSource.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 List<String>
    An external command that will produce the packaged asset.
    final String
    The path, relative to the root of the cloud assembly, in which this asset source resides.
    Which type of packaging to perform.
    final String
    A hash on the content source.
    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(FileAssetSource.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FileAssetSource.Builder.
  • Method Details

    • getSourceHash

      public final String getSourceHash()
      Description copied from interface: FileAssetSource
      A hash on the content source.

      This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.

      Specified by:
      getSourceHash in interface FileAssetSource
    • getExecutable

      public final List<String> getExecutable()
      Description copied from interface: FileAssetSource
      An external command that will produce the packaged asset.

      The command should produce the location of a ZIP file on stdout.

      Default: - Exactly one of `directory` and `executable` is required

      Specified by:
      getExecutable in interface FileAssetSource
    • getFileName

      public final String getFileName()
      Description copied from interface: FileAssetSource
      The path, relative to the root of the cloud assembly, in which this asset source resides.

      This can be a path to a file or a directory, depending on the packaging type.

      Default: - Exactly one of `directory` and `executable` is required

      Specified by:
      getFileName in interface FileAssetSource
    • getPackaging

      public final FileAssetPackaging getPackaging()
      Description copied from interface: FileAssetSource
      Which type of packaging to perform.

      Default: - Required if `fileName` is specified.

      Specified by:
      getPackaging in interface FileAssetSource
    • $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