public ListResourceTagsRequest withKeyId(String keyId) {
        setKeyId(keyId);
        return this;
    }
<p>
Gets tags on the specified KMS 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>

@param keyId
       Gets tags on the specified KMS 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>.
@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/ListResourceTagsRequest.java