Class GlossaryTreeElement.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

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

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

        public GlossaryTreeElement.Builder description​(String description)
        Detailed description of the term.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • glossaryKey

        public GlossaryTreeElement.Builder glossaryKey​(String glossaryKey)
        Unique id of the parent glossary.
        Parameters:
        glossaryKey - the value to set
        Returns:
        this builder
      • parentTermKey

        public GlossaryTreeElement.Builder parentTermKey​(String parentTermKey)
        This terms parent term key.

        Will be null if the term has no parent term.

        Parameters:
        parentTermKey - the value to set
        Returns:
        this builder
      • isAllowedToHaveChildTerms

        public GlossaryTreeElement.Builder isAllowedToHaveChildTerms​(Boolean isAllowedToHaveChildTerms)
        Indicates whether a term may contain child terms.
        Parameters:
        isAllowedToHaveChildTerms - the value to set
        Returns:
        this builder
      • timeCreated

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

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

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

        public GlossaryTreeElement.Builder workflowStatus​(TermWorkflowStatus workflowStatus)
        Status of the approval process workflow for this business term in the glossary.
        Parameters:
        workflowStatus - the value to set
        Returns:
        this builder
      • associatedObjectCount

        public GlossaryTreeElement.Builder associatedObjectCount​(Integer associatedObjectCount)
        The number of objects tagged with this term.
        Parameters:
        associatedObjectCount - the value to set
        Returns:
        this builder