Interface MetadataEntry

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
MetadataEntry, MetadataEntryResult
All Known Implementing Classes:
MetadataEntry.Jsii$Proxy, MetadataEntry.Jsii$Proxy, MetadataEntryResult.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.700Z") @Stability(Stable) public interface MetadataEntry extends software.amazon.jsii.JsiiSerializable
A metadata entry in a cloud assembly artifact.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloudassembly.schema.*;
 MetadataEntry metadataEntry = MetadataEntry.builder()
         .type("type")
         // the properties below are optional
         .data("data")
         .trace(List.of("trace"))
         .build();
 
  • Method Details

    • getType

      @Stability(Stable) @NotNull String getType()
      The type of the metadata entry.
    • getData

      @Stability(Stable) @Nullable default Object getData()
      The data.

      Default: - no data.

    • getTrace

      @Stability(Stable) @Nullable default List<String> getTrace()
      A stack trace for when the entry was created.

      Default: - no trace.

    • builder

      @Stability(Stable) static MetadataEntry.Builder builder()
      Returns:
      a MetadataEntry.Builder of MetadataEntry