Interface CreateTagsRequest.Builder

    • Method Detail

      • configurationIds

        CreateTagsRequest.Builder configurationIds​(Collection<String> configurationIds)

        A list of configuration items that you want to tag.

        Parameters:
        configurationIds - A list of configuration items that you want to tag.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationIds

        CreateTagsRequest.Builder configurationIds​(String... configurationIds)

        A list of configuration items that you want to tag.

        Parameters:
        configurationIds - A list of configuration items that you want to tag.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

        {"key": "serverType", "value": "webServer"}

        Parameters:
        tags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

        {"key": "serverType", "value": "webServer"}

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

        CreateTagsRequest.Builder tags​(Tag... tags)

        Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

        {"key": "serverType", "value": "webServer"}

        Parameters:
        tags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

        {"key": "serverType", "value": "webServer"}

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

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

        Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

        {"key": "serverType", "value": "webServer"}

        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)