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 for
AssetManifest-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dockerImages(Map<String, ? extends DockerImageAsset> dockerImages) Sets the value ofAssetManifest.getDockerImages()Sets the value ofAssetManifest.getFiles()Sets the value ofAssetManifest.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
Sets the value ofAssetManifest.getFiles()- Parameters:
files- The file assets in this manifest.- Returns:
this
-
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
-