Interface ResourceTagSet.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResourceTagSet.Builder,ResourceTagSet>, SdkBuilder<ResourceTagSet.Builder,ResourceTagSet>, SdkPojo
Enclosing class:
ResourceTagSet

public static interface ResourceTagSet.Builder extends SdkPojo, CopyableBuilder<ResourceTagSet.Builder,ResourceTagSet>
  • Method Details

    • 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:
    • 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:
    • 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

      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

      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<Tag>).

      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: