com.aliyuncs.ddoscoo.model.v20200101.DescribeLayer4RulePolicyResponse Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.ddoscoo.model.v20200101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ddoscoo.transform.v20200101.DescribeLayer4RulePolicyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeLayer4RulePolicyResponse extends AcsResponse {
private Integer frontendPort;
private String bakMode;
private String requestId;
private Integer currentIndex;
private String forwardProtocol;
private String instanceId;
private Integer backendPort;
private List priRealServers;
private List secRealServers;
public Integer getFrontendPort() {
return this.frontendPort;
}
public void setFrontendPort(Integer frontendPort) {
this.frontendPort = frontendPort;
}
public String getBakMode() {
return this.bakMode;
}
public void setBakMode(String bakMode) {
this.bakMode = bakMode;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getCurrentIndex() {
return this.currentIndex;
}
public void setCurrentIndex(Integer currentIndex) {
this.currentIndex = currentIndex;
}
public String getForwardProtocol() {
return this.forwardProtocol;
}
public void setForwardProtocol(String forwardProtocol) {
this.forwardProtocol = forwardProtocol;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public Integer getBackendPort() {
return this.backendPort;
}
public void setBackendPort(Integer backendPort) {
this.backendPort = backendPort;
}
public List getPriRealServers() {
return this.priRealServers;
}
public void setPriRealServers(List priRealServers) {
this.priRealServers = priRealServers;
}
public List getSecRealServers() {
return this.secRealServers;
}
public void setSecRealServers(List secRealServers) {
this.secRealServers = secRealServers;
}
public static class PriRealServersItem {
private Integer frontendPort;
private String eip;
private String protocol;
private Integer currentIndex;
private String instanceId;
private String realServer;
public Integer getFrontendPort() {
return this.frontendPort;
}
public void setFrontendPort(Integer frontendPort) {
this.frontendPort = frontendPort;
}
public String getEip() {
return this.eip;
}
public void setEip(String eip) {
this.eip = eip;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public Integer getCurrentIndex() {
return this.currentIndex;
}
public void setCurrentIndex(Integer currentIndex) {
this.currentIndex = currentIndex;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getRealServer() {
return this.realServer;
}
public void setRealServer(String realServer) {
this.realServer = realServer;
}
}
public static class SecRealServersItem {
private Integer frontendPort;
private String eip;
private String protocol;
private Integer currentIndex;
private String instanceId;
private String realServer;
public Integer getFrontendPort() {
return this.frontendPort;
}
public void setFrontendPort(Integer frontendPort) {
this.frontendPort = frontendPort;
}
public String getEip() {
return this.eip;
}
public void setEip(String eip) {
this.eip = eip;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public Integer getCurrentIndex() {
return this.currentIndex;
}
public void setCurrentIndex(Integer currentIndex) {
this.currentIndex = currentIndex;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getRealServer() {
return this.realServer;
}
public void setRealServer(String realServer) {
this.realServer = realServer;
}
}
@Override
public DescribeLayer4RulePolicyResponse getInstance(UnmarshallerContext context) {
return DescribeLayer4RulePolicyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy