Interface ListTagsResponse.Builder

    • Method Detail

      • tagList

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

        A list of tags.

        Parameters:
        tagList - A list of tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

        ListTagsResponse.Builder tagList​(Tag... tagList)

        A list of tags.

        Parameters:
        tagList - A list of tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagList

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

        A list of tags.

        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)
      • nextToken

        ListTagsResponse.Builder nextToken​(String nextToken)

        An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent ListTags request to get more tags.

        Parameters:
        nextToken - An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent ListTags request to get more tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.