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 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 unique identifier of the customer master key (CMK) for which deletion is scheduled.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 unique identifier of the customer master key (CMK) for which deletion is scheduled.String
toString()
Returns a string representation of this object; useful for testing and debugging.ScheduleKeyDeletionResult
withDeletionDate(Date deletionDate)
The date and time after which AWS KMS deletes the customer master key (CMK).ScheduleKeyDeletionResult
withKeyId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduleKeyDeletionResult clone()
-
-