All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.snowdrop.istio.api.model.v1.mesh.ProxyConfig Maven / Gradle / Ivy


package me.snowdrop.istio.api.model.v1.mesh;

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 io.sundr.builder.annotations.Buildable;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import me.snowdrop.istio.api.model.Duration;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
    "apiVersion",
    "kind",
    "metadata",
    "availabilityZone",
    "binaryPath",
    "configPath",
    "connectTimeout",
    "controlPlaneAuthPolicy",
    "customConfigFile",
    "discoveryAddress",
    "discoveryRefreshDelay",
    "drainDuration",
    "parentShutdownDuration",
    "proxyAdminPort",
    "serviceCluster",
    "statNameLength",
    "statsdUdpAddress",
    "zipkinAddress"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "me.snowdrop.istio.api.builder")
public class ProxyConfig implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("availabilityZone")
    @JsonPropertyDescription("")
    private String availabilityZone;
    /**
     * 
     * 
     */
    @JsonProperty("binaryPath")
    @JsonPropertyDescription("")
    private String binaryPath;
    /**
     * 
     * 
     */
    @JsonProperty("configPath")
    @JsonPropertyDescription("")
    private String configPath;
    /**
     * 
     * 
     */
    @JsonProperty("connectTimeout")
    @JsonPropertyDescription("")
    @Valid
    private Duration connectTimeout;
    /**
     * 
     * 
     */
    @JsonProperty("controlPlaneAuthPolicy")
    @JsonPropertyDescription("")
    private Integer controlPlaneAuthPolicy;
    /**
     * 
     * 
     */
    @JsonProperty("customConfigFile")
    @JsonPropertyDescription("")
    private String customConfigFile;
    /**
     * 
     * 
     */
    @JsonProperty("discoveryAddress")
    @JsonPropertyDescription("")
    private String discoveryAddress;
    /**
     * 
     * 
     */
    @JsonProperty("discoveryRefreshDelay")
    @JsonPropertyDescription("")
    @Valid
    private Duration discoveryRefreshDelay;
    /**
     * 
     * 
     */
    @JsonProperty("drainDuration")
    @JsonPropertyDescription("")
    @Valid
    private Duration drainDuration;
    /**
     * 
     * 
     */
    @JsonProperty("parentShutdownDuration")
    @JsonPropertyDescription("")
    @Valid
    private Duration parentShutdownDuration;
    /**
     * 
     * 
     */
    @JsonProperty("proxyAdminPort")
    @JsonPropertyDescription("")
    private Integer proxyAdminPort;
    /**
     * 
     * 
     */
    @JsonProperty("serviceCluster")
    @JsonPropertyDescription("")
    private String serviceCluster;
    /**
     * 
     * 
     */
    @JsonProperty("statNameLength")
    @JsonPropertyDescription("")
    private Integer statNameLength;
    /**
     * 
     * 
     */
    @JsonProperty("statsdUdpAddress")
    @JsonPropertyDescription("")
    private String statsdUdpAddress;
    /**
     * 
     * 
     */
    @JsonProperty("zipkinAddress")
    @JsonPropertyDescription("")
    private String zipkinAddress;
    @JsonIgnore
    @Valid
    private Map additionalProperties = new HashMap();
    private final static long serialVersionUID = 8503080880481536333L;

    /**
     * No args constructor for use in serialization
     * 
     */
    public ProxyConfig() {
    }

    /**
     * 
     * @param binaryPath
     * @param statsdUdpAddress
     * @param configPath
     * @param discoveryAddress
     * @param availabilityZone
     * @param statNameLength
     * @param controlPlaneAuthPolicy
     * @param proxyAdminPort
     * @param zipkinAddress
     * @param connectTimeout
     * @param discoveryRefreshDelay
     * @param drainDuration
     * @param customConfigFile
     * @param serviceCluster
     * @param parentShutdownDuration
     */
    public ProxyConfig(String availabilityZone, String binaryPath, String configPath, Duration connectTimeout, Integer controlPlaneAuthPolicy, String customConfigFile, String discoveryAddress, Duration discoveryRefreshDelay, Duration drainDuration, Duration parentShutdownDuration, Integer proxyAdminPort, String serviceCluster, Integer statNameLength, String statsdUdpAddress, String zipkinAddress) {
        super();
        this.availabilityZone = availabilityZone;
        this.binaryPath = binaryPath;
        this.configPath = configPath;
        this.connectTimeout = connectTimeout;
        this.controlPlaneAuthPolicy = controlPlaneAuthPolicy;
        this.customConfigFile = customConfigFile;
        this.discoveryAddress = discoveryAddress;
        this.discoveryRefreshDelay = discoveryRefreshDelay;
        this.drainDuration = drainDuration;
        this.parentShutdownDuration = parentShutdownDuration;
        this.proxyAdminPort = proxyAdminPort;
        this.serviceCluster = serviceCluster;
        this.statNameLength = statNameLength;
        this.statsdUdpAddress = statsdUdpAddress;
        this.zipkinAddress = zipkinAddress;
    }

    /**
     * 
     * 
     */
    @JsonProperty("availabilityZone")
    public String getAvailabilityZone() {
        return availabilityZone;
    }

    /**
     * 
     * 
     */
    @JsonProperty("availabilityZone")
    public void setAvailabilityZone(String availabilityZone) {
        this.availabilityZone = availabilityZone;
    }

    /**
     * 
     * 
     */
    @JsonProperty("binaryPath")
    public String getBinaryPath() {
        return binaryPath;
    }

    /**
     * 
     * 
     */
    @JsonProperty("binaryPath")
    public void setBinaryPath(String binaryPath) {
        this.binaryPath = binaryPath;
    }

    /**
     * 
     * 
     */
    @JsonProperty("configPath")
    public String getConfigPath() {
        return configPath;
    }

    /**
     * 
     * 
     */
    @JsonProperty("configPath")
    public void setConfigPath(String configPath) {
        this.configPath = configPath;
    }

    /**
     * 
     * 
     */
    @JsonProperty("connectTimeout")
    public Duration getConnectTimeout() {
        return connectTimeout;
    }

    /**
     * 
     * 
     */
    @JsonProperty("connectTimeout")
    public void setConnectTimeout(Duration connectTimeout) {
        this.connectTimeout = connectTimeout;
    }

    /**
     * 
     * 
     */
    @JsonProperty("controlPlaneAuthPolicy")
    public Integer getControlPlaneAuthPolicy() {
        return controlPlaneAuthPolicy;
    }

    /**
     * 
     * 
     */
    @JsonProperty("controlPlaneAuthPolicy")
    public void setControlPlaneAuthPolicy(Integer controlPlaneAuthPolicy) {
        this.controlPlaneAuthPolicy = controlPlaneAuthPolicy;
    }

    /**
     * 
     * 
     */
    @JsonProperty("customConfigFile")
    public String getCustomConfigFile() {
        return customConfigFile;
    }

    /**
     * 
     * 
     */
    @JsonProperty("customConfigFile")
    public void setCustomConfigFile(String customConfigFile) {
        this.customConfigFile = customConfigFile;
    }

    /**
     * 
     * 
     */
    @JsonProperty("discoveryAddress")
    public String getDiscoveryAddress() {
        return discoveryAddress;
    }

    /**
     * 
     * 
     */
    @JsonProperty("discoveryAddress")
    public void setDiscoveryAddress(String discoveryAddress) {
        this.discoveryAddress = discoveryAddress;
    }

    /**
     * 
     * 
     */
    @JsonProperty("discoveryRefreshDelay")
    public Duration getDiscoveryRefreshDelay() {
        return discoveryRefreshDelay;
    }

    /**
     * 
     * 
     */
    @JsonProperty("discoveryRefreshDelay")
    public void setDiscoveryRefreshDelay(Duration discoveryRefreshDelay) {
        this.discoveryRefreshDelay = discoveryRefreshDelay;
    }

    /**
     * 
     * 
     */
    @JsonProperty("drainDuration")
    public Duration getDrainDuration() {
        return drainDuration;
    }

    /**
     * 
     * 
     */
    @JsonProperty("drainDuration")
    public void setDrainDuration(Duration drainDuration) {
        this.drainDuration = drainDuration;
    }

    /**
     * 
     * 
     */
    @JsonProperty("parentShutdownDuration")
    public Duration getParentShutdownDuration() {
        return parentShutdownDuration;
    }

    /**
     * 
     * 
     */
    @JsonProperty("parentShutdownDuration")
    public void setParentShutdownDuration(Duration parentShutdownDuration) {
        this.parentShutdownDuration = parentShutdownDuration;
    }

    /**
     * 
     * 
     */
    @JsonProperty("proxyAdminPort")
    public Integer getProxyAdminPort() {
        return proxyAdminPort;
    }

    /**
     * 
     * 
     */
    @JsonProperty("proxyAdminPort")
    public void setProxyAdminPort(Integer proxyAdminPort) {
        this.proxyAdminPort = proxyAdminPort;
    }

    /**
     * 
     * 
     */
    @JsonProperty("serviceCluster")
    public String getServiceCluster() {
        return serviceCluster;
    }

    /**
     * 
     * 
     */
    @JsonProperty("serviceCluster")
    public void setServiceCluster(String serviceCluster) {
        this.serviceCluster = serviceCluster;
    }

    /**
     * 
     * 
     */
    @JsonProperty("statNameLength")
    public Integer getStatNameLength() {
        return statNameLength;
    }

    /**
     * 
     * 
     */
    @JsonProperty("statNameLength")
    public void setStatNameLength(Integer statNameLength) {
        this.statNameLength = statNameLength;
    }

    /**
     * 
     * 
     */
    @JsonProperty("statsdUdpAddress")
    public String getStatsdUdpAddress() {
        return statsdUdpAddress;
    }

    /**
     * 
     * 
     */
    @JsonProperty("statsdUdpAddress")
    public void setStatsdUdpAddress(String statsdUdpAddress) {
        this.statsdUdpAddress = statsdUdpAddress;
    }

    /**
     * 
     * 
     */
    @JsonProperty("zipkinAddress")
    public String getZipkinAddress() {
        return zipkinAddress;
    }

    /**
     * 
     * 
     */
    @JsonProperty("zipkinAddress")
    public void setZipkinAddress(String zipkinAddress) {
        this.zipkinAddress = zipkinAddress;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy