Interface Tag.Builder

    • Method Detail

      • key

        Tag.Builder key​(String key)

        The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the key is 'Department'.

        Parameters:
        key - The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the key is 'Department'.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Tag.Builder value​(String value)

        The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the value is 'Sales'.

        Parameters:
        value - The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the value is 'Sales'.
        Returns:
        Returns a reference to this object so that method calls can be chained together.