Interface ListKeysResponse.Builder

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

  • Method Details

    • keys

      The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.

      Parameters:
      keys - The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keys

      The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.

      Parameters:
      keys - The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keys

      The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.

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

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

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

      ListKeysResponse.Builder nextToken(String nextToken)

      The token for the next set of results, or an empty or null value if there are no more results.

      Parameters:
      nextToken - The token for the next set of results, or an empty or null value if there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.