public String getKeyId() {
        return this.keyId;
    }
<p>
Identifies a symmetric encryption KMS key. You cannot enable automatic rotation of <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">asymmetric KMS keys</a>,
<a href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html">HMAC KMS keys</a>, KMS keys with <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">imported key material</a>, or
KMS keys in a <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key store</a>.
To enable or disable automatic rotation of a set of related <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate"
>multi-Region keys</a>, set the property on the primary key.
</p>
<p>
Specify the key ID or key ARN of the KMS key.
</p>
<p>
For example:
</p>
<ul>
<li>
<p>
Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
</p>
</li>
<li>
<p>
Key ARN: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
</p>
</li>
</ul>
<p>
To get the key ID and key ARN for a KMS key, use <a>ListKeys</a> or <a>DescribeKey</a>.
</p>

@return Identifies a symmetric encryption KMS key. You cannot enable automatic rotation of <a
        href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">asymmetric KMS
        keys</a>, <a href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html">HMAC KMS keys</a>,
        KMS keys with <a
        href="https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html">imported key
        material</a>, or KMS keys in a <a
        href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom key
        store</a>. To enable or disable automatic rotation of a set of related <a href=
        "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate"
        >multi-Region keys</a>, set the property on the primary key.</p>
        <p>
        Specify the key ID or key ARN of the KMS key.
        </p>
        <p>
        For example:
        </p>
        <ul>
        <li>
        <p>
        Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
        </p>
        </li>
        <li>
        <p>
        Key ARN: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
        </p>
        </li>
        </ul>
        <p>
        To get the key ID and key ARN for a KMS key, use <a>ListKeys</a> or <a>DescribeKey</a>.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/EnableKeyRotationRequest.java