Class EntityTag.Builder

  • Enclosing class:
    EntityTag

    public static class EntityTag.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • entityKey

        public EntityTag.Builder entityKey​(String entityKey)
        The unique key of the parent entity.
        Parameters:
        entityKey - the value to set
        Returns:
        this builder
      • key

        public EntityTag.Builder key​(String key)
        Unique tag key that is immutable.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • name

        public EntityTag.Builder name​(String name)
        Name of the tag which matches the term name.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • termKey

        public EntityTag.Builder termKey​(String termKey)
        Unique key of the related term.
        Parameters:
        termKey - the value to set
        Returns:
        this builder
      • termPath

        public EntityTag.Builder termPath​(String termPath)
        Path of the related term.
        Parameters:
        termPath - the value to set
        Returns:
        this builder
      • termDescription

        public EntityTag.Builder termDescription​(String termDescription)
        Description of the related term.
        Parameters:
        termDescription - the value to set
        Returns:
        this builder
      • lifecycleState

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

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

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

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

        public EntityTag.Builder createdById​(String createdById)
        OCID of the user who created the tag.
        Parameters:
        createdById - the value to set
        Returns:
        this builder
      • uri

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