Interface ListTagsForResourceResponse.Builder

    • Method Detail

      • tagList

        ListTagsForResourceResponse.Builder tagList​(Collection<Tag> tagList)

        List of tags returned by the ListTagsForResource operation.

        Parameters:
        tagList - List of tags returned by the ListTagsForResource operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

        ListTagsForResourceResponse.Builder tagList​(Tag... tagList)

        List of tags returned by the ListTagsForResource operation.

        Parameters:
        tagList - List of tags returned by the ListTagsForResource operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

        ListTagsForResourceResponse.Builder tagList​(Consumer<Tag.Builder>... tagList)

        List of tags returned by the ListTagsForResource operation.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tagList(List).

        Parameters:
        tagList - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tagList(java.util.Collection)