@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 AWS KMS deletes the customer master key (CMK).
|
String |
getKeyId()
The Amazon Resource Name (key ARN) of the CMK
whose deletion is scheduled.
|
String |
getKeyState()
The current status of the CMK.
|
Integer |
getPendingWindowInDays()
The waiting period before the CMK is deleted.
|
int |
hashCode() |
void |
setDeletionDate(Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
|
void |
setKeyId(String keyId)
The Amazon Resource Name (key ARN) of the CMK
whose deletion is scheduled.
|
void |
setKeyState(String keyState)
The current status of the CMK.
|
void |
setPendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the CMK is deleted.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleKeyDeletionResult |
withDeletionDate(Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
|
ScheduleKeyDeletionResult |
withKeyId(String keyId)
The Amazon Resource Name (key ARN) of the CMK
whose deletion is scheduled.
|
ScheduleKeyDeletionResult |
withKeyState(KeyState keyState)
The current status of the CMK.
|
ScheduleKeyDeletionResult |
withKeyState(String keyState)
The current status of the CMK.
|
ScheduleKeyDeletionResult |
withPendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the CMK is deleted.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyId(String keyId)
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
keyId
- The Amazon Resource Name (key ARN) of
the CMK whose deletion is scheduled.public String getKeyId()
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
public ScheduleKeyDeletionResult withKeyId(String keyId)
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
keyId
- The Amazon Resource Name (key ARN) of
the CMK whose deletion is scheduled.public void setDeletionDate(Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
If the CMK 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 AWS KMS deletes the customer master key (CMK).
If the CMK 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 AWS KMS deletes the customer master key (CMK).
If the CMK 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 CMK 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 AWS KMS deletes the customer master key (CMK).
If the CMK 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 AWS KMS deletes the customer master key (CMK).
If the CMK 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 CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
keyState
- The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
KeyState
public String getKeyState()
The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
KeyState
public ScheduleKeyDeletionResult withKeyState(String keyState)
The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
keyState
- The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
KeyState
public ScheduleKeyDeletionResult withKeyState(KeyState keyState)
The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
keyState
- The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
KeyState
public void setPendingWindowInDays(Integer pendingWindowInDays)
The waiting period before the CMK is deleted.
If the CMK 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 CMK is deleted.
If the CMK 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 CMK is deleted.
If the CMK 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 CMK 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 CMK is deleted.
If the CMK 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 CMK is deleted.
If the CMK 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()
Copyright © 2021. All rights reserved.