public static interface ListKeysResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListKeysResponse.Builder,ListKeysResponse>
| Modifier and Type | Method and Description |
|---|---|
ListKeysResponse.Builder |
keys(Collection<KeyListEntry> keys)
A list of KMS keys.
|
ListKeysResponse.Builder |
keys(Consumer<KeyListEntry.Builder>... keys)
A list of KMS keys.
|
ListKeysResponse.Builder |
keys(KeyListEntry... keys)
A list of KMS keys.
|
ListKeysResponse.Builder |
nextMarker(String nextMarker)
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request. |
ListKeysResponse.Builder |
truncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListKeysResponse.Builder keys(Collection<KeyListEntry> keys)
A list of KMS keys.
keys - A list of KMS keys.ListKeysResponse.Builder keys(KeyListEntry... keys)
A list of KMS keys.
keys - A list of KMS keys.ListKeysResponse.Builder keys(Consumer<KeyListEntry.Builder>... keys)
A list of KMS keys.
This is a convenience method that creates an instance of theKeyListEntry.Builder avoiding the need to create one
manually via KeyListEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #keys(List.
keys - a consumer that will call methods on
KeyListEntry.Builder#keys(java.util.Collection) ListKeysResponse.Builder nextMarker(String nextMarker)
When Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request.
nextMarker - When Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request.ListKeysResponse.Builder truncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker element in
thisresponse to the Marker parameter in a subsequent request.
truncated - A flag that indicates whether there are more items in the list. When this value is true, the list in
this response is truncated. To get more items, pass the value of the NextMarker element
in thisresponse to the Marker parameter in a subsequent request.Copyright © 2023. All rights reserved.