@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getRootCertificatePublicKey() != null)
            sb.append("RootCertificatePublicKey: ").append(getRootCertificatePublicKey()).append(",");
        if (getTrustedCertificatePublicKey() != null)
            sb.append("TrustedCertificatePublicKey: ").append(getTrustedCertificatePublicKey()).append(",");
        if (getTr31KeyBlock() != null)
            sb.append("Tr31KeyBlock: ").append(getTr31KeyBlock()).append(",");
        if (getTr34KeyBlock() != null)
            sb.append("Tr34KeyBlock: ").append(getTr34KeyBlock()).append(",");
        if (getKeyCryptogram() != null)
            sb.append("KeyCryptogram: ").append(getKeyCryptogram());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/ImportKeyMaterial.java