Package com.hashicorp.cdktf
Class StackAnnotation.Builder
java.lang.Object
com.hashicorp.cdktf.StackAnnotation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StackAnnotation>
- Enclosing interface:
StackAnnotation
@Stability(Experimental)
public static final class StackAnnotation.Builder
extends Object
implements software.amazon.jsii.Builder<StackAnnotation>
A builder for
StackAnnotation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.constructPath(String constructPath) Sets the value ofStackAnnotation.getConstructPath()level(AnnotationMetadataEntryType level) Sets the value ofStackAnnotation.getLevel()Sets the value ofStackAnnotation.getMessage()stacktrace(List<String> stacktrace) Sets the value ofStackAnnotation.getStacktrace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
constructPath
Sets the value ofStackAnnotation.getConstructPath()- Parameters:
constructPath- the value to be set. This parameter is required.- Returns:
this
-
level
Sets the value ofStackAnnotation.getLevel()- Parameters:
level- the value to be set. This parameter is required.- Returns:
this
-
message
Sets the value ofStackAnnotation.getMessage()- Parameters:
message- the value to be set. This parameter is required.- Returns:
this
-
stacktrace
Sets the value ofStackAnnotation.getStacktrace()- Parameters:
stacktrace- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StackAnnotation>- Returns:
- a new instance of
StackAnnotation - Throws:
NullPointerException- if any required attribute was not provided
-