> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Java: StackAnnotation

> CDKTN Core API Reference for StackAnnotation in Java.

## Initializer <a name="Initializer" id="cdktn.StackAnnotation.Initializer" />

```java theme={null}
import io.cdktn.cdktn.StackAnnotation;

StackAnnotation.builder()
    .constructPath(java.lang.String)
    .level(AnnotationMetadataEntryType)
    .message(java.lang.String)
//  .stacktrace(java.util.List<java.lang.String>)
    .build();
```

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                               | **Type**                                                                                  | **Description**   |
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| <code><a href="#cdktn.StackAnnotation.property.constructPath">constructPath</a></code> | <code>java.lang.String</code>                                                             | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.level">level</a></code>                 | <code><a href="#cdktn.AnnotationMetadataEntryType">AnnotationMetadataEntryType</a></code> | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.message">message</a></code>             | <code>java.lang.String</code>                                                             | *No description.* |
| <code><a href="#cdktn.StackAnnotation.property.stacktrace">stacktrace</a></code>       | <code>java.util.List\< java.lang.String ></code>                                          | *No description.* |

***

### `constructPath`<sup>Required</sup> <a name="constructPath" id="cdktn.StackAnnotation.property.constructPath" />

```java theme={null}
public java.lang.String getConstructPath();
```

* *Type:* java.lang.String

***

### `level`<sup>Required</sup> <a name="level" id="cdktn.StackAnnotation.property.level" />

```java theme={null}
public AnnotationMetadataEntryType getLevel();
```

* *Type:* <a href="#cdktn.AnnotationMetadataEntryType">AnnotationMetadataEntryType</a>

***

### `message`<sup>Required</sup> <a name="message" id="cdktn.StackAnnotation.property.message" />

```java theme={null}
public java.lang.String getMessage();
```

* *Type:* java.lang.String

***

### `stacktrace`<sup>Optional</sup> <a name="stacktrace" id="cdktn.StackAnnotation.property.stacktrace" />

```java theme={null}
public java.util.List<java.lang.String> getStacktrace();
```

* *Type:* java.util.List\< java.lang.String >

***
