public VerifyRequest withKeyId(String keyId) {
        setKeyId(keyId);
        return this;
    }
<p>
Identifies the asymmetric KMS key that will be used to verify the signature. This must be the same KMS key that
was used to generate the signature. If you specify a different KMS key, the signature verification fails.
</p>
<p>
To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with
<code>"alias/"</code>. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN
or alias ARN.
</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>
<li>
<p>
Alias name: <code>alias/ExampleAlias</code>
</p>
</li>
<li>
<p>
Alias ARN: <code>arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias</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>. To get the alias name and
alias ARN, use <a>ListAliases</a>.
</p>

@param keyId
       Identifies the asymmetric KMS key that will be used to verify the signature. This must be the same KMS key
       that was used to generate the signature. If you specify a different KMS key, the signature verification
       fails.</p>
       <p>
       To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix
       it with <code>"alias/"</code>. To specify a KMS key in a different Amazon Web Services account, you must
       use the key ARN or alias ARN.
       </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>
       <li>
       <p>
       Alias name: <code>alias/ExampleAlias</code>
       </p>
       </li>
       <li>
       <p>
       Alias ARN: <code>arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias</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>. To get the alias
       name and alias ARN, use <a>ListAliases</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/VerifyRequest.java