Interface ListPublicKeysResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudTrailResponse.Builder, CopyableBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>, SdkBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListPublicKeysResponse

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

    • publicKeyList

      ListPublicKeysResponse.Builder publicKeyList(Collection<PublicKey> publicKeyList)

      Contains an array of PublicKey objects.

      The returned public keys may have validity time ranges that overlap.

      Parameters:
      publicKeyList - Contains an array of PublicKey objects.

      The returned public keys may have validity time ranges that overlap.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicKeyList

      ListPublicKeysResponse.Builder publicKeyList(PublicKey... publicKeyList)

      Contains an array of PublicKey objects.

      The returned public keys may have validity time ranges that overlap.

      Parameters:
      publicKeyList - Contains an array of PublicKey objects.

      The returned public keys may have validity time ranges that overlap.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicKeyList

      ListPublicKeysResponse.Builder publicKeyList(Consumer<PublicKey.Builder>... publicKeyList)

      Contains an array of PublicKey objects.

      The returned public keys may have validity time ranges that overlap.

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

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

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

      ListPublicKeysResponse.Builder nextToken(String nextToken)

      Reserved for future use.

      Parameters:
      nextToken - Reserved for future use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.