Interface ResourceTagSet.Builder

    • Method Detail

      • resourceType

        ResourceTagSet.Builder resourceType​(String resourceType)

        The type of the resource.

        • The resource type for health checks is healthcheck.

        • The resource type for hosted zones is hostedzone.

        Parameters:
        resourceType - The type of the resource.

        • The resource type for health checks is healthcheck.

        • The resource type for hosted zones is hostedzone.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TagResourceType, TagResourceType
      • resourceType

        ResourceTagSet.Builder resourceType​(TagResourceType resourceType)

        The type of the resource.

        • The resource type for health checks is healthcheck.

        • The resource type for hosted zones is hostedzone.

        Parameters:
        resourceType - The type of the resource.

        • The resource type for health checks is healthcheck.

        • The resource type for hosted zones is hostedzone.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TagResourceType, TagResourceType
      • resourceId

        ResourceTagSet.Builder resourceId​(String resourceId)

        The ID for the specified resource.

        Parameters:
        resourceId - The ID for the specified resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags associated with the specified resource.

        Parameters:
        tags - The tags associated with the specified resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ResourceTagSet.Builder tags​(Tag... tags)

        The tags associated with the specified resource.

        Parameters:
        tags - The tags associated with the specified resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags associated with the specified resource.

        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)