@Generated(value="software.amazon.awssdk:codegen") public final class ScheduleKeyDeletionResponse extends KmsResponse implements ToCopyableBuilder<ScheduleKeyDeletionResponse.Builder,ScheduleKeyDeletionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScheduleKeyDeletionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScheduleKeyDeletionResponse.Builder |
builder() |
Instant |
deletionDate()
The date and time after which KMS deletes the KMS key.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
The Amazon Resource Name (key ARN) of the KMS
key whose deletion is scheduled.
|
KeyState |
keyState()
The current status of the KMS key.
|
String |
keyStateAsString()
The current status of the KMS key.
|
Integer |
pendingWindowInDays()
The waiting period before the KMS key is deleted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduleKeyDeletionResponse.Builder> |
serializableBuilderClass() |
ScheduleKeyDeletionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyId()
The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.
public final 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.
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.
public final 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.
If the service returns an enum value that is not available in the current SDK version, keyState will
return KeyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyStateAsString().
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.
KeyStatepublic final String keyStateAsString()
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.
If the service returns an enum value that is not available in the current SDK version, keyState will
return KeyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyStateAsString().
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.
KeyStatepublic final 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.
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.
public ScheduleKeyDeletionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScheduleKeyDeletionResponse.Builder,ScheduleKeyDeletionResponse>toBuilder in class AwsResponsepublic static ScheduleKeyDeletionResponse.Builder builder()
public static Class<? extends ScheduleKeyDeletionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.