me.snowdrop.istio.adapter.dogstatsd.Dogstatsd Maven / Gradle / Ivy
package me.snowdrop.istio.adapter.dogstatsd;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
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 com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"address",
"bufferLength",
"globalTags",
"metrics",
"prefix",
"sampleRate"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class Dogstatsd implements Serializable
{
/**
*
*
*/
@JsonProperty("address")
@JsonPropertyDescription("")
private java.lang.String address;
/**
*
*
*/
@JsonProperty("bufferLength")
@JsonPropertyDescription("")
private Integer bufferLength;
/**
*
*
*/
@JsonProperty("globalTags")
@JsonPropertyDescription("")
@Valid
private Map globalTags;
/**
*
*
*/
@JsonProperty("metrics")
@JsonPropertyDescription("")
@Valid
private Map metrics;
/**
*
*
*/
@JsonProperty("prefix")
@JsonPropertyDescription("")
private java.lang.String prefix;
/**
*
*
*/
@JsonProperty("sampleRate")
@JsonPropertyDescription("")
private Double sampleRate;
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 2399811234703545648L;
/**
* No args constructor for use in serialization
*
*/
public Dogstatsd() {
}
/**
*
* @param address
* @param prefix
* @param bufferLength
* @param metrics
* @param globalTags
* @param sampleRate
*/
public Dogstatsd(java.lang.String address, Integer bufferLength, Map globalTags, Map metrics, java.lang.String prefix, Double sampleRate) {
super();
this.address = address;
this.bufferLength = bufferLength;
this.globalTags = globalTags;
this.metrics = metrics;
this.prefix = prefix;
this.sampleRate = sampleRate;
}
/**
*
*
*/
@JsonProperty("address")
public java.lang.String getAddress() {
return address;
}
/**
*
*
*/
@JsonProperty("address")
public void setAddress(java.lang.String address) {
this.address = address;
}
/**
*
*
*/
@JsonProperty("bufferLength")
public Integer getBufferLength() {
return bufferLength;
}
/**
*
*
*/
@JsonProperty("bufferLength")
public void setBufferLength(Integer bufferLength) {
this.bufferLength = bufferLength;
}
/**
*
*
*/
@JsonProperty("globalTags")
public Map getGlobalTags() {
return globalTags;
}
/**
*
*
*/
@JsonProperty("globalTags")
public void setGlobalTags(Map globalTags) {
this.globalTags = globalTags;
}
/**
*
*
*/
@JsonProperty("metrics")
public Map getMetrics() {
return metrics;
}
/**
*
*
*/
@JsonProperty("metrics")
public void setMetrics(Map metrics) {
this.metrics = metrics;
}
/**
*
*
*/
@JsonProperty("prefix")
public java.lang.String getPrefix() {
return prefix;
}
/**
*
*
*/
@JsonProperty("prefix")
public void setPrefix(java.lang.String prefix) {
this.prefix = prefix;
}
/**
*
*
*/
@JsonProperty("sampleRate")
public Double getSampleRate() {
return sampleRate;
}
/**
*
*
*/
@JsonProperty("sampleRate")
public void setSampleRate(Double sampleRate) {
this.sampleRate = sampleRate;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy