Class MetadataEntry.Builder
java.lang.Object
software.amazon.awscdk.cloud_assembly_schema.MetadataEntry.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MetadataEntry>
- Enclosing interface:
MetadataEntry
@Stability(Stable)
public static final class MetadataEntry.Builder
extends Object
implements software.amazon.jsii.Builder<MetadataEntry>
A builder for
MetadataEntry-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofMetadataEntry.getData()Sets the value ofMetadataEntry.getData()Sets the value ofMetadataEntry.getData()Sets the value ofMetadataEntry.getData()Sets the value ofMetadataEntry.getData()data(FileAssetMetadataEntry data) Sets the value ofMetadataEntry.getData()Sets the value ofMetadataEntry.getTrace()Sets the value ofMetadataEntry.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofMetadataEntry.getType()- Parameters:
type- The type of the metadata entry. This parameter is required.- Returns:
this
-
data
Sets the value ofMetadataEntry.getData()- Parameters:
data- The data.- Returns:
this
-
data
Sets the value ofMetadataEntry.getData()- Parameters:
data- The data.- Returns:
this
-
data
Sets the value ofMetadataEntry.getData()- Parameters:
data- The data.- Returns:
this
-
data
Sets the value ofMetadataEntry.getData()- Parameters:
data- The data.- Returns:
this
-
data
Sets the value ofMetadataEntry.getData()- Parameters:
data- The data.- Returns:
this
-
data
Sets the value ofMetadataEntry.getData()- Parameters:
data- The data.- Returns:
this
-
trace
Sets the value ofMetadataEntry.getTrace()- Parameters:
trace- A stack trace for when the entry was created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MetadataEntry>- Returns:
- a new instance of
MetadataEntry - Throws:
NullPointerException- if any required attribute was not provided
-