class MeteringConfigService {

    public MeteringConfigView createMeteringConfigs(boolean enabled, String platform, String clusterCrn, String clusterName, String serviceType,
            String serviceVersion) {
        MeteringConfigView.Builder builder = new MeteringConfigView.Builder();
        if (enabled) {
            builder.withPlatform(platform)
                    .withClusterCrn(clusterCrn)
                    .withClusterName(clusterName)
                    .withServiceType(StringUtils.upperCase(serviceType))
                    .withServiceVersion(serviceVersion)
                    .withStreamName(meteringConfiguration.getDbusStreamName());
        }
        return builder
                .withEnabled(enabled)
                .build();
    }

    public  MeteringConfigService(MeteringConfiguration meteringConfiguration);

}