public class ScheduleKeyDeletionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
deletionDate
The date and time after which AWS KMS deletes the customer master key
(CMK).
|
private java.lang.String |
keyId
The unique identifier of the customer master key (CMK) for which deletion
is scheduled.
|
Constructor and Description |
---|
ScheduleKeyDeletionResult() |
Modifier and Type | Method and Description |
---|---|
ScheduleKeyDeletionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDeletionDate()
The date and time after which AWS KMS deletes the customer master key
(CMK).
|
java.lang.String |
getKeyId()
The unique identifier of the customer master key (CMK) for which deletion
is scheduled.
|
int |
hashCode() |
void |
setDeletionDate(java.util.Date deletionDate)
The date and time after which AWS KMS deletes the customer master key
(CMK).
|
void |
setKeyId(java.lang.String keyId)
The unique identifier of the customer master key (CMK) for which deletion
is scheduled.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduleKeyDeletionResult |
withDeletionDate(java.util.Date deletionDate)
The date and time after which AWS KMS deletes the customer master key
(CMK).
|
ScheduleKeyDeletionResult |
withKeyId(java.lang.String keyId)
The unique identifier of the customer master key (CMK) for which deletion
is scheduled.
|
private java.lang.String keyId
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
private java.util.Date deletionDate
The date and time after which AWS KMS deletes the customer master key (CMK).
public void setKeyId(java.lang.String keyId)
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
keyId
- The unique identifier of the customer master key (CMK) for which
deletion is scheduled.public java.lang.String getKeyId()
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
public ScheduleKeyDeletionResult withKeyId(java.lang.String keyId)
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
keyId
- The unique identifier of the customer master key (CMK) for which
deletion is scheduled.public void setDeletionDate(java.util.Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
deletionDate
- The date and time after which AWS KMS deletes the customer master
key (CMK).public java.util.Date getDeletionDate()
The date and time after which AWS KMS deletes the customer master key (CMK).
public ScheduleKeyDeletionResult withDeletionDate(java.util.Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
deletionDate
- The date and time after which AWS KMS deletes the customer master
key (CMK).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ScheduleKeyDeletionResult clone()
clone
in class java.lang.Object