Interface Tag.Builder

    • Method Detail

      • key

        Tag.Builder key​(String key)

        The name of the tag. This is a general label that acts as a category for a more specific tag value ( value).

        Parameters:
        key - The name of the tag. This is a general label that acts as a category for a more specific tag value ( value).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Tag.Builder value​(String value)

        The value that’s associated with the specified tag key (key). This value acts as a descriptor for the tag key. A tag value cannot be null, but it can be an empty string.

        Parameters:
        value - The value that’s associated with the specified tag key (key). This value acts as a descriptor for the tag key. A tag value cannot be null, but it can be an empty string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.