public static final class MetadataEntryResult.Builder
extends java.lang.Object
MetadataEntryResult
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetadataEntryResult |
build()
Builds the configured instance.
|
MetadataEntryResult.Builder |
data(ContainerImageAssetMetadataEntry data)
Sets the value of
MetadataEntry.getData() |
MetadataEntryResult.Builder |
data(FileAssetMetadataEntry data)
Sets the value of
MetadataEntry.getData() |
MetadataEntryResult.Builder |
data(java.util.List<? extends Tag> data)
Sets the value of
MetadataEntry.getData() |
MetadataEntryResult.Builder |
data(java.lang.String data)
Sets the value of
MetadataEntry.getData() |
MetadataEntryResult.Builder |
path(java.lang.String path)
Sets the value of
MetadataEntryResult.getPath() |
MetadataEntryResult.Builder |
trace(java.util.List<java.lang.String> trace)
Sets the value of
MetadataEntry.getTrace() |
MetadataEntryResult.Builder |
type(java.lang.String type)
Sets the value of
MetadataEntry.getType() |
public MetadataEntryResult.Builder path(java.lang.String path)
MetadataEntryResult.getPath()
path
- The path in which this entry was defined. This parameter is required.this
public MetadataEntryResult.Builder type(java.lang.String type)
MetadataEntry.getType()
type
- The type of the metadata entry. This parameter is required.this
public MetadataEntryResult.Builder data(java.lang.String data)
MetadataEntry.getData()
data
- The data.this
public MetadataEntryResult.Builder data(FileAssetMetadataEntry data)
MetadataEntry.getData()
data
- The data.this
public MetadataEntryResult.Builder data(ContainerImageAssetMetadataEntry data)
MetadataEntry.getData()
data
- The data.this
public MetadataEntryResult.Builder data(java.util.List<? extends Tag> data)
MetadataEntry.getData()
data
- The data.this
public MetadataEntryResult.Builder trace(java.util.List<java.lang.String> trace)
MetadataEntry.getTrace()
trace
- A stack trace for when the entry was created.this
public MetadataEntryResult build()
MetadataEntryResult
java.lang.NullPointerException
- if any required attribute was not provided