Interface TagInfoForResource.Builder

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

@Mutable @NotThreadSafe public static interface TagInfoForResource.Builder extends SdkPojo, CopyableBuilder<TagInfoForResource.Builder,TagInfoForResource>
  • Method Details

    • resourceARN

      TagInfoForResource.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.
    • tagList

      The array of Tag objects defined for the resource.

      Parameters:
      tagList - The array of Tag objects defined for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      TagInfoForResource.Builder tagList(Tag... tagList)

      The array of Tag objects defined for the resource.

      Parameters:
      tagList - The array of Tag objects defined for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      The array of Tag objects defined for the 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 tagList(List<Tag>).

      Parameters:
      tagList - 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: