public ImportKeyRequest withKeyMaterial(ImportKeyMaterial keyMaterial) {
        setKeyMaterial(keyMaterial);
        return this;
    }
<p>
The key or public key certificate type to use during key material import, for example TR-34 or
RootCertificatePublicKey.
</p>

@param keyMaterial
       The key or public key certificate type to use during key material import, for example TR-34 or
       RootCertificatePublicKey.
@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/ImportKeyRequest.java