Interface ListTagsForResourceResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeartifactResponse.Builder, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>, SdkBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListTagsForResourceResponse

public static interface ListTagsForResourceResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
  • Method Details

    • tags

      A list of tag key and value pairs associated with the specified resource.

      Parameters:
      tags - A list of tag key and value pairs associated with the specified resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag key and value pairs associated with the specified resource.

      Parameters:
      tags - A list of tag key and value pairs associated with the specified resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag key and value pairs associated with the specified 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<Tag>).

      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: