Interface GetKeyRotationStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetKeyRotationStatusResponse.Builder,GetKeyRotationStatusResponse>,KmsResponse.Builder,SdkBuilder<GetKeyRotationStatusResponse.Builder,GetKeyRotationStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetKeyRotationStatusResponse
public static interface GetKeyRotationStatusResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<GetKeyRotationStatusResponse.Builder,GetKeyRotationStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetKeyRotationStatusResponse.BuilderkeyId(String keyId)Identifies the specified symmetric encryption KMS key.GetKeyRotationStatusResponse.BuilderkeyRotationEnabled(Boolean keyRotationEnabled)A Boolean value that specifies whether key rotation is enabled.GetKeyRotationStatusResponse.BuildernextRotationDate(Instant nextRotationDate)The next date that KMS will automatically rotate the key material.GetKeyRotationStatusResponse.BuilderonDemandRotationStartDate(Instant onDemandRotationStartDate)Identifies the date and time that an in progress on-demand rotation was initiated.GetKeyRotationStatusResponse.BuilderrotationPeriodInDays(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
keyRotationEnabled
GetKeyRotationStatusResponse.Builder keyRotationEnabled(Boolean 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
GetKeyRotationStatusResponse.Builder keyId(String 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
GetKeyRotationStatusResponse.Builder rotationPeriodInDays(Integer 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
GetKeyRotationStatusResponse.Builder nextRotationDate(Instant 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
GetKeyRotationStatusResponse.Builder onDemandRotationStartDate(Instant 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.
-
-