Class TreeCloudArtifact.Builder

java.lang.Object
software.amazon.awscdk.cxapi.TreeCloudArtifact.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<TreeCloudArtifact>
Enclosing class:
TreeCloudArtifact

@Stability(Stable) public static final class TreeCloudArtifact.Builder extends Object implements software.amazon.jsii.Builder<TreeCloudArtifact>
A fluent builder for TreeCloudArtifact.
  • Method Details

    • create

      @Stability(Stable) public static TreeCloudArtifact.Builder create(CloudAssembly assembly, String name)
      Parameters:
      assembly - This parameter is required.
      name - This parameter is required.
      Returns:
      a new instance of TreeCloudArtifact.Builder.
    • type

      @Stability(Stable) public TreeCloudArtifact.Builder type(ArtifactType type)
      The type of artifact.

      Parameters:
      type - The type of artifact. This parameter is required.
      Returns:
      this
    • dependencies

      @Stability(Stable) public TreeCloudArtifact.Builder dependencies(List<String> 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

      @Stability(Stable) public TreeCloudArtifact.Builder displayName(String 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

      @Stability(Stable) public TreeCloudArtifact.Builder environment(String 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 TreeCloudArtifact.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 TreeCloudArtifact.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 TreeCloudArtifact.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 TreeCloudArtifact.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 TreeCloudArtifact.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

      @Stability(Stable) public TreeCloudArtifact build()
      Specified by:
      build in interface software.amazon.jsii.Builder<TreeCloudArtifact>
      Returns:
      a newly built instance of TreeCloudArtifact.