Interface UpdateTagsForDomainRequest.Builder

    • Method Detail

      • domainName

        UpdateTagsForDomainRequest.Builder domainName​(String domainName)

        The domain for which you want to add or update tags.

        Parameters:
        domainName - The domain for which you want to add or update tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsToUpdate

        UpdateTagsForDomainRequest.Builder tagsToUpdate​(Collection<Tag> tagsToUpdate)

        A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.

        Parameters:
        tagsToUpdate - A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsToUpdate

        UpdateTagsForDomainRequest.Builder tagsToUpdate​(Tag... tagsToUpdate)

        A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.

        Parameters:
        tagsToUpdate - A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagsToUpdate

        UpdateTagsForDomainRequest.Builder tagsToUpdate​(Consumer<Tag.Builder>... tagsToUpdate)

        A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.

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

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