public class DisableKeyRequest extends AmazonWebServiceRequest implements Serializable
DisableKey operation
.
Marks a key as disabled, thereby preventing its use.
NOOP
Constructor and Description |
---|
DisableKeyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKeyId()
Unique identifier of the customer master key to be disabled.
|
int |
hashCode() |
void |
setKeyId(String keyId)
Unique identifier of the customer master key to be disabled.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableKeyRequest |
withKeyId(String keyId)
Unique identifier of the customer master key to be disabled.
|
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 disabled. This can
be an ARN, an alias, or a globally unique identifier.public DisableKeyRequest 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 disabled. This can
be an ARN, an alias, or a globally unique identifier.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.