Interface Tags.Builder

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

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

    • items

      Tags.Builder items(Collection<Tag> items)

      A complex type that contains Tag elements.

      Parameters:
      items - A complex type that contains Tag elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Tags.Builder items(Tag... items)

      A complex type that contains Tag elements.

      Parameters:
      items - A complex type that contains Tag elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Tags.Builder items(Consumer<Tag.Builder>... items)

      A complex type that contains Tag elements.

      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 items(List<Tag>).

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