Interface ListTagsForResourceResponse.Builder

    • Method Detail

      • nextToken

        ListTagsForResourceResponse.Builder nextToken​(String nextToken)

        The token to retrieve the next set of results.

        Parameters:
        nextToken - The token to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        ListTagsForResourceResponse.Builder resourceTags​(Collection<ResourceTag> resourceTags)

        An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.

        Parameters:
        resourceTags - An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        ListTagsForResourceResponse.Builder resourceTags​(ResourceTag... resourceTags)

        An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.

        Parameters:
        resourceTags - An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        ListTagsForResourceResponse.Builder resourceTags​(Consumer<ResourceTag.Builder>... resourceTags)

        An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.

        This is a convenience method that creates an instance of the ResourceTag.Builder avoiding the need to create one manually via ResourceTag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #resourceTags(List).

        Parameters:
        resourceTags - a consumer that will call methods on ResourceTag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #resourceTags(java.util.Collection)