public Key withKeyArn(String keyArn) {
        setKeyArn(keyArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the key.
</p>

@param keyArn
       The Amazon Resource Name (ARN) of the key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/Key.java