@Stability(value=Stable) @Internal public static final class FileAssetSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FileAssetSource
FileAssetSource
software.amazon.jsii.JsiiObject.InitializationMode
FileAssetSource.Builder, FileAssetSource.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 sourceHash,
List<String> executable,
String fileName,
FileAssetPackaging packaging)
Constructor that initializes the object based on literal property values passed by the
FileAssetSource.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getExecutable()
An external command that will produce the packaged asset.
|
String |
getFileName()
The path, relative to the root of the cloud assembly, in which this asset source resides.
|
FileAssetPackaging |
getPackaging()
Which type of packaging to perform.
|
String |
getSourceHash()
A hash on the content source.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(String sourceHash, List<String> executable, String fileName, FileAssetPackaging packaging)
FileAssetSource.Builder
.public final String getSourceHash()
FileAssetSource
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.
getSourceHash
in interface FileAssetSource
public final List<String> getExecutable()
FileAssetSource
The command should produce the location of a ZIP file on stdout
.
Default: - Exactly one of `directory` and `executable` is required
getExecutable
in interface FileAssetSource
public final String getFileName()
FileAssetSource
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
getFileName
in interface FileAssetSource
public final FileAssetPackaging getPackaging()
FileAssetSource
Default: - Required if `fileName` is specified.
getPackaging
in interface FileAssetSource
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.