Class AssetManifest.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.schema.AssetManifest.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetManifest>
- Enclosing interface:
- AssetManifest
@Stability(Stable) public static final class AssetManifest.Builder extends Object implements software.amazon.jsii.Builder<AssetManifest>
A builder forAssetManifest
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetManifestbuild()Builds the configured instance.AssetManifest.BuilderdockerImages(Map<String,? extends DockerImageAsset> dockerImages)Sets the value ofAssetManifest.getDockerImages()AssetManifest.Builderfiles(Map<String,? extends FileAsset> files)Sets the value ofAssetManifest.getFiles()AssetManifest.Builderversion(String version)Sets the value ofAssetManifest.getVersion()
-
-
-
Method Detail
-
version
@Stability(Stable) public AssetManifest.Builder version(String version)
Sets the value ofAssetManifest.getVersion()- Parameters:
version- Version of the manifest. This parameter is required.- Returns:
this
-
dockerImages
@Stability(Stable) public AssetManifest.Builder dockerImages(Map<String,? extends DockerImageAsset> dockerImages)
Sets the value ofAssetManifest.getDockerImages()- Parameters:
dockerImages- The Docker image assets in this manifest.- Returns:
this
-
files
@Stability(Stable) public AssetManifest.Builder files(Map<String,? extends FileAsset> files)
Sets the value ofAssetManifest.getFiles()- Parameters:
files- The file assets in this manifest.- Returns:
this
-
build
@Stability(Stable) public AssetManifest build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssetManifest>- Returns:
- a new instance of
AssetManifest - Throws:
NullPointerException- if any required attribute was not provided
-
-