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
copyMethods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.
KMS uses a background process to perform rotations. 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, KMS removes this field from the response. You can use ListKeyRotations to view the details of the completed on-demand rotation.
- Parameters:
onDemandRotationStartDate- Identifies the date and time that an in progress on-demand rotation was initiated.KMS uses a background process to perform rotations. 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, KMS removes this field from the response. You can use ListKeyRotations to view the details of the completed on-demand rotation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-