@Stability(value=Experimental) public static final class FileAssetSource.Builder extends Object implements software.amazon.jsii.Builder<FileAssetSource>
FileAssetSource| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FileAssetSource |
build()
Builds the configured instance.
|
FileAssetSource.Builder |
executable(List<String> executable)
Sets the value of
FileAssetSource.getExecutable() |
FileAssetSource.Builder |
fileName(String fileName)
Sets the value of
FileAssetSource.getFileName() |
FileAssetSource.Builder |
packaging(FileAssetPackaging packaging)
Sets the value of
FileAssetSource.getPackaging() |
FileAssetSource.Builder |
sourceHash(String sourceHash)
Sets the value of
FileAssetSource.getSourceHash() |
@Stability(value=Experimental) public FileAssetSource.Builder sourceHash(String sourceHash)
FileAssetSource.getSourceHash()sourceHash - A hash on the content source. This parameter is required.
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.this@Stability(value=Experimental) public FileAssetSource.Builder executable(List<String> executable)
FileAssetSource.getExecutable()executable - An external command that will produce the packaged asset.
The command should produce the location of a ZIP file on stdout.this@Stability(value=Experimental) public FileAssetSource.Builder fileName(String fileName)
FileAssetSource.getFileName()fileName - 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.this@Stability(value=Experimental) public FileAssetSource.Builder packaging(FileAssetPackaging packaging)
FileAssetSource.getPackaging()packaging - Which type of packaging to perform.this@Stability(value=Experimental) public FileAssetSource build()
build in interface software.amazon.jsii.Builder<FileAssetSource>FileAssetSourceNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.