Class Tag.Builder

  • Enclosing class:
    Tag

    public static class Tag.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Tag.Builder name​(String name)
        The name you assign to the tag during creation.

        This is the tag key definition. The name must be unique within the tag namespace and cannot be changed.

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

        public Tag.Builder description​(String description)
        The description assigned to the tag during creation.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • isCostTracking

        public Tag.Builder isCostTracking​(Boolean isCostTracking)
        Indicates whether the tag is enabled for cost tracking.
        Parameters:
        isCostTracking - the value to set
        Returns:
        this builder
      • build

        public Tag build()