public class UpdateKeyDescriptionRequest extends AmazonWebServiceRequest implements Serializable
UpdateKeyDescription operation.
Updates the description of a key.
NOOP| Constructor and Description |
|---|
UpdateKeyDescriptionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
New description for the key.
|
String |
getKeyId()
Unique value that identifies the key for which the description is to
be changed.
|
int |
hashCode() |
void |
setDescription(String description)
New description for the key.
|
void |
setKeyId(String keyId)
Unique value that identifies the key for which the description is to
be changed.
|
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)
Unique value that identifies the key for which the description is to
be changed.
|
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 value that identifies the key for which the description is to
be changed.public UpdateKeyDescriptionRequest withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId - Unique value that identifies the key for which the description is to
be changed.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()Copyright © 2014. All rights reserved.