public static interface ScheduleKeyDeletionResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ScheduleKeyDeletionResponse.Builder,ScheduleKeyDeletionResponse>
Modifier and Type | Method and Description |
---|---|
ScheduleKeyDeletionResponse.Builder |
deletionDate(Instant deletionDate)
The date and time after which KMS deletes the KMS key.
|
ScheduleKeyDeletionResponse.Builder |
keyId(String keyId)
The Amazon Resource Name (key ARN) of the
KMS key whose deletion is scheduled.
|
ScheduleKeyDeletionResponse.Builder |
keyState(KeyState keyState)
The current status of the KMS key.
|
ScheduleKeyDeletionResponse.Builder |
keyState(String keyState)
The current status of the KMS key.
|
ScheduleKeyDeletionResponse.Builder |
pendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the KMS key is deleted.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ScheduleKeyDeletionResponse.Builder keyId(String keyId)
The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.
keyId
- The Amazon Resource Name (key ARN)
of the KMS key whose deletion is scheduled.ScheduleKeyDeletionResponse.Builder deletionDate(Instant deletionDate)
The date and time after which KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, this field does not appear. The deletion date for the primary key isn't known until its last replica key is deleted.
deletionDate
- The date and time after which KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, this field does not appear. The deletion date for the primary key isn't known until its last replica key is deleted.
ScheduleKeyDeletionResponse.Builder keyState(String keyState)
The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
keyState
- The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
KeyState
,
KeyState
ScheduleKeyDeletionResponse.Builder keyState(KeyState keyState)
The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
keyState
- The current status of the KMS key.
For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide.
KeyState
,
KeyState
ScheduleKeyDeletionResponse.Builder pendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the KMS key is deleted.
If the KMS key is a multi-Region primary key with replicas, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
pendingWindowInDays
- The waiting period before the KMS key is deleted.
If the KMS key is a multi-Region primary key with replicas, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
Copyright © 2022. All rights reserved.