@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()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getKeyId()
 Identifies the KMS key to disable. | 
| int | hashCode() | 
| void | setKeyId(String keyId)
 Identifies the KMS key to disable. | 
| String | toString()Returns a string representation of this object. | 
| DisableKeyRequest | withKeyId(String keyId)
 Identifies the KMS key to disable. | 
addHandlerContext, 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)
Identifies the KMS key to disable.
Specify the key ID or key ARN of the KMS key.
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 KMS key, use ListKeys or DescribeKey.
keyId - Identifies the KMS key to disable.
        Specify the key ID or key ARN of the KMS key.
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 KMS key, use ListKeys or DescribeKey.
public String getKeyId()
Identifies the KMS key to disable.
Specify the key ID or key ARN of the KMS key.
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 KMS key, use ListKeys or DescribeKey.
Specify the key ID or key ARN of the KMS key.
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 KMS key, use ListKeys or DescribeKey.
public DisableKeyRequest withKeyId(String keyId)
Identifies the KMS key to disable.
Specify the key ID or key ARN of the KMS key.
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 KMS key, use ListKeys or DescribeKey.
keyId - Identifies the KMS key to disable.
        Specify the key ID or key ARN of the KMS key.
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 KMS key, use ListKeys or DescribeKey.
public String toString()
toString in class ObjectObject.toString()public DisableKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()