Interface UpdateTagsForResourceRequest.Builder

    • Method Detail

      • resourceArn

        UpdateTagsForResourceRequest.Builder resourceArn​(String resourceArn)

        The Amazon Resource Name (ARN) of the resouce to be updated.

        Must be the ARN of an Elastic Beanstalk resource.

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the resouce to be updated.

        Must be the ARN of an Elastic Beanstalk resource.

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

        UpdateTagsForResourceRequest.Builder tagsToAdd​(Collection<Tag> tagsToAdd)

        A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

        Parameters:
        tagsToAdd - A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

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

        UpdateTagsForResourceRequest.Builder tagsToAdd​(Tag... tagsToAdd)

        A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

        Parameters:
        tagsToAdd - A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

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

        UpdateTagsForResourceRequest.Builder tagsToAdd​(Consumer<Tag.Builder>... tagsToAdd)

        A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

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

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

        UpdateTagsForResourceRequest.Builder tagsToRemove​(Collection<String> tagsToRemove)

        A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

        Parameters:
        tagsToRemove - A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

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

        UpdateTagsForResourceRequest.Builder tagsToRemove​(String... tagsToRemove)

        A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

        Parameters:
        tagsToRemove - A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.

        Specify at least one of these parameters: TagsToAdd, TagsToRemove.

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