Class AssetManifestProperties.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.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 forAssetManifestProperties
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetManifestProperties.BuilderbootstrapStackVersionSsmParameter(String bootstrapStackVersionSsmParameter)Sets the value ofAssetManifestOptions.getBootstrapStackVersionSsmParameter()AssetManifestPropertiesbuild()Builds the configured instance.AssetManifestProperties.Builderfile(String file)Sets the value ofAssetManifestProperties.getFile()AssetManifestProperties.BuilderrequiresBootstrapStackVersion(Number requiresBootstrapStackVersion)Sets the value ofAssetManifestOptions.getRequiresBootstrapStackVersion()
-
-
-
Method Detail
-
file
@Stability(Stable) public AssetManifestProperties.Builder file(String 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
@Stability(Stable) public AssetManifestProperties 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
-
-