Package software.amazon.awscdk.cxapi
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.Sets the value ofMetadataEntry.getData()
Deprecated.Sets the value ofMetadataEntry.getData()
data
(software.amazon.awscdk.cloudassembly.schema.ContainerImageAssetMetadataEntry data) Deprecated.Sets the value ofMetadataEntry.getData()
data
(software.amazon.awscdk.cloudassembly.schema.FileAssetMetadataEntry data) Deprecated.Sets the value ofMetadataEntry.getData()
Deprecated.Sets the value ofMetadataEntry.getTrace()
Deprecated.Sets the value ofMetadataEntry.getType()
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
type
Deprecated.Sets the value ofMetadataEntry.getType()
- Parameters:
type
- The type of the metadata entry. This parameter is required.- Returns:
this
-
data
Deprecated.Sets the value ofMetadataEntry.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 ofMetadataEntry.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 ofMetadataEntry.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 ofMetadataEntry.getData()
- Parameters:
data
- The data.- Returns:
this
-
trace
Deprecated.Sets the value ofMetadataEntry.getTrace()
- Parameters:
trace
- A stack trace for when the entry was created.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MetadataEntry>
- Returns:
- a new instance of
MetadataEntry
- Throws:
NullPointerException
- if any required attribute was not provided
-