@Stability(value=Stable) 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 |
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=Stable) 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 parameter is required.
This can be a path to a file or a directory, dependning on the
packaging type.this@Stability(value=Stable) public FileAssetSource.Builder packaging(FileAssetPackaging packaging)
FileAssetSource.getPackaging()packaging - Which type of packaging to perform. This parameter is required.this@Stability(value=Stable) 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=Stable) public FileAssetSource build()
build in interface software.amazon.jsii.Builder<FileAssetSource>FileAssetSourceNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.