@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisableKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
DisableKeyRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
DisableKeyRequest | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getKeyId()
 A unique identifier for the customer master key (CMK). 
 | 
int | 
hashCode()  | 
void | 
setKeyId(String keyId)
 A unique identifier for the customer master key (CMK). 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
DisableKeyRequest | 
withKeyId(String keyId)
 A unique identifier for the customer master key (CMK). 
 | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setKeyId(String keyId)
A unique identifier for the customer master key (CMK).
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
keyId - A unique identifier for the customer master key (CMK).
        Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
        
        Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
        
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
public String getKeyId()
A unique identifier for the customer master key (CMK).
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
         Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
         
         Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
         
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
public DisableKeyRequest withKeyId(String keyId)
A unique identifier for the customer master key (CMK).
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
keyId - A unique identifier for the customer master key (CMK).
        Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
        
        Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
        
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
public String toString()
toString in class ObjectObject.toString()public DisableKeyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.