public abstract class CommonMetadata
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
CommonMetadata.Builder<T extends CommonMetadata.Builder>
Builder for common fields.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CommonMetadata(CommonMetadata.Builder builder)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getDescription()
Get the description.
|
java.util.Optional<com.fasterxml.jackson.databind.JsonNode> |
getMetadata()
Get the metadata of this resource as a JSON Node.
|
java.util.Set<java.lang.String> |
getTags()
Get the tags associated with this resource.
|
protected CommonMetadata(CommonMetadata.Builder builder)
builder - The builder containing the values to use.public java.util.Optional<java.lang.String> getDescription()
Optionalpublic java.util.Optional<com.fasterxml.jackson.databind.JsonNode> getMetadata()
Optional of the metadata if it existspublic java.util.Set<java.lang.String> getTags()