Interface ListKeyRotationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListKeyRotationsResponse.Builder,
,ListKeyRotationsResponse> KmsResponse.Builder
,SdkBuilder<ListKeyRotationsResponse.Builder,
,ListKeyRotationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListKeyRotationsResponse
public static interface ListKeyRotationsResponse.Builder
extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListKeyRotationsResponse.Builder,ListKeyRotationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker
(String nextMarker) WhenTruncated
is true, this element is present and contains the value to use for theMarker
parameter in a subsequent request.rotations
(Collection<RotationsListEntry> rotations) A list of completed key material rotations.rotations
(Consumer<RotationsListEntry.Builder>... rotations) A list of completed key material rotations.rotations
(RotationsListEntry... rotations) A list of completed key material rotations.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
-
rotations
A list of completed key material rotations.
- Parameters:
rotations
- A list of completed key material rotations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
A list of completed key material rotations.
- Parameters:
rotations
- A list of completed key material rotations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
A list of completed key material rotations.
This is a convenience method that creates an instance of theRotationsListEntry.Builder
avoiding the need to create one manually viaRotationsListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torotations(List<RotationsListEntry>)
.- Parameters:
rotations
- a consumer that will call methods onRotationsListEntry.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.
-