Class MetadataEntry.Builder

java.lang.Object
software.amazon.awscdk.cxapi.MetadataEntry.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<MetadataEntry>
Enclosing interface:
MetadataEntry

@Stability(Deprecated) @Deprecated public static final class MetadataEntry.Builder extends Object implements software.amazon.jsii.Builder<MetadataEntry>
Deprecated.
A builder for MetadataEntry
  • Constructor Details

    • Builder

      public Builder()
      Deprecated.
  • Method Details

    • type

      @Stability(Stable) public MetadataEntry.Builder type(String type)
      Deprecated.
      Sets the value of MetadataEntry.getType()
      Parameters:
      type - The type of the metadata entry. This parameter is required.
      Returns:
      this
    • data

      @Stability(Stable) public MetadataEntry.Builder data(String data)
      Deprecated.
      Sets the value of MetadataEntry.getData()
      Parameters:
      data - The data.
      Returns:
      this
    • data

      @Stability(Stable) public MetadataEntry.Builder data(software.amazon.awscdk.cloudassembly.schema.FileAssetMetadataEntry data)
      Deprecated.
      Sets the value of MetadataEntry.getData()
      Parameters:
      data - The data.
      Returns:
      this
    • data

      @Stability(Stable) public MetadataEntry.Builder data(software.amazon.awscdk.cloudassembly.schema.ContainerImageAssetMetadataEntry data)
      Deprecated.
      Sets the value of MetadataEntry.getData()
      Parameters:
      data - The data.
      Returns:
      this
    • data

      @Stability(Stable) public MetadataEntry.Builder data(List<? extends software.amazon.awscdk.cloudassembly.schema.Tag> data)
      Deprecated.
      Sets the value of MetadataEntry.getData()
      Parameters:
      data - The data.
      Returns:
      this
    • trace

      @Stability(Stable) public MetadataEntry.Builder trace(List<String> trace)
      Deprecated.
      Sets the value of MetadataEntry.getTrace()
      Parameters:
      trace - A stack trace for when the entry was created.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public MetadataEntry build()
      Deprecated.
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<MetadataEntry>
      Returns:
      a new instance of MetadataEntry
      Throws:
      NullPointerException - if any required attribute was not provided