Interface KeyGroupList.Builder

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

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

    • nextMarker

      KeyGroupList.Builder nextMarker(String nextMarker)

      If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.

      Parameters:
      nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxItems

      KeyGroupList.Builder maxItems(Integer maxItems)

      The maximum number of key groups requested.

      Parameters:
      maxItems - The maximum number of key groups requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      KeyGroupList.Builder quantity(Integer quantity)

      The number of key groups returned in the response.

      Parameters:
      quantity - The number of key groups returned in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of key groups.

      Parameters:
      items - A list of key groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of key groups.

      Parameters:
      items - A list of key groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of key groups.

      This is a convenience method that creates an instance of the KeyGroupSummary.Builder avoiding the need to create one manually via KeyGroupSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<KeyGroupSummary>).

      Parameters:
      items - a consumer that will call methods on KeyGroupSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: