public class UpdateKeyDescriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateKeyDescription operation.
Updates the description of a key.
NOOP| Constructor and Description |
|---|
UpdateKeyDescriptionRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateKeyDescriptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
New description for the key.
|
String |
getKeyId()
A unique identifier for the customer master key.
|
int |
hashCode() |
void |
setDescription(String description)
New description for the key.
|
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.
|
UpdateKeyDescriptionRequest |
withDescription(String description)
New description for the key.
|
UpdateKeyDescriptionRequest |
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 UpdateKeyDescriptionRequest 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 getDescription()
Constraints:
Length: 0 - 8192
public void setDescription(String description)
Constraints:
Length: 0 - 8192
description - New description for the key.public UpdateKeyDescriptionRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8192
description - New description for the key.public String toString()
toString in class ObjectObject.toString()public UpdateKeyDescriptionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.