Class AssetManifestOptions.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.schema.AssetManifestOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetManifestOptions>
- Enclosing interface:
- AssetManifestOptions
@Stability(Stable) public static final class AssetManifestOptions.Builder extends Object implements software.amazon.jsii.Builder<AssetManifestOptions>
A builder forAssetManifestOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetManifestOptions.BuilderbootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)Sets the value ofAssetManifestOptions.getBootstrapStackVersionSsmParameter()AssetManifestOptionsbuild()Builds the configured instance.AssetManifestOptions.BuilderrequiresBootstrapStackVersion(Number requiresBootstrapStackVersion)Sets the value ofAssetManifestOptions.getRequiresBootstrapStackVersion()
-
-
-
Method Detail
-
bootstrapStackVersionSsmParameter
@Stability(Stable) public AssetManifestOptions.Builder bootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)
Sets the value ofAssetManifestOptions.getBootstrapStackVersionSsmParameter()- Parameters:
bootstrapStackVersionSsmParameter- SSM parameter where the bootstrap stack version number can be found.- If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs.
- If this value is set, the bootstrap stack can have any name because we won't need to look it up.
- Returns:
this
-
requiresBootstrapStackVersion
@Stability(Stable) public AssetManifestOptions.Builder requiresBootstrapStackVersion(Number requiresBootstrapStackVersion)
Sets the value ofAssetManifestOptions.getRequiresBootstrapStackVersion()- Parameters:
requiresBootstrapStackVersion- Version of bootstrap stack required to deploy this stack.- Returns:
this
-
build
@Stability(Stable) public AssetManifestOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssetManifestOptions>- Returns:
- a new instance of
AssetManifestOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-