Class TermRelationshipSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public TermRelationshipSummary.Builder displayName​(String displayName)
        A user-friendly display name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.This is the same as relationshipType for termRelationship

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public TermRelationshipSummary.Builder description​(String description)
        Detailed description of the term relationship usually defined at the time of creation.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • relatedTermKey

        public TermRelationshipSummary.Builder relatedTermKey​(String relatedTermKey)
        Unique id of the related term.
        Parameters:
        relatedTermKey - the value to set
        Returns:
        this builder
      • relatedTermDisplayName

        public TermRelationshipSummary.Builder relatedTermDisplayName​(String relatedTermDisplayName)
        Name of the related term.
        Parameters:
        relatedTermDisplayName - the value to set
        Returns:
        this builder
      • relatedTermDescription

        public TermRelationshipSummary.Builder relatedTermDescription​(String relatedTermDescription)
        Description of the related term.
        Parameters:
        relatedTermDescription - the value to set
        Returns:
        this builder
      • relatedTermPath

        public TermRelationshipSummary.Builder relatedTermPath​(String relatedTermPath)
        Full path of the related term.
        Parameters:
        relatedTermPath - the value to set
        Returns:
        this builder
      • relatedTermGlossaryKey

        public TermRelationshipSummary.Builder relatedTermGlossaryKey​(String relatedTermGlossaryKey)
        Glossary key of the related term.
        Parameters:
        relatedTermGlossaryKey - the value to set
        Returns:
        this builder
      • parentTermKey

        public TermRelationshipSummary.Builder parentTermKey​(String parentTermKey)
        This relationships parent term key.
        Parameters:
        parentTermKey - the value to set
        Returns:
        this builder
      • parentTermDisplayName

        public TermRelationshipSummary.Builder parentTermDisplayName​(String parentTermDisplayName)
        Name of the parent term.
        Parameters:
        parentTermDisplayName - the value to set
        Returns:
        this builder
      • parentTermDescription

        public TermRelationshipSummary.Builder parentTermDescription​(String parentTermDescription)
        Description of the parent term.
        Parameters:
        parentTermDescription - the value to set
        Returns:
        this builder
      • parentTermPath

        public TermRelationshipSummary.Builder parentTermPath​(String parentTermPath)
        Full path of the parent term.
        Parameters:
        parentTermPath - the value to set
        Returns:
        this builder
      • parentTermGlossaryKey

        public TermRelationshipSummary.Builder parentTermGlossaryKey​(String parentTermGlossaryKey)
        Glossary key of the parent term.
        Parameters:
        parentTermGlossaryKey - the value to set
        Returns:
        this builder
      • timeCreated

        public TermRelationshipSummary.Builder timeCreated​(Date timeCreated)
        The date and time the term relationship was created, in the format defined by RFC3339.

        Example: 2019-03-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder