public class EnableKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
EnableKey operation.
Marks a key as enabled, thereby permitting its use.
NOOP| Constructor and Description |
|---|
EnableKeyRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableKeyRequest |
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.
|
EnableKeyRequest |
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 EnableKeyRequest 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 EnableKeyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.