Interface Tag.Builder

    • Method Detail

      • key

        Tag.Builder key​(String key)

        A value that specifies the TagKey, the name of the tag. Tag keys must be unique for the resource to which they are attached.

        Parameters:
        key - A value that specifies the TagKey, the name of the tag. Tag keys must be unique for the resource to which they are attached.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Tag.Builder value​(String value)

        A value that specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April and also of payroll : April.

        Parameters:
        value - A value that specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April and also of payroll : April.
        Returns:
        Returns a reference to this object so that method calls can be chained together.