package it.tdlight.reactiveapi; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; /** * Define the cluster structure */ public class ClusterSettings { public String id; public List kafkaBootstrapServers; public List lanes; @JsonCreator public ClusterSettings(@JsonProperty(required = true, value = "id") String id, @JsonProperty(required = true, value = "kafkaBootstrapServers") List kafkaBootstrapServers, @JsonProperty(required = true, value = "lanes") List lanes) { this.id = id; this.kafkaBootstrapServers = kafkaBootstrapServers; this.lanes = lanes; } }