Class AssetManifestOptions.Builder
java.lang.Object
software.amazon.awscdk.cloud_assembly_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 for
AssetManifestOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter) Sets the value ofAssetManifestOptions.getBootstrapStackVersionSsmParameter()build()Builds the configured instance.requiresBootstrapStackVersion(Number requiresBootstrapStackVersion) Sets the value ofAssetManifestOptions.getRequiresBootstrapStackVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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
-