private Measurement(final String name, final MeasurementType type, final Double value, final long time, final TimeUnit timeUnit, final Map<String, String> tags, final Map<String, String> fields) { this.name = name; this.type = type; this.value = Option.ofNullable(value); this.time = time; this.timeUnit = timeUnit; this.tags = tags; this.fields = fields; }