public class EnableKeyRequest extends AmazonWebServiceRequest implements Serializable
EnableKey operation.
Marks a key as enabled, thereby permitting its use. You can have up to 25 enabled keys at one time.
NOOP| Constructor and Description |
|---|
EnableKeyRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKeyId()
Unique identifier of the customer master key to be enabled.
|
int |
hashCode() |
void |
setKeyId(String keyId)
Unique identifier of the customer master key to be enabled.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnableKeyRequest |
withKeyId(String keyId)
Unique identifier of the customer master key to be enabled.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId - Unique identifier of the customer master key to be enabled. This can
be an ARN, an alias, or a globally unique identifier.public EnableKeyRequest withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId - Unique identifier of the customer master key to be enabled. This can
be an ARN, an alias, or a globally unique identifier.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.