Class AssetManifestProperties.Builder
java.lang.Object
software.amazon.awscdk.cloud_assembly_schema.AssetManifestProperties.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetManifestProperties>
- Enclosing interface:
AssetManifestProperties
@Stability(Stable)
public static final class AssetManifestProperties.Builder
extends Object
implements software.amazon.jsii.Builder<AssetManifestProperties>
A builder for
AssetManifestProperties-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter) Sets the value ofAssetManifestOptions.getBootstrapStackVersionSsmParameter()build()Builds the configured instance.Sets the value ofAssetManifestProperties.getFile()requiresBootstrapStackVersion(Number requiresBootstrapStackVersion) Sets the value ofAssetManifestOptions.getRequiresBootstrapStackVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
file
Sets the value ofAssetManifestProperties.getFile()- Parameters:
file- Filename of the asset manifest. This parameter is required.- Returns:
this
-
bootstrapStackVersionSsmParameter
@Stability(Stable) public AssetManifestProperties.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 AssetManifestProperties.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<AssetManifestProperties>- Returns:
- a new instance of
AssetManifestProperties - Throws:
NullPointerException- if any required attribute was not provided
-