public class CancelKeyDeletionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CancelKeyDeletion operation.
Cancels the deletion of a customer master key (CMK). When this
operation is successful, the CMK is set to the Disabled
state. To enable a CMK, use EnableKey.
For more information about scheduling and canceling deletion of a CMK, go to Deleting Customer Master Keys in the AWS Key Management Service Developer Guide .
NOOP| Constructor and Description |
|---|
CancelKeyDeletionRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelKeyDeletionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
The unique identifier for the customer master key (CMK) for which to
cancel deletion.
|
int |
hashCode() |
void |
setKeyId(String keyId)
The unique identifier for the customer master key (CMK) for which to
cancel deletion.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelKeyDeletionRequest |
withKeyId(String keyId)
The unique identifier for the customer master key (CMK) for which to
cancel deletion.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getKeyId()
To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
Constraints:
Length: 1 - 256
To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
public void setKeyId(String keyId)
To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
Constraints:
Length: 1 - 256
keyId - The unique identifier for the customer master key (CMK) for which to
cancel deletion. To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
public CancelKeyDeletionRequest withKeyId(String keyId)
To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId - The unique identifier for the customer master key (CMK) for which to
cancel deletion. To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
public String toString()
toString in class ObjectObject.toString()public CancelKeyDeletionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.