public GenerateDataKeyPairWithoutPlaintextResult withKeyId(String keyId) {
        setKeyId(keyId);
        return this;
    }
<p>
The Amazon Resource Name (<a
href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of the KMS
key that encrypted the private key.
</p>

@param keyId
       The Amazon Resource Name (<a
       href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">key ARN</a>) of
       the KMS key that encrypted the private key.
@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/GenerateDataKeyPairWithoutPlaintextResult.java