@Stability(value=Experimental) public static final class StackAnnotation.Builder extends Object implements software.amazon.jsii.Builder<StackAnnotation>
StackAnnotation
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StackAnnotation |
build()
Builds the configured instance.
|
StackAnnotation.Builder |
constructPath(String constructPath)
Sets the value of
StackAnnotation.getConstructPath() |
StackAnnotation.Builder |
level(AnnotationMetadataEntryType level)
Sets the value of
StackAnnotation.getLevel() |
StackAnnotation.Builder |
message(String message)
Sets the value of
StackAnnotation.getMessage() |
StackAnnotation.Builder |
stacktrace(List<String> stacktrace)
Sets the value of
StackAnnotation.getStacktrace() |
@Stability(value=Experimental) public StackAnnotation.Builder constructPath(String constructPath)
StackAnnotation.getConstructPath()
constructPath
- the value to be set. This parameter is required.this
@Stability(value=Experimental) public StackAnnotation.Builder level(AnnotationMetadataEntryType level)
StackAnnotation.getLevel()
level
- the value to be set. This parameter is required.this
@Stability(value=Experimental) public StackAnnotation.Builder message(String message)
StackAnnotation.getMessage()
message
- the value to be set. This parameter is required.this
@Stability(value=Experimental) public StackAnnotation.Builder stacktrace(List<String> stacktrace)
StackAnnotation.getStacktrace()
stacktrace
- the value to be set.this
@Stability(value=Experimental) public StackAnnotation build()
build
in interface software.amazon.jsii.Builder<StackAnnotation>
StackAnnotation
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.