@Generated(value="jsii-pacmak/1.37.0 (build a6fe12f)", date="2021-11-10T14:42:51.327Z") @Stability(value=Experimental) public class Annotations extends software.amazon.jsii.JsiiObject
Modifier | Constructor and Description |
---|---|
protected |
Annotations(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Annotations(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
void |
addError(String message)
(experimental) Adds an { "error":
|
void |
addInfo(String message)
(experimental) Adds an info metadata entry to this construct.
|
void |
addWarning(String message)
(experimental) Adds a warning metadata entry to this construct.
|
static Annotations |
of(software.constructs.IConstruct scope)
(experimental) Returns the annotations API for a construct scope.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected Annotations(software.amazon.jsii.JsiiObjectRef objRef)
protected Annotations(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static Annotations of(@NotNull software.constructs.IConstruct scope)
scope
- The scope. This parameter is required.@Stability(value=Experimental) public void addError(@NotNull String message)
java
message
- The error message. This parameter is required.@Stability(value=Experimental) public void addInfo(@NotNull String message)
java
message
- The info message. This parameter is required.@Stability(value=Experimental) public void addWarning(@NotNull String message)
java
message
- The warning message. This parameter is required.Copyright © 2021. All rights reserved.