@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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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.
KeyState
public 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.
KeyState
public 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 AwsResponse
public static ScheduleKeyDeletionResponse.Builder builder()
public static Class<? extends ScheduleKeyDeletionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.