public class EnableKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
---|---|
EnableKeyRequest |
clone()
Creates a shallow clone of this request.
|
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, withRequestMetricCollector
public 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 Object
Object.toString()
public EnableKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.