Interface Tag.Builder

    • Method Detail

      • key

        Tag.Builder key​(String key)

        The key name that can be used to look up or retrieve the associated value. For example, Department or Cost Center are common choices.

        Parameters:
        key - The key name that can be used to look up or retrieve the associated value. For example, Department or Cost Center are common choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Tag.Builder value​(String value)

        The value associated with this tag. For example, tags with a key name of Department could have values such as Human Resources, Accounting, and Support. Tags with a key name of Cost Center might have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.

        Parameters:
        value - The value associated with this tag. For example, tags with a key name of Department could have values such as Human Resources, Accounting, and Support. Tags with a key name of Cost Center might have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.