Interface CreateTagsRequest.Builder

    • Method Detail

      • resourceId

        CreateTagsRequest.Builder resourceId​(String resourceId)

        The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

        Parameters:
        resourceId - The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags. Each WorkSpaces resource can have a maximum of 50 tags.

        Parameters:
        tags - The tags. Each WorkSpaces resource can have a maximum of 50 tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags. Each WorkSpaces resource can have a maximum of 50 tags.

        Parameters:
        tags - The tags. Each WorkSpaces resource can have a maximum of 50 tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags. Each WorkSpaces resource can have a maximum of 50 tags.

        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)