public ExportKeyRequest withKeyMaterial(ExportKeyMaterial keyMaterial) {
        setKeyMaterial(keyMaterial);
        return this;
    }
<p>
The key block format type, for example, TR-34 or TR-31, to use during key material export.
</p>

@param keyMaterial
       The key block format type, for example, TR-34 or TR-31, to use during key material export.
@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/ExportKeyRequest.java