Class CommonMetadata

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommonMetadata

        protected CommonMetadata​(CommonMetadata.Builder builder)
        Constructor.
        Parameters:
        builder - The builder containing the values to use.
    • Method Detail

      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Get the description.
        Returns:
        The description as an Optional
      • getMetadata

        public java.util.Optional<com.fasterxml.jackson.databind.JsonNode> getMetadata()
        Get the metadata of this resource as a JSON Node.
        Returns:
        Optional of the metadata if it exists
      • getTags

        public java.util.Set<java.lang.String> getTags()
        Get the tags associated with this resource. Will be returned as an immutable set and any attempt to modify will result in an exception being thrown.
        Returns:
        The tags