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 forTreeArtifactProperties
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeArtifactPropertiesbuild()Builds the configured instance.TreeArtifactProperties.Builderfile(String file)Sets the value ofTreeArtifactProperties.getFile()
-
-
-
Method Detail
-
file
@Stability(Stable) public TreeArtifactProperties.Builder file(String file)
Sets the value ofTreeArtifactProperties.getFile()- Parameters:
file- Filename of the tree artifact. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public TreeArtifactProperties 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
-
-