public class DisableKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DisableKey operation.
Sets the state of a master key to disabled, thereby preventing its use for cryptographic operations. For more information about how key state affects the use of a master key, go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide .
NOOP| Constructor and Description |
|---|
DisableKeyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisableKeyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
A unique identifier for the customer master key.
|
int |
hashCode() |
void |
setKeyId(String keyId)
A unique identifier for the customer master key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableKeyRequest |
withKeyId(String keyId)
A unique identifier for the customer master key.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId - A unique identifier for the customer master key. This value can be a
globally unique identifier or the fully specified ARN to a key. public DisableKeyRequest withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId - A unique identifier for the customer master key. This value can be a
globally unique identifier or the fully specified ARN to a key. public String toString()
toString in class ObjectObject.toString()public DisableKeyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.