public class ScheduleKeyDeletionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ScheduleKeyDeletionResult() |
Modifier and Type | Method and Description |
---|---|
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 Amazon Resource Name (key ARN) of the CMK whose 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 Amazon Resource Name (key ARN) of the CMK whose 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 Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
|
public java.lang.String getKeyId()
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
Constraints:
Length: 1 - 2048
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
public void setKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
Constraints:
Length: 1 - 2048
keyId
- The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
public ScheduleKeyDeletionResult withKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
keyId
- The Amazon Resource Name (key ARN) of the CMK whose deletion is scheduled.
public java.util.Date getDeletionDate()
The date and time after which AWS KMS deletes the customer master key (CMK).
The date and time after which AWS KMS deletes the customer master key (CMK).
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 ScheduleKeyDeletionResult withDeletionDate(java.util.Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.