Package com.hashicorp.cdktf
Class StackManifest.Builder
java.lang.Object
com.hashicorp.cdktf.StackManifest.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StackManifest>
- Enclosing interface:
StackManifest
@Stability(Experimental)
public static final class StackManifest.Builder
extends Object
implements software.amazon.jsii.Builder<StackManifest>
A builder for
StackManifest-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotations(List<? extends StackAnnotation> annotations) Sets the value ofStackManifest.getAnnotations()build()Builds the configured instance.constructPath(String constructPath) Sets the value ofStackManifest.getConstructPath()dependencies(List<String> dependencies) Sets the value ofStackManifest.getDependencies()Sets the value ofStackManifest.getName()stackMetadataPath(String stackMetadataPath) Sets the value ofStackManifest.getStackMetadataPath()synthesizedStackPath(String synthesizedStackPath) Sets the value ofStackManifest.getSynthesizedStackPath()workingDirectory(String workingDirectory) Sets the value ofStackManifest.getWorkingDirectory()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
annotations
@Stability(Experimental) public StackManifest.Builder annotations(List<? extends StackAnnotation> annotations) Sets the value ofStackManifest.getAnnotations()- Parameters:
annotations- the value to be set. This parameter is required.- Returns:
this
-
constructPath
Sets the value ofStackManifest.getConstructPath()- Parameters:
constructPath- the value to be set. This parameter is required.- Returns:
this
-
dependencies
Sets the value ofStackManifest.getDependencies()- Parameters:
dependencies- the value to be set. This parameter is required.- Returns:
this
-
name
Sets the value ofStackManifest.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
stackMetadataPath
Sets the value ofStackManifest.getStackMetadataPath()- Parameters:
stackMetadataPath- the value to be set. This parameter is required.- Returns:
this
-
synthesizedStackPath
@Stability(Experimental) public StackManifest.Builder synthesizedStackPath(String synthesizedStackPath) Sets the value ofStackManifest.getSynthesizedStackPath()- Parameters:
synthesizedStackPath- the value to be set. This parameter is required.- Returns:
this
-
workingDirectory
Sets the value ofStackManifest.getWorkingDirectory()- Parameters:
workingDirectory- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StackManifest>- Returns:
- a new instance of
StackManifest - Throws:
NullPointerException- if any required attribute was not provided
-