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