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

com.aliyun.sas20181203.models.DescribeExposedInstanceListResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class DescribeExposedInstanceListResponseBody extends TeaModel {
    /**
     * 

An array that consists of the details about the exposed asset.

*/ @NameInMap("ExposedInstances") public java.util.List exposedInstances; /** *

The pagination information.

*/ @NameInMap("PageInfo") public DescribeExposedInstanceListResponseBodyPageInfo pageInfo; /** *

The ID of the request, which is used to locate and troubleshoot issues.

* * example: *

598A4A61-ABA7-456B-8725-7378258276D9

*/ @NameInMap("RequestId") public String requestId; public static DescribeExposedInstanceListResponseBody build(java.util.Map map) throws Exception { DescribeExposedInstanceListResponseBody self = new DescribeExposedInstanceListResponseBody(); return TeaModel.build(map, self); } public DescribeExposedInstanceListResponseBody setExposedInstances(java.util.List exposedInstances) { this.exposedInstances = exposedInstances; return this; } public java.util.List getExposedInstances() { return this.exposedInstances; } public DescribeExposedInstanceListResponseBody setPageInfo(DescribeExposedInstanceListResponseBodyPageInfo pageInfo) { this.pageInfo = pageInfo; return this; } public DescribeExposedInstanceListResponseBodyPageInfo getPageInfo() { return this.pageInfo; } public DescribeExposedInstanceListResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class DescribeExposedInstanceListResponseBodyExposedInstances extends TeaModel { /** *

The number of high-severity vulnerabilities that are exposed on the Internet and can be exploited by attackers.

* * example: *

0

*/ @NameInMap("AsapVulCount") public Integer asapVulCount; @NameInMap("AssetType") public Integer assetType; @NameInMap("CloudAssetInfo") public String cloudAssetInfo; @NameInMap("CspmAlarmCount") public Integer cspmAlarmCount; /** *

The total number of servers that are exposed on the Internet.

* * example: *

0

*/ @NameInMap("ExploitHealthCount") public Integer exploitHealthCount; /** *

The server component that is exposed on the Internet.

* * example: *

openssl,openssh

*/ @NameInMap("ExposureComponent") public String exposureComponent; /** *

The public IP address that is exposed on the Internet.

* * example: *

116.12.XX.XX

*/ @NameInMap("ExposureIp") public String exposureIp; /** *

The port that is exposed on the Internet.

* * example: *

22

*/ @NameInMap("ExposurePort") public String exposurePort; /** *

The resource from which the asset is exposed. Valid values:

*
    *
  • INTERNET_IP: the public IP address of an ECS instance
  • *
  • SLB: the public IP address of a Server Load Balancer (SLB) instance
  • *
  • EIP: an elastic IP address (EIP)
  • *
  • DNAT: the NAT gateway that connects to the Internet by using the DNAT feature
  • *
* * example: *

INTERNET_IP

*/ @NameInMap("ExposureType") public String exposureType; /** *

The ID of the instance to which the resource belongs. The valid values of this parameter vary based on the ExposureType parameter.

*
    *
  • If the value of the ExposureType parameter is INTERNET_IP, this parameter is empty.
  • *
  • If the value of the ExposureType parameter is SLB, the value of this parameter is the ID of the SLB instance.
  • *
  • If the value of the ExposureType parameter is EIP, the value of this parameter is the ID of the EIP.
  • *
  • If the value of the ExposureType parameter is DNAT, the value of this parameter is the ID of the NAT gateway.
  • *
* * example: *

i-ew11313a****

*/ @NameInMap("ExposureTypeId") public String exposureTypeId; /** *

The ID of the server group.

* * example: *

9469268

*/ @NameInMap("GroupId") public Long groupId; /** *

The name of the server group.

* * example: *

testGroup

*/ @NameInMap("GroupName") public String groupName; /** *

The ID of the server.

* * example: *

i-bp1g6wxdwps7s9dz****

*/ @NameInMap("InstanceId") public String instanceId; /** *

The name of the server.

* * example: *

abc_centos7.2_005

*/ @NameInMap("InstanceName") public String instanceName; /** *

The public IP address of the server.

* * example: *

116.12.XX.XX

*/ @NameInMap("InternetIp") public String internetIp; /** *

The private IP address of the server.

* * example: *

192.168.XX.XX

*/ @NameInMap("IntranetIp") public String intranetIp; /** *

The number of medium-severity vulnerabilities that are exposed on the Internet and can be exploited by attackers.

* * example: *

0

*/ @NameInMap("LaterVulCount") public Integer laterVulCount; /** *

The number of low-severity vulnerabilities that are exposed on the Internet and can be exploited by attackers.

* * example: *

0

*/ @NameInMap("NntfVulCount") public Integer nntfVulCount; /** *

The ID of the region where the server resides.

*
*

For more information about the mapping between region IDs and region names, see Regions and zones.

*
* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

The total number of vulnerabilities that are exposed on the Internet and can be exploited by attackers.

* * example: *

0

*/ @NameInMap("TotalVulCount") public Integer totalVulCount; /** *

The UUID of the server.

* * example: *

dd803d9e-a337-4add-9c5b-7d503e08****

*/ @NameInMap("Uuid") public String uuid; public static DescribeExposedInstanceListResponseBodyExposedInstances build(java.util.Map map) throws Exception { DescribeExposedInstanceListResponseBodyExposedInstances self = new DescribeExposedInstanceListResponseBodyExposedInstances(); return TeaModel.build(map, self); } public DescribeExposedInstanceListResponseBodyExposedInstances setAsapVulCount(Integer asapVulCount) { this.asapVulCount = asapVulCount; return this; } public Integer getAsapVulCount() { return this.asapVulCount; } public DescribeExposedInstanceListResponseBodyExposedInstances setAssetType(Integer assetType) { this.assetType = assetType; return this; } public Integer getAssetType() { return this.assetType; } public DescribeExposedInstanceListResponseBodyExposedInstances setCloudAssetInfo(String cloudAssetInfo) { this.cloudAssetInfo = cloudAssetInfo; return this; } public String getCloudAssetInfo() { return this.cloudAssetInfo; } public DescribeExposedInstanceListResponseBodyExposedInstances setCspmAlarmCount(Integer cspmAlarmCount) { this.cspmAlarmCount = cspmAlarmCount; return this; } public Integer getCspmAlarmCount() { return this.cspmAlarmCount; } public DescribeExposedInstanceListResponseBodyExposedInstances setExploitHealthCount(Integer exploitHealthCount) { this.exploitHealthCount = exploitHealthCount; return this; } public Integer getExploitHealthCount() { return this.exploitHealthCount; } public DescribeExposedInstanceListResponseBodyExposedInstances setExposureComponent(String exposureComponent) { this.exposureComponent = exposureComponent; return this; } public String getExposureComponent() { return this.exposureComponent; } public DescribeExposedInstanceListResponseBodyExposedInstances setExposureIp(String exposureIp) { this.exposureIp = exposureIp; return this; } public String getExposureIp() { return this.exposureIp; } public DescribeExposedInstanceListResponseBodyExposedInstances setExposurePort(String exposurePort) { this.exposurePort = exposurePort; return this; } public String getExposurePort() { return this.exposurePort; } public DescribeExposedInstanceListResponseBodyExposedInstances setExposureType(String exposureType) { this.exposureType = exposureType; return this; } public String getExposureType() { return this.exposureType; } public DescribeExposedInstanceListResponseBodyExposedInstances setExposureTypeId(String exposureTypeId) { this.exposureTypeId = exposureTypeId; return this; } public String getExposureTypeId() { return this.exposureTypeId; } public DescribeExposedInstanceListResponseBodyExposedInstances setGroupId(Long groupId) { this.groupId = groupId; return this; } public Long getGroupId() { return this.groupId; } public DescribeExposedInstanceListResponseBodyExposedInstances setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public DescribeExposedInstanceListResponseBodyExposedInstances setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DescribeExposedInstanceListResponseBodyExposedInstances setInstanceName(String instanceName) { this.instanceName = instanceName; return this; } public String getInstanceName() { return this.instanceName; } public DescribeExposedInstanceListResponseBodyExposedInstances setInternetIp(String internetIp) { this.internetIp = internetIp; return this; } public String getInternetIp() { return this.internetIp; } public DescribeExposedInstanceListResponseBodyExposedInstances setIntranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } public String getIntranetIp() { return this.intranetIp; } public DescribeExposedInstanceListResponseBodyExposedInstances setLaterVulCount(Integer laterVulCount) { this.laterVulCount = laterVulCount; return this; } public Integer getLaterVulCount() { return this.laterVulCount; } public DescribeExposedInstanceListResponseBodyExposedInstances setNntfVulCount(Integer nntfVulCount) { this.nntfVulCount = nntfVulCount; return this; } public Integer getNntfVulCount() { return this.nntfVulCount; } public DescribeExposedInstanceListResponseBodyExposedInstances setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DescribeExposedInstanceListResponseBodyExposedInstances setTotalVulCount(Integer totalVulCount) { this.totalVulCount = totalVulCount; return this; } public Integer getTotalVulCount() { return this.totalVulCount; } public DescribeExposedInstanceListResponseBodyExposedInstances setUuid(String uuid) { this.uuid = uuid; return this; } public String getUuid() { return this.uuid; } } public static class DescribeExposedInstanceListResponseBodyPageInfo extends TeaModel { /** *

The number of entries returned on the current page.

* * example: *

2

*/ @NameInMap("Count") public Integer count; /** *

The page number of the returned page.

* * example: *

1

*/ @NameInMap("CurrentPage") public Integer currentPage; /** *

The number of entries returned per page.

* * example: *

20

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The total number of entries about the servers that are exposed on the Internet.

* * example: *

2

*/ @NameInMap("TotalCount") public Integer totalCount; public static DescribeExposedInstanceListResponseBodyPageInfo build(java.util.Map map) throws Exception { DescribeExposedInstanceListResponseBodyPageInfo self = new DescribeExposedInstanceListResponseBodyPageInfo(); return TeaModel.build(map, self); } public DescribeExposedInstanceListResponseBodyPageInfo setCount(Integer count) { this.count = count; return this; } public Integer getCount() { return this.count; } public DescribeExposedInstanceListResponseBodyPageInfo setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public DescribeExposedInstanceListResponseBodyPageInfo setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public DescribeExposedInstanceListResponseBodyPageInfo setTotalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Integer getTotalCount() { return this.totalCount; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy