public static Builder copy(final ReceiveDataConfig receiveDataConfig) {
        Builder builder = new Builder();
        builder.receiptPolicyUuid = receiveDataConfig.getReceiptPolicyUuid();
        builder.metaTypes = receiveDataConfig.getMetaTypes();
        builder.enabledAuthenticationTypes = receiveDataConfig.getEnabledAuthenticationTypes();
        builder.authenticationRequired = receiveDataConfig.isAuthenticationRequired();
        builder.dataFeedKeysDir = receiveDataConfig.getDataFeedKeysDir();
        builder.authenticatedDataFeedKeyCache = receiveDataConfig.getAuthenticatedDataFeedKeyCache();
        builder.x509CertificateHeader = receiveDataConfig.getX509CertificateHeader();
        builder.x509CertificateDnHeader = receiveDataConfig.getX509CertificateDnHeader();
        builder.allowedCertificateProviders = receiveDataConfig.getAllowedCertificateProviders();
        builder.feedNameGenerationEnabled = receiveDataConfig.isFeedNameGenerationEnabled();
        builder.feedNameTemplate = receiveDataConfig.getFeedNameTemplate();
        builder.feedNameGenerationMandatoryHeaders = receiveDataConfig.getFeedNameGenerationMandatoryHeaders();
        return builder;
    }
@return True if the passed {@link AuthenticationType} has been configured as enabled for use..
stroom-receive/stroom-receive-common/src/main/java/stroom/receive/common/ReceiveDataConfig.java