public void setKey(Key key) {
        this.key = key;
    }
<p>
The <code>KeyARN</code> of the key material imported within Amazon Web Services Payment Cryptography.
</p>

@param key
       The <code>KeyARN</code> of the key material imported within Amazon Web Services Payment Cryptography.
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/ImportKeyResult.java