Interface ListKeyRotationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListKeyRotationsResponse.Builder,ListKeyRotationsResponse>,KmsResponse.Builder,SdkBuilder<ListKeyRotationsResponse.Builder,ListKeyRotationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListKeyRotationsResponse
@Mutable @NotThreadSafe public static interface ListKeyRotationsResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListKeyRotationsResponse.Builder,ListKeyRotationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListKeyRotationsResponse.BuildernextMarker(String nextMarker)WhenTruncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.ListKeyRotationsResponse.Builderrotations(Collection<RotationsListEntry> rotations)A list of completed key material rotations.ListKeyRotationsResponse.Builderrotations(Consumer<RotationsListEntry.Builder>... rotations)A list of completed key material rotations.ListKeyRotationsResponse.Builderrotations(RotationsListEntry... rotations)A list of completed key material rotations.ListKeyRotationsResponse.Buildertruncated(Boolean truncated)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
rotations
ListKeyRotationsResponse.Builder rotations(Collection<RotationsListEntry> rotations)
A list of completed key material rotations. When the optional input parameter
IncludeKeyMaterialis specified with a value ofALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.- Parameters:
rotations- A list of completed key material rotations. When the optional input parameterIncludeKeyMaterialis specified with a value ofALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
ListKeyRotationsResponse.Builder rotations(RotationsListEntry... rotations)
A list of completed key material rotations. When the optional input parameter
IncludeKeyMaterialis specified with a value ofALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.- Parameters:
rotations- A list of completed key material rotations. When the optional input parameterIncludeKeyMaterialis specified with a value ofALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
ListKeyRotationsResponse.Builder rotations(Consumer<RotationsListEntry.Builder>... rotations)
A list of completed key material rotations. When the optional input parameter
This is a convenience method that creates an instance of theIncludeKeyMaterialis specified with a value ofALL_KEY_MATERIAL, this list includes the first key material and any imported key material pending rotation.RotationsListEntry.Builderavoiding the need to create one manually viaRotationsListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rotations(List.) - 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:
#rotations(java.util.Collection)
-
nextMarker
ListKeyRotationsResponse.Builder nextMarker(String nextMarker)
When
Truncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.- Parameters:
nextMarker- WhenTruncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truncated
ListKeyRotationsResponse.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
NextMarkerelement in this response to theMarkerparameter 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 theNextMarkerelement in this response to theMarkerparameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-