Interface ResourceTag.Builder

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

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

    • resourceArn

      ResourceTag.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags.

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

      ResourceTag.Builder tags(Tag... tags)

      The tags.

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

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