me.snowdrop.istio.api.model.v1.mesh.MeshConfig Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mesh;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
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",
"accessLogFile",
"authPolicy",
"connectTimeout",
"defaultConfig",
"disablePolicyChecks",
"egressProxyAddress",
"enableTracing",
"ingressClass",
"ingressControllerMode",
"ingressService",
"mixerAddress",
"mtlsExcludedServices",
"proxyHttpPort",
"proxyListenPort",
"rdsRefreshDelay"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "me.snowdrop.istio.api.builder")
public class MeshConfig implements Serializable
{
/**
*
*
*/
@JsonProperty("accessLogFile")
@JsonPropertyDescription("")
private String accessLogFile;
/**
*
*
*/
@JsonProperty("authPolicy")
@JsonPropertyDescription("")
private Integer authPolicy;
/**
*
*
*/
@JsonProperty("connectTimeout")
@JsonPropertyDescription("")
@Valid
private Duration connectTimeout;
/**
*
*
*/
@JsonProperty("defaultConfig")
@JsonPropertyDescription("")
@Valid
private ProxyConfig defaultConfig;
/**
*
*
*/
@JsonProperty("disablePolicyChecks")
@JsonPropertyDescription("")
private Boolean disablePolicyChecks;
/**
*
*
*/
@JsonProperty("egressProxyAddress")
@JsonPropertyDescription("")
private String egressProxyAddress;
/**
*
*
*/
@JsonProperty("enableTracing")
@JsonPropertyDescription("")
private Boolean enableTracing;
/**
*
*
*/
@JsonProperty("ingressClass")
@JsonPropertyDescription("")
private String ingressClass;
/**
*
*
*/
@JsonProperty("ingressControllerMode")
@JsonPropertyDescription("")
private Integer ingressControllerMode;
/**
*
*
*/
@JsonProperty("ingressService")
@JsonPropertyDescription("")
private String ingressService;
/**
*
*
*/
@JsonProperty("mixerAddress")
@JsonPropertyDescription("")
private String mixerAddress;
/**
*
*
*/
@JsonProperty("mtlsExcludedServices")
@JsonPropertyDescription("")
@Valid
private List mtlsExcludedServices = new ArrayList();
/**
*
*
*/
@JsonProperty("proxyHttpPort")
@JsonPropertyDescription("")
private Integer proxyHttpPort;
/**
*
*
*/
@JsonProperty("proxyListenPort")
@JsonPropertyDescription("")
private Integer proxyListenPort;
/**
*
*
*/
@JsonProperty("rdsRefreshDelay")
@JsonPropertyDescription("")
@Valid
private Duration rdsRefreshDelay;
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 4718883362393911616L;
/**
* No args constructor for use in serialization
*
*/
public MeshConfig() {
}
/**
*
* @param proxyListenPort
* @param mtlsExcludedServices
* @param accessLogFile
* @param enableTracing
* @param authPolicy
* @param ingressClass
* @param ingressControllerMode
* @param ingressService
* @param proxyHttpPort
* @param disablePolicyChecks
* @param rdsRefreshDelay
* @param egressProxyAddress
* @param defaultConfig
* @param connectTimeout
* @param mixerAddress
*/
public MeshConfig(String accessLogFile, Integer authPolicy, Duration connectTimeout, ProxyConfig defaultConfig, Boolean disablePolicyChecks, String egressProxyAddress, Boolean enableTracing, String ingressClass, Integer ingressControllerMode, String ingressService, String mixerAddress, List mtlsExcludedServices, Integer proxyHttpPort, Integer proxyListenPort, Duration rdsRefreshDelay) {
super();
this.accessLogFile = accessLogFile;
this.authPolicy = authPolicy;
this.connectTimeout = connectTimeout;
this.defaultConfig = defaultConfig;
this.disablePolicyChecks = disablePolicyChecks;
this.egressProxyAddress = egressProxyAddress;
this.enableTracing = enableTracing;
this.ingressClass = ingressClass;
this.ingressControllerMode = ingressControllerMode;
this.ingressService = ingressService;
this.mixerAddress = mixerAddress;
this.mtlsExcludedServices = mtlsExcludedServices;
this.proxyHttpPort = proxyHttpPort;
this.proxyListenPort = proxyListenPort;
this.rdsRefreshDelay = rdsRefreshDelay;
}
/**
*
*
*/
@JsonProperty("accessLogFile")
public String getAccessLogFile() {
return accessLogFile;
}
/**
*
*
*/
@JsonProperty("accessLogFile")
public void setAccessLogFile(String accessLogFile) {
this.accessLogFile = accessLogFile;
}
/**
*
*
*/
@JsonProperty("authPolicy")
public Integer getAuthPolicy() {
return authPolicy;
}
/**
*
*
*/
@JsonProperty("authPolicy")
public void setAuthPolicy(Integer authPolicy) {
this.authPolicy = authPolicy;
}
/**
*
*
*/
@JsonProperty("connectTimeout")
public Duration getConnectTimeout() {
return connectTimeout;
}
/**
*
*
*/
@JsonProperty("connectTimeout")
public void setConnectTimeout(Duration connectTimeout) {
this.connectTimeout = connectTimeout;
}
/**
*
*
*/
@JsonProperty("defaultConfig")
public ProxyConfig getDefaultConfig() {
return defaultConfig;
}
/**
*
*
*/
@JsonProperty("defaultConfig")
public void setDefaultConfig(ProxyConfig defaultConfig) {
this.defaultConfig = defaultConfig;
}
/**
*
*
*/
@JsonProperty("disablePolicyChecks")
public Boolean getDisablePolicyChecks() {
return disablePolicyChecks;
}
/**
*
*
*/
@JsonProperty("disablePolicyChecks")
public void setDisablePolicyChecks(Boolean disablePolicyChecks) {
this.disablePolicyChecks = disablePolicyChecks;
}
/**
*
*
*/
@JsonProperty("egressProxyAddress")
public String getEgressProxyAddress() {
return egressProxyAddress;
}
/**
*
*
*/
@JsonProperty("egressProxyAddress")
public void setEgressProxyAddress(String egressProxyAddress) {
this.egressProxyAddress = egressProxyAddress;
}
/**
*
*
*/
@JsonProperty("enableTracing")
public Boolean getEnableTracing() {
return enableTracing;
}
/**
*
*
*/
@JsonProperty("enableTracing")
public void setEnableTracing(Boolean enableTracing) {
this.enableTracing = enableTracing;
}
/**
*
*
*/
@JsonProperty("ingressClass")
public String getIngressClass() {
return ingressClass;
}
/**
*
*
*/
@JsonProperty("ingressClass")
public void setIngressClass(String ingressClass) {
this.ingressClass = ingressClass;
}
/**
*
*
*/
@JsonProperty("ingressControllerMode")
public Integer getIngressControllerMode() {
return ingressControllerMode;
}
/**
*
*
*/
@JsonProperty("ingressControllerMode")
public void setIngressControllerMode(Integer ingressControllerMode) {
this.ingressControllerMode = ingressControllerMode;
}
/**
*
*
*/
@JsonProperty("ingressService")
public String getIngressService() {
return ingressService;
}
/**
*
*
*/
@JsonProperty("ingressService")
public void setIngressService(String ingressService) {
this.ingressService = ingressService;
}
/**
*
*
*/
@JsonProperty("mixerAddress")
public String getMixerAddress() {
return mixerAddress;
}
/**
*
*
*/
@JsonProperty("mixerAddress")
public void setMixerAddress(String mixerAddress) {
this.mixerAddress = mixerAddress;
}
/**
*
*
*/
@JsonProperty("mtlsExcludedServices")
public List getMtlsExcludedServices() {
return mtlsExcludedServices;
}
/**
*
*
*/
@JsonProperty("mtlsExcludedServices")
public void setMtlsExcludedServices(List mtlsExcludedServices) {
this.mtlsExcludedServices = mtlsExcludedServices;
}
/**
*
*
*/
@JsonProperty("proxyHttpPort")
public Integer getProxyHttpPort() {
return proxyHttpPort;
}
/**
*
*
*/
@JsonProperty("proxyHttpPort")
public void setProxyHttpPort(Integer proxyHttpPort) {
this.proxyHttpPort = proxyHttpPort;
}
/**
*
*
*/
@JsonProperty("proxyListenPort")
public Integer getProxyListenPort() {
return proxyListenPort;
}
/**
*
*
*/
@JsonProperty("proxyListenPort")
public void setProxyListenPort(Integer proxyListenPort) {
this.proxyListenPort = proxyListenPort;
}
/**
*
*
*/
@JsonProperty("rdsRefreshDelay")
public Duration getRdsRefreshDelay() {
return rdsRefreshDelay;
}
/**
*
*
*/
@JsonProperty("rdsRefreshDelay")
public void setRdsRefreshDelay(Duration rdsRefreshDelay) {
this.rdsRefreshDelay = rdsRefreshDelay;
}
@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