com.aliyun.ens20171110.models.DescribeForwardTableEntriesResponseBody Maven / Gradle / Ivy
Show all versions of ens20171110 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribeForwardTableEntriesResponseBody extends TeaModel {
/**
* Details of DNAT entries.
*/
@NameInMap("ForwardTableEntries")
public java.util.List forwardTableEntries;
/**
* The page number.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public String pageNumber;
/**
* The number of entries per page.
*
* example:
* 10
*/
@NameInMap("PageSize")
public String pageSize;
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of entries returned.
*
* example:
* 100
*/
@NameInMap("TotalCount")
public String totalCount;
public static DescribeForwardTableEntriesResponseBody build(java.util.Map map) throws Exception {
DescribeForwardTableEntriesResponseBody self = new DescribeForwardTableEntriesResponseBody();
return TeaModel.build(map, self);
}
public DescribeForwardTableEntriesResponseBody setForwardTableEntries(java.util.List forwardTableEntries) {
this.forwardTableEntries = forwardTableEntries;
return this;
}
public java.util.List getForwardTableEntries() {
return this.forwardTableEntries;
}
public DescribeForwardTableEntriesResponseBody setPageNumber(String pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public String getPageNumber() {
return this.pageNumber;
}
public DescribeForwardTableEntriesResponseBody setPageSize(String pageSize) {
this.pageSize = pageSize;
return this;
}
public String getPageSize() {
return this.pageSize;
}
public DescribeForwardTableEntriesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeForwardTableEntriesResponseBody setTotalCount(String totalCount) {
this.totalCount = totalCount;
return this;
}
public String getTotalCount() {
return this.totalCount;
}
public static class DescribeForwardTableEntriesResponseBodyForwardTableEntries extends TeaModel {
/**
* The EIP in the DNAT entry. The public IP address is used to access the Internet.
*
* example:
* 120.XXX.XXX.70
*/
@NameInMap("ExternalIp")
public String externalIp;
/**
* The external port or port range that is used in port forwarding.
*
* example:
* 22
*/
@NameInMap("ExternalPort")
public String externalPort;
/**
* The ID of the DNAT entry.
*
* example:
* fwd-5tf66679oi2uoxcvlg0g2****
*/
@NameInMap("ForwardEntryId")
public String forwardEntryId;
/**
* The name of the DNAT entry.
*
* example:
* test0
*/
@NameInMap("ForwardEntryName")
public String forwardEntryName;
/**
* The probe port of DNAT.
*
* example:
* 80
*/
@NameInMap("HealthCheckPort")
public String healthCheckPort;
/**
* The private IP address of the instance that uses the DNAT entry for Internet communication.
*
* example:
* 10.XXX.XXX.3
*/
@NameInMap("InternalIp")
public String internalIp;
/**
* The internal port or port range that is used for port forwarding.
*
* example:
* 22
*/
@NameInMap("InternalPort")
public String internalPort;
/**
* The protocol. Valid values:
*
* - TCP: forwards TCP packets.
* - UDP: forwards UDP packets.
* - Any: forwards all packets.
*
*
* example:
* Any
*/
@NameInMap("IpProtocol")
public String ipProtocol;
/**
* The ID of the NAT gateway.
*
* example:
* nat-5tawjw5j7sgd2deujxuk0****
*/
@NameInMap("NatGatewayId")
public String natGatewayId;
/**
* The secondary EIP that is used to access the Internet.
*
* example:
* 101.XXX.XXX.7
*/
@NameInMap("StandbyExternalIp")
public String standbyExternalIp;
/**
* The status of the secondary EIP. Valid values:
*
* - Running
* - Stopping
* - Stopped
* - Starting
*
*
* example:
* Stopped
*/
@NameInMap("StandbyStatus")
public String standbyStatus;
/**
* The status of the DNAT entry. Valid values:
*
* - Pending: The DNAT entry is being created or modified.
* - Available: The DNAT entry is available.
* - Deleting: The DNAT entry is being deleted.
*
*
* example:
* Available
*/
@NameInMap("Status")
public String status;
public static DescribeForwardTableEntriesResponseBodyForwardTableEntries build(java.util.Map map) throws Exception {
DescribeForwardTableEntriesResponseBodyForwardTableEntries self = new DescribeForwardTableEntriesResponseBodyForwardTableEntries();
return TeaModel.build(map, self);
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setExternalIp(String externalIp) {
this.externalIp = externalIp;
return this;
}
public String getExternalIp() {
return this.externalIp;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setExternalPort(String externalPort) {
this.externalPort = externalPort;
return this;
}
public String getExternalPort() {
return this.externalPort;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setForwardEntryId(String forwardEntryId) {
this.forwardEntryId = forwardEntryId;
return this;
}
public String getForwardEntryId() {
return this.forwardEntryId;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setForwardEntryName(String forwardEntryName) {
this.forwardEntryName = forwardEntryName;
return this;
}
public String getForwardEntryName() {
return this.forwardEntryName;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setHealthCheckPort(String healthCheckPort) {
this.healthCheckPort = healthCheckPort;
return this;
}
public String getHealthCheckPort() {
return this.healthCheckPort;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setInternalIp(String internalIp) {
this.internalIp = internalIp;
return this;
}
public String getInternalIp() {
return this.internalIp;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setInternalPort(String internalPort) {
this.internalPort = internalPort;
return this;
}
public String getInternalPort() {
return this.internalPort;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setIpProtocol(String ipProtocol) {
this.ipProtocol = ipProtocol;
return this;
}
public String getIpProtocol() {
return this.ipProtocol;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setNatGatewayId(String natGatewayId) {
this.natGatewayId = natGatewayId;
return this;
}
public String getNatGatewayId() {
return this.natGatewayId;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setStandbyExternalIp(String standbyExternalIp) {
this.standbyExternalIp = standbyExternalIp;
return this;
}
public String getStandbyExternalIp() {
return this.standbyExternalIp;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setStandbyStatus(String standbyStatus) {
this.standbyStatus = standbyStatus;
return this;
}
public String getStandbyStatus() {
return this.standbyStatus;
}
public DescribeForwardTableEntriesResponseBodyForwardTableEntries setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
}
}