if (endpointHost != null) {
builder.endpointHost(endpointHost.asText());
}
final JsonNode endpointPort = json.get("endpoint-port");
if (endpointPort != null) {
builder.endpointPort(endpointPort.asInt());
}
final JsonNode endpointTls = json.get("endpoint-tls");
if (endpointTls != null) {
builder.endpointTls(endpointTls.asBoolean());
}