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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListKeysResponse.Builderkeys(Collection<KeySummary> keys)The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.ListKeysResponse.Builderkeys(Consumer<KeySummary.Builder>... keys)The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.ListKeysResponse.Builderkeys(KeySummary... keys)The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.ListKeysResponse.BuildernextToken(String nextToken)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 Detail
-
keys
ListKeysResponse.Builder keys(Collection<KeySummary> 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
ListKeysResponse.Builder keys(KeySummary... 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
ListKeysResponse.Builder keys(Consumer<KeySummary.Builder>... 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.Builderavoiding the need to create one manually viaKeySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#keys(List.) - 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:
#keys(java.util.Collection)
-
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.
-
-