Class Glossary.Builder

  • Enclosing class:
    Glossary

    public static class Glossary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public Glossary.Builder key​(String key)
        Unique glossary key that is immutable.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • displayName

        public Glossary.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 Glossary.Builder description​(String description)
        Detailed description of the glossary.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • catalogId

        public Glossary.Builder catalogId​(String catalogId)
        The data catalog’s OCID.
        Parameters:
        catalogId - the value to set
        Returns:
        this builder
      • lifecycleState

        public Glossary.Builder lifecycleState​(LifecycleState lifecycleState)
        The current state of the glossary.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

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

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

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

        public Glossary.Builder timeUpdated​(Date timeUpdated)
        The last time that any change was made to the glossary.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • createdById

        public Glossary.Builder createdById​(String createdById)
        OCID of the user who created this metadata element.
        Parameters:
        createdById - the value to set
        Returns:
        this builder
      • updatedById

        public Glossary.Builder updatedById​(String updatedById)
        OCID of the user who updated this metadata element.
        Parameters:
        updatedById - the value to set
        Returns:
        this builder
      • owner

        public Glossary.Builder owner​(String owner)
        OCID of the user who is the owner of the glossary.
        Parameters:
        owner - the value to set
        Returns:
        this builder
      • workflowStatus

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

        public Glossary.Builder customPropertyMembers​(List<CustomPropertyGetUsage> customPropertyMembers)
        The list of customized properties along with the values for this object
        Parameters:
        customPropertyMembers - the value to set
        Returns:
        this builder
      • importJobDefinitionKey

        public Glossary.Builder importJobDefinitionKey​(String importJobDefinitionKey)
        The unique key of the job definition resource that was used in the Glossary import.
        Parameters:
        importJobDefinitionKey - the value to set
        Returns:
        this builder
      • importJobKey

        public Glossary.Builder importJobKey​(String importJobKey)
        The unique key of the job policy for Glossary import.
        Parameters:
        importJobKey - the value to set
        Returns:
        this builder
      • latestImportJobExecutionKey

        public Glossary.Builder latestImportJobExecutionKey​(String latestImportJobExecutionKey)
        The unique key of the parent job execution for which the log resource was created.
        Parameters:
        latestImportJobExecutionKey - the value to set
        Returns:
        this builder
      • latestImportJobExecutionStatus

        public Glossary.Builder latestImportJobExecutionStatus​(String latestImportJobExecutionStatus)
        Status of the latest glossary import job execution, such as running, paused, or completed.

        This may include additional information like time import started , import file size and % of completion

        Parameters:
        latestImportJobExecutionStatus - the value to set
        Returns:
        this builder
      • uri

        public Glossary.Builder uri​(String uri)
        URI to the tag instance in the API.
        Parameters:
        uri - the value to set
        Returns:
        this builder