@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleKeyDeletionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ScheduleKeyDeletionResult() |
Modifier and Type | Method and Description |
---|---|
ScheduleKeyDeletionResult |
clone() |
boolean |
equals(Object obj) |
Date |
getDeletionDate()
The date and time after which KMS deletes the KMS key.
|
String |
getKeyId()
The Amazon Resource Name (key ARN) of the KMS
key whose deletion is scheduled.
|
String |
getKeyState()
The current status of the KMS key.
|
Integer |
getPendingWindowInDays()
The waiting period before the KMS key is deleted.
|
int |
hashCode() |
void |
setDeletionDate(Date deletionDate)
The date and time after which KMS deletes the KMS key.
|
void |
setKeyId(String keyId)
The Amazon Resource Name (key ARN) of the KMS
key whose deletion is scheduled.
|
void |
setKeyState(String keyState)
The current status of the KMS key.
|
void |
setPendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the KMS key is deleted.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleKeyDeletionResult |
withDeletionDate(Date deletionDate)
The date and time after which KMS deletes the KMS key.
|
ScheduleKeyDeletionResult |
withKeyId(String keyId)
The Amazon Resource Name (key ARN) of the KMS
key whose deletion is scheduled.
|
ScheduleKeyDeletionResult |
withKeyState(KeyState keyState)
The current status of the KMS key.
|
ScheduleKeyDeletionResult |
withKeyState(String keyState)
The current status of the KMS key.
|
ScheduleKeyDeletionResult |
withPendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the KMS key is deleted.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyId(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.public String getKeyId()
The Amazon Resource Name (key ARN) of the KMS key whose deletion is scheduled.
public ScheduleKeyDeletionResult withKeyId(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.public void setDeletionDate(Date 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.
public Date getDeletionDate()
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 ScheduleKeyDeletionResult withDeletionDate(Date 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.
public void setKeyState(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
public String getKeyState()
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.
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 ScheduleKeyDeletionResult withKeyState(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
public ScheduleKeyDeletionResult withKeyState(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
public void setPendingWindowInDays(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.
public Integer getPendingWindowInDays()
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 ScheduleKeyDeletionResult withPendingWindowInDays(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.
public String toString()
toString
in class Object
Object.toString()
public ScheduleKeyDeletionResult clone()