Class InstanceIdentity

    • Constructor Detail

      • InstanceIdentity

        public InstanceIdentity()
    • Method Detail

      • setDocument

        public void setDocument​(String document)

        A JSON document that contains the metadata.

        Parameters:
        document - A JSON document that contains the metadata.
      • getDocument

        public String getDocument()

        A JSON document that contains the metadata.

        Returns:
        A JSON document that contains the metadata.
      • withDocument

        public InstanceIdentity withDocument​(String document)

        A JSON document that contains the metadata.

        Parameters:
        document - A JSON document that contains the metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSignature

        public void setSignature​(String signature)

        A signature that can be used to verify the document's accuracy and authenticity.

        Parameters:
        signature - A signature that can be used to verify the document's accuracy and authenticity.
      • getSignature

        public String getSignature()

        A signature that can be used to verify the document's accuracy and authenticity.

        Returns:
        A signature that can be used to verify the document's accuracy and authenticity.
      • withSignature

        public InstanceIdentity withSignature​(String signature)

        A signature that can be used to verify the document's accuracy and authenticity.

        Parameters:
        signature - A signature that can be used to verify the document's accuracy and authenticity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object