@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableKeyRotationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
EnableKeyRotationRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
EnableKeyRotationRequest | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getKeyId()
 Identifies a symmetric customer master key (CMK). 
 | 
int | 
hashCode()  | 
void | 
setKeyId(String keyId)
 Identifies a symmetric customer master key (CMK). 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
EnableKeyRotationRequest | 
withKeyId(String keyId)
 Identifies a symmetric 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)
Identifies a symmetric customer master key (CMK). You cannot enable automatic rotation of asymmetric CMKs, CMKs with imported key material, or CMKs in a custom key store.
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 - Identifies a symmetric customer master key (CMK). You cannot enable automatic rotation of asymmetric CMKs,
        CMKs with imported key material, or CMKs in a custom key
        store.
        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()
Identifies a symmetric customer master key (CMK). You cannot enable automatic rotation of asymmetric CMKs, CMKs with imported key material, or CMKs in a custom key store.
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 EnableKeyRotationRequest withKeyId(String keyId)
Identifies a symmetric customer master key (CMK). You cannot enable automatic rotation of asymmetric CMKs, CMKs with imported key material, or CMKs in a custom key store.
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 - Identifies a symmetric customer master key (CMK). You cannot enable automatic rotation of asymmetric CMKs,
        CMKs with imported key material, or CMKs in a custom key
        store.
        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 EnableKeyRotationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.