Interface DescribeCustomKeyStoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCustomKeyStoresResponse.Builder,
,DescribeCustomKeyStoresResponse> KmsResponse.Builder
,SdkBuilder<DescribeCustomKeyStoresResponse.Builder,
,DescribeCustomKeyStoresResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCustomKeyStoresResponse
public static interface DescribeCustomKeyStoresResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCustomKeyStoresResponse.Builder,DescribeCustomKeyStoresResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncustomKeyStores
(Collection<CustomKeyStoresListEntry> customKeyStores) Contains metadata about each custom key store.customKeyStores
(Consumer<CustomKeyStoresListEntry.Builder>... customKeyStores) Contains metadata about each custom key store.customKeyStores
(CustomKeyStoresListEntry... customKeyStores) Contains metadata about each custom key store.nextMarker
(String nextMarker) WhenTruncated
is true, this element is present and contains the value to use for theMarker
parameter in a subsequent request.A flag that indicates whether there are more items in the list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.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
-
customKeyStores
DescribeCustomKeyStoresResponse.Builder customKeyStores(Collection<CustomKeyStoresListEntry> customKeyStores) Contains metadata about each custom key store.
- Parameters:
customKeyStores
- Contains metadata about each custom key store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customKeyStores
DescribeCustomKeyStoresResponse.Builder customKeyStores(CustomKeyStoresListEntry... customKeyStores) Contains metadata about each custom key store.
- Parameters:
customKeyStores
- Contains metadata about each custom key store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customKeyStores
DescribeCustomKeyStoresResponse.Builder customKeyStores(Consumer<CustomKeyStoresListEntry.Builder>... customKeyStores) Contains metadata about each custom key store.
This is a convenience method that creates an instance of theCustomKeyStoresListEntry.Builder
avoiding the need to create one manually viaCustomKeyStoresListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomKeyStores(List<CustomKeyStoresListEntry>)
.- Parameters:
customKeyStores
- a consumer that will call methods onCustomKeyStoresListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
When
Truncated
is true, this element is present and contains the value to use for theMarker
parameter in a subsequent request.- Parameters:
nextMarker
- WhenTruncated
is true, this element is present and contains the value to use for theMarker
parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 this response to theMarker
parameter in a subsequent request.- Parameters:
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 theNextMarker
element in this response to theMarker
parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-