Interface ListTagsForResourceResponse.Builder

    • Method Detail

      • tags

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

        Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

        Parameters:
        tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ListTagsForResourceResponse.Builder tags​(Tag... tags)

        Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

        Parameters:
        tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

        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 #tags(List).

        Parameters:
        tags - 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:
        #tags(java.util.Collection)
      • requestId

        ListTagsForResourceResponse.Builder requestId​(String requestId)

        The Amazon Web Services request ID for this operation.

        Parameters:
        requestId - The Amazon Web Services request ID for this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ListTagsForResourceResponse.Builder status​(Integer status)

        The HTTP status of the request.

        Parameters:
        status - The HTTP status of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.