me.snowdrop.istio.api.networking.v1alpha3.Endpoint Maven / Gradle / Ivy
package me.snowdrop.istio.api.networking.v1alpha3;
import java.io.Serializable;
import java.util.Map;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"address",
"labels",
"locality",
"network",
"ports",
"weight"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
@Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
@BuildableReference(ObjectMeta.class)
})
public class Endpoint implements Serializable
{
/**
*
*
*/
@JsonProperty("address")
@JsonPropertyDescription("")
private java.lang.String address;
/**
*
*
*/
@JsonProperty("labels")
@JsonPropertyDescription("")
@Valid
private Map labels;
/**
*
*
*/
@JsonProperty("locality")
@JsonPropertyDescription("")
private java.lang.String locality;
/**
*
*
*/
@JsonProperty("network")
@JsonPropertyDescription("")
private java.lang.String network;
/**
*
*
*/
@JsonProperty("ports")
@JsonPropertyDescription("")
@Valid
private Map ports;
/**
*
*
*/
@JsonProperty("weight")
@JsonPropertyDescription("")
private java.lang.Integer weight;
private final static long serialVersionUID = -3020744675724200935L;
/**
* No args constructor for use in serialization
*
*/
public Endpoint() {
}
/**
*
* @param address
* @param locality
* @param weight
* @param ports
* @param labels
* @param network
*/
public Endpoint(java.lang.String address, Map labels, java.lang.String locality, java.lang.String network, Map ports, java.lang.Integer weight) {
super();
this.address = address;
this.labels = labels;
this.locality = locality;
this.network = network;
this.ports = ports;
this.weight = weight;
}
/**
*
*
*/
@JsonProperty("address")
public java.lang.String getAddress() {
return address;
}
/**
*
*
*/
@JsonProperty("address")
public void setAddress(java.lang.String address) {
this.address = address;
}
/**
*
*
*/
@JsonProperty("labels")
public Map getLabels() {
return labels;
}
/**
*
*
*/
@JsonProperty("labels")
public void setLabels(Map labels) {
this.labels = labels;
}
/**
*
*
*/
@JsonProperty("locality")
public java.lang.String getLocality() {
return locality;
}
/**
*
*
*/
@JsonProperty("locality")
public void setLocality(java.lang.String locality) {
this.locality = locality;
}
/**
*
*
*/
@JsonProperty("network")
public java.lang.String getNetwork() {
return network;
}
/**
*
*
*/
@JsonProperty("network")
public void setNetwork(java.lang.String network) {
this.network = network;
}
/**
*
*
*/
@JsonProperty("ports")
public Map getPorts() {
return ports;
}
/**
*
*
*/
@JsonProperty("ports")
public void setPorts(Map ports) {
this.ports = ports;
}
/**
*
*
*/
@JsonProperty("weight")
public java.lang.Integer getWeight() {
return weight;
}
/**
*
*
*/
@JsonProperty("weight")
public void setWeight(java.lang.Integer weight) {
this.weight = weight;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy