Interface GetKeyRotationStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetKeyRotationStatusResponse.Builder,
,GetKeyRotationStatusResponse> KmsResponse.Builder
,SdkBuilder<GetKeyRotationStatusResponse.Builder,
,GetKeyRotationStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetKeyRotationStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the specified symmetric encryption KMS key.keyRotationEnabled
(Boolean keyRotationEnabled) A Boolean value that specifies whether key rotation is enabled.nextRotationDate
(Instant nextRotationDate) The next date that KMS will automatically rotate the key material.onDemandRotationStartDate
(Instant onDemandRotationStartDate) Identifies the date and time that an in progress on-demand rotation was initiated.rotationPeriodInDays
(Integer rotationPeriodInDays) The number of days between each automatic rotation.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
-
keyRotationEnabled
A Boolean value that specifies whether key rotation is enabled.
- Parameters:
keyRotationEnabled
- A Boolean value that specifies whether key rotation is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyId
Identifies the specified symmetric encryption KMS key.
- Parameters:
keyId
- Identifies the specified symmetric encryption KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationPeriodInDays
The number of days between each automatic rotation. The default value is 365 days.
- Parameters:
rotationPeriodInDays
- The number of days between each automatic rotation. The default value is 365 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextRotationDate
The next date that KMS will automatically rotate the key material.
- Parameters:
nextRotationDate
- The next date that KMS will automatically rotate the key material.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandRotationStartDate
Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
- Parameters:
onDemandRotationStartDate
- Identifies the date and time that an in progress on-demand rotation was initiated.The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-