Package com.amazonaws.services.kms.model
Class ScheduleKeyDeletionResult
- java.lang.Object
-
- com.amazonaws.services.kms.model.ScheduleKeyDeletionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ScheduleKeyDeletionResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduleKeyDeletionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleKeyDeletionResultclone()booleanequals(Object obj)DategetDeletionDate()The date and time after which AWS KMS deletes the customer master key (CMK).StringgetKeyId()The unique identifier of the customer master key (CMK) for which deletion is scheduled.inthashCode()voidsetDeletionDate(Date deletionDate)The date and time after which AWS KMS deletes the customer master key (CMK).voidsetKeyId(String keyId)The unique identifier of the customer master key (CMK) for which deletion is scheduled.StringtoString()Returns a string representation of this object; useful for testing and debugging.ScheduleKeyDeletionResultwithDeletionDate(Date deletionDate)The date and time after which AWS KMS deletes the customer master key (CMK).ScheduleKeyDeletionResultwithKeyId(String keyId)The unique identifier of the customer master key (CMK) for which deletion is scheduled.
-
-
-
Method Detail
-
setKeyId
public void setKeyId(String keyId)
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
- Parameters:
keyId- The unique identifier of the customer master key (CMK) for which deletion is scheduled.
-
getKeyId
public String getKeyId()
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
- Returns:
- The unique identifier of the customer master key (CMK) for which deletion is scheduled.
-
withKeyId
public ScheduleKeyDeletionResult withKeyId(String keyId)
The unique identifier of the customer master key (CMK) for which deletion is scheduled.
- Parameters:
keyId- The unique identifier of the customer master key (CMK) for which deletion is scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeletionDate
public void setDeletionDate(Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
- Parameters:
deletionDate- The date and time after which AWS KMS deletes the customer master key (CMK).
-
getDeletionDate
public Date getDeletionDate()
The date and time after which AWS KMS deletes the customer master key (CMK).
- Returns:
- The date and time after which AWS KMS deletes the customer master key (CMK).
-
withDeletionDate
public ScheduleKeyDeletionResult withDeletionDate(Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).
- Parameters:
deletionDate- The date and time after which AWS KMS deletes the customer master key (CMK).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduleKeyDeletionResult clone()
-
-