com.aliyun.sas20181203.models.ListHoneypotNodeResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ListHoneypotNodeResponseBody extends TeaModel {
/**
* The status code returned. The status code **200** indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.
*/
@NameInMap("Code")
public String code;
/**
* An array that consists of the information about the management nodes.
*/
@NameInMap("HoneypotNodeList")
public java.util.List honeypotNodeList;
/**
* The HTTP status code returned.
*/
@NameInMap("HttpStatusCode")
public Integer httpStatusCode;
/**
* The error message returned.
*/
@NameInMap("Message")
public String message;
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public ListHoneypotNodeResponseBodyPageInfo pageInfo;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* * **true**: The request was successful.
* * **false**: The request failed.
*/
@NameInMap("Success")
public Boolean success;
public static ListHoneypotNodeResponseBody build(java.util.Map map) throws Exception {
ListHoneypotNodeResponseBody self = new ListHoneypotNodeResponseBody();
return TeaModel.build(map, self);
}
public ListHoneypotNodeResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public ListHoneypotNodeResponseBody setHoneypotNodeList(java.util.List honeypotNodeList) {
this.honeypotNodeList = honeypotNodeList;
return this;
}
public java.util.List getHoneypotNodeList() {
return this.honeypotNodeList;
}
public ListHoneypotNodeResponseBody setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public ListHoneypotNodeResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public ListHoneypotNodeResponseBody setPageInfo(ListHoneypotNodeResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public ListHoneypotNodeResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public ListHoneypotNodeResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ListHoneypotNodeResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class ListHoneypotNodeResponseBodyHoneypotNodeList extends TeaModel {
/**
* Indicates whether the honeypot is allowed to access the Internet.
*
* * **true**: The honeypot is allowed to access the Internet.
* * **false**: The honeypot is not allowed to access the Internet.
*/
@NameInMap("AllowHoneypotAccessInternet")
public Boolean allowHoneypotAccessInternet;
/**
* The time when the management node was created.
*/
@NameInMap("CreateTime")
public String createTime;
/**
* The type of the management node. Default value: **false**. Valid values:
*
* * **false**: non-default type
* * **true**: default type
*/
@NameInMap("DefaultNode")
public Boolean defaultNode;
/**
* The ID of the Elastic Compute Service (ECS) instance.
*/
@NameInMap("EcsInstanceId")
public String ecsInstanceId;
/**
* The maximum number of honeypots that can be deployed on the management node.
*/
@NameInMap("HoneypotTotalCount")
public Integer honeypotTotalCount;
/**
* The number of honeypots that are deployed on the management node.
*/
@NameInMap("HoneypotUsedCount")
public Integer honeypotUsedCount;
/**
* The ID of the management node.
*/
@NameInMap("NodeId")
public String nodeId;
/**
* The IP address of the management node.
*/
@NameInMap("NodeIp")
public String nodeIp;
/**
* The name of the management node.
*/
@NameInMap("NodeName")
public String nodeName;
/**
* The maximum number of probes that can be used.
*/
@NameInMap("ProbeTotalCount")
public Integer probeTotalCount;
/**
* The number of probes that are used.
*/
@NameInMap("ProbeUsedCount")
public Integer probeUsedCount;
/**
* An array that consists of the allowed CIDR blocks.
*/
@NameInMap("SecurityGroupProbeIpList")
public java.util.List securityGroupProbeIpList;
/**
* The status of the management node. Valid values:
*
* * **1**: normal
* * **2**: abnormal
*/
@NameInMap("TotalStatus")
public Integer totalStatus;
/**
* Whether the node is upgradable. Valid values:
* * **false**: non-default type
* * **true**: default type
*/
@NameInMap("UpgradeAvailable")
public Boolean upgradeAvailable;
public static ListHoneypotNodeResponseBodyHoneypotNodeList build(java.util.Map map) throws Exception {
ListHoneypotNodeResponseBodyHoneypotNodeList self = new ListHoneypotNodeResponseBodyHoneypotNodeList();
return TeaModel.build(map, self);
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setAllowHoneypotAccessInternet(Boolean allowHoneypotAccessInternet) {
this.allowHoneypotAccessInternet = allowHoneypotAccessInternet;
return this;
}
public Boolean getAllowHoneypotAccessInternet() {
return this.allowHoneypotAccessInternet;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setDefaultNode(Boolean defaultNode) {
this.defaultNode = defaultNode;
return this;
}
public Boolean getDefaultNode() {
return this.defaultNode;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setEcsInstanceId(String ecsInstanceId) {
this.ecsInstanceId = ecsInstanceId;
return this;
}
public String getEcsInstanceId() {
return this.ecsInstanceId;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setHoneypotTotalCount(Integer honeypotTotalCount) {
this.honeypotTotalCount = honeypotTotalCount;
return this;
}
public Integer getHoneypotTotalCount() {
return this.honeypotTotalCount;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setHoneypotUsedCount(Integer honeypotUsedCount) {
this.honeypotUsedCount = honeypotUsedCount;
return this;
}
public Integer getHoneypotUsedCount() {
return this.honeypotUsedCount;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setNodeId(String nodeId) {
this.nodeId = nodeId;
return this;
}
public String getNodeId() {
return this.nodeId;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setNodeIp(String nodeIp) {
this.nodeIp = nodeIp;
return this;
}
public String getNodeIp() {
return this.nodeIp;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setNodeName(String nodeName) {
this.nodeName = nodeName;
return this;
}
public String getNodeName() {
return this.nodeName;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setProbeTotalCount(Integer probeTotalCount) {
this.probeTotalCount = probeTotalCount;
return this;
}
public Integer getProbeTotalCount() {
return this.probeTotalCount;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setProbeUsedCount(Integer probeUsedCount) {
this.probeUsedCount = probeUsedCount;
return this;
}
public Integer getProbeUsedCount() {
return this.probeUsedCount;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setSecurityGroupProbeIpList(java.util.List securityGroupProbeIpList) {
this.securityGroupProbeIpList = securityGroupProbeIpList;
return this;
}
public java.util.List getSecurityGroupProbeIpList() {
return this.securityGroupProbeIpList;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setTotalStatus(Integer totalStatus) {
this.totalStatus = totalStatus;
return this;
}
public Integer getTotalStatus() {
return this.totalStatus;
}
public ListHoneypotNodeResponseBodyHoneypotNodeList setUpgradeAvailable(Boolean upgradeAvailable) {
this.upgradeAvailable = upgradeAvailable;
return this;
}
public Boolean getUpgradeAvailable() {
return this.upgradeAvailable;
}
}
public static class ListHoneypotNodeResponseBodyPageInfo extends TeaModel {
/**
* The number of entries returned on the current page.
*/
@NameInMap("Count")
public Integer count;
/**
* The page number of the returned page.
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The number of entries returned per page.
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of entries returned.
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static ListHoneypotNodeResponseBodyPageInfo build(java.util.Map map) throws Exception {
ListHoneypotNodeResponseBodyPageInfo self = new ListHoneypotNodeResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public ListHoneypotNodeResponseBodyPageInfo setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public ListHoneypotNodeResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public ListHoneypotNodeResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListHoneypotNodeResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}