Interface PublicKeyList.Builder

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

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

    • nextMarker

      PublicKeyList.Builder nextMarker(String nextMarker)

      If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.

      Parameters:
      nextMarker - If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxItems

      PublicKeyList.Builder maxItems(Integer maxItems)

      The maximum number of public keys you want in the response.

      Parameters:
      maxItems - The maximum number of public keys you want in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      PublicKeyList.Builder quantity(Integer quantity)

      The number of public keys in the list.

      Parameters:
      quantity - The number of public keys in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of public keys.

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

      A list of public keys.

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

      A list of public keys.

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

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

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