Interface MetadataEntry

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:18.380Z") @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.cloud_assembly_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