Class BaseTag.Builder

  • Enclosing class:
    BaseTag

    public static class BaseTag.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

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

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

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

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

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

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

        public BaseTag.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 BaseTag.Builder createdById​(String createdById)
        OCID of the user who created the tag.
        Parameters:
        createdById - the value to set
        Returns:
        this builder
      • uri

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