Interface ListKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListKeysResponse.Builder,
,ListKeysResponse> PaymentCryptographyResponse.Builder
,SdkBuilder<ListKeysResponse.Builder,
,ListKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListKeysResponse
public static interface ListKeysResponse.Builder
extends PaymentCryptographyResponse.Builder, SdkPojo, CopyableBuilder<ListKeysResponse.Builder,ListKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionkeys
(Collection<KeySummary> keys) The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.keys
(Consumer<KeySummary.Builder>... keys) The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.keys
(KeySummary... keys) The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.The token for the next set of results, or an empty or null value if there are no more results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptography.model.PaymentCryptographyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theKeySummary.Builder
avoiding the need to create one manually viaKeySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeys(List<KeySummary>)
.- Parameters:
keys
- a consumer that will call methods onKeySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-