Package software.amazon.awscdk.cxapi
Class AssetManifestArtifact.Builder
java.lang.Object
software.amazon.awscdk.cxapi.AssetManifestArtifact.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetManifestArtifact>
- Enclosing class:
AssetManifestArtifact
@Stability(Stable)
public static final class AssetManifestArtifact.Builder
extends Object
implements software.amazon.jsii.Builder<AssetManifestArtifact>
A fluent builder for
AssetManifestArtifact
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
create
(CloudAssembly assembly, String name) dependencies
(List<String> dependencies) IDs of artifacts that must be deployed before this artifact.displayName
(String displayName) A string that represents this artifact.environment
(String environment) The environment into which this artifact is deployed.metadata
(Map<String, ? extends List<? extends MetadataEntry>> metadata) Associated metadata.properties
(AssetManifestProperties properties) The set of properties for this artifact (depends on type).properties
(AwsCloudFormationStackProperties properties) The set of properties for this artifact (depends on type).properties
(NestedCloudAssemblyProperties properties) The set of properties for this artifact (depends on type).properties
(TreeArtifactProperties properties) The set of properties for this artifact (depends on type).type
(ArtifactType type) The type of artifact.
-
Method Details
-
create
@Stability(Stable) public static AssetManifestArtifact.Builder create(CloudAssembly assembly, String name) - Parameters:
assembly
- This parameter is required.name
- This parameter is required.- Returns:
- a new instance of
AssetManifestArtifact.Builder
.
-
type
The type of artifact.- Parameters:
type
- The type of artifact. This parameter is required.- Returns:
this
-
dependencies
IDs of artifacts that must be deployed before this artifact.Default: - no dependencies.
- Parameters:
dependencies
- IDs of artifacts that must be deployed before this artifact. This parameter is required.- Returns:
this
-
displayName
A string that represents this artifact.Should only be used in user interfaces.
Default: - no display name
- Parameters:
displayName
- A string that represents this artifact. This parameter is required.- Returns:
this
-
environment
The environment into which this artifact is deployed.Default: - no envrionment.
- Parameters:
environment
- The environment into which this artifact is deployed. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public AssetManifestArtifact.Builder metadata(Map<String, ? extends List<? extends MetadataEntry>> metadata) Associated metadata.Default: - no metadata.
- Parameters:
metadata
- Associated metadata. This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public AssetManifestArtifact.Builder properties(AwsCloudFormationStackProperties properties) The set of properties for this artifact (depends on type).Default: - no properties.
- Parameters:
properties
- The set of properties for this artifact (depends on type). This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public AssetManifestArtifact.Builder properties(AssetManifestProperties properties) The set of properties for this artifact (depends on type).Default: - no properties.
- Parameters:
properties
- The set of properties for this artifact (depends on type). This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public AssetManifestArtifact.Builder properties(TreeArtifactProperties properties) The set of properties for this artifact (depends on type).Default: - no properties.
- Parameters:
properties
- The set of properties for this artifact (depends on type). This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public AssetManifestArtifact.Builder properties(NestedCloudAssemblyProperties properties) The set of properties for this artifact (depends on type).Default: - no properties.
- Parameters:
properties
- The set of properties for this artifact (depends on type). This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssetManifestArtifact>
- Returns:
- a newly built instance of
AssetManifestArtifact
.
-