pl.allegro.tech.hermes.domain.readiness.DatacenterReadinessList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.domain.readiness;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import pl.allegro.tech.hermes.api.DatacenterReadiness;
import java.util.List;
public record DatacenterReadinessList(List datacenters) {
@JsonCreator
public DatacenterReadinessList(@JsonProperty("datacenters") List datacenters) {
this.datacenters = datacenters;
}
}