Interface RemoveTagsRequest.Builder

    • Method Detail

      • resourceId

        RemoveTagsRequest.Builder resourceId​(String resourceId)

        Specifies the ARN of the trail, event data store, or channel from which tags should be removed.

        Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

        Example event data store ARN format: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

        Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890

        Parameters:
        resourceId - Specifies the ARN of the trail, event data store, or channel from which tags should be removed.

        Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

        Example event data store ARN format: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE

        Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsList

        RemoveTagsRequest.Builder tagsList​(Collection<Tag> tagsList)

        Specifies a list of tags to be removed.

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

        RemoveTagsRequest.Builder tagsList​(Tag... tagsList)

        Specifies a list of tags to be removed.

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

        RemoveTagsRequest.Builder tagsList​(Consumer<Tag.Builder>... tagsList)

        Specifies a list of tags to be removed.

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

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