Class TreeArtifactProperties.Builder
java.lang.Object
software.amazon.awscdk.cloudassembly.schema.TreeArtifactProperties.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TreeArtifactProperties>
- Enclosing interface:
- TreeArtifactProperties
@Stability(Stable)
public static final class TreeArtifactProperties.Builder
extends Object
implements software.amazon.jsii.Builder<TreeArtifactProperties>
A builder for
TreeArtifactProperties-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofTreeArtifactProperties.getFile()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
file
Sets the value ofTreeArtifactProperties.getFile()- Parameters:
file- Filename of the tree artifact. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TreeArtifactProperties>- Returns:
- a new instance of
TreeArtifactProperties - Throws:
NullPointerException- if any required attribute was not provided
-