Interface TagResourceRequest.Builder

    • Method Detail

      • resourceArn

        TagResourceRequest.Builder resourceArn​(String resourceArn)

        The Amazon Resource Name (ARN) of the given Amazon Comprehend resource to which you want to associate the tags.

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the given Amazon Comprehend resource to which you want to associate the tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Tags being associated with a specific Amazon Comprehend resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource.

        Parameters:
        tags - Tags being associated with a specific Amazon Comprehend resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        TagResourceRequest.Builder tags​(Tag... tags)

        Tags being associated with a specific Amazon Comprehend resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource.

        Parameters:
        tags - Tags being associated with a specific Amazon Comprehend resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Tags being associated with a specific Amazon Comprehend resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific 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)