index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeDynamicDictRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDynamicDictRequest} extends {@link RequestModel} * * <p>DescribeDynamicDictRequest</p> */ public class DescribeDynamicDictRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeDynamicDictRequest(Builder builder) { super(builder); this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeDynamicDictRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeDynamicDictRequest, Builder> { private String sourceIp; private Builder() { super(); } private Builder(DescribeDynamicDictRequest request) { super(request); this.sourceIp = request.sourceIp; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>101.204.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeDynamicDictRequest build() { return new DescribeDynamicDictRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeDynamicDictResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDynamicDictResponse} extends {@link TeaModel} * * <p>DescribeDynamicDictResponse</p> */ public class DescribeDynamicDictResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeDynamicDictResponseBody body; private DescribeDynamicDictResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDynamicDictResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeDynamicDictResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDynamicDictResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDynamicDictResponseBody body); @Override DescribeDynamicDictResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDynamicDictResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDynamicDictResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDynamicDictResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeDynamicDictResponseBody body) { this.body = body; return this; } @Override public DescribeDynamicDictResponse build() { return new DescribeDynamicDictResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeDynamicDictResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDynamicDictResponseBody} extends {@link TeaModel} * * <p>DescribeDynamicDictResponseBody</p> */ public class DescribeDynamicDictResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("FileSize") private Long fileSize; @com.aliyun.core.annotation.NameInMap("Limit") private Integer limit; @com.aliyun.core.annotation.NameInMap("OssUrl") private String ossUrl; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UploadTime") private Long uploadTime; private DescribeDynamicDictResponseBody(Builder builder) { this.count = builder.count; this.fileName = builder.fileName; this.fileSize = builder.fileSize; this.limit = builder.limit; this.ossUrl = builder.ossUrl; this.requestId = builder.requestId; this.uploadTime = builder.uploadTime; } public static Builder builder() { return new Builder(); } public static DescribeDynamicDictResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return fileSize */ public Long getFileSize() { return this.fileSize; } /** * @return limit */ public Integer getLimit() { return this.limit; } /** * @return ossUrl */ public String getOssUrl() { return this.ossUrl; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return uploadTime */ public Long getUploadTime() { return this.uploadTime; } public static final class Builder { private Integer count; private String fileName; private Long fileSize; private Integer limit; private String ossUrl; private String requestId; private Long uploadTime; private Builder() { } private Builder(DescribeDynamicDictResponseBody model) { this.count = model.count; this.fileName = model.fileName; this.fileSize = model.fileSize; this.limit = model.limit; this.ossUrl = model.ossUrl; this.requestId = model.requestId; this.uploadTime = model.uploadTime; } /** * <p>The number of weak password rules that are added.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The name of the OSS object that contains custom weak passwords.</p> * * <strong>example:</strong> * <p>test_dict.plain</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The size of the OSS object. Unit: bytes.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder fileSize(Long fileSize) { this.fileSize = fileSize; return this; } /** * <p>The maximum number of weak password rules that can be added.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder limit(Integer limit) { this.limit = limit; return this; } /** * <p>The IP address of the Object Storage Service (OSS) object.</p> * * <strong>example:</strong> * <p>cloudtest01/661767e1-5ae3-4ec5-865f-03039436893a/sacc2*****</p> */ public Builder ossUrl(String ossUrl) { this.ossUrl = ossUrl; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A3D7C47D-3F11-57BB-90E8-E5C20C61****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The timestamp when the OSS object was uploaded. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1719919421</p> */ public Builder uploadTime(Long uploadTime) { this.uploadTime = uploadTime; return this; } public DescribeDynamicDictResponseBody build() { return new DescribeDynamicDictResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeDynamicDictUploadInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDynamicDictUploadInfoRequest} extends {@link RequestModel} * * <p>DescribeDynamicDictUploadInfoRequest</p> */ public class DescribeDynamicDictUploadInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeDynamicDictUploadInfoRequest(Builder builder) { super(builder); this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeDynamicDictUploadInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeDynamicDictUploadInfoRequest, Builder> { private String sourceIp; private Builder() { super(); } private Builder(DescribeDynamicDictUploadInfoRequest request) { super(request); this.sourceIp = request.sourceIp; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>123.103.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeDynamicDictUploadInfoRequest build() { return new DescribeDynamicDictUploadInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeDynamicDictUploadInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDynamicDictUploadInfoResponse} extends {@link TeaModel} * * <p>DescribeDynamicDictUploadInfoResponse</p> */ public class DescribeDynamicDictUploadInfoResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeDynamicDictUploadInfoResponseBody body; private DescribeDynamicDictUploadInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDynamicDictUploadInfoResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeDynamicDictUploadInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDynamicDictUploadInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDynamicDictUploadInfoResponseBody body); @Override DescribeDynamicDictUploadInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDynamicDictUploadInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDynamicDictUploadInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDynamicDictUploadInfoResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeDynamicDictUploadInfoResponseBody body) { this.body = body; return this; } @Override public DescribeDynamicDictUploadInfoResponse build() { return new DescribeDynamicDictUploadInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeDynamicDictUploadInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeDynamicDictUploadInfoResponseBody} extends {@link TeaModel} * * <p>DescribeDynamicDictUploadInfoResponseBody</p> */ public class DescribeDynamicDictUploadInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Accessid") private String accessid; @com.aliyun.core.annotation.NameInMap("Expire") private String expire; @com.aliyun.core.annotation.NameInMap("Host") private String host; @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Policy") private String policy; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Signature") private String signature; private DescribeDynamicDictUploadInfoResponseBody(Builder builder) { this.accessid = builder.accessid; this.expire = builder.expire; this.host = builder.host; this.key = builder.key; this.policy = builder.policy; this.requestId = builder.requestId; this.signature = builder.signature; } public static Builder builder() { return new Builder(); } public static DescribeDynamicDictUploadInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accessid */ public String getAccessid() { return this.accessid; } /** * @return expire */ public String getExpire() { return this.expire; } /** * @return host */ public String getHost() { return this.host; } /** * @return key */ public String getKey() { return this.key; } /** * @return policy */ public String getPolicy() { return this.policy; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return signature */ public String getSignature() { return this.signature; } public static final class Builder { private String accessid; private String expire; private String host; private String key; private String policy; private String requestId; private String signature; private Builder() { } private Builder(DescribeDynamicDictUploadInfoResponseBody model) { this.accessid = model.accessid; this.expire = model.expire; this.host = model.host; this.key = model.key; this.policy = model.policy; this.requestId = model.requestId; this.signature = model.signature; } /** * <p>The AccessKey ID that is used to access OSS.</p> * * <strong>example:</strong> * <p>yourAccessKeyID</p> */ public Builder accessid(String accessid) { this.accessid = accessid; return this; } /** * <p>The validity period of the signature. The value is a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1719919893</p> */ public Builder expire(String expire) { this.expire = expire; return this; } /** * <p>The OSS endpoint.</p> * * <strong>example:</strong> * <p><a href="https://aegis-update-static-file.oss-cn-hangzhou.aliyuncs.com">https://aegis-update-static-file.oss-cn-hangzhou.aliyuncs.com</a></p> */ public Builder host(String host) { this.host = host; return this; } /** * <p>The name of the OSS object.</p> * * <strong>example:</strong> * <p>DegradePool_Offset_****</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The OSS security policy.</p> * * <strong>example:</strong> * <p>eyJleHBpcmF0aW9uIjoiMjAyNC0wNy0wMlQxMTozMTozMy40MjlaIiwiY29uZGl0aW9********</p> */ public Builder policy(String policy) { this.policy = policy; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A3D7C47D-3F11-57BB-90E8-E5C20C61***</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The signature that is calculated based on <strong>AccessKeySecret</strong> and <strong>Policy</strong>. When you call an OSS API operation, OSS uses the signature information to check the validity of the POST request.</p> * * <strong>example:</strong> * <p>wBiwkhd5LGcLzijtc3FhI****</p> */ public Builder signature(String signature) { this.signature = signature; return this; } public DescribeDynamicDictUploadInfoResponseBody build() { return new DescribeDynamicDictUploadInfoResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEmgUserAgreementRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEmgUserAgreementRequest} extends {@link RequestModel} * * <p>DescribeEmgUserAgreementRequest</p> */ public class DescribeEmgUserAgreementRequest extends Request { private DescribeEmgUserAgreementRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeEmgUserAgreementRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeEmgUserAgreementRequest, Builder> { private Builder() { super(); } private Builder(DescribeEmgUserAgreementRequest request) { super(request); } @Override public DescribeEmgUserAgreementRequest build() { return new DescribeEmgUserAgreementRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEmgUserAgreementResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEmgUserAgreementResponse} extends {@link TeaModel} * * <p>DescribeEmgUserAgreementResponse</p> */ public class DescribeEmgUserAgreementResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeEmgUserAgreementResponseBody body; private DescribeEmgUserAgreementResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEmgUserAgreementResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeEmgUserAgreementResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEmgUserAgreementResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEmgUserAgreementResponseBody body); @Override DescribeEmgUserAgreementResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEmgUserAgreementResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEmgUserAgreementResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEmgUserAgreementResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeEmgUserAgreementResponseBody body) { this.body = body; return this; } @Override public DescribeEmgUserAgreementResponse build() { return new DescribeEmgUserAgreementResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEmgUserAgreementResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEmgUserAgreementResponseBody} extends {@link TeaModel} * * <p>DescribeEmgUserAgreementResponseBody</p> */ public class DescribeEmgUserAgreementResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Auth") private Boolean auth; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeEmgUserAgreementResponseBody(Builder builder) { this.auth = builder.auth; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeEmgUserAgreementResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return auth */ public Boolean getAuth() { return this.auth; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Boolean auth; private String requestId; private Builder() { } private Builder(DescribeEmgUserAgreementResponseBody model) { this.auth = model.auth; this.requestId = model.requestId; } /** * <p>Indicates whether Security Center is authorized to scan for urgent vulnerabilities. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder auth(Boolean auth) { this.auth = auth; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>768BB9F5-8AF3-557F-A489-9BDD64CB3E4C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeEmgUserAgreementResponseBody build() { return new DescribeEmgUserAgreementResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEmgVulItemRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEmgVulItemRequest} extends {@link RequestModel} * * <p>DescribeEmgVulItemRequest</p> */ public class DescribeEmgVulItemRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CheckType") private Integer checkType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskStatus") private String riskStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScanType") private String scanType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VulName") private String vulName; private DescribeEmgVulItemRequest(Builder builder) { super(builder); this.checkType = builder.checkType; this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.riskStatus = builder.riskStatus; this.scanType = builder.scanType; this.vulName = builder.vulName; } public static Builder builder() { return new Builder(); } public static DescribeEmgVulItemRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return checkType */ public Integer getCheckType() { return this.checkType; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return riskStatus */ public String getRiskStatus() { return this.riskStatus; } /** * @return scanType */ public String getScanType() { return this.scanType; } /** * @return vulName */ public String getVulName() { return this.vulName; } public static final class Builder extends Request.Builder<DescribeEmgVulItemRequest, Builder> { private Integer checkType; private Integer currentPage; private String lang; private Integer pageSize; private String riskStatus; private String scanType; private String vulName; private Builder() { super(); } private Builder(DescribeEmgVulItemRequest request) { super(request); this.checkType = request.checkType; this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.riskStatus = request.riskStatus; this.scanType = request.scanType; this.vulName = request.vulName; } /** * <p>The check method. Valid values:</p> * <ul> * <li><strong>0</strong>: proof of concept (POC) verification</li> * <li><strong>1</strong>: version comparison</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder checkType(Integer checkType) { this.putQueryParameter("CheckType", checkType); this.checkType = checkType; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Specifies whether the vulnerability poses risks.<br>If you do not specify this parameter, all vulnerabilities are queried regardless of whether the vulnerabilities pose risks. Valid values:</p> * <ul> * <li><strong>y</strong>: yes</li> * <li><strong>n</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>y</p> */ public Builder riskStatus(String riskStatus) { this.putQueryParameter("RiskStatus", riskStatus); this.riskStatus = riskStatus; return this; } /** * <p>The method that is used to detect the vulnerability.<br>If you do not specify this parameter, all vulnerabilities are queried regardless of which method is used. Valid values:</p> * <ul> * <li><strong>python</strong>: The Version method is used. Security Center checks the software versions of your server to check whether disclosed vulnerabilities exist on your server.</li> * <li><strong>scan</strong>: The Network Scan method is used. Security Center analyzes the access traffic to your server over the Internet to check whether vulnerabilities exist on your server.</li> * </ul> * * <strong>example:</strong> * <p>python</p> */ public Builder scanType(String scanType) { this.putQueryParameter("ScanType", scanType); this.scanType = scanType; return this; } /** * <p>The name of the urgent vulnerability.</p> * * <strong>example:</strong> * <p>Changjietong T + SetupAccount/Upload.aspx file Upload vulnerability (CNVD-2022-60632)</p> */ public Builder vulName(String vulName) { this.putQueryParameter("VulName", vulName); this.vulName = vulName; return this; } @Override public DescribeEmgVulItemRequest build() { return new DescribeEmgVulItemRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEmgVulItemResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEmgVulItemResponse} extends {@link TeaModel} * * <p>DescribeEmgVulItemResponse</p> */ public class DescribeEmgVulItemResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeEmgVulItemResponseBody body; private DescribeEmgVulItemResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEmgVulItemResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeEmgVulItemResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEmgVulItemResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEmgVulItemResponseBody body); @Override DescribeEmgVulItemResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEmgVulItemResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEmgVulItemResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEmgVulItemResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeEmgVulItemResponseBody body) { this.body = body; return this; } @Override public DescribeEmgVulItemResponse build() { return new DescribeEmgVulItemResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEmgVulItemResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEmgVulItemResponseBody} extends {@link TeaModel} * * <p>DescribeEmgVulItemResponseBody</p> */ public class DescribeEmgVulItemResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("GroupedVulItems") private java.util.List<GroupedVulItems> groupedVulItems; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeEmgVulItemResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.groupedVulItems = builder.groupedVulItems; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeEmgVulItemResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return groupedVulItems */ public java.util.List<GroupedVulItems> getGroupedVulItems() { return this.groupedVulItems; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private java.util.List<GroupedVulItems> groupedVulItems; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeEmgVulItemResponseBody model) { this.currentPage = model.currentPage; this.groupedVulItems = model.groupedVulItems; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page. Pages start from page <strong>1</strong>. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>An array that consists of the urgent vulnerabilities returned.</p> */ public Builder groupedVulItems(java.util.List<GroupedVulItems> groupedVulItems) { this.groupedVulItems = groupedVulItems; return this; } /** * <p>The number of entries returned per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>BC1868ED-A0E1-4D1C-BF7E-10DC0C34B3C3</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of the urgent vulnerabilities returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeEmgVulItemResponseBody build() { return new DescribeEmgVulItemResponseBody(this); } } /** * * {@link DescribeEmgVulItemResponseBody} extends {@link TeaModel} * * <p>DescribeEmgVulItemResponseBody</p> */ public static class GroupedVulItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("CheckType") private Integer checkType; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GmtLastCheck") private Long gmtLastCheck; @com.aliyun.core.annotation.NameInMap("GmtPublish") private Long gmtPublish; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("PendingCount") private Integer pendingCount; @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("RaspDefend") private Integer raspDefend; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Type") private String type; private GroupedVulItems(Builder builder) { this.aliasName = builder.aliasName; this.checkType = builder.checkType; this.description = builder.description; this.gmtLastCheck = builder.gmtLastCheck; this.gmtPublish = builder.gmtPublish; this.name = builder.name; this.pendingCount = builder.pendingCount; this.progress = builder.progress; this.raspDefend = builder.raspDefend; this.status = builder.status; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static GroupedVulItems create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return checkType */ public Integer getCheckType() { return this.checkType; } /** * @return description */ public String getDescription() { return this.description; } /** * @return gmtLastCheck */ public Long getGmtLastCheck() { return this.gmtLastCheck; } /** * @return gmtPublish */ public Long getGmtPublish() { return this.gmtPublish; } /** * @return name */ public String getName() { return this.name; } /** * @return pendingCount */ public Integer getPendingCount() { return this.pendingCount; } /** * @return progress */ public Integer getProgress() { return this.progress; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String aliasName; private Integer checkType; private String description; private Long gmtLastCheck; private Long gmtPublish; private String name; private Integer pendingCount; private Integer progress; private Integer raspDefend; private Integer status; private String type; private Builder() { } private Builder(GroupedVulItems model) { this.aliasName = model.aliasName; this.checkType = model.checkType; this.description = model.description; this.gmtLastCheck = model.gmtLastCheck; this.gmtPublish = model.gmtPublish; this.name = model.name; this.pendingCount = model.pendingCount; this.progress = model.progress; this.raspDefend = model.raspDefend; this.status = model.status; this.type = model.type; } /** * <p>The name of the urgent vulnerability.</p> * * <strong>example:</strong> * <p>Changjietong T + SetupAccount/Upload.aspx file Upload vulnerability (CNVD-2022-60632)</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The check method.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder checkType(Integer checkType) { this.checkType = checkType; return this; } /** * <p>The introduction to the vulnerability.</p> * * <strong>example:</strong> * <p>Chanjet T-Plus is an Internet business management software. There is an unauthorized access vulnerability in one of its interfaces disclosed on the Internet. Attackers can construct malicious requests to upload malicious files to execute arbitrary code and control the server.</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The timestamp when the urgent vulnerability was last detected. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1619286031000</p> */ public Builder gmtLastCheck(Long gmtLastCheck) { this.gmtLastCheck = gmtLastCheck; return this; } /** * <p>The timestamp when the urgent vulnerability was last disclosed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1618887687000</p> */ public Builder gmtPublish(Long gmtPublish) { this.gmtPublish = gmtPublish; return this; } /** * <p>The name of the detection rule.</p> * * <strong>example:</strong> * <p>scan:AVD-2021-179344</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The number of unhandled urgent vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder pendingCount(Integer pendingCount) { this.pendingCount = pendingCount; return this; } /** * <p>The progress of the urgent vulnerability detection task. Valid values: 0 to 100.</p> * <blockquote> * <p> This parameter is returned only when an urgent vulnerability is being detected.</p> * </blockquote> * * <strong>example:</strong> * <p>50</p> */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * <p>Indicates whether the application protection feature is supported. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes<blockquote> * <p> If this parameter is not returned, the application protection is not supported.</p> * </blockquote> * </li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder raspDefend(Integer raspDefend) { this.raspDefend = raspDefend; return this; } /** * <p>The detection status of the urgent vulnerability. Valid values:</p> * <ul> * <li><strong>10</strong>: The urgent vulnerability is not detected.</li> * <li><strong>20</strong>: The urgent vulnerability is being detected.</li> * <li><strong>30</strong>: The urgent vulnerability detection is complete.</li> * </ul> * * <strong>example:</strong> * <p>30</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The method that is used to detect the urgent vulnerability. Valid values:</p> * <ul> * <li><strong>python</strong>: The Version method is used. Security Center checks the software versions of your server to check whether disclosed vulnerabilities exist on your server.</li> * <li><strong>scan</strong>: The Network Scan method is used. Security Center analyzes the access traffic to your server over the Internet to check whether vulnerabilities exist on your server.</li> * </ul> * * <strong>example:</strong> * <p>scan</p> */ public Builder type(String type) { this.type = type; return this; } public GroupedVulItems build() { return new GroupedVulItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEventLevelCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEventLevelCountRequest} extends {@link RequestModel} * * <p>DescribeEventLevelCountRequest</p> */ public class DescribeEventLevelCountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerFieldName") private String containerFieldName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerFieldValue") private String containerFieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerIds") private String containerIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") private String from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MultiAccountActionType") private Integer multiAccountActionType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private DescribeEventLevelCountRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.containerFieldName = builder.containerFieldName; this.containerFieldValue = builder.containerFieldValue; this.containerIds = builder.containerIds; this.from = builder.from; this.multiAccountActionType = builder.multiAccountActionType; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static DescribeEventLevelCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return containerFieldName */ public String getContainerFieldName() { return this.containerFieldName; } /** * @return containerFieldValue */ public String getContainerFieldValue() { return this.containerFieldValue; } /** * @return containerIds */ public String getContainerIds() { return this.containerIds; } /** * @return from */ public String getFrom() { return this.from; } /** * @return multiAccountActionType */ public Integer getMultiAccountActionType() { return this.multiAccountActionType; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder extends Request.Builder<DescribeEventLevelCountRequest, Builder> { private String clusterId; private String containerFieldName; private String containerFieldValue; private String containerIds; private String from; private Integer multiAccountActionType; private String targetType; private Builder() { super(); } private Builder(DescribeEventLevelCountRequest request) { super(request); this.clusterId = request.clusterId; this.containerFieldName = request.containerFieldName; this.containerFieldValue = request.containerFieldValue; this.containerIds = request.containerIds; this.from = request.from; this.multiAccountActionType = request.multiAccountActionType; this.targetType = request.targetType; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p>You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c7e3c5b420a7947c2933303144688****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The key of the condition that is used to query alert events on containers. Valid values:</p> * <ul> * <li><strong>instanceId</strong>: the ID of the asset</li> * <li><strong>appName</strong>: the name of the application</li> * <li><strong>clusterId</strong>: the ID of the cluster</li> * <li><strong>regionId</strong>: the ID of the region</li> * <li><strong>nodeName</strong>: the name of the node</li> * <li><strong>namespace</strong>: the namespace</li> * <li><strong>clusterName</strong>: the name of the cluster</li> * <li><strong>image</strong>: the name of the image</li> * <li><strong>imageRepoName</strong>: the name of the image repository</li> * <li><strong>imageRepoNamespace</strong>: the namespace to which the image repository belongs</li> * <li><strong>imageRepoTag</strong>: the tag that is added to the image</li> * <li><strong>imageDigest</strong>: the digest of the image</li> * </ul> * * <strong>example:</strong> * <p>clusterId</p> */ public Builder containerFieldName(String containerFieldName) { this.putQueryParameter("ContainerFieldName", containerFieldName); this.containerFieldName = containerFieldName; return this; } /** * <p>The value of the condition that is used to query alert events on containers. If you specify multiple values, separate them with commas (,).</p> * * <strong>example:</strong> * <p>c951761046a9c4afe92be0a7b5bexxxxx</p> */ public Builder containerFieldValue(String containerFieldValue) { this.putQueryParameter("ContainerFieldValue", containerFieldValue); this.containerFieldValue = containerFieldValue; return this; } /** * <p>The ID of the container.</p> * * <strong>example:</strong> * <p>xxxxxx30389a10c28f6d38f2398f0dcexxxxxxx922b9e8290dc7c3019d4a8,48b87f2c0662e334820f436cb9133f1ae4e053d39b6fad42xxxxxxxxxx</p> */ public Builder containerIds(String containerIds) { this.putQueryParameter("ContainerIds", containerIds); this.containerIds = containerIds; return this; } /** * <p>The ID of the request source. Set the value to <strong>sas</strong>.</p> * * <strong>example:</strong> * <p>sas</p> */ public Builder from(String from) { this.putQueryParameter("From", from); this.from = from; return this; } /** * <p>The type of the accounts that you want to query. Default value: <strong>0</strong>. Valid values:</p> * <ul> * <li><strong>0</strong>: the current account.</li> * <li><strong>1</strong>: all accounts.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder multiAccountActionType(Integer multiAccountActionType) { this.putQueryParameter("MultiAccountActionType", multiAccountActionType); this.multiAccountActionType = multiAccountActionType; return this; } /** * <p>The type of the query condition. Valid values:</p> * <ul> * <li><strong>containerId</strong>: the ID of the container</li> * <li><strong>uuid</strong>: the UUID of the asset</li> * </ul> * * <strong>example:</strong> * <p>uuid</p> */ public Builder targetType(String targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } @Override public DescribeEventLevelCountRequest build() { return new DescribeEventLevelCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEventLevelCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEventLevelCountResponse} extends {@link TeaModel} * * <p>DescribeEventLevelCountResponse</p> */ public class DescribeEventLevelCountResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeEventLevelCountResponseBody body; private DescribeEventLevelCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEventLevelCountResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeEventLevelCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEventLevelCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEventLevelCountResponseBody body); @Override DescribeEventLevelCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEventLevelCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEventLevelCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEventLevelCountResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeEventLevelCountResponseBody body) { this.body = body; return this; } @Override public DescribeEventLevelCountResponse build() { return new DescribeEventLevelCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEventLevelCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEventLevelCountResponseBody} extends {@link TeaModel} * * <p>DescribeEventLevelCountResponseBody</p> */ public class DescribeEventLevelCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("EventLevels") private EventLevels eventLevels; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeEventLevelCountResponseBody(Builder builder) { this.code = builder.code; this.eventLevels = builder.eventLevels; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeEventLevelCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return eventLevels */ public EventLevels getEventLevels() { return this.eventLevels; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private EventLevels eventLevels; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(DescribeEventLevelCountResponseBody model) { this.code = model.code; this.eventLevels = model.eventLevels; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The status code returned. The status code <strong>200</strong> 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.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The statistics of alerts by risk level.</p> */ public Builder eventLevels(EventLevels eventLevels) { this.eventLevels = eventLevels; return this; } /** * <p>The error message returned.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>CE8CA5EA-24EF-5D41-B735-53ACE7XXXXX</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The request was successful.</li> * <li><strong>false</strong>: The request failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public DescribeEventLevelCountResponseBody build() { return new DescribeEventLevelCountResponseBody(this); } } /** * * {@link DescribeEventLevelCountResponseBody} extends {@link TeaModel} * * <p>DescribeEventLevelCountResponseBody</p> */ public static class EventLevels extends TeaModel { @com.aliyun.core.annotation.NameInMap("Remind") private Integer remind; @com.aliyun.core.annotation.NameInMap("Serious") private Integer serious; @com.aliyun.core.annotation.NameInMap("Suspicious") private Integer suspicious; private EventLevels(Builder builder) { this.remind = builder.remind; this.serious = builder.serious; this.suspicious = builder.suspicious; } public static Builder builder() { return new Builder(); } public static EventLevels create() { return builder().build(); } /** * @return remind */ public Integer getRemind() { return this.remind; } /** * @return serious */ public Integer getSerious() { return this.serious; } /** * @return suspicious */ public Integer getSuspicious() { return this.suspicious; } public static final class Builder { private Integer remind; private Integer serious; private Integer suspicious; private Builder() { } private Builder(EventLevels model) { this.remind = model.remind; this.serious = model.serious; this.suspicious = model.suspicious; } /** * <p>The number of alerts whose Emergency level is Reminder.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder remind(Integer remind) { this.remind = remind; return this; } /** * <p>The number of alerts whose Emergency level is Urgent.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder serious(Integer serious) { this.serious = serious; return this; } /** * <p>The number of alerts whose Emergency level is Suspicious.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder suspicious(Integer suspicious) { this.suspicious = suspicious; return this; } public EventLevels build() { return new EventLevels(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEventOnStageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEventOnStageRequest} extends {@link RequestModel} * * <p>DescribeEventOnStageRequest</p> */ public class DescribeEventOnStageRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribeEventOnStageRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribeEventOnStageRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<DescribeEventOnStageRequest, Builder> { private String lang; private Builder() { super(); } private Builder(DescribeEventOnStageRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public DescribeEventOnStageRequest build() { return new DescribeEventOnStageRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEventOnStageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEventOnStageResponse} extends {@link TeaModel} * * <p>DescribeEventOnStageResponse</p> */ public class DescribeEventOnStageResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeEventOnStageResponseBody body; private DescribeEventOnStageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEventOnStageResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeEventOnStageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEventOnStageResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEventOnStageResponseBody body); @Override DescribeEventOnStageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEventOnStageResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEventOnStageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEventOnStageResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeEventOnStageResponseBody body) { this.body = body; return this; } @Override public DescribeEventOnStageResponse build() { return new DescribeEventOnStageResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeEventOnStageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeEventOnStageResponseBody} extends {@link TeaModel} * * <p>DescribeEventOnStageResponseBody</p> */ public class DescribeEventOnStageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SecurityEventStageResponse") private SecurityEventStageResponse securityEventStageResponse; private DescribeEventOnStageResponseBody(Builder builder) { this.requestId = builder.requestId; this.securityEventStageResponse = builder.securityEventStageResponse; } public static Builder builder() { return new Builder(); } public static DescribeEventOnStageResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return securityEventStageResponse */ public SecurityEventStageResponse getSecurityEventStageResponse() { return this.securityEventStageResponse; } public static final class Builder { private String requestId; private SecurityEventStageResponse securityEventStageResponse; private Builder() { } private Builder(DescribeEventOnStageResponseBody model) { this.requestId = model.requestId; this.securityEventStageResponse = model.securityEventStageResponse; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>24A20733-10A0-4AF6-BE6B-E332241XXXXX</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The platforms that are supported by the feature of container threat detection.</p> */ public Builder securityEventStageResponse(SecurityEventStageResponse securityEventStageResponse) { this.securityEventStageResponse = securityEventStageResponse; return this; } public DescribeEventOnStageResponseBody build() { return new DescribeEventOnStageResponseBody(this); } } /** * * {@link DescribeEventOnStageResponseBody} extends {@link TeaModel} * * <p>DescribeEventOnStageResponseBody</p> */ public static class SecurityEventStageResponse extends TeaModel { @com.aliyun.core.annotation.NameInMap("SecurityEventOnStag") private java.util.Map<String, ?> securityEventOnStag; private SecurityEventStageResponse(Builder builder) { this.securityEventOnStag = builder.securityEventOnStag; } public static Builder builder() { return new Builder(); } public static SecurityEventStageResponse create() { return builder().build(); } /** * @return securityEventOnStag */ public java.util.Map<String, ?> getSecurityEventOnStag() { return this.securityEventOnStag; } public static final class Builder { private java.util.Map<String, ?> securityEventOnStag; private Builder() { } private Builder(SecurityEventStageResponse model) { this.securityEventOnStag = model.securityEventOnStag; } /** * <p>The platform that is supported by the feature of container threat detection. Valid values:</p> * <ul> * <li><strong>container</strong></li> * <li><strong>linux</strong></li> * <li><strong>windows</strong></li> * </ul> */ public Builder securityEventOnStag(java.util.Map<String, ?> securityEventOnStag) { this.securityEventOnStag = securityEventOnStag; return this; } public SecurityEventStageResponse build() { return new SecurityEventStageResponse(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExcludeSystemPathRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExcludeSystemPathRequest} extends {@link RequestModel} * * <p>DescribeExcludeSystemPathRequest</p> */ public class DescribeExcludeSystemPathRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true, maximum = 200) private Integer pageSize; private DescribeExcludeSystemPathRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeExcludeSystemPathRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeExcludeSystemPathRequest, Builder> { private Integer currentPage; private Integer pageSize; private Builder() { super(); } private Builder(DescribeExcludeSystemPathRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; } /** * <p>The number of the page to return. Default value: 1.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeExcludeSystemPathRequest build() { return new DescribeExcludeSystemPathRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExcludeSystemPathResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExcludeSystemPathResponse} extends {@link TeaModel} * * <p>DescribeExcludeSystemPathResponse</p> */ public class DescribeExcludeSystemPathResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExcludeSystemPathResponseBody body; private DescribeExcludeSystemPathResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExcludeSystemPathResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExcludeSystemPathResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExcludeSystemPathResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExcludeSystemPathResponseBody body); @Override DescribeExcludeSystemPathResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExcludeSystemPathResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExcludeSystemPathResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExcludeSystemPathResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExcludeSystemPathResponseBody body) { this.body = body; return this; } @Override public DescribeExcludeSystemPathResponse build() { return new DescribeExcludeSystemPathResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExcludeSystemPathResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExcludeSystemPathResponseBody} extends {@link TeaModel} * * <p>DescribeExcludeSystemPathResponseBody</p> */ public class DescribeExcludeSystemPathResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExcludePaths") private java.util.List<ExcludePaths> excludePaths; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeExcludeSystemPathResponseBody(Builder builder) { this.excludePaths = builder.excludePaths; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeExcludeSystemPathResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return excludePaths */ public java.util.List<ExcludePaths> getExcludePaths() { return this.excludePaths; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ExcludePaths> excludePaths; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeExcludeSystemPathResponseBody model) { this.excludePaths = model.excludePaths; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>An array consisting of the directories that are excluded.</p> */ public Builder excludePaths(java.util.List<ExcludePaths> excludePaths) { this.excludePaths = excludePaths; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>FBBEB173-1F43-505F-A876-C03ECDF6****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeExcludeSystemPathResponseBody build() { return new DescribeExcludeSystemPathResponseBody(this); } } /** * * {@link DescribeExcludeSystemPathResponseBody} extends {@link TeaModel} * * <p>DescribeExcludeSystemPathResponseBody</p> */ public static class ExcludePaths extends TeaModel { @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("Path") private String path; private ExcludePaths(Builder builder) { this.os = builder.os; this.path = builder.path; } public static Builder builder() { return new Builder(); } public static ExcludePaths create() { return builder().build(); } /** * @return os */ public String getOs() { return this.os; } /** * @return path */ public String getPath() { return this.path; } public static final class Builder { private String os; private String path; private Builder() { } private Builder(ExcludePaths model) { this.os = model.os; this.path = model.path; } /** * <p>The operating system of the server. Valid values:</p> * <ul> * <li><strong>linux</strong>: Linux</li> * <li><strong>windows</strong>: Windows</li> * </ul> * * <strong>example:</strong> * <p>linux</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The absolute path to the directory.</p> * * <strong>example:</strong> * <p>/bin/</p> */ public Builder path(String path) { this.path = path; return this; } public ExcludePaths build() { return new ExcludePaths(this); } } } /** * * {@link DescribeExcludeSystemPathResponseBody} extends {@link TeaModel} * * <p>DescribeExcludeSystemPathResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>55</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExportInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExportInfoRequest} extends {@link RequestModel} * * <p>DescribeExportInfoRequest</p> */ public class DescribeExportInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportId") @com.aliyun.core.annotation.Validation(required = true) private Long exportId; private DescribeExportInfoRequest(Builder builder) { super(builder); this.exportId = builder.exportId; } public static Builder builder() { return new Builder(); } public static DescribeExportInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return exportId */ public Long getExportId() { return this.exportId; } public static final class Builder extends Request.Builder<DescribeExportInfoRequest, Builder> { private Long exportId; private Builder() { super(); } private Builder(DescribeExportInfoRequest request) { super(request); this.exportId = request.exportId; } /** * <p>The ID of the export task.</p> * <blockquote> * <p>You can call the <a href="~~ExportRecord~~">ExportRecord</a> operation to query the IDs of export tasks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>111</p> */ public Builder exportId(Long exportId) { this.putQueryParameter("ExportId", exportId); this.exportId = exportId; return this; } @Override public DescribeExportInfoRequest build() { return new DescribeExportInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExportInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExportInfoResponse} extends {@link TeaModel} * * <p>DescribeExportInfoResponse</p> */ public class DescribeExportInfoResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExportInfoResponseBody body; private DescribeExportInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExportInfoResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExportInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExportInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExportInfoResponseBody body); @Override DescribeExportInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExportInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExportInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExportInfoResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExportInfoResponseBody body) { this.body = body; return this; } @Override public DescribeExportInfoResponse build() { return new DescribeExportInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExportInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExportInfoResponseBody} extends {@link TeaModel} * * <p>DescribeExportInfoResponseBody</p> */ public class DescribeExportInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentCount") private Integer currentCount; @com.aliyun.core.annotation.NameInMap("ExportStatus") private String exportStatus; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Link") private String link; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeExportInfoResponseBody(Builder builder) { this.currentCount = builder.currentCount; this.exportStatus = builder.exportStatus; this.fileName = builder.fileName; this.id = builder.id; this.link = builder.link; this.message = builder.message; this.progress = builder.progress; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeExportInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentCount */ public Integer getCurrentCount() { return this.currentCount; } /** * @return exportStatus */ public String getExportStatus() { return this.exportStatus; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return id */ public Long getId() { return this.id; } /** * @return link */ public String getLink() { return this.link; } /** * @return message */ public String getMessage() { return this.message; } /** * @return progress */ public Integer getProgress() { return this.progress; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentCount; private String exportStatus; private String fileName; private Long id; private String link; private String message; private Integer progress; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeExportInfoResponseBody model) { this.currentCount = model.currentCount; this.exportStatus = model.exportStatus; this.fileName = model.fileName; this.id = model.id; this.link = model.link; this.message = model.message; this.progress = model.progress; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The number of exported entries.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder currentCount(Integer currentCount) { this.currentCount = currentCount; return this; } /** * <p>The status of the export task.</p> * <p>Valid values:</p> * <ul> * <li><strong>init</strong>: The task is being initialized.</li> * <li><strong>exporting</strong>: The task is in progress.</li> * <li><strong>success</strong>: The task is complete.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder exportStatus(String exportStatus) { this.exportStatus = exportStatus; return this; } /** * <p>The name of the exported Excel file.</p> * * <strong>example:</strong> * <p>health_check_export_20171123</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the export task.</p> * * <strong>example:</strong> * <p>131231</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The URL at which you can download the exported Excel file.</p> * * <strong>example:</strong> * <p><a href="http://www.aliyun.com">http://www.aliyun.com</a></p> */ public Builder link(String link) { this.link = link; return this; } /** * <p>The message that shows the task result. The value is fixed as <strong>success</strong>, which indicates that the task is complete.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The progress percentage of the export task.</p> * * <strong>example:</strong> * <p>16</p> */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>CE500770-42D3-442E-9DDD-156E0F9F3B45</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries in the exported Excel file.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeExportInfoResponseBody build() { return new DescribeExportInfoResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedCheckWarningRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedCheckWarningRequest} extends {@link RequestModel} * * <p>DescribeExposedCheckWarningRequest</p> */ public class DescribeExposedCheckWarningRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TypeName") private String typeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; private DescribeExposedCheckWarningRequest(Builder builder) { super(builder); this.lang = builder.lang; this.typeName = builder.typeName; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static DescribeExposedCheckWarningRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return typeName */ public String getTypeName() { return this.typeName; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<DescribeExposedCheckWarningRequest, Builder> { private String lang; private String typeName; private String uuids; private Builder() { super(); } private Builder(DescribeExposedCheckWarningRequest request) { super(request); this.lang = request.lang; this.typeName = request.typeName; this.uuids = request.uuids; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The type of the baseline.</p> * <blockquote> * <p> You can call the <a href="~~DescribeRiskType~~">DescribeRiskType</a> operation to obtain the types of baselines from the response parameter <strong>TypeName</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>weak_password</p> */ public Builder typeName(String typeName) { this.putQueryParameter("TypeName", typeName); this.typeName = typeName; return this; } /** * <p>The UUID of the server. Separate multiple UUIDs with commas (,).</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> * * <strong>example:</strong> * <p>6541631a-7d47-41fd-9fef-9518113f****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public DescribeExposedCheckWarningRequest build() { return new DescribeExposedCheckWarningRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedCheckWarningResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedCheckWarningResponse} extends {@link TeaModel} * * <p>DescribeExposedCheckWarningResponse</p> */ public class DescribeExposedCheckWarningResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExposedCheckWarningResponseBody body; private DescribeExposedCheckWarningResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExposedCheckWarningResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExposedCheckWarningResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExposedCheckWarningResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExposedCheckWarningResponseBody body); @Override DescribeExposedCheckWarningResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExposedCheckWarningResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExposedCheckWarningResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExposedCheckWarningResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExposedCheckWarningResponseBody body) { this.body = body; return this; } @Override public DescribeExposedCheckWarningResponse build() { return new DescribeExposedCheckWarningResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedCheckWarningResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedCheckWarningResponseBody} extends {@link TeaModel} * * <p>DescribeExposedCheckWarningResponseBody</p> */ public class DescribeExposedCheckWarningResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("WarningList") private java.util.List<WarningList> warningList; private DescribeExposedCheckWarningResponseBody(Builder builder) { this.count = builder.count; this.requestId = builder.requestId; this.warningList = builder.warningList; } public static Builder builder() { return new Builder(); } public static DescribeExposedCheckWarningResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return warningList */ public java.util.List<WarningList> getWarningList() { return this.warningList; } public static final class Builder { private Integer count; private String requestId; private java.util.List<WarningList> warningList; private Builder() { } private Builder(DescribeExposedCheckWarningResponseBody model) { this.count = model.count; this.requestId = model.requestId; this.warningList = model.warningList; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>6D9CDB47-6191-4415-BE63-7E8B12CD****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the baseline risk items of the exposed server.</p> */ public Builder warningList(java.util.List<WarningList> warningList) { this.warningList = warningList; return this; } public DescribeExposedCheckWarningResponseBody build() { return new DescribeExposedCheckWarningResponseBody(this); } } /** * * {@link DescribeExposedCheckWarningResponseBody} extends {@link TeaModel} * * <p>DescribeExposedCheckWarningResponseBody</p> */ public static class WarningList extends TeaModel { @com.aliyun.core.annotation.NameInMap("RiskId") private Long riskId; @com.aliyun.core.annotation.NameInMap("RiskName") private String riskName; @com.aliyun.core.annotation.NameInMap("SubTypeAlias") private String subTypeAlias; @com.aliyun.core.annotation.NameInMap("TypeAlias") private String typeAlias; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private WarningList(Builder builder) { this.riskId = builder.riskId; this.riskName = builder.riskName; this.subTypeAlias = builder.subTypeAlias; this.typeAlias = builder.typeAlias; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static WarningList create() { return builder().build(); } /** * @return riskId */ public Long getRiskId() { return this.riskId; } /** * @return riskName */ public String getRiskName() { return this.riskName; } /** * @return subTypeAlias */ public String getSubTypeAlias() { return this.subTypeAlias; } /** * @return typeAlias */ public String getTypeAlias() { return this.typeAlias; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Long riskId; private String riskName; private String subTypeAlias; private String typeAlias; private String uuid; private Builder() { } private Builder(WarningList model) { this.riskId = model.riskId; this.riskName = model.riskName; this.subTypeAlias = model.subTypeAlias; this.typeAlias = model.typeAlias; this.uuid = model.uuid; } /** * <p>The ID of the baseline.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/116179.html">DescribeCheckWarningSummary</a> operation to query the IDs of baselines.</p> * </blockquote> * * <strong>example:</strong> * <p>107</p> */ public Builder riskId(Long riskId) { this.riskId = riskId; return this; } /** * <p>The name of the baseline.</p> * * <strong>example:</strong> * <p>Weak password-Redis DB login weak password baseline</p> */ public Builder riskName(String riskName) { this.riskName = riskName; return this; } /** * <p>The display name of the baseline sub type.</p> * * <strong>example:</strong> * <p>Redis DB login weak password baseline</p> */ public Builder subTypeAlias(String subTypeAlias) { this.subTypeAlias = subTypeAlias; return this; } /** * <p>The display name of the baseline type.</p> * * <strong>example:</strong> * <p>Weak password</p> */ public Builder typeAlias(String typeAlias) { this.typeAlias = typeAlias; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>1d35b031-ee4e-4e53-8b53-465ab712****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public WarningList build() { return new WarningList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceCriteriaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceCriteriaRequest} extends {@link RequestModel} * * <p>DescribeExposedInstanceCriteriaRequest</p> */ public class DescribeExposedInstanceCriteriaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private String resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Value") private String value; private DescribeExposedInstanceCriteriaRequest(Builder builder) { super(builder); this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DescribeExposedInstanceCriteriaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return resourceDirectoryAccountId */ public String getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder extends Request.Builder<DescribeExposedInstanceCriteriaRequest, Builder> { private String resourceDirectoryAccountId; private String value; private Builder() { super(); } private Builder(DescribeExposedInstanceCriteriaRequest request) { super(request); this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.value = request.value; } /** * <p>The ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to query the account ID.</p> * </blockquote> * * <strong>example:</strong> * <p>1232428423234****</p> */ public Builder resourceDirectoryAccountId(String resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The value of the search condition. Fuzzy match is supported.</p> * <blockquote> * <p> You can specify the name, ID, public IP address, private IP address, component, port, or IP address of an exposed asset.</p> * </blockquote> * * <strong>example:</strong> * <p>id</p> */ public Builder value(String value) { this.putQueryParameter("Value", value); this.value = value; return this; } @Override public DescribeExposedInstanceCriteriaRequest build() { return new DescribeExposedInstanceCriteriaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceCriteriaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceCriteriaResponse} extends {@link TeaModel} * * <p>DescribeExposedInstanceCriteriaResponse</p> */ public class DescribeExposedInstanceCriteriaResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExposedInstanceCriteriaResponseBody body; private DescribeExposedInstanceCriteriaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExposedInstanceCriteriaResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExposedInstanceCriteriaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExposedInstanceCriteriaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExposedInstanceCriteriaResponseBody body); @Override DescribeExposedInstanceCriteriaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExposedInstanceCriteriaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExposedInstanceCriteriaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExposedInstanceCriteriaResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExposedInstanceCriteriaResponseBody body) { this.body = body; return this; } @Override public DescribeExposedInstanceCriteriaResponse build() { return new DescribeExposedInstanceCriteriaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceCriteriaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceCriteriaResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceCriteriaResponseBody</p> */ public class DescribeExposedInstanceCriteriaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CriteriaList") private java.util.List<CriteriaList> criteriaList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeExposedInstanceCriteriaResponseBody(Builder builder) { this.criteriaList = builder.criteriaList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeExposedInstanceCriteriaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return criteriaList */ public java.util.List<CriteriaList> getCriteriaList() { return this.criteriaList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<CriteriaList> criteriaList; private String requestId; private Builder() { } private Builder(DescribeExposedInstanceCriteriaResponseBody model) { this.criteriaList = model.criteriaList; this.requestId = model.requestId; } /** * <p>The search conditions that are used to search for exposed assets.</p> */ public Builder criteriaList(java.util.List<CriteriaList> criteriaList) { this.criteriaList = criteriaList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>6D9CDB47-6191-4415-BE63-7E8B12CD4FBE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeExposedInstanceCriteriaResponseBody build() { return new DescribeExposedInstanceCriteriaResponseBody(this); } } /** * * {@link DescribeExposedInstanceCriteriaResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceCriteriaResponseBody</p> */ public static class CriteriaList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Values") private String values; private CriteriaList(Builder builder) { this.name = builder.name; this.type = builder.type; this.values = builder.values; } public static Builder builder() { return new Builder(); } public static CriteriaList create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return values */ public String getValues() { return this.values; } public static final class Builder { private String name; private String type; private String values; private Builder() { } private Builder(CriteriaList model) { this.name = model.name; this.type = model.type; this.values = model.values; } /** * <p>The name of the search condition.</p> * * <strong>example:</strong> * <p>instanceId</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The type of the search condition. Valid values:</p> * <ul> * <li><strong>input</strong>: You must configure the search condition.</li> * <li><strong>select</strong>: You must select a search condition from the <strong>Values</strong> list.</li> * </ul> * * <strong>example:</strong> * <p>select</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The value of the search condition. This parameter is returned only when the value of the <strong>Type</strong> parameter is <strong>select</strong>.</p> * <blockquote> * <p> If the value of the <strong>Type</strong> parameter is <strong>input</strong>, this parameter is empty.</p> * </blockquote> * * <strong>example:</strong> * <p>i-bp19r0fdd39idxhf****</p> */ public Builder values(String values) { this.values = values; return this; } public CriteriaList build() { return new CriteriaList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceDetailRequest} extends {@link RequestModel} * * <p>DescribeExposedInstanceDetailRequest</p> */ public class DescribeExposedInstanceDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private DescribeExposedInstanceDetailRequest(Builder builder) { super(builder); this.lang = builder.lang; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeExposedInstanceDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeExposedInstanceDetailRequest, Builder> { private String lang; private Long resourceDirectoryAccountId; private String uuid; private Builder() { super(); } private Builder(DescribeExposedInstanceDetailRequest request) { super(request); this.lang = request.lang; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.uuid = request.uuid; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to query the account ID.</p> * </blockquote> * * <strong>example:</strong> * <p>1232428423234****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The UUID of the server or the instance ID of the database that is exposed on the Internet.</p> * <blockquote> * <p> You can call the <a href="~~DescribeExposedInstanceList~~">DescribeExposedInstanceList</a> operation to query the UUIDs of servers or instance IDs of databases.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>fc82b966-4d70-4e01-bf4f-aa4076a5****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeExposedInstanceDetailRequest build() { return new DescribeExposedInstanceDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceDetailResponse} extends {@link TeaModel} * * <p>DescribeExposedInstanceDetailResponse</p> */ public class DescribeExposedInstanceDetailResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExposedInstanceDetailResponseBody body; private DescribeExposedInstanceDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExposedInstanceDetailResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExposedInstanceDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExposedInstanceDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExposedInstanceDetailResponseBody body); @Override DescribeExposedInstanceDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExposedInstanceDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExposedInstanceDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExposedInstanceDetailResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExposedInstanceDetailResponseBody body) { this.body = body; return this; } @Override public DescribeExposedInstanceDetailResponse build() { return new DescribeExposedInstanceDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceDetailResponseBody</p> */ public class DescribeExposedInstanceDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExposedChains") private java.util.List<ExposedChains> exposedChains; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeExposedInstanceDetailResponseBody(Builder builder) { this.exposedChains = builder.exposedChains; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeExposedInstanceDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return exposedChains */ public java.util.List<ExposedChains> getExposedChains() { return this.exposedChains; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ExposedChains> exposedChains; private String requestId; private Builder() { } private Builder(DescribeExposedInstanceDetailResponseBody model) { this.exposedChains = model.exposedChains; this.requestId = model.requestId; } /** * <p>The list of exposure details of the server or database.</p> */ public Builder exposedChains(java.util.List<ExposedChains> exposedChains) { this.exposedChains = exposedChains; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>C590482B-54A7-4273-8115-9DBE2DE46B26</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeExposedInstanceDetailResponseBody build() { return new DescribeExposedInstanceDetailResponseBody(this); } } /** * * {@link DescribeExposedInstanceDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceDetailResponseBody</p> */ public static class AllVulList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private AllVulList(Builder builder) { this.aliasName = builder.aliasName; this.name = builder.name; this.necessity = builder.necessity; this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static AllVulList create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return name */ public String getName() { return this.name; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String aliasName; private String name; private String necessity; private String type; private String uuid; private Builder() { } private Builder(AllVulList model) { this.aliasName = model.aliasName; this.name = model.name; this.necessity = model.necessity; this.type = model.type; this.uuid = model.uuid; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>SCA:ACSV-2020-052801</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The priority to fix the vulnerability. Valid values:</p> * <ul> * <li><strong>asap</strong>: high</li> * <li><strong>later</strong>: medium</li> * <li><strong>nntf</strong>: low</li> * </ul> * <blockquote> * <p> We recommend that you fix the vulnerabilities that have the <strong>high</strong> priority at the earliest opportunity.</p> * </blockquote> * * <strong>example:</strong> * <p>asap</p> */ public Builder necessity(String necessity) { this.necessity = necessity; return this; } /** * <p>The type of the vulnerability. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerabilities</li> * <li><strong>sys</strong>: Windows system vulnerabilities</li> * <li><strong>cms</strong>: Web-CMS vulnerabilities</li> * <li><strong>app</strong>: application vulnerabilities</li> * <li><strong>emg</strong>: urgent vulnerabilities</li> * <li><strong>sca</strong>: middleware vulnerabilities</li> * </ul> * * <strong>example:</strong> * <p>sca</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>4f9ce097-4a7d-48fe-baef-6960e5b6****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public AllVulList build() { return new AllVulList(this); } } } /** * * {@link DescribeExposedInstanceDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceDetailResponseBody</p> */ public static class CspmRiskList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssetSubType") private Integer assetSubType; @com.aliyun.core.annotation.NameInMap("AssetSubTypeName") private String assetSubTypeName; @com.aliyun.core.annotation.NameInMap("AssetType") private Integer assetType; @com.aliyun.core.annotation.NameInMap("AssetTypeName") private String assetTypeName; @com.aliyun.core.annotation.NameInMap("CheckName") private String checkName; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RiskLevel") private String riskLevel; @com.aliyun.core.annotation.NameInMap("Vendor") private Integer vendor; private CspmRiskList(Builder builder) { this.assetSubType = builder.assetSubType; this.assetSubTypeName = builder.assetSubTypeName; this.assetType = builder.assetType; this.assetTypeName = builder.assetTypeName; this.checkName = builder.checkName; this.instanceId = builder.instanceId; this.regionId = builder.regionId; this.riskLevel = builder.riskLevel; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static CspmRiskList create() { return builder().build(); } /** * @return assetSubType */ public Integer getAssetSubType() { return this.assetSubType; } /** * @return assetSubTypeName */ public String getAssetSubTypeName() { return this.assetSubTypeName; } /** * @return assetType */ public Integer getAssetType() { return this.assetType; } /** * @return assetTypeName */ public String getAssetTypeName() { return this.assetTypeName; } /** * @return checkName */ public String getCheckName() { return this.checkName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return riskLevel */ public String getRiskLevel() { return this.riskLevel; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } public static final class Builder { private Integer assetSubType; private String assetSubTypeName; private Integer assetType; private String assetTypeName; private String checkName; private String instanceId; private String regionId; private String riskLevel; private Integer vendor; private Builder() { } private Builder(CspmRiskList model) { this.assetSubType = model.assetSubType; this.assetSubTypeName = model.assetSubTypeName; this.assetType = model.assetType; this.assetTypeName = model.assetTypeName; this.checkName = model.checkName; this.instanceId = model.instanceId; this.regionId = model.regionId; this.riskLevel = model.riskLevel; this.vendor = model.vendor; } /** * <p>The subtype of the cloud asset. Valid values:</p> * <ul> * <li><p><strong>0</strong>: Elastic Compute Service (ECS).</p> * <ul> * <li><strong>100</strong>: instance.</li> * </ul> * </li> * <li><p><strong>3</strong>: ApsaraDB RDS.</p> * <ul> * <li><strong>0</strong>: instance.</li> * </ul> * </li> * <li><p><strong>4</strong>: ApsaraDB for MongoDB (MongoDB).</p> * <ul> * <li><strong>0</strong>: instance.</li> * </ul> * </li> * <li><p><strong>5</strong>: ApsaraDB for Redis (Redis).</p> * <ul> * <li><strong>0</strong>: instance.</li> * </ul> * </li> * </ul> * * <strong>example:</strong> * <p>100</p> */ public Builder assetSubType(Integer assetSubType) { this.assetSubType = assetSubType; return this; } /** * <p>The subtype name of the cloud asset. Valid values:</p> * <ul> * <li><strong>INSTANCE</strong>: MongoDB instance, Apsara DB for RDS instance, and ApsaraDB for Redis instance.</li> * <li><strong>ECS_INSTANCE</strong>: ECS instance.</li> * </ul> * * <strong>example:</strong> * <p>INSTANCE</p> */ public Builder assetSubTypeName(String assetSubTypeName) { this.assetSubTypeName = assetSubTypeName; return this; } /** * <p>The instance type. Valid values:</p> * <ul> * <li>0: an ECS instance.</li> * <li>3: an ApsaraDB RDS instance.</li> * <li>4: an ApsaraDB for MongoDB instance.</li> * <li>5: an ApsaraDB for Redis instance.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder assetType(Integer assetType) { this.assetType = assetType; return this; } /** * <p>The name of the cloud asset type. Valid values:</p> * <ul> * <li><strong>ECS</strong></li> * <li><strong>RDS</strong></li> * <li><strong>KVSTORE</strong></li> * <li><strong>MONGODB</strong></li> * </ul> * * <strong>example:</strong> * <p>ECS</p> */ public Builder assetTypeName(String assetTypeName) { this.assetTypeName = assetTypeName; return this; } /** * <p>The name of the check item.</p> * * <strong>example:</strong> * <p>Create Alert Rule</p> */ public Builder checkName(String checkName) { this.checkName = checkName; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>i-bp14ggqzi9k6ocfb****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The risk level. Valid values:</p> * <ul> * <li><strong>HIGH</strong></li> * <li><strong>MEDIUM</strong></li> * <li><strong>LOW</strong></li> * </ul> * * <strong>example:</strong> * <p>HIGH</p> */ public Builder riskLevel(String riskLevel) { this.riskLevel = riskLevel; return this; } /** * <p>The type of the cloud asset by source. Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Integer vendor) { this.vendor = vendor; return this; } public CspmRiskList build() { return new CspmRiskList(this); } } } /** * * {@link DescribeExposedInstanceDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceDetailResponseBody</p> */ public static class RealVulList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private RealVulList(Builder builder) { this.aliasName = builder.aliasName; this.name = builder.name; this.necessity = builder.necessity; this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static RealVulList create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return name */ public String getName() { return this.name; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String aliasName; private String name; private String necessity; private String type; private String uuid; private Builder() { } private Builder(RealVulList model) { this.aliasName = model.aliasName; this.name = model.name; this.necessity = model.necessity; this.type = model.type; this.uuid = model.uuid; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>SCA:ACSV-2020-052801</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The priority to fix the vulnerability. Valid values:</p> * <ul> * <li><strong>asap</strong>: high</li> * <li><strong>later</strong>: medium</li> * <li><strong>nntf</strong>: low</li> * </ul> * <blockquote> * <p> We recommend that you fix the vulnerabilities that have the <strong>high</strong> priority at the earliest opportunity.</p> * </blockquote> * * <strong>example:</strong> * <p>asap</p> */ public Builder necessity(String necessity) { this.necessity = necessity; return this; } /** * <p>The type of the vulnerability. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerabilities</li> * <li><strong>sys</strong>: Windows system vulnerabilities</li> * <li><strong>cms</strong>: Web-CMS vulnerabilities</li> * <li><strong>app</strong>: application vulnerabilities</li> * <li><strong>emg</strong>: urgent vulnerabilities</li> * <li><strong>sca</strong>: middleware vulnerabilities</li> * </ul> * * <strong>example:</strong> * <p>sca</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>4f9ce097-4a7d-48fe-baef-6960e5b6****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public RealVulList build() { return new RealVulList(this); } } } /** * * {@link DescribeExposedInstanceDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceDetailResponseBody</p> */ public static class ExposedChains extends TeaModel { @com.aliyun.core.annotation.NameInMap("AllVulList") private java.util.List<AllVulList> allVulList; @com.aliyun.core.annotation.NameInMap("CspmRiskList") private java.util.List<CspmRiskList> cspmRiskList; @com.aliyun.core.annotation.NameInMap("ExposureComponent") private String exposureComponent; @com.aliyun.core.annotation.NameInMap("ExposureIp") private String exposureIp; @com.aliyun.core.annotation.NameInMap("ExposurePort") private String exposurePort; @com.aliyun.core.annotation.NameInMap("ExposureType") private String exposureType; @com.aliyun.core.annotation.NameInMap("ExposureTypeId") private String exposureTypeId; @com.aliyun.core.annotation.NameInMap("GroupNo") private String groupNo; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("RealVulList") private java.util.List<RealVulList> realVulList; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ExposedChains(Builder builder) { this.allVulList = builder.allVulList; this.cspmRiskList = builder.cspmRiskList; this.exposureComponent = builder.exposureComponent; this.exposureIp = builder.exposureIp; this.exposurePort = builder.exposurePort; this.exposureType = builder.exposureType; this.exposureTypeId = builder.exposureTypeId; this.groupNo = builder.groupNo; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.realVulList = builder.realVulList; this.regionId = builder.regionId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ExposedChains create() { return builder().build(); } /** * @return allVulList */ public java.util.List<AllVulList> getAllVulList() { return this.allVulList; } /** * @return cspmRiskList */ public java.util.List<CspmRiskList> getCspmRiskList() { return this.cspmRiskList; } /** * @return exposureComponent */ public String getExposureComponent() { return this.exposureComponent; } /** * @return exposureIp */ public String getExposureIp() { return this.exposureIp; } /** * @return exposurePort */ public String getExposurePort() { return this.exposurePort; } /** * @return exposureType */ public String getExposureType() { return this.exposureType; } /** * @return exposureTypeId */ public String getExposureTypeId() { return this.exposureTypeId; } /** * @return groupNo */ public String getGroupNo() { return this.groupNo; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return realVulList */ public java.util.List<RealVulList> getRealVulList() { return this.realVulList; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private java.util.List<AllVulList> allVulList; private java.util.List<CspmRiskList> cspmRiskList; private String exposureComponent; private String exposureIp; private String exposurePort; private String exposureType; private String exposureTypeId; private String groupNo; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private java.util.List<RealVulList> realVulList; private String regionId; private String uuid; private Builder() { } private Builder(ExposedChains model) { this.allVulList = model.allVulList; this.cspmRiskList = model.cspmRiskList; this.exposureComponent = model.exposureComponent; this.exposureIp = model.exposureIp; this.exposurePort = model.exposurePort; this.exposureType = model.exposureType; this.exposureTypeId = model.exposureTypeId; this.groupNo = model.groupNo; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.realVulList = model.realVulList; this.regionId = model.regionId; this.uuid = model.uuid; } /** * <p>The information about all vulnerabilities on the server.</p> */ public Builder allVulList(java.util.List<AllVulList> allVulList) { this.allVulList = allVulList; return this; } /** * <p>The list of configuration risks.</p> */ public Builder cspmRiskList(java.util.List<CspmRiskList> cspmRiskList) { this.cspmRiskList = cspmRiskList; return this; } /** * <p>The server component that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>openssl,openssh</p> */ public Builder exposureComponent(String exposureComponent) { this.exposureComponent = exposureComponent; return this; } /** * <p>The IP address of the server or the public endpoint of the database.</p> * * <strong>example:</strong> * <p>47.99.XX.XX</p> */ public Builder exposureIp(String exposureIp) { this.exposureIp = exposureIp; return this; } /** * <p>The port that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder exposurePort(String exposurePort) { this.exposurePort = exposurePort; return this; } /** * <p>The resource from which the server or database is exposed. Valid values:</p> * <ul> * <li><strong>INTERNET_IP</strong>: the public IP address of an Elastic Compute Service (ECS) instance.</li> * <li><strong>SLB</strong>: the public IP address of a Server Load Balancer (SLB) instance.</li> * <li><strong>EIP</strong>: an elastic IP address (EIP).</li> * <li><strong>DNAT</strong>: the Network Address Translation (NAT) gateway that connects to the Internet by using the Destination Network Address Translation (DNAT) feature</li> * <li><strong>DB_CONNECTION</strong>: the public endpoint of a database.</li> * </ul> * * <strong>example:</strong> * <p>INTERNET_IP</p> */ public Builder exposureType(String exposureType) { this.exposureType = exposureType; return this; } /** * <p>The ID of the instance to which the resource belongs. The valid values of this parameter vary based on the value of the ExposureType parameter.</p> * <ul> * <li>If the value of the ExposureType parameter is <strong>INTERNET_IP</strong>, this parameter is empty.</li> * <li>If the value of the ExposureType parameter is <strong>SLB</strong>, the value of this parameter is the ID of the SLB instance.</li> * <li>If the value of the ExposureType parameter is <strong>EIP</strong>, the value of this parameter is the ID of the EIP.</li> * <li>If the value of the ExposureType parameter is <strong>DNAT</strong>, the value of this parameter is the ID of the NAT gateway.</li> * <li>If the value of the ExposureType parameter is <strong>DB_CONNECTION</strong>, the value of this parameter is the ID of the database.</li> * </ul> * * <strong>example:</strong> * <p>eip-bp1bkgowzam49rld3****</p> */ public Builder exposureTypeId(String exposureTypeId) { this.exposureTypeId = exposureTypeId; return this; } /** * <p>The server group to which the server belongs.</p> * * <strong>example:</strong> * <p>sg-bp1iw5enua6gf5i2xr7z</p> */ public Builder groupNo(String groupNo) { this.groupNo = groupNo; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>i-bp116qem8npvchqc****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>worker-k8s-for-cs-c929ee2a145214f89a8b248005be5****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>47.99.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The information about the vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> */ public Builder realVulList(java.util.List<RealVulList> realVulList) { this.realVulList = realVulList; return this; } /** * <p>The region ID.</p> * <blockquote> * <p> For information about the mapping between region IDs and region names, see <a href="https://help.aliyun.com/document_detail/40654.html">Regions and zones</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The UUID of the server or the instance ID of the database.</p> * * <strong>example:</strong> * <p>4f9ce097-4a7d-48fe-baef-6960e5b6****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public ExposedChains build() { return new ExposedChains(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceListRequest} extends {@link RequestModel} * * <p>DescribeExposedInstanceListRequest</p> */ public class DescribeExposedInstanceListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AssetType") private String assetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CspmStatus") private Boolean cspmStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExposureComponent") private String exposureComponent; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExposureComponentBizType") private String exposureComponentBizType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExposureIp") private String exposureIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExposurePort") private String exposurePort; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HealthStatus") private Boolean healthStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VulStatus") private Boolean vulStatus; private DescribeExposedInstanceListRequest(Builder builder) { super(builder); this.assetType = builder.assetType; this.cspmStatus = builder.cspmStatus; this.currentPage = builder.currentPage; this.exposureComponent = builder.exposureComponent; this.exposureComponentBizType = builder.exposureComponentBizType; this.exposureIp = builder.exposureIp; this.exposurePort = builder.exposurePort; this.groupId = builder.groupId; this.healthStatus = builder.healthStatus; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.pageSize = builder.pageSize; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.vulStatus = builder.vulStatus; } public static Builder builder() { return new Builder(); } public static DescribeExposedInstanceListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return assetType */ public String getAssetType() { return this.assetType; } /** * @return cspmStatus */ public Boolean getCspmStatus() { return this.cspmStatus; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return exposureComponent */ public String getExposureComponent() { return this.exposureComponent; } /** * @return exposureComponentBizType */ public String getExposureComponentBizType() { return this.exposureComponentBizType; } /** * @return exposureIp */ public String getExposureIp() { return this.exposureIp; } /** * @return exposurePort */ public String getExposurePort() { return this.exposurePort; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return healthStatus */ public Boolean getHealthStatus() { return this.healthStatus; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return vulStatus */ public Boolean getVulStatus() { return this.vulStatus; } public static final class Builder extends Request.Builder<DescribeExposedInstanceListRequest, Builder> { private String assetType; private Boolean cspmStatus; private Integer currentPage; private String exposureComponent; private String exposureComponentBizType; private String exposureIp; private String exposurePort; private Long groupId; private Boolean healthStatus; private String instanceId; private String instanceName; private Integer pageSize; private Long resourceDirectoryAccountId; private Boolean vulStatus; private Builder() { super(); } private Builder(DescribeExposedInstanceListRequest request) { super(request); this.assetType = request.assetType; this.cspmStatus = request.cspmStatus; this.currentPage = request.currentPage; this.exposureComponent = request.exposureComponent; this.exposureComponentBizType = request.exposureComponentBizType; this.exposureIp = request.exposureIp; this.exposurePort = request.exposurePort; this.groupId = request.groupId; this.healthStatus = request.healthStatus; this.instanceId = request.instanceId; this.instanceName = request.instanceName; this.pageSize = request.pageSize; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.vulStatus = request.vulStatus; } /** * <p>The type of the asset. Valid values:</p> * <ul> * <li><strong>0</strong>: an Elastic Compute Service (ECS) instance.</li> * <li><strong>3</strong>: an ApsaraDB RDS instance.</li> * <li><strong>4</strong>: an ApsaraDB for MongoDB instance.</li> * <li><strong>5</strong>: an ApsaraDB for Redis instance.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder assetType(String assetType) { this.putQueryParameter("AssetType", assetType); this.assetType = assetType; return this; } /** * <p>Specifies whether the asset has Cloud Security Posture Management (CSPM) risks. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder cspmStatus(Boolean cspmStatus) { this.putQueryParameter("CspmStatus", cspmStatus); this.cspmStatus = cspmStatus; return this; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The server component that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>openssl</p> */ public Builder exposureComponent(String exposureComponent) { this.putQueryParameter("ExposureComponent", exposureComponent); this.exposureComponent = exposureComponent; return this; } /** * <p>Expose component type.</p> * * <strong>example:</strong> * <p>system_service</p> */ public Builder exposureComponentBizType(String exposureComponentBizType) { this.putQueryParameter("ExposureComponentBizType", exposureComponentBizType); this.exposureComponentBizType = exposureComponentBizType; return this; } /** * <p>The public IP address of the server or the public endpoint of the database.</p> * * <strong>example:</strong> * <p>116.12.XX.XX</p> */ public Builder exposureIp(String exposureIp) { this.putQueryParameter("ExposureIp", exposureIp); this.exposureIp = exposureIp; return this; } /** * <p>The port that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder exposurePort(String exposurePort) { this.putQueryParameter("ExposurePort", exposurePort); this.exposurePort = exposurePort; return this; } /** * <p>The ID of the server group.</p> * <blockquote> * <p>You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of server groups.</p> * </blockquote> * * <strong>example:</strong> * <p>9535356</p> */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>Specifies whether the asset has weak password risks. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>Unhealthy</p> */ public Builder healthStatus(Boolean healthStatus) { this.putQueryParameter("HealthStatus", healthStatus); this.healthStatus = healthStatus; return this; } /** * <p>The instance ID of the asset.</p> * * <strong>example:</strong> * <p>i-bp1g6wxdwps7s9dz****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The name of the asset.</p> * * <strong>example:</strong> * <p>abc_centos7.2_005</p> */ public Builder instanceName(String instanceName) { this.putQueryParameter("InstanceName", instanceName); this.instanceName = instanceName; return this; } /** * <p>The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>16670360956*****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>Specifies whether the asset has vulnerabilities. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder vulStatus(Boolean vulStatus) { this.putQueryParameter("VulStatus", vulStatus); this.vulStatus = vulStatus; return this; } @Override public DescribeExposedInstanceListRequest build() { return new DescribeExposedInstanceListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceListResponse} extends {@link TeaModel} * * <p>DescribeExposedInstanceListResponse</p> */ public class DescribeExposedInstanceListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExposedInstanceListResponseBody body; private DescribeExposedInstanceListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExposedInstanceListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExposedInstanceListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExposedInstanceListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExposedInstanceListResponseBody body); @Override DescribeExposedInstanceListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExposedInstanceListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExposedInstanceListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExposedInstanceListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExposedInstanceListResponseBody body) { this.body = body; return this; } @Override public DescribeExposedInstanceListResponse build() { return new DescribeExposedInstanceListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedInstanceListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceListResponseBody</p> */ public class DescribeExposedInstanceListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExposedInstances") private java.util.List<ExposedInstances> exposedInstances; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeExposedInstanceListResponseBody(Builder builder) { this.exposedInstances = builder.exposedInstances; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeExposedInstanceListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return exposedInstances */ public java.util.List<ExposedInstances> getExposedInstances() { return this.exposedInstances; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ExposedInstances> exposedInstances; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeExposedInstanceListResponseBody model) { this.exposedInstances = model.exposedInstances; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The details of the exposures.</p> */ public Builder exposedInstances(java.util.List<ExposedInstances> exposedInstances) { this.exposedInstances = exposedInstances; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>598A4A61-ABA7-456B-8725-7378258276D9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeExposedInstanceListResponseBody build() { return new DescribeExposedInstanceListResponseBody(this); } } /** * * {@link DescribeExposedInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceListResponseBody</p> */ public static class ExposureComponentList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ComponentBizType") private String componentBizType; @com.aliyun.core.annotation.NameInMap("ComponentName") private String componentName; @com.aliyun.core.annotation.NameInMap("ComponentVersion") private String componentVersion; @com.aliyun.core.annotation.NameInMap("ListenPort") private String listenPort; private ExposureComponentList(Builder builder) { this.componentBizType = builder.componentBizType; this.componentName = builder.componentName; this.componentVersion = builder.componentVersion; this.listenPort = builder.listenPort; } public static Builder builder() { return new Builder(); } public static ExposureComponentList create() { return builder().build(); } /** * @return componentBizType */ public String getComponentBizType() { return this.componentBizType; } /** * @return componentName */ public String getComponentName() { return this.componentName; } /** * @return componentVersion */ public String getComponentVersion() { return this.componentVersion; } /** * @return listenPort */ public String getListenPort() { return this.listenPort; } public static final class Builder { private String componentBizType; private String componentName; private String componentVersion; private String listenPort; private Builder() { } private Builder(ExposureComponentList model) { this.componentBizType = model.componentBizType; this.componentName = model.componentName; this.componentVersion = model.componentVersion; this.listenPort = model.listenPort; } /** * <p>Expose component type.</p> * * <strong>example:</strong> * <p>system_service</p> */ public Builder componentBizType(String componentBizType) { this.componentBizType = componentBizType; return this; } /** * <p>Expose components.</p> * * <strong>example:</strong> * <p>openssh</p> */ public Builder componentName(String componentName) { this.componentName = componentName; return this; } /** * <p>Expose component version.</p> * * <strong>example:</strong> * <p>8.7p1</p> */ public Builder componentVersion(String componentVersion) { this.componentVersion = componentVersion; return this; } /** * <p>Exposed port.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder listenPort(String listenPort) { this.listenPort = listenPort; return this; } public ExposureComponentList build() { return new ExposureComponentList(this); } } } /** * * {@link DescribeExposedInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceListResponseBody</p> */ public static class ExposedInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("AsapVulCount") private Integer asapVulCount; @com.aliyun.core.annotation.NameInMap("AssetType") private Integer assetType; @com.aliyun.core.annotation.NameInMap("CloudAssetInfo") private String cloudAssetInfo; @com.aliyun.core.annotation.NameInMap("CspmAlarmCount") private Integer cspmAlarmCount; @com.aliyun.core.annotation.NameInMap("ExploitHealthCount") private Integer exploitHealthCount; @com.aliyun.core.annotation.NameInMap("ExposureComponent") private String exposureComponent; @com.aliyun.core.annotation.NameInMap("ExposureComponentList") private java.util.List<ExposureComponentList> exposureComponentList; @com.aliyun.core.annotation.NameInMap("ExposureIp") private String exposureIp; @com.aliyun.core.annotation.NameInMap("ExposurePort") private String exposurePort; @com.aliyun.core.annotation.NameInMap("ExposureType") private String exposureType; @com.aliyun.core.annotation.NameInMap("ExposureTypeId") private String exposureTypeId; @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("LaterVulCount") private Integer laterVulCount; @com.aliyun.core.annotation.NameInMap("NntfVulCount") private Integer nntfVulCount; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("TotalVulCount") private Integer totalVulCount; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ExposedInstances(Builder builder) { this.asapVulCount = builder.asapVulCount; this.assetType = builder.assetType; this.cloudAssetInfo = builder.cloudAssetInfo; this.cspmAlarmCount = builder.cspmAlarmCount; this.exploitHealthCount = builder.exploitHealthCount; this.exposureComponent = builder.exposureComponent; this.exposureComponentList = builder.exposureComponentList; this.exposureIp = builder.exposureIp; this.exposurePort = builder.exposurePort; this.exposureType = builder.exposureType; this.exposureTypeId = builder.exposureTypeId; this.groupId = builder.groupId; this.groupName = builder.groupName; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.laterVulCount = builder.laterVulCount; this.nntfVulCount = builder.nntfVulCount; this.regionId = builder.regionId; this.totalVulCount = builder.totalVulCount; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ExposedInstances create() { return builder().build(); } /** * @return asapVulCount */ public Integer getAsapVulCount() { return this.asapVulCount; } /** * @return assetType */ public Integer getAssetType() { return this.assetType; } /** * @return cloudAssetInfo */ public String getCloudAssetInfo() { return this.cloudAssetInfo; } /** * @return cspmAlarmCount */ public Integer getCspmAlarmCount() { return this.cspmAlarmCount; } /** * @return exploitHealthCount */ public Integer getExploitHealthCount() { return this.exploitHealthCount; } /** * @return exposureComponent */ public String getExposureComponent() { return this.exposureComponent; } /** * @return exposureComponentList */ public java.util.List<ExposureComponentList> getExposureComponentList() { return this.exposureComponentList; } /** * @return exposureIp */ public String getExposureIp() { return this.exposureIp; } /** * @return exposurePort */ public String getExposurePort() { return this.exposurePort; } /** * @return exposureType */ public String getExposureType() { return this.exposureType; } /** * @return exposureTypeId */ public String getExposureTypeId() { return this.exposureTypeId; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return laterVulCount */ public Integer getLaterVulCount() { return this.laterVulCount; } /** * @return nntfVulCount */ public Integer getNntfVulCount() { return this.nntfVulCount; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return totalVulCount */ public Integer getTotalVulCount() { return this.totalVulCount; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Integer asapVulCount; private Integer assetType; private String cloudAssetInfo; private Integer cspmAlarmCount; private Integer exploitHealthCount; private String exposureComponent; private java.util.List<ExposureComponentList> exposureComponentList; private String exposureIp; private String exposurePort; private String exposureType; private String exposureTypeId; private Long groupId; private String groupName; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private Integer laterVulCount; private Integer nntfVulCount; private String regionId; private Integer totalVulCount; private String uuid; private Builder() { } private Builder(ExposedInstances model) { this.asapVulCount = model.asapVulCount; this.assetType = model.assetType; this.cloudAssetInfo = model.cloudAssetInfo; this.cspmAlarmCount = model.cspmAlarmCount; this.exploitHealthCount = model.exploitHealthCount; this.exposureComponent = model.exposureComponent; this.exposureComponentList = model.exposureComponentList; this.exposureIp = model.exposureIp; this.exposurePort = model.exposurePort; this.exposureType = model.exposureType; this.exposureTypeId = model.exposureTypeId; this.groupId = model.groupId; this.groupName = model.groupName; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.laterVulCount = model.laterVulCount; this.nntfVulCount = model.nntfVulCount; this.regionId = model.regionId; this.totalVulCount = model.totalVulCount; this.uuid = model.uuid; } /** * <p>The number of high-severity vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder asapVulCount(Integer asapVulCount) { this.asapVulCount = asapVulCount; return this; } /** * <p>The type of the asset. Valid values:</p> * <ul> * <li><strong>0</strong>: an ECS instance.</li> * <li><strong>1</strong>: a SLB instance.</li> * <li><strong>2</strong>: a NAT gateway.</li> * <li><strong>3</strong>: an ApsaraDB RDS instance.</li> * <li><strong>4</strong>: an ApsaraDB for MongoDB instance.</li> * <li><strong>5</strong>: an ApsaraDB for Redis instance.</li> * <li><strong>6</strong>: a container image.</li> * <li><strong>7</strong>: a container.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder assetType(Integer assetType) { this.assetType = assetType; return this; } /** * <p>The JSON string that specifies the information about a database asset, which contains the following fields.</p> * <ul> * <li>assetSubType: the asset subtype.</li> * <li>assetSubTypeName: the name of the asset subtype.</li> * <li>assetType: the type of the asset.</li> * <li>assetTypeName: the name of the asset type.</li> * <li>vendor: the service provider of the asset.</li> * </ul> * * <strong>example:</strong> * <p>{assetSubTypeName&quot;:&quot;INSTANCE&quot;,&quot;assetType&quot;:3,&quot;assetTypeName&quot;:&quot;RDS&quot;,&quot;vendor&quot;:0}</p> */ public Builder cloudAssetInfo(String cloudAssetInfo) { this.cloudAssetInfo = cloudAssetInfo; return this; } /** * <p>The number of CSPM risks.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder cspmAlarmCount(Integer cspmAlarmCount) { this.cspmAlarmCount = cspmAlarmCount; return this; } /** * <p>The number of weak password risks.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder exploitHealthCount(Integer exploitHealthCount) { this.exploitHealthCount = exploitHealthCount; return this; } /** * <p>The server component that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>openssl,openssh</p> */ public Builder exposureComponent(String exposureComponent) { this.exposureComponent = exposureComponent; return this; } /** * <p>Expose component information list.</p> */ public Builder exposureComponentList(java.util.List<ExposureComponentList> exposureComponentList) { this.exposureComponentList = exposureComponentList; return this; } /** * <p>The public IP address that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>116.12.XX.XX</p> */ public Builder exposureIp(String exposureIp) { this.exposureIp = exposureIp; return this; } /** * <p>The port that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder exposurePort(String exposurePort) { this.exposurePort = exposurePort; return this; } /** * <p>The resource from which the asset is exposed. Valid values:</p> * <ul> * <li><strong>INTERNET_IP</strong>: the public IP address of an ECS instance.</li> * <li><strong>SLB</strong>: the public IP address of a Server Load Balancer (SLB) instance.</li> * <li><strong>EIP</strong>: an elastic IP address (EIP).</li> * <li><strong>DNAT</strong>: the NAT gateway that connects to the Internet by using the Destination Network Address Translation (DNAT) feature.</li> * <li><strong>DB_CONNECTION</strong>: the public endpoint of a database.</li> * </ul> * * <strong>example:</strong> * <p>INTERNET_IP</p> */ public Builder exposureType(String exposureType) { this.exposureType = exposureType; return this; } /** * <p>The ID of the instance to which the resource belongs. The valid values of this parameter vary based on the value of the ExposureType parameter.</p> * <ul> * <li>If the value of the ExposureType parameter is <strong>INTERNET_IP</strong>, this parameter is empty.</li> * <li>If the value of the ExposureType parameter is <strong>SLB</strong>, the value of this parameter is the ID of the SLB instance.</li> * <li>If the value of the ExposureType parameter is <strong>EIP</strong>, the value of this parameter is the ID of the EIP.</li> * <li>If the value of the ExposureType parameter is <strong>DNAT</strong>, the value of this parameter is the ID of the NAT gateway.</li> * <li>If the value of the ExposureType parameter is <strong>DB_CONNECTION</strong>, the value of this parameter is the ID of the database.</li> * </ul> * * <strong>example:</strong> * <p>i-ew11313a****</p> */ public Builder exposureTypeId(String exposureTypeId) { this.exposureTypeId = exposureTypeId; return this; } /** * <p>The ID of the server group.</p> * * <strong>example:</strong> * <p>9469268</p> */ public Builder groupId(Long groupId) { this.groupId = groupId; return this; } /** * <p>The name of the server group.</p> * * <strong>example:</strong> * <p>testGroup</p> */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * <p>The instance ID of the asset.</p> * * <strong>example:</strong> * <p>i-bp1g6wxdwps7s9dz****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the asset.</p> * * <strong>example:</strong> * <p>abc_centos7.2_005</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>116.12.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The number of medium-severity vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder laterVulCount(Integer laterVulCount) { this.laterVulCount = laterVulCount; return this; } /** * <p>The number of low-severity vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder nntfVulCount(Integer nntfVulCount) { this.nntfVulCount = nntfVulCount; return this; } /** * <p>The ID of the region in which the asset resides.</p> * <blockquote> * <p> For more information about the mapping between region IDs and region names, see <a href="https://help.aliyun.com/document_detail/40654.html">Regions and zones</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The total number of vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder totalVulCount(Integer totalVulCount) { this.totalVulCount = totalVulCount; return this; } /** * <p>The UUID of the server or the instance ID of the cloud service.</p> * * <strong>example:</strong> * <p>dd803d9e-a337-4add-9c5b-7d503e08****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public ExposedInstances build() { return new ExposedInstances(this); } } } /** * * {@link DescribeExposedInstanceListResponseBody} extends {@link TeaModel} * * <p>DescribeExposedInstanceListResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedStatisticsDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedStatisticsDetailRequest} extends {@link RequestModel} * * <p>DescribeExposedStatisticsDetailRequest</p> */ public class DescribeExposedStatisticsDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatisticsType") @com.aliyun.core.annotation.Validation(required = true) private String statisticsType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatisticsTypeGatewayType") private String statisticsTypeGatewayType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatisticsTypeInstanceValue") private String statisticsTypeInstanceValue; private DescribeExposedStatisticsDetailRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.statisticsType = builder.statisticsType; this.statisticsTypeGatewayType = builder.statisticsTypeGatewayType; this.statisticsTypeInstanceValue = builder.statisticsTypeInstanceValue; } public static Builder builder() { return new Builder(); } public static DescribeExposedStatisticsDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return statisticsType */ public String getStatisticsType() { return this.statisticsType; } /** * @return statisticsTypeGatewayType */ public String getStatisticsTypeGatewayType() { return this.statisticsTypeGatewayType; } /** * @return statisticsTypeInstanceValue */ public String getStatisticsTypeInstanceValue() { return this.statisticsTypeInstanceValue; } public static final class Builder extends Request.Builder<DescribeExposedStatisticsDetailRequest, Builder> { private Integer currentPage; private Integer pageSize; private Long resourceDirectoryAccountId; private String statisticsType; private String statisticsTypeGatewayType; private String statisticsTypeInstanceValue; private Builder() { super(); } private Builder(DescribeExposedStatisticsDetailRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.statisticsType = request.statisticsType; this.statisticsTypeGatewayType = request.statisticsTypeGatewayType; this.statisticsTypeInstanceValue = request.statisticsTypeInstanceValue; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The type of the exposed asset. Valid values:</p> * <ul> * <li><strong>exposureType</strong>: gateway assets</li> * <li><strong>exposurePort</strong>: ports</li> * <li><strong>exposureComponent</strong>: system components</li> * <li><strong>exposureIp</strong>: IP addresses</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>exposureType</p> */ public Builder statisticsType(String statisticsType) { this.putQueryParameter("StatisticsType", statisticsType); this.statisticsType = statisticsType; return this; } /** * <p>The type of the gateway asset. This parameter is required when the <strong>StatisticsType</strong> parameter is set to <strong>exposureType</strong>. Valid values:</p> * <ul> * <li><strong>SLB</strong>: the public IP address of a Server Load Balancer (SLB) instance</li> * <li><strong>DNAT</strong>: the NAT gateway that connects to the Internet by using the DNAT feature</li> * </ul> * * <strong>example:</strong> * <p>SLB</p> */ public Builder statisticsTypeGatewayType(String statisticsTypeGatewayType) { this.putQueryParameter("StatisticsTypeGatewayType", statisticsTypeGatewayType); this.statisticsTypeGatewayType = statisticsTypeGatewayType; return this; } /** * <p>The ID of the gateway asset. This parameter is required when the <strong>StatisticsType</strong> parameter is set to <strong>exposureType</strong>.</p> * * <strong>example:</strong> * <p>lb-2ze4rso39h4nczcqs****</p> */ public Builder statisticsTypeInstanceValue(String statisticsTypeInstanceValue) { this.putQueryParameter("StatisticsTypeInstanceValue", statisticsTypeInstanceValue); this.statisticsTypeInstanceValue = statisticsTypeInstanceValue; return this; } @Override public DescribeExposedStatisticsDetailRequest build() { return new DescribeExposedStatisticsDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedStatisticsDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedStatisticsDetailResponse} extends {@link TeaModel} * * <p>DescribeExposedStatisticsDetailResponse</p> */ public class DescribeExposedStatisticsDetailResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExposedStatisticsDetailResponseBody body; private DescribeExposedStatisticsDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExposedStatisticsDetailResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExposedStatisticsDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExposedStatisticsDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExposedStatisticsDetailResponseBody body); @Override DescribeExposedStatisticsDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExposedStatisticsDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExposedStatisticsDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExposedStatisticsDetailResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExposedStatisticsDetailResponseBody body) { this.body = body; return this; } @Override public DescribeExposedStatisticsDetailResponse build() { return new DescribeExposedStatisticsDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedStatisticsDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedStatisticsDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedStatisticsDetailResponseBody</p> */ public class DescribeExposedStatisticsDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StatisticsDetails") private java.util.List<StatisticsDetails> statisticsDetails; private DescribeExposedStatisticsDetailResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.statisticsDetails = builder.statisticsDetails; } public static Builder builder() { return new Builder(); } public static DescribeExposedStatisticsDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return statisticsDetails */ public java.util.List<StatisticsDetails> getStatisticsDetails() { return this.statisticsDetails; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<StatisticsDetails> statisticsDetails; private Builder() { } private Builder(DescribeExposedStatisticsDetailResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.statisticsDetails = model.statisticsDetails; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array consisting of the gateway assets, ports, system components, or public IP addresses that are exposed on the Internet and are returned.</p> */ public Builder statisticsDetails(java.util.List<StatisticsDetails> statisticsDetails) { this.statisticsDetails = statisticsDetails; return this; } public DescribeExposedStatisticsDetailResponseBody build() { return new DescribeExposedStatisticsDetailResponseBody(this); } } /** * * {@link DescribeExposedStatisticsDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedStatisticsDetailResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribeExposedStatisticsDetailResponseBody} extends {@link TeaModel} * * <p>DescribeExposedStatisticsDetailResponseBody</p> */ public static class StatisticsDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExposedCount") private Integer exposedCount; @com.aliyun.core.annotation.NameInMap("ExposureComponent") private String exposureComponent; @com.aliyun.core.annotation.NameInMap("ExposureIp") private String exposureIp; @com.aliyun.core.annotation.NameInMap("ExposurePort") private String exposurePort; @com.aliyun.core.annotation.NameInMap("ExposureType") private String exposureType; @com.aliyun.core.annotation.NameInMap("ExposureTypeId") private String exposureTypeId; @com.aliyun.core.annotation.NameInMap("ExposureTypeInstanceName") private String exposureTypeInstanceName; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private StatisticsDetails(Builder builder) { this.exposedCount = builder.exposedCount; this.exposureComponent = builder.exposureComponent; this.exposureIp = builder.exposureIp; this.exposurePort = builder.exposurePort; this.exposureType = builder.exposureType; this.exposureTypeId = builder.exposureTypeId; this.exposureTypeInstanceName = builder.exposureTypeInstanceName; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static StatisticsDetails create() { return builder().build(); } /** * @return exposedCount */ public Integer getExposedCount() { return this.exposedCount; } /** * @return exposureComponent */ public String getExposureComponent() { return this.exposureComponent; } /** * @return exposureIp */ public String getExposureIp() { return this.exposureIp; } /** * @return exposurePort */ public String getExposurePort() { return this.exposurePort; } /** * @return exposureType */ public String getExposureType() { return this.exposureType; } /** * @return exposureTypeId */ public String getExposureTypeId() { return this.exposureTypeId; } /** * @return exposureTypeInstanceName */ public String getExposureTypeInstanceName() { return this.exposureTypeInstanceName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private Integer exposedCount; private String exposureComponent; private String exposureIp; private String exposurePort; private String exposureType; private String exposureTypeId; private String exposureTypeInstanceName; private String regionId; private Builder() { } private Builder(StatisticsDetails model) { this.exposedCount = model.exposedCount; this.exposureComponent = model.exposureComponent; this.exposureIp = model.exposureIp; this.exposurePort = model.exposurePort; this.exposureType = model.exposureType; this.exposureTypeId = model.exposureTypeId; this.exposureTypeInstanceName = model.exposureTypeInstanceName; this.regionId = model.regionId; } /** * <p>The total number of system vulnerabilities that are detected on your server and are exposed on the Internet.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder exposedCount(Integer exposedCount) { this.exposedCount = exposedCount; return this; } /** * <p>The system component that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>tomcat</p> */ public Builder exposureComponent(String exposureComponent) { this.exposureComponent = exposureComponent; return this; } /** * <p>The public IP address that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>123.57.XX.XX</p> */ public Builder exposureIp(String exposureIp) { this.exposureIp = exposureIp; return this; } /** * <p>The port that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder exposurePort(String exposurePort) { this.exposurePort = exposurePort; return this; } /** * <p>The resource from which the asset is exposed. Valid values:</p> * <ul> * <li><strong>INTERNET_IP</strong>: the IP address of the Elastic Compute Service (ECS) instance</li> * <li><strong>SLB</strong>: the public IP address of the SLB instance</li> * <li><strong>EIP</strong>: the elastic IP address (EIP)</li> * <li><strong>DNAT</strong>: the NAT gateway that connects to the Internet by using the DNAT feature</li> * </ul> * * <strong>example:</strong> * <p>SLB</p> */ public Builder exposureType(String exposureType) { this.exposureType = exposureType; return this; } /** * <p>The ID of the instance to which the resource belongs. The valid values of this parameter vary based on the value of the ExposureType parameter.</p> * <ul> * <li>If the value of the <strong>ExposureType</strong> parameter is <strong>INTERNET_IP</strong>, the value of this parameter is an empty string.</li> * <li>If the value of the <strong>ExposureType</strong> parameter is <strong>SLB</strong>, the value of this parameter is the ID of the Internet-facing SLB instance.</li> * <li>If the value of the <strong>ExposureType</strong> parameter is <strong>EIP</strong>, the value of this parameter is the ID of the EIP.</li> * <li>If the value of the <strong>ExposureType</strong> parameter is <strong>DNAT</strong>, the value of this parameter is the ID of the NAT gateway.</li> * </ul> * * <strong>example:</strong> * <p>lb-2ze4rso39h4nczcqs****</p> */ public Builder exposureTypeId(String exposureTypeId) { this.exposureTypeId = exposureTypeId; return this; } /** * <p>The name of the gateway asset that is exposed on the Internet.</p> * * <strong>example:</strong> * <p>ngw-bp1vkbju8f3w87c9v****</p> */ public Builder exposureTypeInstanceName(String exposureTypeInstanceName) { this.exposureTypeInstanceName = exposureTypeInstanceName; return this; } /** * <p>The region ID of the asset.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public StatisticsDetails build() { return new StatisticsDetails(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedStatisticsRequest} extends {@link RequestModel} * * <p>DescribeExposedStatisticsRequest</p> */ public class DescribeExposedStatisticsRequest extends Request { private DescribeExposedStatisticsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeExposedStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeExposedStatisticsRequest, Builder> { private Builder() { super(); } private Builder(DescribeExposedStatisticsRequest request) { super(request); } @Override public DescribeExposedStatisticsRequest build() { return new DescribeExposedStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedStatisticsResponse} extends {@link TeaModel} * * <p>DescribeExposedStatisticsResponse</p> */ public class DescribeExposedStatisticsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeExposedStatisticsResponseBody body; private DescribeExposedStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeExposedStatisticsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeExposedStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeExposedStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeExposedStatisticsResponseBody body); @Override DescribeExposedStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeExposedStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeExposedStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeExposedStatisticsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeExposedStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeExposedStatisticsResponse build() { return new DescribeExposedStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeExposedStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeExposedStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeExposedStatisticsResponseBody</p> */ public class DescribeExposedStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExposedAsapVulCount") private Integer exposedAsapVulCount; @com.aliyun.core.annotation.NameInMap("ExposedComponentCount") private Integer exposedComponentCount; @com.aliyun.core.annotation.NameInMap("ExposedDdsCount") private Integer exposedDdsCount; @com.aliyun.core.annotation.NameInMap("ExposedEcsCount") private Integer exposedEcsCount; @com.aliyun.core.annotation.NameInMap("ExposedInstanceCount") private Integer exposedInstanceCount; @com.aliyun.core.annotation.NameInMap("ExposedIpCount") private Integer exposedIpCount; @com.aliyun.core.annotation.NameInMap("ExposedKvstoreCount") private Integer exposedKvstoreCount; @com.aliyun.core.annotation.NameInMap("ExposedLaterVulCount") private Integer exposedLaterVulCount; @com.aliyun.core.annotation.NameInMap("ExposedNntfVulCount") private Integer exposedNntfVulCount; @com.aliyun.core.annotation.NameInMap("ExposedPortCount") private Integer exposedPortCount; @com.aliyun.core.annotation.NameInMap("ExposedRdsCount") private Integer exposedRdsCount; @com.aliyun.core.annotation.NameInMap("ExposedWeekPasswordMachineCount") private Integer exposedWeekPasswordMachineCount; @com.aliyun.core.annotation.NameInMap("GatewayAssetCount") private Integer gatewayAssetCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeExposedStatisticsResponseBody(Builder builder) { this.exposedAsapVulCount = builder.exposedAsapVulCount; this.exposedComponentCount = builder.exposedComponentCount; this.exposedDdsCount = builder.exposedDdsCount; this.exposedEcsCount = builder.exposedEcsCount; this.exposedInstanceCount = builder.exposedInstanceCount; this.exposedIpCount = builder.exposedIpCount; this.exposedKvstoreCount = builder.exposedKvstoreCount; this.exposedLaterVulCount = builder.exposedLaterVulCount; this.exposedNntfVulCount = builder.exposedNntfVulCount; this.exposedPortCount = builder.exposedPortCount; this.exposedRdsCount = builder.exposedRdsCount; this.exposedWeekPasswordMachineCount = builder.exposedWeekPasswordMachineCount; this.gatewayAssetCount = builder.gatewayAssetCount; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeExposedStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return exposedAsapVulCount */ public Integer getExposedAsapVulCount() { return this.exposedAsapVulCount; } /** * @return exposedComponentCount */ public Integer getExposedComponentCount() { return this.exposedComponentCount; } /** * @return exposedDdsCount */ public Integer getExposedDdsCount() { return this.exposedDdsCount; } /** * @return exposedEcsCount */ public Integer getExposedEcsCount() { return this.exposedEcsCount; } /** * @return exposedInstanceCount */ public Integer getExposedInstanceCount() { return this.exposedInstanceCount; } /** * @return exposedIpCount */ public Integer getExposedIpCount() { return this.exposedIpCount; } /** * @return exposedKvstoreCount */ public Integer getExposedKvstoreCount() { return this.exposedKvstoreCount; } /** * @return exposedLaterVulCount */ public Integer getExposedLaterVulCount() { return this.exposedLaterVulCount; } /** * @return exposedNntfVulCount */ public Integer getExposedNntfVulCount() { return this.exposedNntfVulCount; } /** * @return exposedPortCount */ public Integer getExposedPortCount() { return this.exposedPortCount; } /** * @return exposedRdsCount */ public Integer getExposedRdsCount() { return this.exposedRdsCount; } /** * @return exposedWeekPasswordMachineCount */ public Integer getExposedWeekPasswordMachineCount() { return this.exposedWeekPasswordMachineCount; } /** * @return gatewayAssetCount */ public Integer getGatewayAssetCount() { return this.gatewayAssetCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer exposedAsapVulCount; private Integer exposedComponentCount; private Integer exposedDdsCount; private Integer exposedEcsCount; private Integer exposedInstanceCount; private Integer exposedIpCount; private Integer exposedKvstoreCount; private Integer exposedLaterVulCount; private Integer exposedNntfVulCount; private Integer exposedPortCount; private Integer exposedRdsCount; private Integer exposedWeekPasswordMachineCount; private Integer gatewayAssetCount; private String requestId; private Builder() { } private Builder(DescribeExposedStatisticsResponseBody model) { this.exposedAsapVulCount = model.exposedAsapVulCount; this.exposedComponentCount = model.exposedComponentCount; this.exposedDdsCount = model.exposedDdsCount; this.exposedEcsCount = model.exposedEcsCount; this.exposedInstanceCount = model.exposedInstanceCount; this.exposedIpCount = model.exposedIpCount; this.exposedKvstoreCount = model.exposedKvstoreCount; this.exposedLaterVulCount = model.exposedLaterVulCount; this.exposedNntfVulCount = model.exposedNntfVulCount; this.exposedPortCount = model.exposedPortCount; this.exposedRdsCount = model.exposedRdsCount; this.exposedWeekPasswordMachineCount = model.exposedWeekPasswordMachineCount; this.gatewayAssetCount = model.gatewayAssetCount; this.requestId = model.requestId; } /** * <p>The total number of high-risk vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder exposedAsapVulCount(Integer exposedAsapVulCount) { this.exposedAsapVulCount = exposedAsapVulCount; return this; } /** * <p>The total number of system components that are exposed on the Internet. The components include OpenSSL and OpenSSH.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder exposedComponentCount(Integer exposedComponentCount) { this.exposedComponentCount = exposedComponentCount; return this; } /** * <p>The number of ApsaraDB for MongoDB instances that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder exposedDdsCount(Integer exposedDdsCount) { this.exposedDdsCount = exposedDdsCount; return this; } /** * <p>The number of Elastic Compute Service (ECS) instances that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder exposedEcsCount(Integer exposedEcsCount) { this.exposedEcsCount = exposedEcsCount; return this; } /** * <p>The total number of assets that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder exposedInstanceCount(Integer exposedInstanceCount) { this.exposedInstanceCount = exposedInstanceCount; return this; } /** * <p>The total number of IP addresses that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder exposedIpCount(Integer exposedIpCount) { this.exposedIpCount = exposedIpCount; return this; } /** * <p>The number of ApsaraDB for Redis instances that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder exposedKvstoreCount(Integer exposedKvstoreCount) { this.exposedKvstoreCount = exposedKvstoreCount; return this; } /** * <p>The total number of medium-risk vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder exposedLaterVulCount(Integer exposedLaterVulCount) { this.exposedLaterVulCount = exposedLaterVulCount; return this; } /** * <p>The total number of low-risk vulnerabilities that are exposed on the Internet and can be exploited by attackers.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder exposedNntfVulCount(Integer exposedNntfVulCount) { this.exposedNntfVulCount = exposedNntfVulCount; return this; } /** * <p>The total number of ports that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>6</p> */ public Builder exposedPortCount(Integer exposedPortCount) { this.exposedPortCount = exposedPortCount; return this; } /** * <p>The number of ApsaraDB RDS instances that are exposed on the Internet.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder exposedRdsCount(Integer exposedRdsCount) { this.exposedRdsCount = exposedRdsCount; return this; } /** * <p>The total number of system keys that are detected on your servers and are exposed on the Internet.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder exposedWeekPasswordMachineCount(Integer exposedWeekPasswordMachineCount) { this.exposedWeekPasswordMachineCount = exposedWeekPasswordMachineCount; return this; } /** * <p>The total number of gateway assets that are exposed on the Internet. The gateway assets include NAT gateways and Server Load Balancer (SLB) instances.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder gatewayAssetCount(Integer gatewayAssetCount) { this.gatewayAssetCount = gatewayAssetCount; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>4B897D10-B3CD-4A93-A5FA-591F3ED12A86</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeExposedStatisticsResponseBody build() { return new DescribeExposedStatisticsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFieldStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFieldStatisticsRequest} extends {@link RequestModel} * * <p>DescribeFieldStatisticsRequest</p> */ public class DescribeFieldStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineTypes") private String machineTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; private DescribeFieldStatisticsRequest(Builder builder) { super(builder); this.machineTypes = builder.machineTypes; this.regionId = builder.regionId; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; } public static Builder builder() { return new Builder(); } public static DescribeFieldStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return machineTypes */ public String getMachineTypes() { return this.machineTypes; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } public static final class Builder extends Request.Builder<DescribeFieldStatisticsRequest, Builder> { private String machineTypes; private String regionId; private Long resourceDirectoryAccountId; private Builder() { super(); } private Builder(DescribeFieldStatisticsRequest request) { super(request); this.machineTypes = request.machineTypes; this.regionId = request.regionId; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; } /** * <p>The type of the asset to query. If no asset types are specified, all types of assets are returned. Valid values:</p> * <ul> * <li><strong>ecs</strong>: server</li> * <li><strong>cloud_product</strong>: Alibaba Cloud service</li> * </ul> * * <strong>example:</strong> * <p>ecs</p> */ public Builder machineTypes(String machineTypes) { this.putQueryParameter("MachineTypes", machineTypes); this.machineTypes = machineTypes; return this; } /** * <p>The ID of the region in which the asset resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the primary account of the Resource Directory member account.</p> * <blockquote> * <p>call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> interface to obtain this parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>1232428423234****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } @Override public DescribeFieldStatisticsRequest build() { return new DescribeFieldStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFieldStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFieldStatisticsResponse} extends {@link TeaModel} * * <p>DescribeFieldStatisticsResponse</p> */ public class DescribeFieldStatisticsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeFieldStatisticsResponseBody body; private DescribeFieldStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeFieldStatisticsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeFieldStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeFieldStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeFieldStatisticsResponseBody body); @Override DescribeFieldStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeFieldStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeFieldStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeFieldStatisticsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeFieldStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeFieldStatisticsResponse build() { return new DescribeFieldStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFieldStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFieldStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeFieldStatisticsResponseBody</p> */ public class DescribeFieldStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupedFields") private GroupedFields groupedFields; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeFieldStatisticsResponseBody(Builder builder) { this.groupedFields = builder.groupedFields; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeFieldStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return groupedFields */ public GroupedFields getGroupedFields() { return this.groupedFields; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private GroupedFields groupedFields; private String requestId; private Builder() { } private Builder(DescribeFieldStatisticsResponseBody model) { this.groupedFields = model.groupedFields; this.requestId = model.requestId; } /** * <p>The information about servers that are returned.</p> */ public Builder groupedFields(GroupedFields groupedFields) { this.groupedFields = groupedFields; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeFieldStatisticsResponseBody build() { return new DescribeFieldStatisticsResponseBody(this); } } /** * * {@link DescribeFieldStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeFieldStatisticsResponseBody</p> */ public static class GroupedFields extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliYunInstanceCount") private Integer aliYunInstanceCount; @com.aliyun.core.annotation.NameInMap("AwsInstanceCount") private Integer awsInstanceCount; @com.aliyun.core.annotation.NameInMap("AzureInstanceCount") private Integer azureInstanceCount; @com.aliyun.core.annotation.NameInMap("ExposedInstanceCoreCount") private Long exposedInstanceCoreCount; @com.aliyun.core.annotation.NameInMap("ExposedInstanceCount") private Integer exposedInstanceCount; @com.aliyun.core.annotation.NameInMap("GeneralAssetCount") private Integer generalAssetCount; @com.aliyun.core.annotation.NameInMap("GoogleInstanceCount") private Integer googleInstanceCount; @com.aliyun.core.annotation.NameInMap("GroupCount") private Integer groupCount; @com.aliyun.core.annotation.NameInMap("HuaweiInstanceCount") private Integer huaweiInstanceCount; @com.aliyun.core.annotation.NameInMap("IdcInstanceCount") private Integer idcInstanceCount; @com.aliyun.core.annotation.NameInMap("ImportantAssetCount") private Integer importantAssetCount; @com.aliyun.core.annotation.NameInMap("InstanceCoreCount") private Long instanceCoreCount; @com.aliyun.core.annotation.NameInMap("InstanceCount") private Integer instanceCount; @com.aliyun.core.annotation.NameInMap("InstanceSyncTaskCount") private Integer instanceSyncTaskCount; @com.aliyun.core.annotation.NameInMap("NewInstanceCoreCount") private Long newInstanceCoreCount; @com.aliyun.core.annotation.NameInMap("NewInstanceCount") private Integer newInstanceCount; @com.aliyun.core.annotation.NameInMap("NoRiskInstanceCount") private Integer noRiskInstanceCount; @com.aliyun.core.annotation.NameInMap("NotBindMachineInstanceCount") private Integer notBindMachineInstanceCount; @com.aliyun.core.annotation.NameInMap("NotRunningStatusCoreCount") private Long notRunningStatusCoreCount; @com.aliyun.core.annotation.NameInMap("NotRunningStatusCount") private Integer notRunningStatusCount; @com.aliyun.core.annotation.NameInMap("OfflineInstanceCount") private Integer offlineInstanceCount; @com.aliyun.core.annotation.NameInMap("OutMachineInstanceCount") private Integer outMachineInstanceCount; @com.aliyun.core.annotation.NameInMap("PauseInstanceCount") private Integer pauseInstanceCount; @com.aliyun.core.annotation.NameInMap("RegionCount") private Integer regionCount; @com.aliyun.core.annotation.NameInMap("RiskInstanceCoreCount") private Long riskInstanceCoreCount; @com.aliyun.core.annotation.NameInMap("RiskInstanceCount") private Integer riskInstanceCount; @com.aliyun.core.annotation.NameInMap("TencentInstanceCount") private Integer tencentInstanceCount; @com.aliyun.core.annotation.NameInMap("TestAssetCount") private Integer testAssetCount; @com.aliyun.core.annotation.NameInMap("TripartiteInstanceCount") private Integer tripartiteInstanceCount; @com.aliyun.core.annotation.NameInMap("UnKnowStatusInstanceCount") private Integer unKnowStatusInstanceCount; @com.aliyun.core.annotation.NameInMap("UnprotectedInstanceCoreCount") private Long unprotectedInstanceCoreCount; @com.aliyun.core.annotation.NameInMap("UnprotectedInstanceCount") private Integer unprotectedInstanceCount; @com.aliyun.core.annotation.NameInMap("VolcengineInstanceCount") private Integer volcengineInstanceCount; @com.aliyun.core.annotation.NameInMap("VpcCount") private Integer vpcCount; private GroupedFields(Builder builder) { this.aliYunInstanceCount = builder.aliYunInstanceCount; this.awsInstanceCount = builder.awsInstanceCount; this.azureInstanceCount = builder.azureInstanceCount; this.exposedInstanceCoreCount = builder.exposedInstanceCoreCount; this.exposedInstanceCount = builder.exposedInstanceCount; this.generalAssetCount = builder.generalAssetCount; this.googleInstanceCount = builder.googleInstanceCount; this.groupCount = builder.groupCount; this.huaweiInstanceCount = builder.huaweiInstanceCount; this.idcInstanceCount = builder.idcInstanceCount; this.importantAssetCount = builder.importantAssetCount; this.instanceCoreCount = builder.instanceCoreCount; this.instanceCount = builder.instanceCount; this.instanceSyncTaskCount = builder.instanceSyncTaskCount; this.newInstanceCoreCount = builder.newInstanceCoreCount; this.newInstanceCount = builder.newInstanceCount; this.noRiskInstanceCount = builder.noRiskInstanceCount; this.notBindMachineInstanceCount = builder.notBindMachineInstanceCount; this.notRunningStatusCoreCount = builder.notRunningStatusCoreCount; this.notRunningStatusCount = builder.notRunningStatusCount; this.offlineInstanceCount = builder.offlineInstanceCount; this.outMachineInstanceCount = builder.outMachineInstanceCount; this.pauseInstanceCount = builder.pauseInstanceCount; this.regionCount = builder.regionCount; this.riskInstanceCoreCount = builder.riskInstanceCoreCount; this.riskInstanceCount = builder.riskInstanceCount; this.tencentInstanceCount = builder.tencentInstanceCount; this.testAssetCount = builder.testAssetCount; this.tripartiteInstanceCount = builder.tripartiteInstanceCount; this.unKnowStatusInstanceCount = builder.unKnowStatusInstanceCount; this.unprotectedInstanceCoreCount = builder.unprotectedInstanceCoreCount; this.unprotectedInstanceCount = builder.unprotectedInstanceCount; this.volcengineInstanceCount = builder.volcengineInstanceCount; this.vpcCount = builder.vpcCount; } public static Builder builder() { return new Builder(); } public static GroupedFields create() { return builder().build(); } /** * @return aliYunInstanceCount */ public Integer getAliYunInstanceCount() { return this.aliYunInstanceCount; } /** * @return awsInstanceCount */ public Integer getAwsInstanceCount() { return this.awsInstanceCount; } /** * @return azureInstanceCount */ public Integer getAzureInstanceCount() { return this.azureInstanceCount; } /** * @return exposedInstanceCoreCount */ public Long getExposedInstanceCoreCount() { return this.exposedInstanceCoreCount; } /** * @return exposedInstanceCount */ public Integer getExposedInstanceCount() { return this.exposedInstanceCount; } /** * @return generalAssetCount */ public Integer getGeneralAssetCount() { return this.generalAssetCount; } /** * @return googleInstanceCount */ public Integer getGoogleInstanceCount() { return this.googleInstanceCount; } /** * @return groupCount */ public Integer getGroupCount() { return this.groupCount; } /** * @return huaweiInstanceCount */ public Integer getHuaweiInstanceCount() { return this.huaweiInstanceCount; } /** * @return idcInstanceCount */ public Integer getIdcInstanceCount() { return this.idcInstanceCount; } /** * @return importantAssetCount */ public Integer getImportantAssetCount() { return this.importantAssetCount; } /** * @return instanceCoreCount */ public Long getInstanceCoreCount() { return this.instanceCoreCount; } /** * @return instanceCount */ public Integer getInstanceCount() { return this.instanceCount; } /** * @return instanceSyncTaskCount */ public Integer getInstanceSyncTaskCount() { return this.instanceSyncTaskCount; } /** * @return newInstanceCoreCount */ public Long getNewInstanceCoreCount() { return this.newInstanceCoreCount; } /** * @return newInstanceCount */ public Integer getNewInstanceCount() { return this.newInstanceCount; } /** * @return noRiskInstanceCount */ public Integer getNoRiskInstanceCount() { return this.noRiskInstanceCount; } /** * @return notBindMachineInstanceCount */ public Integer getNotBindMachineInstanceCount() { return this.notBindMachineInstanceCount; } /** * @return notRunningStatusCoreCount */ public Long getNotRunningStatusCoreCount() { return this.notRunningStatusCoreCount; } /** * @return notRunningStatusCount */ public Integer getNotRunningStatusCount() { return this.notRunningStatusCount; } /** * @return offlineInstanceCount */ public Integer getOfflineInstanceCount() { return this.offlineInstanceCount; } /** * @return outMachineInstanceCount */ public Integer getOutMachineInstanceCount() { return this.outMachineInstanceCount; } /** * @return pauseInstanceCount */ public Integer getPauseInstanceCount() { return this.pauseInstanceCount; } /** * @return regionCount */ public Integer getRegionCount() { return this.regionCount; } /** * @return riskInstanceCoreCount */ public Long getRiskInstanceCoreCount() { return this.riskInstanceCoreCount; } /** * @return riskInstanceCount */ public Integer getRiskInstanceCount() { return this.riskInstanceCount; } /** * @return tencentInstanceCount */ public Integer getTencentInstanceCount() { return this.tencentInstanceCount; } /** * @return testAssetCount */ public Integer getTestAssetCount() { return this.testAssetCount; } /** * @return tripartiteInstanceCount */ public Integer getTripartiteInstanceCount() { return this.tripartiteInstanceCount; } /** * @return unKnowStatusInstanceCount */ public Integer getUnKnowStatusInstanceCount() { return this.unKnowStatusInstanceCount; } /** * @return unprotectedInstanceCoreCount */ public Long getUnprotectedInstanceCoreCount() { return this.unprotectedInstanceCoreCount; } /** * @return unprotectedInstanceCount */ public Integer getUnprotectedInstanceCount() { return this.unprotectedInstanceCount; } /** * @return volcengineInstanceCount */ public Integer getVolcengineInstanceCount() { return this.volcengineInstanceCount; } /** * @return vpcCount */ public Integer getVpcCount() { return this.vpcCount; } public static final class Builder { private Integer aliYunInstanceCount; private Integer awsInstanceCount; private Integer azureInstanceCount; private Long exposedInstanceCoreCount; private Integer exposedInstanceCount; private Integer generalAssetCount; private Integer googleInstanceCount; private Integer groupCount; private Integer huaweiInstanceCount; private Integer idcInstanceCount; private Integer importantAssetCount; private Long instanceCoreCount; private Integer instanceCount; private Integer instanceSyncTaskCount; private Long newInstanceCoreCount; private Integer newInstanceCount; private Integer noRiskInstanceCount; private Integer notBindMachineInstanceCount; private Long notRunningStatusCoreCount; private Integer notRunningStatusCount; private Integer offlineInstanceCount; private Integer outMachineInstanceCount; private Integer pauseInstanceCount; private Integer regionCount; private Long riskInstanceCoreCount; private Integer riskInstanceCount; private Integer tencentInstanceCount; private Integer testAssetCount; private Integer tripartiteInstanceCount; private Integer unKnowStatusInstanceCount; private Long unprotectedInstanceCoreCount; private Integer unprotectedInstanceCount; private Integer volcengineInstanceCount; private Integer vpcCount; private Builder() { } private Builder(GroupedFields model) { this.aliYunInstanceCount = model.aliYunInstanceCount; this.awsInstanceCount = model.awsInstanceCount; this.azureInstanceCount = model.azureInstanceCount; this.exposedInstanceCoreCount = model.exposedInstanceCoreCount; this.exposedInstanceCount = model.exposedInstanceCount; this.generalAssetCount = model.generalAssetCount; this.googleInstanceCount = model.googleInstanceCount; this.groupCount = model.groupCount; this.huaweiInstanceCount = model.huaweiInstanceCount; this.idcInstanceCount = model.idcInstanceCount; this.importantAssetCount = model.importantAssetCount; this.instanceCoreCount = model.instanceCoreCount; this.instanceCount = model.instanceCount; this.instanceSyncTaskCount = model.instanceSyncTaskCount; this.newInstanceCoreCount = model.newInstanceCoreCount; this.newInstanceCount = model.newInstanceCount; this.noRiskInstanceCount = model.noRiskInstanceCount; this.notBindMachineInstanceCount = model.notBindMachineInstanceCount; this.notRunningStatusCoreCount = model.notRunningStatusCoreCount; this.notRunningStatusCount = model.notRunningStatusCount; this.offlineInstanceCount = model.offlineInstanceCount; this.outMachineInstanceCount = model.outMachineInstanceCount; this.pauseInstanceCount = model.pauseInstanceCount; this.regionCount = model.regionCount; this.riskInstanceCoreCount = model.riskInstanceCoreCount; this.riskInstanceCount = model.riskInstanceCount; this.tencentInstanceCount = model.tencentInstanceCount; this.testAssetCount = model.testAssetCount; this.tripartiteInstanceCount = model.tripartiteInstanceCount; this.unKnowStatusInstanceCount = model.unKnowStatusInstanceCount; this.unprotectedInstanceCoreCount = model.unprotectedInstanceCoreCount; this.unprotectedInstanceCount = model.unprotectedInstanceCount; this.volcengineInstanceCount = model.volcengineInstanceCount; this.vpcCount = model.vpcCount; } /** * <p>The number of assets that are deployed on Alibaba Cloud.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder aliYunInstanceCount(Integer aliYunInstanceCount) { this.aliYunInstanceCount = aliYunInstanceCount; return this; } /** * <p>The number of servers.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder awsInstanceCount(Integer awsInstanceCount) { this.awsInstanceCount = awsInstanceCount; return this; } /** * <p>The number of third-party cloud servers.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder azureInstanceCount(Integer azureInstanceCount) { this.azureInstanceCount = azureInstanceCount; return this; } /** * <p>The number of cores of exposed assets.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder exposedInstanceCoreCount(Long exposedInstanceCoreCount) { this.exposedInstanceCoreCount = exposedInstanceCoreCount; return this; } /** * <p>The number of exposed servers.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder exposedInstanceCount(Integer exposedInstanceCount) { this.exposedInstanceCount = exposedInstanceCount; return this; } /** * <p>The number of assets whose importance is common.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder generalAssetCount(Integer generalAssetCount) { this.generalAssetCount = generalAssetCount; return this; } /** * <p>The number of instances that are provisioned by third-party providers.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder googleInstanceCount(Integer googleInstanceCount) { this.googleInstanceCount = googleInstanceCount; return this; } /** * <p>The number of server groups.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder groupCount(Integer groupCount) { this.groupCount = groupCount; return this; } /** * <p>The number of instances that are provisioned by third-party providers.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder huaweiInstanceCount(Integer huaweiInstanceCount) { this.huaweiInstanceCount = huaweiInstanceCount; return this; } /** * <p>The number of assets that can be protected by Security Center.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder idcInstanceCount(Integer idcInstanceCount) { this.idcInstanceCount = idcInstanceCount; return this; } /** * <p>The number of assets whose importance is important.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder importantAssetCount(Integer importantAssetCount) { this.importantAssetCount = importantAssetCount; return this; } /** * <p>The number of cores of assets in the specified asset type. If the asset type is not specified, the value of this parameter indicates the total number of cores of servers and Alibaba Cloud services within your account.</p> * * <strong>example:</strong> * <p>301</p> */ public Builder instanceCoreCount(Long instanceCoreCount) { this.instanceCoreCount = instanceCoreCount; return this; } /** * <p>The total number of assets of the specified type. If no asset types are specified, this parameter indicates the total number of all servers and Alibaba Cloud services within your account.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder instanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } /** * <p>The total number of tasks for the specified type of assets. If no asset types are specified, this parameter indicates the total number of all servers and Alibaba Cloud services within your account.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder instanceSyncTaskCount(Integer instanceSyncTaskCount) { this.instanceSyncTaskCount = instanceSyncTaskCount; return this; } /** * <p>The number of cores of new servers.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder newInstanceCoreCount(Long newInstanceCoreCount) { this.newInstanceCoreCount = newInstanceCoreCount; return this; } /** * <p>The number of newly added servers.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder newInstanceCount(Integer newInstanceCount) { this.newInstanceCount = newInstanceCount; return this; } /** * <p>The number of servers on which no risks are detected.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder noRiskInstanceCount(Integer noRiskInstanceCount) { this.noRiskInstanceCount = noRiskInstanceCount; return this; } /** * <p>The number of assets that are not added to Security Center of the specified asset type.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder notBindMachineInstanceCount(Integer notBindMachineInstanceCount) { this.notBindMachineInstanceCount = notBindMachineInstanceCount; return this; } /** * <p>The number of cores of servers that are not started.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder notRunningStatusCoreCount(Long notRunningStatusCoreCount) { this.notRunningStatusCoreCount = notRunningStatusCoreCount; return this; } /** * <p>The number of servers that are shut down.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder notRunningStatusCount(Integer notRunningStatusCount) { this.notRunningStatusCount = notRunningStatusCount; return this; } /** * <p>The number of servers whose Security Center agent status is Offline.</p> * * <strong>example:</strong> * <p>21</p> */ public Builder offlineInstanceCount(Integer offlineInstanceCount) { this.offlineInstanceCount = offlineInstanceCount; return this; } /** * <p>The number of servers outside the cloud.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder outMachineInstanceCount(Integer outMachineInstanceCount) { this.outMachineInstanceCount = outMachineInstanceCount; return this; } /** * <p>The number of servers for which the Security Center agent suspends protection.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pauseInstanceCount(Integer pauseInstanceCount) { this.pauseInstanceCount = pauseInstanceCount; return this; } /** * <p>The number of regions to which the servers belong.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder regionCount(Integer regionCount) { this.regionCount = regionCount; return this; } /** * <p>The number of cores of vulnerable assets.</p> * * <strong>example:</strong> * <p>201</p> */ public Builder riskInstanceCoreCount(Long riskInstanceCoreCount) { this.riskInstanceCoreCount = riskInstanceCoreCount; return this; } /** * <p>The number of assets that are at risk.</p> * * <strong>example:</strong> * <p>90</p> */ public Builder riskInstanceCount(Integer riskInstanceCount) { this.riskInstanceCount = riskInstanceCount; return this; } /** * <p>The total number of cloud services that are protected by Security Center.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder tencentInstanceCount(Integer tencentInstanceCount) { this.tencentInstanceCount = tencentInstanceCount; return this; } /** * <p>The number of assets whose importance is test.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder testAssetCount(Integer testAssetCount) { this.testAssetCount = testAssetCount; return this; } /** * <p>The number of simple application servers.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder tripartiteInstanceCount(Integer tripartiteInstanceCount) { this.tripartiteInstanceCount = tripartiteInstanceCount; return this; } /** * <p>The number of servers that are in the Unknown state.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder unKnowStatusInstanceCount(Integer unKnowStatusInstanceCount) { this.unKnowStatusInstanceCount = unKnowStatusInstanceCount; return this; } /** * <p>The number of cores of unprotected assets.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder unprotectedInstanceCoreCount(Long unprotectedInstanceCoreCount) { this.unprotectedInstanceCoreCount = unprotectedInstanceCoreCount; return this; } /** * <p>The number of unprotected assets.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder unprotectedInstanceCount(Integer unprotectedInstanceCount) { this.unprotectedInstanceCount = unprotectedInstanceCount; return this; } /** * <p>The number of instances that are provisioned by third-party providers.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder volcengineInstanceCount(Integer volcengineInstanceCount) { this.volcengineInstanceCount = volcengineInstanceCount; return this; } /** * <p>The number of virtual private clouds (VPCs).</p> * * <strong>example:</strong> * <p>5</p> */ public Builder vpcCount(Integer vpcCount) { this.vpcCount = vpcCount; return this; } public GroupedFields build() { return new GroupedFields(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFixUsedCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFixUsedCountRequest} extends {@link RequestModel} * * <p>DescribeFixUsedCountRequest</p> */ public class DescribeFixUsedCountRequest extends Request { private DescribeFixUsedCountRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeFixUsedCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeFixUsedCountRequest, Builder> { private Builder() { super(); } private Builder(DescribeFixUsedCountRequest request) { super(request); } @Override public DescribeFixUsedCountRequest build() { return new DescribeFixUsedCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFixUsedCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFixUsedCountResponse} extends {@link TeaModel} * * <p>DescribeFixUsedCountResponse</p> */ public class DescribeFixUsedCountResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeFixUsedCountResponseBody body; private DescribeFixUsedCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeFixUsedCountResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeFixUsedCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeFixUsedCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeFixUsedCountResponseBody body); @Override DescribeFixUsedCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeFixUsedCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeFixUsedCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeFixUsedCountResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeFixUsedCountResponseBody body) { this.body = body; return this; } @Override public DescribeFixUsedCountResponse build() { return new DescribeFixUsedCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFixUsedCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFixUsedCountResponseBody} extends {@link TeaModel} * * <p>DescribeFixUsedCountResponseBody</p> */ public class DescribeFixUsedCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UsedCount") private Integer usedCount; @com.aliyun.core.annotation.NameInMap("UsedCountCn") private Integer usedCountCn; @com.aliyun.core.annotation.NameInMap("UsedCountSg") private Integer usedCountSg; private DescribeFixUsedCountResponseBody(Builder builder) { this.requestId = builder.requestId; this.usedCount = builder.usedCount; this.usedCountCn = builder.usedCountCn; this.usedCountSg = builder.usedCountSg; } public static Builder builder() { return new Builder(); } public static DescribeFixUsedCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return usedCount */ public Integer getUsedCount() { return this.usedCount; } /** * @return usedCountCn */ public Integer getUsedCountCn() { return this.usedCountCn; } /** * @return usedCountSg */ public Integer getUsedCountSg() { return this.usedCountSg; } public static final class Builder { private String requestId; private Integer usedCount; private Integer usedCountCn; private Integer usedCountSg; private Builder() { } private Builder(DescribeFixUsedCountResponseBody model) { this.requestId = model.requestId; this.usedCount = model.usedCount; this.usedCountCn = model.usedCountCn; this.usedCountSg = model.usedCountSg; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>CB1CE824-7F80-546D-8AF8-4A5209F9B698</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of vulnerabilities that are fixed by the vulnerability fixing feature.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder usedCount(Integer usedCount) { this.usedCount = usedCount; return this; } /** * <p>The number of vulnerabilities that are fixed by the vulnerability fixing feature in China.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder usedCountCn(Integer usedCountCn) { this.usedCountCn = usedCountCn; return this; } /** * <p>The number of vulnerabilities that are fixed by the vulnerability fixing feature outside China.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder usedCountSg(Integer usedCountSg) { this.usedCountSg = usedCountSg; return this; } public DescribeFixUsedCountResponseBody build() { return new DescribeFixUsedCountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFrontVulPatchListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFrontVulPatchListRequest} extends {@link RequestModel} * * <p>DescribeFrontVulPatchListRequest</p> */ public class DescribeFrontVulPatchListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Info") @com.aliyun.core.annotation.Validation(required = true) private String info; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperateType") @com.aliyun.core.annotation.Validation(required = true) private String operateType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private DescribeFrontVulPatchListRequest(Builder builder) { super(builder); this.info = builder.info; this.lang = builder.lang; this.operateType = builder.operateType; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeFrontVulPatchListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return info */ public String getInfo() { return this.info; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return operateType */ public String getOperateType() { return this.operateType; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeFrontVulPatchListRequest, Builder> { private String info; private String lang; private String operateType; private String type; private Builder() { super(); } private Builder(DescribeFrontVulPatchListRequest request) { super(request); this.info = request.info; this.lang = request.lang; this.operateType = request.operateType; this.type = request.type; } /** * <p>The information about the Windows system vulnerability. The value is a JSON string that contains the following fields:</p> * <ul> * <li><strong>name</strong>: the name of the vulnerability.</li> * <li><strong>uuid</strong>: the UUID of the server on which the vulnerability is detected.</li> * <li><strong>tag</strong>: the tag that is added to the vulnerability. Set this field to <strong>system</strong>, which indicates Windows system vulnerabilities.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[{&quot;name&quot;:&quot;5000803&quot;,&quot;uuid&quot;:&quot;026c9296-1234-5678-b937-a7d81f05****&quot;,&quot;tag&quot;:&quot;system&quot;}]</p> */ public Builder info(String info) { this.putQueryParameter("Info", info); this.info = info; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The operation that you want to perform on the vulnerability. Set the value to <strong>vul_fix</strong>, which indicates vulnerability fixing.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>vul_fix</p> */ public Builder operateType(String operateType) { this.putQueryParameter("OperateType", operateType); this.operateType = operateType; return this; } /** * <p>The type of the vulnerability. Set the value to <strong>sys</strong>, which indicates Windows system vulnerabilities.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sys</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeFrontVulPatchListRequest build() { return new DescribeFrontVulPatchListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFrontVulPatchListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFrontVulPatchListResponse} extends {@link TeaModel} * * <p>DescribeFrontVulPatchListResponse</p> */ public class DescribeFrontVulPatchListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeFrontVulPatchListResponseBody body; private DescribeFrontVulPatchListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeFrontVulPatchListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeFrontVulPatchListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeFrontVulPatchListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeFrontVulPatchListResponseBody body); @Override DescribeFrontVulPatchListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeFrontVulPatchListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeFrontVulPatchListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeFrontVulPatchListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeFrontVulPatchListResponseBody body) { this.body = body; return this; } @Override public DescribeFrontVulPatchListResponse build() { return new DescribeFrontVulPatchListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeFrontVulPatchListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFrontVulPatchListResponseBody} extends {@link TeaModel} * * <p>DescribeFrontVulPatchListResponseBody</p> */ public class DescribeFrontVulPatchListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FrontPatchList") private java.util.List<FrontPatchList> frontPatchList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeFrontVulPatchListResponseBody(Builder builder) { this.frontPatchList = builder.frontPatchList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeFrontVulPatchListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return frontPatchList */ public java.util.List<FrontPatchList> getFrontPatchList() { return this.frontPatchList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<FrontPatchList> frontPatchList; private String requestId; private Builder() { } private Builder(DescribeFrontVulPatchListResponseBody model) { this.frontPatchList = model.frontPatchList; this.requestId = model.requestId; } /** * <p>An array consisting of the information about the pre-patches that are required to fix the specified Windows system vulnerability.</p> */ public Builder frontPatchList(java.util.List<FrontPatchList> frontPatchList) { this.frontPatchList = frontPatchList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F929E952-EBFC-56C3-BD35-BF8B59024C68</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeFrontVulPatchListResponseBody build() { return new DescribeFrontVulPatchListResponseBody(this); } } /** * * {@link DescribeFrontVulPatchListResponseBody} extends {@link TeaModel} * * <p>DescribeFrontVulPatchListResponseBody</p> */ public static class PatchList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Name") private String name; private PatchList(Builder builder) { this.aliasName = builder.aliasName; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static PatchList create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String aliasName; private String name; private Builder() { } private Builder(PatchList model) { this.aliasName = model.aliasName; this.name = model.name; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>RHBA-2019:2599: krb5 bug fix update</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The version number of the pre-patch that is required to fix the Windows system vulnerability.</p> * * <strong>example:</strong> * <p>4523204</p> */ public Builder name(String name) { this.name = name; return this; } public PatchList build() { return new PatchList(this); } } } /** * * {@link DescribeFrontVulPatchListResponseBody} extends {@link TeaModel} * * <p>DescribeFrontVulPatchListResponseBody</p> */ public static class FrontPatchList extends TeaModel { @com.aliyun.core.annotation.NameInMap("PatchList") private java.util.List<PatchList> patchList; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private FrontPatchList(Builder builder) { this.patchList = builder.patchList; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static FrontPatchList create() { return builder().build(); } /** * @return patchList */ public java.util.List<PatchList> getPatchList() { return this.patchList; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private java.util.List<PatchList> patchList; private String uuid; private Builder() { } private Builder(FrontPatchList model) { this.patchList = model.patchList; this.uuid = model.uuid; } /** * <p>An array consisting of the pre-patches that are required to fix the specified Windows system vulnerability on the server.</p> */ public Builder patchList(java.util.List<PatchList> patchList) { this.patchList = patchList; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>1587bedb-fdb4-48c4-9330-4545****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public FrontPatchList build() { return new FrontPatchList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGraph4InvestigationOnlineRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGraph4InvestigationOnlineRequest} extends {@link RequestModel} * * <p>DescribeGraph4InvestigationOnlineRequest</p> */ public class DescribeGraph4InvestigationOnlineRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AnomalyId") private String anomalyId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AnomalyUuid") private String anomalyUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VertexId") private String vertexId; private DescribeGraph4InvestigationOnlineRequest(Builder builder) { super(builder); this.anomalyId = builder.anomalyId; this.anomalyUuid = builder.anomalyUuid; this.lang = builder.lang; this.namespace = builder.namespace; this.vertexId = builder.vertexId; } public static Builder builder() { return new Builder(); } public static DescribeGraph4InvestigationOnlineRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return anomalyId */ public String getAnomalyId() { return this.anomalyId; } /** * @return anomalyUuid */ public String getAnomalyUuid() { return this.anomalyUuid; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return vertexId */ public String getVertexId() { return this.vertexId; } public static final class Builder extends Request.Builder<DescribeGraph4InvestigationOnlineRequest, Builder> { private String anomalyId; private String anomalyUuid; private String lang; private String namespace; private String vertexId; private Builder() { super(); } private Builder(DescribeGraph4InvestigationOnlineRequest request) { super(request); this.anomalyId = request.anomalyId; this.anomalyUuid = request.anomalyUuid; this.lang = request.lang; this.namespace = request.namespace; this.vertexId = request.vertexId; } /** * <p>The ID of the alert event. You can call <a href="~~DescribeSuspEvents~~">DescribeSuspEvents</a> to obtain the alert event ID, with the value path being: data.SuspEvents[index].UniqueInfo.</p> * * <strong>example:</strong> * <p>786fc80896b25422b5324cb6e57bxxxx</p> */ public Builder anomalyId(String anomalyId) { this.putQueryParameter("AnomalyId", anomalyId); this.anomalyId = anomalyId; return this; } /** * <p>The UUID of the alert event asset. You can call <a href="~~DescribeSuspEvents~~">DescribeSuspEvents</a> to obtain the asset UUID, with the value path being: data.SuspEvents[index].Uuid.</p> * * <strong>example:</strong> * <p>3502e4b0-f362-4059-84a2-f47fa2b5exxx</p> */ public Builder anomalyUuid(String anomalyUuid) { this.putQueryParameter("AnomalyUuid", anomalyUuid); this.anomalyUuid = anomalyUuid; return this; } /** * <p>Sets the language type for the request and response messages. The default is <strong>zh</strong>. Values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The namespace of the graph, which is fixed as: hundun_dc_online.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>hundun_dc_online</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>Vertex ID. This does not need to be proactively provided.</p> * * <strong>example:</strong> * <p>29872354f741b1b044b8a9b4e2ab****</p> */ public Builder vertexId(String vertexId) { this.putQueryParameter("VertexId", vertexId); this.vertexId = vertexId; return this; } @Override public DescribeGraph4InvestigationOnlineRequest build() { return new DescribeGraph4InvestigationOnlineRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGraph4InvestigationOnlineResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGraph4InvestigationOnlineResponse} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponse</p> */ public class DescribeGraph4InvestigationOnlineResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGraph4InvestigationOnlineResponseBody body; private DescribeGraph4InvestigationOnlineResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGraph4InvestigationOnlineResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGraph4InvestigationOnlineResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGraph4InvestigationOnlineResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGraph4InvestigationOnlineResponseBody body); @Override DescribeGraph4InvestigationOnlineResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGraph4InvestigationOnlineResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGraph4InvestigationOnlineResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGraph4InvestigationOnlineResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGraph4InvestigationOnlineResponseBody body) { this.body = body; return this; } @Override public DescribeGraph4InvestigationOnlineResponse build() { return new DescribeGraph4InvestigationOnlineResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGraph4InvestigationOnlineResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public class DescribeGraph4InvestigationOnlineResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeGraph4InvestigationOnlineResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeGraph4InvestigationOnlineResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(DescribeGraph4InvestigationOnlineResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>Result code, where <strong>200</strong> indicates success. Any other value indicates failure, and the caller can use this field to determine the reason for the failure.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>Data</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The response message from the request.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>A unique identifier generated by Alibaba Cloud for this request.</p> * * <strong>example:</strong> * <p>C699E4E4-F2F4-58FC-A949-457FFE59****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The result status of the API call. Values:</p> * <ul> * <li><strong>true</strong>: The API call was successful.</li> * <li><strong>false</strong>: The API call failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public DescribeGraph4InvestigationOnlineResponseBody build() { return new DescribeGraph4InvestigationOnlineResponseBody(this); } } /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public static class EdgeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndId") private String endId; @com.aliyun.core.annotation.NameInMap("EndType") private String endType; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("StartId") private String startId; @com.aliyun.core.annotation.NameInMap("StartType") private String startType; @com.aliyun.core.annotation.NameInMap("Time") private String time; @com.aliyun.core.annotation.NameInMap("Type") private String type; private EdgeList(Builder builder) { this.endId = builder.endId; this.endType = builder.endType; this.name = builder.name; this.startId = builder.startId; this.startType = builder.startType; this.time = builder.time; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static EdgeList create() { return builder().build(); } /** * @return endId */ public String getEndId() { return this.endId; } /** * @return endType */ public String getEndType() { return this.endType; } /** * @return name */ public String getName() { return this.name; } /** * @return startId */ public String getStartId() { return this.startId; } /** * @return startType */ public String getStartType() { return this.startType; } /** * @return time */ public String getTime() { return this.time; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String endId; private String endType; private String name; private String startId; private String startType; private String time; private String type; private Builder() { } private Builder(EdgeList model) { this.endId = model.endId; this.endType = model.endType; this.name = model.name; this.startId = model.startId; this.startType = model.startType; this.time = model.time; this.type = model.type; } /** * <p>ID of the end point of the edge.</p> * * <strong>example:</strong> * <p>f944c2362c7e111dee16f0e70ad2xxxx</p> */ public Builder endId(String endId) { this.endId = endId; return this; } /** * <p>The type of the end point of the current edge. Possible values include but are not limited to:</p> * <ul> * <li><strong>process</strong>: Process</li> * <li><strong>file</strong>: File</li> * <li><strong>alert</strong>: Alert</li> * <li><strong>ip</strong>: IP address</li> * <li><strong>domain</strong>: Domain</li> * </ul> * * <strong>example:</strong> * <p>process</p> */ public Builder endType(String endType) { this.endType = endType; return this; } /** * <p>Edge name.</p> * * <strong>example:</strong> * <p>bash-&gt;apt-get</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>Start vertex id of edge.</p> * * <strong>example:</strong> * <p>f944c2362c7e111dee16f0e70ad2xxxx</p> */ public Builder startId(String startId) { this.startId = startId; return this; } /** * <p>The type of the starting point of the edge. Possible values include, but are not limited to:</p> * <ul> * <li><strong>process</strong>: Process</li> * <li><strong>file</strong>: File</li> * <li><strong>alert</strong>: Alert</li> * <li><strong>ip</strong>: IP address</li> * <li><strong>domain</strong>: Domain</li> * </ul> * * <strong>example:</strong> * <p>file</p> */ public Builder startType(String startType) { this.startType = startType; return this; } /** * <p>The time when the edge was established.</p> * * <strong>example:</strong> * <p>2024-07-01 15:25:46</p> */ public Builder time(String time) { this.time = time; return this; } /** * <p>The type of the edge.</p> * * <strong>example:</strong> * <p>process_spawn_process</p> */ public Builder type(String type) { this.type = type; return this; } public EdgeList build() { return new EdgeList(this); } } } /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public static class EntityTypeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DisplayColor") private String displayColor; @com.aliyun.core.annotation.NameInMap("DisplayIcon") private String displayIcon; @com.aliyun.core.annotation.NameInMap("DisplayOrder") private Integer displayOrder; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private EntityTypeList(Builder builder) { this.displayColor = builder.displayColor; this.displayIcon = builder.displayIcon; this.displayOrder = builder.displayOrder; this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static EntityTypeList create() { return builder().build(); } /** * @return displayColor */ public String getDisplayColor() { return this.displayColor; } /** * @return displayIcon */ public String getDisplayIcon() { return this.displayIcon; } /** * @return displayOrder */ public Integer getDisplayOrder() { return this.displayOrder; } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String displayColor; private String displayIcon; private Integer displayOrder; private String id; private String name; private Builder() { } private Builder(EntityTypeList model) { this.displayColor = model.displayColor; this.displayIcon = model.displayIcon; this.displayOrder = model.displayOrder; this.id = model.id; this.name = model.name; } /** * <p>Vertex rendering color.</p> * * <strong>example:</strong> * <p>#fff</p> */ public Builder displayColor(String displayColor) { this.displayColor = displayColor; return this; } /** * <p>Vertex icon.</p> * * <strong>example:</strong> * <p><a href="https://img.alicdn.com/tfs/TB176P5OgDqK1RjSZSyXXaxEVXa-49-48.png">https://img.alicdn.com/tfs/TB176P5OgDqK1RjSZSyXXaxEVXa-49-48.png</a></p> */ public Builder displayIcon(String displayIcon) { this.displayIcon = displayIcon; return this; } /** * <p>Display order</p> * * <strong>example:</strong> * <p>1</p> */ public Builder displayOrder(Integer displayOrder) { this.displayOrder = displayOrder; return this; } /** * <p>Node type ID.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>Vertex name.</p> * * <strong>example:</strong> * <p>alert</p> */ public Builder name(String name) { this.name = name; return this; } public EntityTypeList build() { return new EntityTypeList(this); } } } /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public static class RelationTypeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Directed") private Integer directed; @com.aliyun.core.annotation.NameInMap("DisplayColor") private String displayColor; @com.aliyun.core.annotation.NameInMap("DisplayIcon") private String displayIcon; @com.aliyun.core.annotation.NameInMap("Name") private String name; private RelationTypeList(Builder builder) { this.directed = builder.directed; this.displayColor = builder.displayColor; this.displayIcon = builder.displayIcon; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static RelationTypeList create() { return builder().build(); } /** * @return directed */ public Integer getDirected() { return this.directed; } /** * @return displayColor */ public String getDisplayColor() { return this.displayColor; } /** * @return displayIcon */ public String getDisplayIcon() { return this.displayIcon; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private Integer directed; private String displayColor; private String displayIcon; private String name; private Builder() { } private Builder(RelationTypeList model) { this.directed = model.directed; this.displayColor = model.displayColor; this.displayIcon = model.displayIcon; this.name = model.name; } /** * <p>Direction of the edge. Possible values:</p> * <ul> * <li><strong>1</strong> : Forward</li> * <li><strong>0</strong>: Reverse</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder directed(Integer directed) { this.directed = directed; return this; } /** * <p>Render color of the edge.</p> * * <strong>example:</strong> * <p>#fff</p> */ public Builder displayColor(String displayColor) { this.displayColor = displayColor; return this; } /** * <p>Icon style of the edge</p> * * <strong>example:</strong> * <p><a href="https://img.alicdn.com/imgextra/i4/O1CN01ft6rvQ22uUX2JsTmv_!!6000000007180-55-tps-12-12.svg">https://img.alicdn.com/imgextra/i4/O1CN01ft6rvQ22uUX2JsTmv_!!6000000007180-55-tps-12-12.svg</a></p> */ public Builder displayIcon(String displayIcon) { this.displayIcon = displayIcon; return this; } /** * <p>Name of the edge.</p> * * <strong>example:</strong> * <p>spawn process</p> */ public Builder name(String name) { this.name = name; return this; } public RelationTypeList build() { return new RelationTypeList(this); } } } /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public static class NeighborList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("HasMore") private Boolean hasMore; @com.aliyun.core.annotation.NameInMap("Type") private String type; private NeighborList(Builder builder) { this.count = builder.count; this.hasMore = builder.hasMore; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static NeighborList create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return hasMore */ public Boolean getHasMore() { return this.hasMore; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Integer count; private Boolean hasMore; private String type; private Builder() { } private Builder(NeighborList model) { this.count = model.count; this.hasMore = model.hasMore; this.type = model.type; } /** * <p>Number of neighboring nodes.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>Indicates whether there are more neighboring vertices.</p> * * <strong>example:</strong> * <p>False</p> */ public Builder hasMore(Boolean hasMore) { this.hasMore = hasMore; return this; } /** * <p>Neighbor node type.</p> * * <strong>example:</strong> * <p>alert</p> */ public Builder type(String type) { this.type = type; return this; } public NeighborList build() { return new NeighborList(this); } } } /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public static class VertexList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NeighborList") private java.util.List<NeighborList> neighborList; @com.aliyun.core.annotation.NameInMap("Properties") private String properties; @com.aliyun.core.annotation.NameInMap("Time") private String time; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private VertexList(Builder builder) { this.name = builder.name; this.neighborList = builder.neighborList; this.properties = builder.properties; this.time = builder.time; this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static VertexList create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return neighborList */ public java.util.List<NeighborList> getNeighborList() { return this.neighborList; } /** * @return properties */ public String getProperties() { return this.properties; } /** * @return time */ public String getTime() { return this.time; } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String name; private java.util.List<NeighborList> neighborList; private String properties; private String time; private String type; private String uuid; private Builder() { } private Builder(VertexList model) { this.name = model.name; this.neighborList = model.neighborList; this.properties = model.properties; this.time = model.time; this.type = model.type; this.uuid = model.uuid; } /** * <p>Vertex name.</p> * * <strong>example:</strong> * <p>1a79b3a10ad5e6cad090dd697a7axxxxx</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>List of neighboring vertices of the current vertex.</p> */ public Builder neighborList(java.util.List<NeighborList> neighborList) { this.neighborList = neighborList; return this; } /** * <p>Properties.</p> * * <strong>example:</strong> * <p>{&quot;DomainName&quot;: {&quot;SupportScratchDetection&quot;: False, &quot;Description&quot;: &quot;The name of the domain.&quot;, &quot;Required&quot;: True, &quot;UpdateAllowed&quot;: False, &quot;Type&quot;: &quot;string&quot;, &quot;Immutable&quot;: False}}</p> */ public Builder properties(String properties) { this.properties = properties; return this; } /** * <p>Time.</p> * * <strong>example:</strong> * <p>2024-07-02 16:14:01</p> */ public Builder time(String time) { this.time = time; return this; } /** * <p>Vertex type.</p> * * <strong>example:</strong> * <p>alert</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>Asset UUID.</p> * * <strong>example:</strong> * <p>5c081b02-f66a-47a4-bd2f-79ee3eafxxxx</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public VertexList build() { return new VertexList(this); } } } /** * * {@link DescribeGraph4InvestigationOnlineResponseBody} extends {@link TeaModel} * * <p>DescribeGraph4InvestigationOnlineResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("EdgeList") private java.util.List<EdgeList> edgeList; @com.aliyun.core.annotation.NameInMap("EntityTypeList") private java.util.List<EntityTypeList> entityTypeList; @com.aliyun.core.annotation.NameInMap("RelationTypeList") private java.util.List<RelationTypeList> relationTypeList; @com.aliyun.core.annotation.NameInMap("VertexList") private java.util.List<VertexList> vertexList; private Data(Builder builder) { this.edgeList = builder.edgeList; this.entityTypeList = builder.entityTypeList; this.relationTypeList = builder.relationTypeList; this.vertexList = builder.vertexList; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return edgeList */ public java.util.List<EdgeList> getEdgeList() { return this.edgeList; } /** * @return entityTypeList */ public java.util.List<EntityTypeList> getEntityTypeList() { return this.entityTypeList; } /** * @return relationTypeList */ public java.util.List<RelationTypeList> getRelationTypeList() { return this.relationTypeList; } /** * @return vertexList */ public java.util.List<VertexList> getVertexList() { return this.vertexList; } public static final class Builder { private java.util.List<EdgeList> edgeList; private java.util.List<EntityTypeList> entityTypeList; private java.util.List<RelationTypeList> relationTypeList; private java.util.List<VertexList> vertexList; private Builder() { } private Builder(Data model) { this.edgeList = model.edgeList; this.entityTypeList = model.entityTypeList; this.relationTypeList = model.relationTypeList; this.vertexList = model.vertexList; } /** * <p>List of edges.</p> */ public Builder edgeList(java.util.List<EdgeList> edgeList) { this.edgeList = edgeList; return this; } /** * <p>List of vertex types.</p> */ public Builder entityTypeList(java.util.List<EntityTypeList> entityTypeList) { this.entityTypeList = entityTypeList; return this; } /** * <p>List of edge types.</p> */ public Builder relationTypeList(java.util.List<RelationTypeList> relationTypeList) { this.relationTypeList = relationTypeList; return this; } /** * <p>List of vertices.</p> */ public Builder vertexList(java.util.List<VertexList> vertexList) { this.vertexList = vertexList; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupStructRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupStructRequest} extends {@link RequestModel} * * <p>DescribeGroupStructRequest</p> */ public class DescribeGroupStructRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribeGroupStructRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribeGroupStructRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<DescribeGroupStructRequest, Builder> { private String lang; private Builder() { super(); } private Builder(DescribeGroupStructRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public DescribeGroupStructRequest build() { return new DescribeGroupStructRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupStructResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupStructResponse} extends {@link TeaModel} * * <p>DescribeGroupStructResponse</p> */ public class DescribeGroupStructResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupStructResponseBody body; private DescribeGroupStructResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupStructResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupStructResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupStructResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupStructResponseBody body); @Override DescribeGroupStructResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupStructResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupStructResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupStructResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupStructResponseBody body) { this.body = body; return this; } @Override public DescribeGroupStructResponse build() { return new DescribeGroupStructResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupStructResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupStructResponseBody} extends {@link TeaModel} * * <p>DescribeGroupStructResponseBody</p> */ public class DescribeGroupStructResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupFather") private Integer groupFather; @com.aliyun.core.annotation.NameInMap("GroupFlag") private Integer groupFlag; @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.NameInMap("GroupIndex") private Integer groupIndex; @com.aliyun.core.annotation.NameInMap("GroupLevel") private Integer groupLevel; @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("Groups") private java.util.List<String> groups; @com.aliyun.core.annotation.NameInMap("MachineNum") private Integer machineNum; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGroupStructResponseBody(Builder builder) { this.groupFather = builder.groupFather; this.groupFlag = builder.groupFlag; this.groupId = builder.groupId; this.groupIndex = builder.groupIndex; this.groupLevel = builder.groupLevel; this.groupName = builder.groupName; this.groups = builder.groups; this.machineNum = builder.machineNum; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGroupStructResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return groupFather */ public Integer getGroupFather() { return this.groupFather; } /** * @return groupFlag */ public Integer getGroupFlag() { return this.groupFlag; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return groupIndex */ public Integer getGroupIndex() { return this.groupIndex; } /** * @return groupLevel */ public Integer getGroupLevel() { return this.groupLevel; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return groups */ public java.util.List<String> getGroups() { return this.groups; } /** * @return machineNum */ public Integer getMachineNum() { return this.machineNum; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer groupFather; private Integer groupFlag; private Long groupId; private Integer groupIndex; private Integer groupLevel; private String groupName; private java.util.List<String> groups; private Integer machineNum; private String requestId; private Builder() { } private Builder(DescribeGroupStructResponseBody model) { this.groupFather = model.groupFather; this.groupFlag = model.groupFlag; this.groupId = model.groupId; this.groupIndex = model.groupIndex; this.groupLevel = model.groupLevel; this.groupName = model.groupName; this.groups = model.groups; this.machineNum = model.machineNum; this.requestId = model.requestId; } /** * <p>The parent node of the group.</p> * * <strong>example:</strong> * <p>958****</p> */ public Builder groupFather(Integer groupFather) { this.groupFather = groupFather; return this; } /** * <p>The type of the server group. Valid values:</p> * <ul> * <li><strong>0</strong>: the default group</li> * <li><strong>1</strong>: other groups</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder groupFlag(Integer groupFlag) { this.groupFlag = groupFlag; return this; } /** * <p>The ID of the server group.</p> * * <strong>example:</strong> * <p>958****</p> */ public Builder groupId(Long groupId) { this.groupId = groupId; return this; } /** * <p>The sequence number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder groupIndex(Integer groupIndex) { this.groupIndex = groupIndex; return this; } /** * <p>The level of the application group.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder groupLevel(Integer groupLevel) { this.groupLevel = groupLevel; return this; } /** * <p>The name of the server group.</p> * * <strong>example:</strong> * <p>TestGroupName</p> */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * <p>An array that consists of child groups.</p> */ public Builder groups(java.util.List<String> groups) { this.groups = groups; return this; } /** * <p>The number of servers in the group.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder machineNum(Integer machineNum) { this.machineNum = machineNum; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>9FBC6E47-7508-58C9-9E76-528E118C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGroupStructResponseBody build() { return new DescribeGroupStructResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedContainerInstancesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedContainerInstancesRequest} extends {@link RequestModel} * * <p>DescribeGroupedContainerInstancesRequest</p> */ public class DescribeGroupedContainerInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Criteria") private String criteria; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FieldValue") private String fieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupField") @com.aliyun.core.annotation.Validation(required = true) private String groupField; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LogicalExp") private String logicalExp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private DescribeGroupedContainerInstancesRequest(Builder builder) { super(builder); this.criteria = builder.criteria; this.currentPage = builder.currentPage; this.fieldValue = builder.fieldValue; this.groupField = builder.groupField; this.logicalExp = builder.logicalExp; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeGroupedContainerInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return criteria */ public String getCriteria() { return this.criteria; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return fieldValue */ public String getFieldValue() { return this.fieldValue; } /** * @return groupField */ public String getGroupField() { return this.groupField; } /** * @return logicalExp */ public String getLogicalExp() { return this.logicalExp; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeGroupedContainerInstancesRequest, Builder> { private String criteria; private Integer currentPage; private String fieldValue; private String groupField; private String logicalExp; private Integer pageSize; private Builder() { super(); } private Builder(DescribeGroupedContainerInstancesRequest request) { super(request); this.criteria = request.criteria; this.currentPage = request.currentPage; this.fieldValue = request.fieldValue; this.groupField = request.groupField; this.logicalExp = request.logicalExp; this.pageSize = request.pageSize; } /** * <p>The search conditions for assets. Specify the value in the JSON format. Separate multiple search conditions with commas (,). Example: <code>[{&quot;name&quot;:&quot;riskStatus&quot;,&quot;value&quot;:&quot;YES&quot;},{&quot;name&quot;:&quot;riskLevel&quot;,&quot;value&quot;:&quot;2&quot;}]</code>.</p> * <blockquote> * <p> Supported search conditions include the instance ID, instance name, virtual private cloud (VPC) ID, region, and public IP address. You can call the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation to query the supported search conditions.</p> * </blockquote> * * <strong>example:</strong> * <p>[{&quot;name&quot;:&quot;riskStatus&quot;,&quot;value&quot;:&quot;YES&quot;},{&quot;name&quot;:&quot;riskLevel&quot;,&quot;value&quot;:&quot;2&quot;}]</p> */ public Builder criteria(String criteria) { this.putQueryParameter("Criteria", criteria); this.criteria = criteria; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The keyword that you want to use to query containers. This parameter depends on the value of the GroupField parameter.</p> * <ul> * <li>If the <strong>GroupField</strong> parameter is set to <strong>pod</strong>, set this parameter to the name of the pod that you want to query.</li> * <li>If the <strong>GroupField</strong> parameter is set to <strong>appName</strong>, set this parameter to the name of the application that you want to query.</li> * <li>If the <strong>GroupField</strong> parameter is set to <strong>namespace</strong>, set this parameter to the namespace that you want to query.</li> * <li>If the <strong>GroupField</strong> parameter is set to <strong>clusterId</strong>, set this parameter to the ID of the cluster that you want to query.</li> * <li>If the <strong>GroupField</strong> parameter is set to <strong>image</strong>, set this parameter to the name of the image that you want to query.</li> * </ul> * <blockquote> * <p> Fuzzy match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>cas-adad-qeqwe</p> */ public Builder fieldValue(String fieldValue) { this.putQueryParameter("FieldValue", fieldValue); this.fieldValue = fieldValue; return this; } /** * <p>The group type that you want to use to query containers. Valid values:</p> * <ul> * <li><strong>pod</strong></li> * <li><strong>appName</strong></li> * <li><strong>namespace</strong></li> * <li><strong>clusterId</strong></li> * <li><strong>image</strong></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>pod</p> */ public Builder groupField(String groupField) { this.putQueryParameter("GroupField", groupField); this.groupField = groupField; return this; } /** * <p>The logical relationship that you want to use to evaluate multiple search conditions. Valid values:</p> * <ul> * <li><strong>OR</strong>: Search conditions are evaluated by using a logical <strong>OR</strong>.</li> * <li><strong>AND</strong>: Search conditions are evaluated by using a logical <strong>AND</strong>.</li> * </ul> * * <strong>example:</strong> * <p>OR</p> */ public Builder logicalExp(String logicalExp) { this.putQueryParameter("LogicalExp", logicalExp); this.logicalExp = logicalExp; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>20</strong>.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeGroupedContainerInstancesRequest build() { return new DescribeGroupedContainerInstancesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedContainerInstancesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedContainerInstancesResponse} extends {@link TeaModel} * * <p>DescribeGroupedContainerInstancesResponse</p> */ public class DescribeGroupedContainerInstancesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupedContainerInstancesResponseBody body; private DescribeGroupedContainerInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupedContainerInstancesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupedContainerInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupedContainerInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupedContainerInstancesResponseBody body); @Override DescribeGroupedContainerInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupedContainerInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupedContainerInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupedContainerInstancesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupedContainerInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeGroupedContainerInstancesResponse build() { return new DescribeGroupedContainerInstancesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedContainerInstancesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedContainerInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedContainerInstancesResponseBody</p> */ public class DescribeGroupedContainerInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupedContainerInstanceList") private java.util.List<GroupedContainerInstanceList> groupedContainerInstanceList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGroupedContainerInstancesResponseBody(Builder builder) { this.groupedContainerInstanceList = builder.groupedContainerInstanceList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGroupedContainerInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return groupedContainerInstanceList */ public java.util.List<GroupedContainerInstanceList> getGroupedContainerInstanceList() { return this.groupedContainerInstanceList; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<GroupedContainerInstanceList> groupedContainerInstanceList; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeGroupedContainerInstancesResponseBody model) { this.groupedContainerInstanceList = model.groupedContainerInstanceList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The information about the container.</p> */ public Builder groupedContainerInstanceList(java.util.List<GroupedContainerInstanceList> groupedContainerInstanceList) { this.groupedContainerInstanceList = groupedContainerInstanceList; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>4E5BFDCF-B9DD-430D-9DA4-151BCB581C9D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGroupedContainerInstancesResponseBody build() { return new DescribeGroupedContainerInstancesResponseBody(this); } } /** * * {@link DescribeGroupedContainerInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedContainerInstancesResponseBody</p> */ public static class GroupedContainerInstanceList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlarmCount") private Integer alarmCount; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("ClusterType") private String clusterType; @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("CusterState") private String custerState; @com.aliyun.core.annotation.NameInMap("HcCount") private Integer hcCount; @com.aliyun.core.annotation.NameInMap("HostIp") private String hostIp; @com.aliyun.core.annotation.NameInMap("Image") private String image; @com.aliyun.core.annotation.NameInMap("ImageDigest") private String imageDigest; @com.aliyun.core.annotation.NameInMap("ImageRepoName") private String imageRepoName; @com.aliyun.core.annotation.NameInMap("ImageRepoNamespace") private String imageRepoNamespace; @com.aliyun.core.annotation.NameInMap("ImageRepoTag") private String imageRepoTag; @com.aliyun.core.annotation.NameInMap("ImageUuid") private String imageUuid; @com.aliyun.core.annotation.NameInMap("InstanceCount") private Integer instanceCount; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("Pod") private String pod; @com.aliyun.core.annotation.NameInMap("PodIp") private String podIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RiskInstanceCount") private Integer riskInstanceCount; @com.aliyun.core.annotation.NameInMap("RiskLevel") private String riskLevel; @com.aliyun.core.annotation.NameInMap("RiskStatus") private String riskStatus; @com.aliyun.core.annotation.NameInMap("SyncOpen") private Integer syncOpen; @com.aliyun.core.annotation.NameInMap("SyncStatus") private Integer syncStatus; @com.aliyun.core.annotation.NameInMap("VulCount") private Integer vulCount; private GroupedContainerInstanceList(Builder builder) { this.alarmCount = builder.alarmCount; this.appName = builder.appName; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.clusterType = builder.clusterType; this.createTime = builder.createTime; this.custerState = builder.custerState; this.hcCount = builder.hcCount; this.hostIp = builder.hostIp; this.image = builder.image; this.imageDigest = builder.imageDigest; this.imageRepoName = builder.imageRepoName; this.imageRepoNamespace = builder.imageRepoNamespace; this.imageRepoTag = builder.imageRepoTag; this.imageUuid = builder.imageUuid; this.instanceCount = builder.instanceCount; this.instanceId = builder.instanceId; this.namespace = builder.namespace; this.pod = builder.pod; this.podIp = builder.podIp; this.regionId = builder.regionId; this.riskInstanceCount = builder.riskInstanceCount; this.riskLevel = builder.riskLevel; this.riskStatus = builder.riskStatus; this.syncOpen = builder.syncOpen; this.syncStatus = builder.syncStatus; this.vulCount = builder.vulCount; } public static Builder builder() { return new Builder(); } public static GroupedContainerInstanceList create() { return builder().build(); } /** * @return alarmCount */ public Integer getAlarmCount() { return this.alarmCount; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return clusterType */ public String getClusterType() { return this.clusterType; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return custerState */ public String getCusterState() { return this.custerState; } /** * @return hcCount */ public Integer getHcCount() { return this.hcCount; } /** * @return hostIp */ public String getHostIp() { return this.hostIp; } /** * @return image */ public String getImage() { return this.image; } /** * @return imageDigest */ public String getImageDigest() { return this.imageDigest; } /** * @return imageRepoName */ public String getImageRepoName() { return this.imageRepoName; } /** * @return imageRepoNamespace */ public String getImageRepoNamespace() { return this.imageRepoNamespace; } /** * @return imageRepoTag */ public String getImageRepoTag() { return this.imageRepoTag; } /** * @return imageUuid */ public String getImageUuid() { return this.imageUuid; } /** * @return instanceCount */ public Integer getInstanceCount() { return this.instanceCount; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return pod */ public String getPod() { return this.pod; } /** * @return podIp */ public String getPodIp() { return this.podIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return riskInstanceCount */ public Integer getRiskInstanceCount() { return this.riskInstanceCount; } /** * @return riskLevel */ public String getRiskLevel() { return this.riskLevel; } /** * @return riskStatus */ public String getRiskStatus() { return this.riskStatus; } /** * @return syncOpen */ public Integer getSyncOpen() { return this.syncOpen; } /** * @return syncStatus */ public Integer getSyncStatus() { return this.syncStatus; } /** * @return vulCount */ public Integer getVulCount() { return this.vulCount; } public static final class Builder { private Integer alarmCount; private String appName; private String clusterId; private String clusterName; private String clusterType; private Long createTime; private String custerState; private Integer hcCount; private String hostIp; private String image; private String imageDigest; private String imageRepoName; private String imageRepoNamespace; private String imageRepoTag; private String imageUuid; private Integer instanceCount; private String instanceId; private String namespace; private String pod; private String podIp; private String regionId; private Integer riskInstanceCount; private String riskLevel; private String riskStatus; private Integer syncOpen; private Integer syncStatus; private Integer vulCount; private Builder() { } private Builder(GroupedContainerInstanceList model) { this.alarmCount = model.alarmCount; this.appName = model.appName; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.clusterType = model.clusterType; this.createTime = model.createTime; this.custerState = model.custerState; this.hcCount = model.hcCount; this.hostIp = model.hostIp; this.image = model.image; this.imageDigest = model.imageDigest; this.imageRepoName = model.imageRepoName; this.imageRepoNamespace = model.imageRepoNamespace; this.imageRepoTag = model.imageRepoTag; this.imageUuid = model.imageUuid; this.instanceCount = model.instanceCount; this.instanceId = model.instanceId; this.namespace = model.namespace; this.pod = model.pod; this.podIp = model.podIp; this.regionId = model.regionId; this.riskInstanceCount = model.riskInstanceCount; this.riskLevel = model.riskLevel; this.riskStatus = model.riskStatus; this.syncOpen = model.syncOpen; this.syncStatus = model.syncStatus; this.vulCount = model.vulCount; } /** * <p>The number of alerts that are detected for the current pod, application, namespace, or cluster.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder alarmCount(Integer alarmCount) { this.alarmCount = alarmCount; return this; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>oss-liveness-probe</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the cluster.</p> * * <strong>example:</strong> * <p>cf3824769c85441b4bf3****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The name of the cluster.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The type of the cluster. Valid values:</p> * <ul> * <li><strong>Kubernetes</strong>: dedicated Kubernetes cluster.</li> * <li><strong>ManagedKubernetes</strong>: standard managed cluster (edge cluster).</li> * <li><strong>Ask</strong>: serverless Kubernetes (ASK) cluster.</li> * </ul> * * <strong>example:</strong> * <p>ManagedKubernetes</p> */ public Builder clusterType(String clusterType) { this.clusterType = clusterType; return this; } /** * <p>The timestamp when the cluster was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1600076893000</p> */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * <p>The status of the cluster. Valid values:</p> * <ul> * <li><strong>running</strong>: The cluster is running.</li> * <li><strong>stopped</strong>: The cluster is stopped.</li> * <li><strong>deleted</strong>: The cluster is deleted.</li> * <li><strong>delete_failed</strong>: The cluster failed to be deleted.</li> * <li><strong>failed</strong>: The cluster failed to be created.</li> * </ul> * * <strong>example:</strong> * <p>running</p> */ public Builder custerState(String custerState) { this.custerState = custerState; return this; } /** * <p>The number of baseline risks that are detected for the current pod, application, namespace, or cluster.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder hcCount(Integer hcCount) { this.hcCount = hcCount; return this; } /** * <p>The IP address of the host in the container cluster.</p> * * <strong>example:</strong> * <p>172.114.XX.XX</p> */ public Builder hostIp(String hostIp) { this.hostIp = hostIp; return this; } /** * <p>The container image.</p> * * <strong>example:</strong> * <p>registry-vpc.ap-southeast-5.aliyuncs.com/log-service-release/sls-connector:1.1.77</p> */ public Builder image(String image) { this.image = image; return this; } /** * <p>The digest value of the image.</p> * * <strong>example:</strong> * <p>58e58c013f70bbfde140c8a55c1078074b3483479428d4069aa946827fd566cf</p> */ public Builder imageDigest(String imageDigest) { this.imageDigest = imageDigest; return this; } /** * <p>The name of the image repository.</p> * * <strong>example:</strong> * <p>test-003</p> */ public Builder imageRepoName(String imageRepoName) { this.imageRepoName = imageRepoName; return this; } /** * <p>The namespace of the image repository.</p> * * <strong>example:</strong> * <p>name001</p> */ public Builder imageRepoNamespace(String imageRepoNamespace) { this.imageRepoNamespace = imageRepoNamespace; return this; } /** * <p>The tag that is added to the image repository.</p> * * <strong>example:</strong> * <p>dev-20220512-2</p> */ public Builder imageRepoTag(String imageRepoTag) { this.imageRepoTag = imageRepoTag; return this; } /** * <p>The UUID of the image.</p> * * <strong>example:</strong> * <p>e4bdec1d9ba7e0967111a7ea467c****</p> */ public Builder imageUuid(String imageUuid) { this.imageUuid = imageUuid; return this; } /** * <p>The number of pods, applications, clusters, or namespaces.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder instanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } /** * <p>The ID of the server.</p> * * <strong>example:</strong> * <p>i-8vb9ul5xec4tua4q****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The namespace of the cluster.</p> * * <strong>example:</strong> * <p>kube-system</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>The name of the pod.</p> * * <strong>example:</strong> * <p>csi-plugin-2n****</p> */ public Builder pod(String pod) { this.pod = pod; return this; } /** * <p>The IP address of the pod.</p> * * <strong>example:</strong> * <p>172.114.XX.XX</p> */ public Builder podIp(String podIp) { this.podIp = podIp; return this; } /** * <p>The region ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The number of at-risk instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder riskInstanceCount(Integer riskInstanceCount) { this.riskInstanceCount = riskInstanceCount; return this; } /** * <p>The risk level. Valid values:</p> * <ul> * <li><strong>high</strong></li> * <li><strong>medium</strong></li> * <li><strong>low</strong></li> * </ul> * * <strong>example:</strong> * <p>low</p> */ public Builder riskLevel(String riskLevel) { this.riskLevel = riskLevel; return this; } /** * <p>Indicates whether risks were detected. Valid values:</p> * <ul> * <li><strong>NO</strong></li> * <li><strong>YES</strong></li> * </ul> * * <strong>example:</strong> * <p>NO</p> */ public Builder riskStatus(String riskStatus) { this.riskStatus = riskStatus; return this; } /** * <p>Indicates whether the synchronization of cluster audit logs is enabled. Valid values:</p> * <ul> * <li><strong>0</strong>: disabled.</li> * <li><strong>1</strong>: enabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder syncOpen(Integer syncOpen) { this.syncOpen = syncOpen; return this; } /** * <p>The status of the synchronization of cluster audit logs. Valid values:</p> * <ul> * <li><strong>0</strong>: The synchronization failed.</li> * <li><strong>1</strong>: The synchronization is successful.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder syncStatus(Integer syncStatus) { this.syncStatus = syncStatus; return this; } /** * <p>The number of vulnerabilities that are detected for the current pod, application, namespace, or cluster.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder vulCount(Integer vulCount) { this.vulCount = vulCount; return this; } public GroupedContainerInstanceList build() { return new GroupedContainerInstanceList(this); } } } /** * * {@link DescribeGroupedContainerInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedContainerInstancesResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of container assets returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of container assets returned.</p> * * <strong>example:</strong> * <p>25</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedInstancesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedInstancesRequest} extends {@link RequestModel} * * <p>DescribeGroupedInstancesRequest</p> */ public class DescribeGroupedInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FieldValue") private String fieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupField") @com.aliyun.core.annotation.Validation(required = true) private String groupField; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineTypes") private String machineTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NoPage") private Boolean noPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SaleVersionCheckCode") private String saleVersionCheckCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Vendor") private Integer vendor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Vendors") private String vendors; private DescribeGroupedInstancesRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.fieldValue = builder.fieldValue; this.groupField = builder.groupField; this.lang = builder.lang; this.machineTypes = builder.machineTypes; this.noPage = builder.noPage; this.pageSize = builder.pageSize; this.saleVersionCheckCode = builder.saleVersionCheckCode; this.vendor = builder.vendor; this.vendors = builder.vendors; } public static Builder builder() { return new Builder(); } public static DescribeGroupedInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return fieldValue */ public String getFieldValue() { return this.fieldValue; } /** * @return groupField */ public String getGroupField() { return this.groupField; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return machineTypes */ public String getMachineTypes() { return this.machineTypes; } /** * @return noPage */ public Boolean getNoPage() { return this.noPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return saleVersionCheckCode */ public String getSaleVersionCheckCode() { return this.saleVersionCheckCode; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } /** * @return vendors */ public String getVendors() { return this.vendors; } public static final class Builder extends Request.Builder<DescribeGroupedInstancesRequest, Builder> { private Integer currentPage; private String fieldValue; private String groupField; private String lang; private String machineTypes; private Boolean noPage; private Integer pageSize; private String saleVersionCheckCode; private Integer vendor; private String vendors; private Builder() { super(); } private Builder(DescribeGroupedInstancesRequest request) { super(request); this.currentPage = request.currentPage; this.fieldValue = request.fieldValue; this.groupField = request.groupField; this.lang = request.lang; this.machineTypes = request.machineTypes; this.noPage = request.noPage; this.pageSize = request.pageSize; this.saleVersionCheckCode = request.saleVersionCheckCode; this.vendor = request.vendor; this.vendors = request.vendors; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The name of the group to which the assets belong. Fuzzy search is supported.</p> * * <strong>example:</strong> * <p>test-01</p> */ public Builder fieldValue(String fieldValue) { this.putQueryParameter("FieldValue", fieldValue); this.fieldValue = fieldValue; return this; } /** * <p>The filter condition that you want to use to query the assets. Valid values:</p> * <ul> * <li><strong>groupId</strong>: the group to which the assets belong</li> * <li><strong>regionId</strong>: the region in which the assets reside</li> * <li><strong>vpcInstanceId</strong>: the virtual private cloud (VPC) in which the assets reside</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>groupId</p> */ public Builder groupField(String groupField) { this.putQueryParameter("GroupField", groupField); this.groupField = groupField; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The type of the assets that you want to query. Set the value to <strong>ecs</strong>, which indicates Elastic Compute Service (ECS) instances.</p> * * <strong>example:</strong> * <p>ecs</p> */ public Builder machineTypes(String machineTypes) { this.putQueryParameter("MachineTypes", machineTypes); this.machineTypes = machineTypes; return this; } /** * <p>Specifies whether to enable paged query. Default value: <strong>true</strong>. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder noPage(Boolean noPage) { this.putQueryParameter("NoPage", noPage); this.noPage = noPage; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The edition of Security Center that protects the asset. Valid values:</p> * <ul> * <li><strong>sas_gte_advanced</strong>: the Advanced edition or higher</li> * <li><strong>sas_gte_enterprise</strong>: the Enterprise edition or higher</li> * <li><strong>sas_gt_basic:</strong> a paid edition</li> * <li><strong>sas_eq_advanced:</strong> the Advanced edition</li> * <li><strong>sas_gt_anti_virus:</strong> an edition higher than the Anti-virus edition</li> * </ul> * * <strong>example:</strong> * <p>sas_gt_basic</p> */ public Builder saleVersionCheckCode(String saleVersionCheckCode) { this.putQueryParameter("SaleVersionCheckCode", saleVersionCheckCode); this.saleVersionCheckCode = saleVersionCheckCode; return this; } /** * <p>The source of the server. Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud.</li> * <li><strong>1</strong>: a third-party cloud server</li> * <li><strong>2</strong>: a server in a data center</li> * <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, and <strong>7</strong>: other cloud asset</li> * <li><strong>8</strong>: a lightweight asset</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Integer vendor) { this.putQueryParameter("Vendor", vendor); this.vendor = vendor; return this; } /** * <p>The source of the server. Separate multiple sources with commas (,).Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud.</li> * <li><strong>1</strong>: a third-party cloud server</li> * <li><strong>2</strong>: a server in a data center</li> * <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, and <strong>7</strong>: other cloud asset</li> * <li><strong>8</strong>: a lightweight asset</li> * </ul> * * <strong>example:</strong> * <p>0,8</p> */ public Builder vendors(String vendors) { this.putQueryParameter("Vendors", vendors); this.vendors = vendors; return this; } @Override public DescribeGroupedInstancesRequest build() { return new DescribeGroupedInstancesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedInstancesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedInstancesResponse} extends {@link TeaModel} * * <p>DescribeGroupedInstancesResponse</p> */ public class DescribeGroupedInstancesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupedInstancesResponseBody body; private DescribeGroupedInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupedInstancesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupedInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupedInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupedInstancesResponseBody body); @Override DescribeGroupedInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupedInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupedInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupedInstancesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupedInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeGroupedInstancesResponse build() { return new DescribeGroupedInstancesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedInstancesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedInstancesResponseBody</p> */ public class DescribeGroupedInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private java.util.List<Instances> instances; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGroupedInstancesResponseBody(Builder builder) { this.instances = builder.instances; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGroupedInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instances */ public java.util.List<Instances> getInstances() { return this.instances; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Instances> instances; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeGroupedInstancesResponseBody model) { this.instances = model.instances; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The information about the assets.</p> */ public Builder instances(java.util.List<Instances> instances) { this.instances = instances; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>52A3AEE6-114A-499D-8990-4BA9B27FE0AA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGroupedInstancesResponseBody build() { return new DescribeGroupedInstancesResponseBody(this); } } /** * * {@link DescribeGroupedInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedInstancesResponseBody</p> */ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("AsapVulInstanceCount") private Long asapVulInstanceCount; @com.aliyun.core.annotation.NameInMap("AuthVersionCheckCount") private Integer authVersionCheckCount; @com.aliyun.core.annotation.NameInMap("FieldAliasName") private String fieldAliasName; @com.aliyun.core.annotation.NameInMap("GroupFlag") private Integer groupFlag; @com.aliyun.core.annotation.NameInMap("InstanceCoreCount") private Long instanceCoreCount; @com.aliyun.core.annotation.NameInMap("InstanceCount") private String instanceCount; @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("RiskInstanceCount") private String riskInstanceCount; @com.aliyun.core.annotation.NameInMap("UnProtectedInstanceCount") private String unProtectedInstanceCount; private Instances(Builder builder) { this.asapVulInstanceCount = builder.asapVulInstanceCount; this.authVersionCheckCount = builder.authVersionCheckCount; this.fieldAliasName = builder.fieldAliasName; this.groupFlag = builder.groupFlag; this.instanceCoreCount = builder.instanceCoreCount; this.instanceCount = builder.instanceCount; this.os = builder.os; this.riskInstanceCount = builder.riskInstanceCount; this.unProtectedInstanceCount = builder.unProtectedInstanceCount; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return asapVulInstanceCount */ public Long getAsapVulInstanceCount() { return this.asapVulInstanceCount; } /** * @return authVersionCheckCount */ public Integer getAuthVersionCheckCount() { return this.authVersionCheckCount; } /** * @return fieldAliasName */ public String getFieldAliasName() { return this.fieldAliasName; } /** * @return groupFlag */ public Integer getGroupFlag() { return this.groupFlag; } /** * @return instanceCoreCount */ public Long getInstanceCoreCount() { return this.instanceCoreCount; } /** * @return instanceCount */ public String getInstanceCount() { return this.instanceCount; } /** * @return os */ public String getOs() { return this.os; } /** * @return riskInstanceCount */ public String getRiskInstanceCount() { return this.riskInstanceCount; } /** * @return unProtectedInstanceCount */ public String getUnProtectedInstanceCount() { return this.unProtectedInstanceCount; } public static final class Builder { private Long asapVulInstanceCount; private Integer authVersionCheckCount; private String fieldAliasName; private Integer groupFlag; private Long instanceCoreCount; private String instanceCount; private String os; private String riskInstanceCount; private String unProtectedInstanceCount; private Builder() { } private Builder(Instances model) { this.asapVulInstanceCount = model.asapVulInstanceCount; this.authVersionCheckCount = model.authVersionCheckCount; this.fieldAliasName = model.fieldAliasName; this.groupFlag = model.groupFlag; this.instanceCoreCount = model.instanceCoreCount; this.instanceCount = model.instanceCount; this.os = model.os; this.riskInstanceCount = model.riskInstanceCount; this.unProtectedInstanceCount = model.unProtectedInstanceCount; } /** * <p>The number of assets on which high-risk vulnerabilities are detected.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder asapVulInstanceCount(Long asapVulInstanceCount) { this.asapVulInstanceCount = asapVulInstanceCount; return this; } /** * <p>The number of assets that are protected by the specified edition.</p> * * <strong>example:</strong> * <p>205</p> */ public Builder authVersionCheckCount(Integer authVersionCheckCount) { this.authVersionCheckCount = authVersionCheckCount; return this; } /** * <p>The name of the server group.</p> * * <strong>example:</strong> * <p>testA</p> */ public Builder fieldAliasName(String fieldAliasName) { this.fieldAliasName = fieldAliasName; return this; } /** * <p>The type of the server group. Valid values:</p> * <ul> * <li><strong>0</strong>: the default group</li> * <li><strong>1</strong>: other group</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder groupFlag(Integer groupFlag) { this.groupFlag = groupFlag; return this; } /** * <p>The number of cores of assets in the specified asset type.</p> * <blockquote> * <p> If the <strong>MachineTypes</strong> request parameter is not specified, the value of the InstanceCoreCount parameter indicates the total number of cores of assets within your account.</p> * </blockquote> * * <strong>example:</strong> * <p>610</p> */ public Builder instanceCoreCount(Long instanceCoreCount) { this.instanceCoreCount = instanceCoreCount; return this; } /** * <p>The total number of assets that belong to the specified type.</p> * <blockquote> * <p> If the <strong>MachineTypes</strong> request parameter is not specified, the value of the InstanceCount parameter is the total number of your assets.</p> * </blockquote> * * <strong>example:</strong> * <p>205</p> */ public Builder instanceCount(String instanceCount) { this.instanceCount = instanceCount; return this; } /** * <p>The operating system type of the asset. Valid values:</p> * <ul> * <li><strong>windows</strong></li> * <li><strong>linux</strong></li> * </ul> * <blockquote> * <p>This parameter is returned only when Lang is set to zh.</p> * </blockquote> * * <strong>example:</strong> * <p>windows</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The number of assets that are at risk.</p> * * <strong>example:</strong> * <p>172</p> */ public Builder riskInstanceCount(String riskInstanceCount) { this.riskInstanceCount = riskInstanceCount; return this; } /** * <p>The number of assets that are not protected by Security Center.</p> * * <strong>example:</strong> * <p>32</p> */ public Builder unProtectedInstanceCount(String unProtectedInstanceCount) { this.unProtectedInstanceCount = unProtectedInstanceCount; return this; } public Instances build() { return new Instances(this); } } } /** * * {@link DescribeGroupedInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedInstancesResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedMaliciousFilesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedMaliciousFilesRequest} extends {@link RequestModel} * * <p>DescribeGroupedMaliciousFilesRequest</p> */ public class DescribeGroupedMaliciousFilesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FuzzyMaliciousName") private String fuzzyMaliciousName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageDigest") private String imageDigest; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageLayer") private String imageLayer; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageTag") private String imageTag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Levels") private String levels; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaliciousMd5") private String maliciousMd5; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private String pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RepoId") private String repoId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RepoInstanceId") private String repoInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RepoName") private String repoName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RepoNamespace") private String repoNamespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RepoRegionId") private String repoRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScanRange") private java.util.List<String> scanRange; private DescribeGroupedMaliciousFilesRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.currentPage = builder.currentPage; this.fuzzyMaliciousName = builder.fuzzyMaliciousName; this.imageDigest = builder.imageDigest; this.imageLayer = builder.imageLayer; this.imageTag = builder.imageTag; this.lang = builder.lang; this.levels = builder.levels; this.maliciousMd5 = builder.maliciousMd5; this.pageSize = builder.pageSize; this.repoId = builder.repoId; this.repoInstanceId = builder.repoInstanceId; this.repoName = builder.repoName; this.repoNamespace = builder.repoNamespace; this.repoRegionId = builder.repoRegionId; this.scanRange = builder.scanRange; } public static Builder builder() { return new Builder(); } public static DescribeGroupedMaliciousFilesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return fuzzyMaliciousName */ public String getFuzzyMaliciousName() { return this.fuzzyMaliciousName; } /** * @return imageDigest */ public String getImageDigest() { return this.imageDigest; } /** * @return imageLayer */ public String getImageLayer() { return this.imageLayer; } /** * @return imageTag */ public String getImageTag() { return this.imageTag; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return levels */ public String getLevels() { return this.levels; } /** * @return maliciousMd5 */ public String getMaliciousMd5() { return this.maliciousMd5; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return repoId */ public String getRepoId() { return this.repoId; } /** * @return repoInstanceId */ public String getRepoInstanceId() { return this.repoInstanceId; } /** * @return repoName */ public String getRepoName() { return this.repoName; } /** * @return repoNamespace */ public String getRepoNamespace() { return this.repoNamespace; } /** * @return repoRegionId */ public String getRepoRegionId() { return this.repoRegionId; } /** * @return scanRange */ public java.util.List<String> getScanRange() { return this.scanRange; } public static final class Builder extends Request.Builder<DescribeGroupedMaliciousFilesRequest, Builder> { private String clusterId; private Integer currentPage; private String fuzzyMaliciousName; private String imageDigest; private String imageLayer; private String imageTag; private String lang; private String levels; private String maliciousMd5; private String pageSize; private String repoId; private String repoInstanceId; private String repoName; private String repoNamespace; private String repoRegionId; private java.util.List<String> scanRange; private Builder() { super(); } private Builder(DescribeGroupedMaliciousFilesRequest request) { super(request); this.clusterId = request.clusterId; this.currentPage = request.currentPage; this.fuzzyMaliciousName = request.fuzzyMaliciousName; this.imageDigest = request.imageDigest; this.imageLayer = request.imageLayer; this.imageTag = request.imageTag; this.lang = request.lang; this.levels = request.levels; this.maliciousMd5 = request.maliciousMd5; this.pageSize = request.pageSize; this.repoId = request.repoId; this.repoInstanceId = request.repoInstanceId; this.repoName = request.repoName; this.repoNamespace = request.repoNamespace; this.repoRegionId = request.repoRegionId; this.scanRange = request.scanRange; } /** * <p>The cluster ID of the container on which the malicious image sample is detected.</p> * * <strong>example:</strong> * <p>c556c8133b5ad4378b7fc533ddbda****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The number of the page to return. Pages start from page <strong>1</strong>. Default value: <strong>1</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The name of the malicious image sample that you want to query.</p> * <blockquote> * <p> Fuzzy match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>Mining</p> */ public Builder fuzzyMaliciousName(String fuzzyMaliciousName) { this.putQueryParameter("FuzzyMaliciousName", fuzzyMaliciousName); this.fuzzyMaliciousName = fuzzyMaliciousName; return this; } /** * <p>The image digest.</p> * * <strong>example:</strong> * <p>6a5e103187b31a94592a47a5858617f7****</p> */ public Builder imageDigest(String imageDigest) { this.putQueryParameter("ImageDigest", imageDigest); this.imageDigest = imageDigest; return this; } /** * <p>The image layer.</p> * * <strong>example:</strong> * <p>27213ad375b53628dd152a5ca****</p> */ public Builder imageLayer(String imageLayer) { this.putQueryParameter("ImageLayer", imageLayer); this.imageLayer = imageLayer; return this; } /** * <p>The image tag.</p> * * <strong>example:</strong> * <p>0.2</p> */ public Builder imageTag(String imageTag) { this.putQueryParameter("ImageTag", imageTag); this.imageTag = imageTag; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The severity of the malicious image sample that you want to query. You can enter multiple severities. Separate the severities with commas (,). Valid values:</p> * <ul> * <li><strong>serious</strong></li> * <li><strong>suspicious</strong></li> * <li><strong>remind</strong></li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder levels(String levels) { this.putQueryParameter("Levels", levels); this.levels = levels; return this; } /** * <p>The MD5 hash value of the malicious image sample.</p> * * <strong>example:</strong> * <p>d836968041f7683b5459****</p> */ public Builder maliciousMd5(String maliciousMd5) { this.putQueryParameter("MaliciousMd5", maliciousMd5); this.maliciousMd5 = maliciousMd5; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>20</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The ID of the image repository.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/145293.html">ListRepository</a> operation to query the IDs of image repositories from the value of the <strong>RepoId</strong> response parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>crr-vridcl4****</p> */ public Builder repoId(String repoId) { this.putQueryParameter("RepoId", repoId); this.repoId = repoId; return this; } /** * <p>The ID of the container image.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/145293.html">ListRepository</a> operation to query the IDs of container images from the value of the <strong>InstanceId</strong> response parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>cri-datvailb****</p> */ public Builder repoInstanceId(String repoInstanceId) { this.putQueryParameter("RepoInstanceId", repoInstanceId); this.repoInstanceId = repoInstanceId; return this; } /** * <p>The name of the image repository.</p> * <blockquote> * <p> Fuzzy match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>centos</p> */ public Builder repoName(String repoName) { this.putQueryParameter("RepoName", repoName); this.repoName = repoName; return this; } /** * <p>The namespace to which the image repository belongs.</p> * <blockquote> * <p> Fuzzy match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>hanghai-namespace</p> */ public Builder repoNamespace(String repoNamespace) { this.putQueryParameter("RepoNamespace", repoNamespace); this.repoNamespace = repoNamespace; return this; } /** * <p>The region ID of the image repository. Valid values:</p> * <ul> * <li><strong>cn-beijing</strong>: China (Beijing)</li> * <li><strong>cn-zhangjiakou</strong>: China (Zhangjiakou)</li> * <li><strong>cn-hangzhou</strong>: China (Hangzhou)</li> * <li><strong>cn-shanghai</strong>: China (Shanghai)</li> * <li><strong>cn-shenzhen</strong>: China (Shenzhen)</li> * <li><strong>cn-hongkong</strong>: China (Hong Kong)</li> * <li><strong>ap-southeast-1</strong>: Singapore</li> * <li><strong>ap-southeast-5</strong>: Indonesia (Jakarta)</li> * <li><strong>us-east-1</strong>: US (Virginia)</li> * <li><strong>us-west-1</strong>: US (Silicon Valley)</li> * <li><strong>eu-central-1</strong>: Germany (Frankfurt)</li> * <li><strong>eu-west-1</strong>: UK (London)</li> * </ul> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder repoRegionId(String repoRegionId) { this.putQueryParameter("RepoRegionId", repoRegionId); this.repoRegionId = repoRegionId; return this; } /** * <p>The types of the assets that you want to scan.</p> */ public Builder scanRange(java.util.List<String> scanRange) { this.putQueryParameter("ScanRange", scanRange); this.scanRange = scanRange; return this; } @Override public DescribeGroupedMaliciousFilesRequest build() { return new DescribeGroupedMaliciousFilesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedMaliciousFilesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedMaliciousFilesResponse} extends {@link TeaModel} * * <p>DescribeGroupedMaliciousFilesResponse</p> */ public class DescribeGroupedMaliciousFilesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupedMaliciousFilesResponseBody body; private DescribeGroupedMaliciousFilesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupedMaliciousFilesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupedMaliciousFilesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupedMaliciousFilesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupedMaliciousFilesResponseBody body); @Override DescribeGroupedMaliciousFilesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupedMaliciousFilesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupedMaliciousFilesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupedMaliciousFilesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupedMaliciousFilesResponseBody body) { this.body = body; return this; } @Override public DescribeGroupedMaliciousFilesResponse build() { return new DescribeGroupedMaliciousFilesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedMaliciousFilesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedMaliciousFilesResponseBody</p> */ public class DescribeGroupedMaliciousFilesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupedMaliciousFileResponse") private java.util.List<GroupedMaliciousFileResponse> groupedMaliciousFileResponse; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGroupedMaliciousFilesResponseBody(Builder builder) { this.groupedMaliciousFileResponse = builder.groupedMaliciousFileResponse; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGroupedMaliciousFilesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return groupedMaliciousFileResponse */ public java.util.List<GroupedMaliciousFileResponse> getGroupedMaliciousFileResponse() { return this.groupedMaliciousFileResponse; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<GroupedMaliciousFileResponse> groupedMaliciousFileResponse; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeGroupedMaliciousFilesResponseBody model) { this.groupedMaliciousFileResponse = model.groupedMaliciousFileResponse; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The details of the malicious image sample.</p> */ public Builder groupedMaliciousFileResponse(java.util.List<GroupedMaliciousFileResponse> groupedMaliciousFileResponse) { this.groupedMaliciousFileResponse = groupedMaliciousFileResponse; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>8045E03E-6D91-4C53-9F22-5A1B84BB29D9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGroupedMaliciousFilesResponseBody build() { return new DescribeGroupedMaliciousFilesResponseBody(this); } } /** * * {@link DescribeGroupedMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedMaliciousFilesResponseBody</p> */ public static class GroupedMaliciousFileResponse extends TeaModel { @com.aliyun.core.annotation.NameInMap("FirstScanTimestamp") private Long firstScanTimestamp; @com.aliyun.core.annotation.NameInMap("ImageCount") private Long imageCount; @com.aliyun.core.annotation.NameInMap("LatestScanTimestamp") private Long latestScanTimestamp; @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("MaliciousKey") private String maliciousKey; @com.aliyun.core.annotation.NameInMap("MaliciousMd5") private String maliciousMd5; @com.aliyun.core.annotation.NameInMap("MaliciousName") private String maliciousName; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private GroupedMaliciousFileResponse(Builder builder) { this.firstScanTimestamp = builder.firstScanTimestamp; this.imageCount = builder.imageCount; this.latestScanTimestamp = builder.latestScanTimestamp; this.level = builder.level; this.maliciousKey = builder.maliciousKey; this.maliciousMd5 = builder.maliciousMd5; this.maliciousName = builder.maliciousName; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GroupedMaliciousFileResponse create() { return builder().build(); } /** * @return firstScanTimestamp */ public Long getFirstScanTimestamp() { return this.firstScanTimestamp; } /** * @return imageCount */ public Long getImageCount() { return this.imageCount; } /** * @return latestScanTimestamp */ public Long getLatestScanTimestamp() { return this.latestScanTimestamp; } /** * @return level */ public String getLevel() { return this.level; } /** * @return maliciousKey */ public String getMaliciousKey() { return this.maliciousKey; } /** * @return maliciousMd5 */ public String getMaliciousMd5() { return this.maliciousMd5; } /** * @return maliciousName */ public String getMaliciousName() { return this.maliciousName; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private Long firstScanTimestamp; private Long imageCount; private Long latestScanTimestamp; private String level; private String maliciousKey; private String maliciousMd5; private String maliciousName; private Integer status; private Builder() { } private Builder(GroupedMaliciousFileResponse model) { this.firstScanTimestamp = model.firstScanTimestamp; this.imageCount = model.imageCount; this.latestScanTimestamp = model.latestScanTimestamp; this.level = model.level; this.maliciousKey = model.maliciousKey; this.maliciousMd5 = model.maliciousMd5; this.maliciousName = model.maliciousName; this.status = model.status; } /** * <p>The timestamp generated when the first scan was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1594907349000</p> */ public Builder firstScanTimestamp(Long firstScanTimestamp) { this.firstScanTimestamp = firstScanTimestamp; return this; } /** * <p>The number of affected images.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder imageCount(Long imageCount) { this.imageCount = imageCount; return this; } /** * <p>The timestamp generated when the last scan was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1596533942000</p> */ public Builder latestScanTimestamp(Long latestScanTimestamp) { this.latestScanTimestamp = latestScanTimestamp; return this; } /** * <p>The severity of the malicious image sample. Valid values:</p> * <ul> * <li><strong>serious</strong></li> * <li><strong>suspicious</strong></li> * <li><strong>remind</strong></li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The keyword of the malicious image sample.</p> * * <strong>example:</strong> * <p>WEBSHELL_IMG</p> */ public Builder maliciousKey(String maliciousKey) { this.maliciousKey = maliciousKey; return this; } /** * <p>The MD5 hash value of the malicious image sample.</p> * * <strong>example:</strong> * <p>d836968041f7683b5459****</p> */ public Builder maliciousMd5(String maliciousMd5) { this.maliciousMd5 = maliciousMd5; return this; } /** * <p>The name of the malicious image sample.</p> * * <strong>example:</strong> * <p>testFile</p> */ public Builder maliciousName(String maliciousName) { this.maliciousName = maliciousName; return this; } /** * <p>The handling status of the malicious image sample. Valid values:</p> * <ul> * <li><strong>0</strong>: unhandled</li> * <li><strong>1</strong>: handled</li> * <li><strong>2</strong>: verifying</li> * <li><strong>3</strong>: whitelisted</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.status = status; return this; } public GroupedMaliciousFileResponse build() { return new GroupedMaliciousFileResponse(this); } } } /** * * {@link DescribeGroupedMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedMaliciousFilesResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedTagsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedTagsRequest} extends {@link RequestModel} * * <p>DescribeGroupedTagsRequest</p> */ public class DescribeGroupedTagsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineTypes") private String machineTypes; private DescribeGroupedTagsRequest(Builder builder) { super(builder); this.machineTypes = builder.machineTypes; } public static Builder builder() { return new Builder(); } public static DescribeGroupedTagsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return machineTypes */ public String getMachineTypes() { return this.machineTypes; } public static final class Builder extends Request.Builder<DescribeGroupedTagsRequest, Builder> { private String machineTypes; private Builder() { super(); } private Builder(DescribeGroupedTagsRequest request) { super(request); this.machineTypes = request.machineTypes; } /** * <p>The type of the asset to query. If you do not specify this parameter, the tags of all asset types are queried. Valid values:</p> * <ul> * <li><strong>ecs</strong>: server</li> * <li><strong>cloud_product</strong>: Alibaba Cloud service</li> * </ul> * * <strong>example:</strong> * <p>ecs</p> */ public Builder machineTypes(String machineTypes) { this.putQueryParameter("MachineTypes", machineTypes); this.machineTypes = machineTypes; return this; } @Override public DescribeGroupedTagsRequest build() { return new DescribeGroupedTagsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedTagsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedTagsResponse} extends {@link TeaModel} * * <p>DescribeGroupedTagsResponse</p> */ public class DescribeGroupedTagsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupedTagsResponseBody body; private DescribeGroupedTagsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupedTagsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupedTagsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupedTagsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupedTagsResponseBody body); @Override DescribeGroupedTagsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupedTagsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupedTagsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupedTagsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupedTagsResponseBody body) { this.body = body; return this; } @Override public DescribeGroupedTagsResponse build() { return new DescribeGroupedTagsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedTagsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedTagsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedTagsResponseBody</p> */ public class DescribeGroupedTagsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("GroupedFileds") private java.util.List<GroupedFileds> groupedFileds; @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeGroupedTagsResponseBody(Builder builder) { this.count = builder.count; this.groupedFileds = builder.groupedFileds; this.httpStatusCode = builder.httpStatusCode; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeGroupedTagsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return groupedFileds */ public java.util.List<GroupedFileds> getGroupedFileds() { return this.groupedFileds; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer count; private java.util.List<GroupedFileds> groupedFileds; private Integer httpStatusCode; private String requestId; private Boolean success; private Builder() { } private Builder(DescribeGroupedTagsResponseBody model) { this.count = model.count; this.groupedFileds = model.groupedFileds; this.httpStatusCode = model.httpStatusCode; this.requestId = model.requestId; this.success = model.success; } /** * <p>This parameter is deprecated.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>An array that consists of the statistics of the asset tags.</p> */ public Builder groupedFileds(java.util.List<GroupedFileds> groupedFileds) { this.groupedFileds = groupedFileds; return this; } /** * <p>The HTTP status code of the request.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>151F6EB6-D5F3-417A-AF7B-4D84975DB586</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request is successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The request is successful.</li> * <li><strong>false</strong>: The request fails.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public DescribeGroupedTagsResponseBody build() { return new DescribeGroupedTagsResponseBody(this); } } /** * * {@link DescribeGroupedTagsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedTagsResponseBody</p> */ public static class GroupedFileds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private String count; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("TagId") private Integer tagId; private GroupedFileds(Builder builder) { this.count = builder.count; this.name = builder.name; this.tagId = builder.tagId; } public static Builder builder() { return new Builder(); } public static GroupedFileds create() { return builder().build(); } /** * @return count */ public String getCount() { return this.count; } /** * @return name */ public String getName() { return this.name; } /** * @return tagId */ public Integer getTagId() { return this.tagId; } public static final class Builder { private String count; private String name; private Integer tagId; private Builder() { } private Builder(GroupedFileds model) { this.count = model.count; this.name = model.name; this.tagId = model.tagId; } /** * <p>The number of assets to which the tag is added.</p> * * <strong>example:</strong> * <p>152</p> */ public Builder count(String count) { this.count = count; return this; } /** * <p>The name of the tag.</p> * * <strong>example:</strong> * <p>InternetIp</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The ID of the tag.</p> * * <strong>example:</strong> * <p>3252366</p> */ public Builder tagId(Integer tagId) { this.tagId = tagId; return this; } public GroupedFileds build() { return new GroupedFileds(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedVulRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedVulRequest} extends {@link RequestModel} * * <p>DescribeGroupedVulRequest</p> */ public class DescribeGroupedVulRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AssetType") private String assetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AttachTypes") private String attachTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerFieldName") private String containerFieldName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerFieldValue") private String containerFieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CveId") private String cveId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RaspDefend") private Integer raspDefend; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchTags") private String searchTags; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; private DescribeGroupedVulRequest(Builder builder) { super(builder); this.aliasName = builder.aliasName; this.assetType = builder.assetType; this.attachTypes = builder.attachTypes; this.clusterId = builder.clusterId; this.containerFieldName = builder.containerFieldName; this.containerFieldValue = builder.containerFieldValue; this.currentPage = builder.currentPage; this.cveId = builder.cveId; this.dealed = builder.dealed; this.groupId = builder.groupId; this.lang = builder.lang; this.necessity = builder.necessity; this.pageSize = builder.pageSize; this.raspDefend = builder.raspDefend; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.searchTags = builder.searchTags; this.targetType = builder.targetType; this.type = builder.type; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static DescribeGroupedVulRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return assetType */ public String getAssetType() { return this.assetType; } /** * @return attachTypes */ public String getAttachTypes() { return this.attachTypes; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return containerFieldName */ public String getContainerFieldName() { return this.containerFieldName; } /** * @return containerFieldValue */ public String getContainerFieldValue() { return this.containerFieldValue; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return cveId */ public String getCveId() { return this.cveId; } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return searchTags */ public String getSearchTags() { return this.searchTags; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return type */ public String getType() { return this.type; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<DescribeGroupedVulRequest, Builder> { private String aliasName; private String assetType; private String attachTypes; private String clusterId; private String containerFieldName; private String containerFieldValue; private Integer currentPage; private String cveId; private String dealed; private String groupId; private String lang; private String necessity; private Integer pageSize; private Integer raspDefend; private Long resourceDirectoryAccountId; private String searchTags; private String targetType; private String type; private String uuids; private Builder() { super(); } private Builder(DescribeGroupedVulRequest request) { super(request); this.aliasName = request.aliasName; this.assetType = request.assetType; this.attachTypes = request.attachTypes; this.clusterId = request.clusterId; this.containerFieldName = request.containerFieldName; this.containerFieldValue = request.containerFieldValue; this.currentPage = request.currentPage; this.cveId = request.cveId; this.dealed = request.dealed; this.groupId = request.groupId; this.lang = request.lang; this.necessity = request.necessity; this.pageSize = request.pageSize; this.raspDefend = request.raspDefend; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.searchTags = request.searchTags; this.targetType = request.targetType; this.type = request.type; this.uuids = request.uuids; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2019:0230-Important: polkit security update</p> */ public Builder aliasName(String aliasName) { this.putQueryParameter("AliasName", aliasName); this.aliasName = aliasName; return this; } /** * <p>The type of the asset on which the vulnerability is detected. Separate multiple types with commas (,). Valid values:</p> * <ul> * <li><strong>ECS</strong>: Elastic Compute Service (ECS) instance</li> * <li><strong>CONTAINER</strong>: container</li> * </ul> * * <strong>example:</strong> * <p>ECS,CONTAINER</p> */ public Builder assetType(String assetType) { this.putQueryParameter("AssetType", assetType); this.assetType = assetType; return this; } /** * <p>The type of the vulnerability. This parameter is valid only for application vulnerabilities. Separate multiple values with commas (,). Valid values:</p> * <ul> * <li><strong>sca</strong>: vulnerability that is detected based on software component analysis</li> * <li><strong>app</strong>: application vulnerability</li> * </ul> * * <strong>example:</strong> * <p>sca</p> */ public Builder attachTypes(String attachTypes) { this.putQueryParameter("AttachTypes", attachTypes); this.attachTypes = attachTypes; return this; } /** * <p>The cluster ID.</p> * * <strong>example:</strong> * <p>c88fb10da1168494091db6aafc5dd****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The key of the condition that is used to query containers. Valid values:</p> * <ul> * <li><strong>instanceId</strong>: the ID of the asset</li> * <li><strong>appName</strong>: the name of the application</li> * <li><strong>clusterId</strong>: the ID of the cluster</li> * <li><strong>regionId</strong>: the ID of the region</li> * <li><strong>nodeName</strong>: the name of the node</li> * <li><strong>namespace</strong>: the namespace</li> * <li><strong>clusterName</strong>: the name of the cluster</li> * <li><strong>image</strong>: the name of the image</li> * <li><strong>imageRepoName</strong>: the name of the image repository</li> * <li><strong>imageRepoNamespace</strong>: the namespace to which the image repository belongs</li> * <li><strong>imageRepoTag</strong>: the tag that is added to the image</li> * <li><strong>imageDigest</strong>: the digest of the image</li> * </ul> * * <strong>example:</strong> * <p>appName</p> */ public Builder containerFieldName(String containerFieldName) { this.putQueryParameter("ContainerFieldName", containerFieldName); this.containerFieldName = containerFieldName; return this; } /** * <p>The value specified by <strong>ContainerFieldName</strong>.</p> * * <strong>example:</strong> * <p>cc914b0df156d40148412afe4a581****</p> */ public Builder containerFieldValue(String containerFieldValue) { this.putQueryParameter("ContainerFieldValue", containerFieldValue); this.containerFieldValue = containerFieldValue; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The CVE ID.</p> * <blockquote> * <p> You can call the <a href="~~DescribeVulListPage~~">DescribeVulListPage</a> operation to query the CVE ID.</p> * </blockquote> * * <strong>example:</strong> * <p>CVE-2017-15420</p> */ public Builder cveId(String cveId) { this.putQueryParameter("CveId", cveId); this.cveId = cveId; return this; } /** * <p>Specifies whether the vulnerability is handled. Valid values:</p> * <ul> * <li><strong>y</strong>: handled</li> * <li><strong>n</strong>: not handled</li> * </ul> * * <strong>example:</strong> * <p>n</p> */ public Builder dealed(String dealed) { this.putQueryParameter("Dealed", dealed); this.dealed = dealed; return this; } /** * <p>The ID of the asset group.</p> * * <strong>example:</strong> * <p>235454</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The priorities to fix the vulnerabilities. Separate multiple priorities with commas (,). Valid values:</p> * <ul> * <li><strong>asap</strong>: high</li> * <li><strong>later</strong>: medium</li> * <li><strong>nntf</strong>: low</li> * </ul> * * <strong>example:</strong> * <p>asap,later,nntf</p> */ public Builder necessity(String necessity) { this.putQueryParameter("Necessity", necessity); this.necessity = necessity; return this; } /** * <p>The number of entries per page. Default value: 10.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * RaspDefend. */ public Builder raspDefend(Integer raspDefend) { this.putQueryParameter("RaspDefend", raspDefend); this.raspDefend = raspDefend; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to query the account ID.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The tag that is used to search for the vulnerability. Valid values:</p> * <ul> * <li><strong>Restart required</strong></li> * <li><strong>Remote utilization</strong></li> * <li><strong>EXP exists</strong></li> * <li><strong>Available</strong></li> * <li><strong>Elevation of Privilege</strong></li> * <li><strong>Code Execution</strong></li> * </ul> * * <strong>example:</strong> * <p>Code Execution</p> */ public Builder searchTags(String searchTags) { this.putQueryParameter("SearchTags", searchTags); this.searchTags = searchTags; return this; } /** * <p>The query type for containers. Valid values:</p> * <ul> * <li><strong>containerId</strong>: the ID of the container</li> * <li><strong>uuid</strong>: the ID of the asset</li> * </ul> * * <strong>example:</strong> * <p>containerId</p> */ public Builder targetType(String targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } /** * <p>The type of the vulnerability that you want to query. Default value: cve. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerability</li> * <li><strong>sys</strong>: Windows system vulnerability</li> * <li><strong>cms</strong>: Web-CMS vulnerability</li> * <li><strong>app</strong>: application vulnerability that is detected by network scanning</li> * <li><strong>sca</strong>: application vulnerability that is detected by software component analysis</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUID of the server. Separate multiple UUIDs with commas (,).</p> * * <strong>example:</strong> * <p>d42f938c-d962-48a0-90f9-05e4ea****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public DescribeGroupedVulRequest build() { return new DescribeGroupedVulRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedVulResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedVulResponse} extends {@link TeaModel} * * <p>DescribeGroupedVulResponse</p> */ public class DescribeGroupedVulResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupedVulResponseBody body; private DescribeGroupedVulResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupedVulResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupedVulResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupedVulResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupedVulResponseBody body); @Override DescribeGroupedVulResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupedVulResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupedVulResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupedVulResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupedVulResponseBody body) { this.body = body; return this; } @Override public DescribeGroupedVulResponse build() { return new DescribeGroupedVulResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeGroupedVulResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupedVulResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedVulResponseBody</p> */ public class DescribeGroupedVulResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("GroupedVulItems") private java.util.List<GroupedVulItems> groupedVulItems; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeGroupedVulResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.groupedVulItems = builder.groupedVulItems; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeGroupedVulResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return groupedVulItems */ public java.util.List<GroupedVulItems> getGroupedVulItems() { return this.groupedVulItems; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private java.util.List<GroupedVulItems> groupedVulItems; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeGroupedVulResponseBody model) { this.currentPage = model.currentPage; this.groupedVulItems = model.groupedVulItems; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The information about the vulnerability.</p> */ public Builder groupedVulItems(java.util.List<GroupedVulItems> groupedVulItems) { this.groupedVulItems = groupedVulItems; return this; } /** * <p>The number of entries per page. Default value: 10.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>9BFA6D78-07EA-5C0A-9358-E4434573507B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeGroupedVulResponseBody build() { return new DescribeGroupedVulResponseBody(this); } } /** * * {@link DescribeGroupedVulResponseBody} extends {@link TeaModel} * * <p>DescribeGroupedVulResponseBody</p> */ public static class GroupedVulItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("AsapCount") private Integer asapCount; @com.aliyun.core.annotation.NameInMap("GmtFirst") private Long gmtFirst; @com.aliyun.core.annotation.NameInMap("GmtLast") private Long gmtLast; @com.aliyun.core.annotation.NameInMap("HandledCount") private Integer handledCount; @com.aliyun.core.annotation.NameInMap("LanguageType") private String languageType; @com.aliyun.core.annotation.NameInMap("LaterCount") private Integer laterCount; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NntfCount") private Integer nntfCount; @com.aliyun.core.annotation.NameInMap("RaspDefend") private Integer raspDefend; @com.aliyun.core.annotation.NameInMap("Related") private String related; @com.aliyun.core.annotation.NameInMap("Tags") private String tags; @com.aliyun.core.annotation.NameInMap("TotalFixCount") private Long totalFixCount; @com.aliyun.core.annotation.NameInMap("Type") private String type; private GroupedVulItems(Builder builder) { this.aliasName = builder.aliasName; this.asapCount = builder.asapCount; this.gmtFirst = builder.gmtFirst; this.gmtLast = builder.gmtLast; this.handledCount = builder.handledCount; this.languageType = builder.languageType; this.laterCount = builder.laterCount; this.name = builder.name; this.nntfCount = builder.nntfCount; this.raspDefend = builder.raspDefend; this.related = builder.related; this.tags = builder.tags; this.totalFixCount = builder.totalFixCount; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static GroupedVulItems create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return asapCount */ public Integer getAsapCount() { return this.asapCount; } /** * @return gmtFirst */ public Long getGmtFirst() { return this.gmtFirst; } /** * @return gmtLast */ public Long getGmtLast() { return this.gmtLast; } /** * @return handledCount */ public Integer getHandledCount() { return this.handledCount; } /** * @return languageType */ public String getLanguageType() { return this.languageType; } /** * @return laterCount */ public Integer getLaterCount() { return this.laterCount; } /** * @return name */ public String getName() { return this.name; } /** * @return nntfCount */ public Integer getNntfCount() { return this.nntfCount; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return related */ public String getRelated() { return this.related; } /** * @return tags */ public String getTags() { return this.tags; } /** * @return totalFixCount */ public Long getTotalFixCount() { return this.totalFixCount; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String aliasName; private Integer asapCount; private Long gmtFirst; private Long gmtLast; private Integer handledCount; private String languageType; private Integer laterCount; private String name; private Integer nntfCount; private Integer raspDefend; private String related; private String tags; private Long totalFixCount; private String type; private Builder() { } private Builder(GroupedVulItems model) { this.aliasName = model.aliasName; this.asapCount = model.asapCount; this.gmtFirst = model.gmtFirst; this.gmtLast = model.gmtLast; this.handledCount = model.handledCount; this.languageType = model.languageType; this.laterCount = model.laterCount; this.name = model.name; this.nntfCount = model.nntfCount; this.raspDefend = model.raspDefend; this.related = model.related; this.tags = model.tags; this.totalFixCount = model.totalFixCount; this.type = model.type; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2017:0184-Important: mysql security update</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The number of vulnerabilities that have the <strong>high</strong> priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder asapCount(Integer asapCount) { this.asapCount = asapCount; return this; } /** * <p>The timestamp when the vulnerability was first detected. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1639371046000</p> */ public Builder gmtFirst(Long gmtFirst) { this.gmtFirst = gmtFirst; return this; } /** * <p>The timestamp when the vulnerability was last detected. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1639371446000</p> */ public Builder gmtLast(Long gmtLast) { this.gmtLast = gmtLast; return this; } /** * <p>The number of handled vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder handledCount(Integer handledCount) { this.handledCount = handledCount; return this; } /** * <p>The language type associated with the vulnerability. Valid values:</p> * <ul> * <li><strong>java</strong></li> * <li><strong>php</strong></li> * </ul> * <blockquote> * <p> This parameter is valid only for a vulnerability of the sca type.</p> * </blockquote> * * <strong>example:</strong> * <p>java</p> */ public Builder languageType(String languageType) { this.languageType = languageType; return this; } /** * <p>The number of vulnerabilities that have the <strong>medium</strong> priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder laterCount(Integer laterCount) { this.laterCount = laterCount; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>oval:com.redhat.rhsa:def:20170184</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The number of vulnerabilities that have the <strong>low</strong> priority.</p> * * <strong>example:</strong> * <p>59</p> */ public Builder nntfCount(Integer nntfCount) { this.nntfCount = nntfCount; return this; } /** * <p>Indicates whether the application protection feature is supported. Valid values:</p> * <ul> * <li><strong>0</strong>: not supported</li> * <li><strong>1</strong>: supported</li> * </ul> * <blockquote> * <p> If this parameter is not returned, the application protection feature is not supported.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder raspDefend(Integer raspDefend) { this.raspDefend = raspDefend; return this; } /** * <p>The IDs of the common vulnerabilities and exposures (CVEs) that are related to the vulnerability.</p> * * <strong>example:</strong> * <p>CVE-2023-24881,CVE-2023-24898</p> */ public Builder related(String related) { this.related = related; return this; } /** * <p>The tag of the vulnerability. Valid values:</p> * <ul> * <li><strong>Restart required</strong></li> * <li><strong>Remote utilization</strong></li> * <li><strong>EXP exists</strong></li> * <li><strong>Available</strong></li> * <li><strong>Elevation of Privilege</strong></li> * <li><strong>Code Execution</strong></li> * </ul> * * <strong>example:</strong> * <p>Code Execution</p> */ public Builder tags(String tags) { this.tags = tags; return this; } /** * <p>The total number of fixed vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder totalFixCount(Long totalFixCount) { this.totalFixCount = totalFixCount; return this; } /** * <p>The type of the vulnerability. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerability</li> * <li><strong>sys</strong>: Windows system vulnerability</li> * <li><strong>cms</strong>: Web-CMS vulnerability</li> * <li><strong>app</strong>: application vulnerability</li> * <li><strong>emg</strong>: urgent vulnerability</li> * <li><strong>sca</strong>: vulnerability that is detected by software component analysis</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } public GroupedVulItems build() { return new GroupedVulItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHcExportInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHcExportInfoRequest} extends {@link RequestModel} * * <p>DescribeHcExportInfoRequest</p> */ public class DescribeHcExportInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportId") private Long exportId; private DescribeHcExportInfoRequest(Builder builder) { super(builder); this.exportId = builder.exportId; } public static Builder builder() { return new Builder(); } public static DescribeHcExportInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return exportId */ public Long getExportId() { return this.exportId; } public static final class Builder extends Request.Builder<DescribeHcExportInfoRequest, Builder> { private Long exportId; private Builder() { super(); } private Builder(DescribeHcExportInfoRequest request) { super(request); this.exportId = request.exportId; } /** * <p>The ID of the export task.</p> * <blockquote> * <p> You can call the <a href="~~ExportWarning~~">ExportWarning</a> operation to query the IDs of export tasks.</p> * </blockquote> * * <strong>example:</strong> * <p>443285</p> */ public Builder exportId(Long exportId) { this.putQueryParameter("ExportId", exportId); this.exportId = exportId; return this; } @Override public DescribeHcExportInfoRequest build() { return new DescribeHcExportInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHcExportInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHcExportInfoResponse} extends {@link TeaModel} * * <p>DescribeHcExportInfoResponse</p> */ public class DescribeHcExportInfoResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHcExportInfoResponseBody body; private DescribeHcExportInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHcExportInfoResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHcExportInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHcExportInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHcExportInfoResponseBody body); @Override DescribeHcExportInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHcExportInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHcExportInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHcExportInfoResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHcExportInfoResponseBody body) { this.body = body; return this; } @Override public DescribeHcExportInfoResponse build() { return new DescribeHcExportInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHcExportInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHcExportInfoResponseBody} extends {@link TeaModel} * * <p>DescribeHcExportInfoResponseBody</p> */ public class DescribeHcExportInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentCount") private Integer currentCount; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Link") private String link; @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResultStatus") private String resultStatus; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeHcExportInfoResponseBody(Builder builder) { this.currentCount = builder.currentCount; this.fileName = builder.fileName; this.gmtCreate = builder.gmtCreate; this.id = builder.id; this.link = builder.link; this.progress = builder.progress; this.requestId = builder.requestId; this.resultStatus = builder.resultStatus; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeHcExportInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentCount */ public Integer getCurrentCount() { return this.currentCount; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return id */ public Long getId() { return this.id; } /** * @return link */ public String getLink() { return this.link; } /** * @return progress */ public Integer getProgress() { return this.progress; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resultStatus */ public String getResultStatus() { return this.resultStatus; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentCount; private String fileName; private Long gmtCreate; private Long id; private String link; private Integer progress; private String requestId; private String resultStatus; private Integer totalCount; private Builder() { } private Builder(DescribeHcExportInfoResponseBody model) { this.currentCount = model.currentCount; this.fileName = model.fileName; this.gmtCreate = model.gmtCreate; this.id = model.id; this.link = model.link; this.progress = model.progress; this.requestId = model.requestId; this.resultStatus = model.resultStatus; this.totalCount = model.totalCount; } /** * <p>The number of exported entries.</p> * * <strong>example:</strong> * <p>148</p> */ public Builder currentCount(Integer currentCount) { this.currentCount = currentCount; return this; } /** * <p>The name of the exported file.</p> * * <strong>example:</strong> * <p>health_check_export_2022****</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The time when the export task was created.</p> * * <strong>example:</strong> * <p>2022-11-03T15:15Z</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The ID of the export task.</p> * * <strong>example:</strong> * <p>1082278</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The download URL for the exported file.</p> * * <strong>example:</strong> * <p><a href="https://hc-export.oss-cn-shanghai.aliyuncs.com/export_hc/health_check_export_20221222_1671699255808.zip?Expires=1672304056&OSSAccessKeyId=****&Signature=">https://hc-export.oss-cn-shanghai.aliyuncs.com/export_hc/health_check_export_20221222_1671699255808.zip?Expires=1672304056&amp;OSSAccessKeyId=****&amp;Signature=</a>****</p> */ public Builder link(String link) { this.link = link; return this; } /** * <p>The progress percentage of the export task.</p> * * <strong>example:</strong> * <p>89</p> */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>3C2C94CF-ED08-50C0-BC72-C5029251****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The status of the export task. Valid values:</p> * <ul> * <li><strong>exporting</strong>: The task is in progress.</li> * <li><strong>success</strong>: The task is complete.</li> * </ul> * * <strong>example:</strong> * <p>exporting</p> */ public Builder resultStatus(String resultStatus) { this.resultStatus = resultStatus; return this; } /** * <p>The total number of exported entries.</p> * * <strong>example:</strong> * <p>624</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeHcExportInfoResponseBody build() { return new DescribeHcExportInfoResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHoneyPotAuthRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHoneyPotAuthRequest} extends {@link RequestModel} * * <p>DescribeHoneyPotAuthRequest</p> */ public class DescribeHoneyPotAuthRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribeHoneyPotAuthRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribeHoneyPotAuthRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<DescribeHoneyPotAuthRequest, Builder> { private String lang; private Builder() { super(); } private Builder(DescribeHoneyPotAuthRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public DescribeHoneyPotAuthRequest build() { return new DescribeHoneyPotAuthRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHoneyPotAuthResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHoneyPotAuthResponse} extends {@link TeaModel} * * <p>DescribeHoneyPotAuthResponse</p> */ public class DescribeHoneyPotAuthResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHoneyPotAuthResponseBody body; private DescribeHoneyPotAuthResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHoneyPotAuthResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHoneyPotAuthResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHoneyPotAuthResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHoneyPotAuthResponseBody body); @Override DescribeHoneyPotAuthResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHoneyPotAuthResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHoneyPotAuthResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHoneyPotAuthResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHoneyPotAuthResponseBody body) { this.body = body; return this; } @Override public DescribeHoneyPotAuthResponse build() { return new DescribeHoneyPotAuthResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHoneyPotAuthResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHoneyPotAuthResponseBody} extends {@link TeaModel} * * <p>DescribeHoneyPotAuthResponseBody</p> */ public class DescribeHoneyPotAuthResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("HoneyPotAuthCount") private Long honeyPotAuthCount; @com.aliyun.core.annotation.NameInMap("HoneyPotCount") private Integer honeyPotCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHoneyPotAuthResponseBody(Builder builder) { this.honeyPotAuthCount = builder.honeyPotAuthCount; this.honeyPotCount = builder.honeyPotCount; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHoneyPotAuthResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return honeyPotAuthCount */ public Long getHoneyPotAuthCount() { return this.honeyPotAuthCount; } /** * @return honeyPotCount */ public Integer getHoneyPotCount() { return this.honeyPotCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Long honeyPotAuthCount; private Integer honeyPotCount; private String requestId; private Builder() { } private Builder(DescribeHoneyPotAuthResponseBody model) { this.honeyPotAuthCount = model.honeyPotAuthCount; this.honeyPotCount = model.honeyPotCount; this.requestId = model.requestId; } /** * <p>The total quota.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder honeyPotAuthCount(Long honeyPotAuthCount) { this.honeyPotAuthCount = honeyPotAuthCount; return this; } /** * <p>The quota that is consumed.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder honeyPotCount(Integer honeyPotCount) { this.honeyPotCount = honeyPotCount; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>0F5023B6-9C1F-459F-ACCC-8B4636804037</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHoneyPotAuthResponseBody build() { return new DescribeHoneyPotAuthResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHoneyPotSuspStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHoneyPotSuspStatisticsRequest} extends {@link RequestModel} * * <p>DescribeHoneyPotSuspStatisticsRequest</p> */ public class DescribeHoneyPotSuspStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") @com.aliyun.core.annotation.Validation(required = true) private String from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatisticsDays") @com.aliyun.core.annotation.Validation(required = true) private Integer statisticsDays; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatisticsKeyType") @com.aliyun.core.annotation.Validation(required = true) private String statisticsKeyType; private DescribeHoneyPotSuspStatisticsRequest(Builder builder) { super(builder); this.from = builder.from; this.lang = builder.lang; this.statisticsDays = builder.statisticsDays; this.statisticsKeyType = builder.statisticsKeyType; } public static Builder builder() { return new Builder(); } public static DescribeHoneyPotSuspStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return from */ public String getFrom() { return this.from; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return statisticsDays */ public Integer getStatisticsDays() { return this.statisticsDays; } /** * @return statisticsKeyType */ public String getStatisticsKeyType() { return this.statisticsKeyType; } public static final class Builder extends Request.Builder<DescribeHoneyPotSuspStatisticsRequest, Builder> { private String from; private String lang; private Integer statisticsDays; private String statisticsKeyType; private Builder() { super(); } private Builder(DescribeHoneyPotSuspStatisticsRequest request) { super(request); this.from = request.from; this.lang = request.lang; this.statisticsDays = request.statisticsDays; this.statisticsKeyType = request.statisticsKeyType; } /** * <p>The source of the request. Set the value to <strong>honeypot</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>honeypot</p> */ public Builder from(String from) { this.putQueryParameter("From", from); this.from = from; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The time range of the data to query. Unit: days.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder statisticsDays(Integer statisticsDays) { this.putQueryParameter("StatisticsDays", statisticsDays); this.statisticsDays = statisticsDays; return this; } /** * <p>The type of the asset to query. Valid values:</p> * <ul> * <li><strong>vpcInstanceId</strong>: VPC</li> * <li><strong>uuid</strong>: server</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>vpcInstanceId</p> */ public Builder statisticsKeyType(String statisticsKeyType) { this.putQueryParameter("StatisticsKeyType", statisticsKeyType); this.statisticsKeyType = statisticsKeyType; return this; } @Override public DescribeHoneyPotSuspStatisticsRequest build() { return new DescribeHoneyPotSuspStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHoneyPotSuspStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHoneyPotSuspStatisticsResponse} extends {@link TeaModel} * * <p>DescribeHoneyPotSuspStatisticsResponse</p> */ public class DescribeHoneyPotSuspStatisticsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHoneyPotSuspStatisticsResponseBody body; private DescribeHoneyPotSuspStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHoneyPotSuspStatisticsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHoneyPotSuspStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHoneyPotSuspStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHoneyPotSuspStatisticsResponseBody body); @Override DescribeHoneyPotSuspStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHoneyPotSuspStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHoneyPotSuspStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHoneyPotSuspStatisticsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHoneyPotSuspStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeHoneyPotSuspStatisticsResponse build() { return new DescribeHoneyPotSuspStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHoneyPotSuspStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHoneyPotSuspStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeHoneyPotSuspStatisticsResponseBody</p> */ public class DescribeHoneyPotSuspStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SuspHoneyPotStatisticsResponse") private java.util.List<SuspHoneyPotStatisticsResponse> suspHoneyPotStatisticsResponse; private DescribeHoneyPotSuspStatisticsResponseBody(Builder builder) { this.requestId = builder.requestId; this.suspHoneyPotStatisticsResponse = builder.suspHoneyPotStatisticsResponse; } public static Builder builder() { return new Builder(); } public static DescribeHoneyPotSuspStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return suspHoneyPotStatisticsResponse */ public java.util.List<SuspHoneyPotStatisticsResponse> getSuspHoneyPotStatisticsResponse() { return this.suspHoneyPotStatisticsResponse; } public static final class Builder { private String requestId; private java.util.List<SuspHoneyPotStatisticsResponse> suspHoneyPotStatisticsResponse; private Builder() { } private Builder(DescribeHoneyPotSuspStatisticsResponseBody model) { this.requestId = model.requestId; this.suspHoneyPotStatisticsResponse = model.suspHoneyPotStatisticsResponse; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>9E3969FA-5ACC-4256-9FDE-BB6918CD0410</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the top 5 VPCs or assets for which alerts are most frequently generated.</p> */ public Builder suspHoneyPotStatisticsResponse(java.util.List<SuspHoneyPotStatisticsResponse> suspHoneyPotStatisticsResponse) { this.suspHoneyPotStatisticsResponse = suspHoneyPotStatisticsResponse; return this; } public DescribeHoneyPotSuspStatisticsResponseBody build() { return new DescribeHoneyPotSuspStatisticsResponseBody(this); } } /** * * {@link DescribeHoneyPotSuspStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeHoneyPotSuspStatisticsResponseBody</p> */ public static class SuspHoneyPotStatisticsResponse extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; private SuspHoneyPotStatisticsResponse(Builder builder) { this.count = builder.count; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.type = builder.type; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; } public static Builder builder() { return new Builder(); } public static SuspHoneyPotStatisticsResponse create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return type */ public String getType() { return this.type; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } public static final class Builder { private Integer count; private String instanceId; private String instanceName; private String type; private String vpcId; private String vpcName; private Builder() { } private Builder(SuspHoneyPotStatisticsResponse model) { this.count = model.count; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.type = model.type; this.vpcId = model.vpcId; this.vpcName = model.vpcName; } /** * <p>The total number of alerts that are generated for the asset.</p> * * <strong>example:</strong> * <p>8793</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The ID of the server.</p> * <blockquote> * <p>This parameter is returned only when <strong>StatisticsKeyType</strong> is set to <strong>uuid</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>i-p0whhoba24wd28p8****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * <blockquote> * <p>This parameter is returned only when <strong>StatisticsKeyType</strong> is set to <strong>uuid</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>abc-launch-advisor</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The type of the asset. Valid values:</p> * <ul> * <li><strong>vpcInstanceId</strong>: VPC</li> * <li><strong>uuid</strong>: server</li> * </ul> * * <strong>example:</strong> * <p>vpcInstanceId</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The ID of the VPC.</p> * <blockquote> * <p>This parameter is returned only when <strong>StatisticsKeyType</strong> is set to <strong>vpcInstanceId</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>vpc-p0wwdsuutdyu1ygkt****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The name of the VPC.</p> * <blockquote> * <p>This parameter is returned only when <strong>StatisticsKeyType</strong> is set to <strong>vpcInstanceId</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>abc01</p> */ public Builder vpcName(String vpcName) { this.vpcName = vpcName; return this; } public SuspHoneyPotStatisticsResponse build() { return new SuspHoneyPotStatisticsResponse(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyClusterListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyClusterListRequest} extends {@link RequestModel} * * <p>DescribeHybridProxyClusterListRequest</p> */ public class DescribeHybridProxyClusterListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private DescribeHybridProxyClusterListRequest(Builder builder) { super(builder); this.clusterName = builder.clusterName; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyClusterListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeHybridProxyClusterListRequest, Builder> { private String clusterName; private Integer currentPage; private Integer pageSize; private Builder() { super(); } private Builder(DescribeHybridProxyClusterListRequest request) { super(request); this.clusterName = request.clusterName; this.currentPage = request.currentPage; this.pageSize = request.pageSize; } /** * <p>The name of the proxy cluster.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeHybridProxyClusterListRequest build() { return new DescribeHybridProxyClusterListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyClusterListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyClusterListResponse} extends {@link TeaModel} * * <p>DescribeHybridProxyClusterListResponse</p> */ public class DescribeHybridProxyClusterListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHybridProxyClusterListResponseBody body; private DescribeHybridProxyClusterListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHybridProxyClusterListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHybridProxyClusterListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHybridProxyClusterListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHybridProxyClusterListResponseBody body); @Override DescribeHybridProxyClusterListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHybridProxyClusterListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHybridProxyClusterListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHybridProxyClusterListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHybridProxyClusterListResponseBody body) { this.body = body; return this; } @Override public DescribeHybridProxyClusterListResponse build() { return new DescribeHybridProxyClusterListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyClusterListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyClusterListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyClusterListResponseBody</p> */ public class DescribeHybridProxyClusterListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterList") private java.util.List<ClusterList> clusterList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHybridProxyClusterListResponseBody(Builder builder) { this.clusterList = builder.clusterList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyClusterListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return clusterList */ public java.util.List<ClusterList> getClusterList() { return this.clusterList; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ClusterList> clusterList; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeHybridProxyClusterListResponseBody model) { this.clusterList = model.clusterList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The proxy clusters.</p> */ public Builder clusterList(java.util.List<ClusterList> clusterList) { this.clusterList = clusterList; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C1A36413-50B2-5B2F-843F-EB14C582713F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHybridProxyClusterListResponseBody build() { return new DescribeHybridProxyClusterListResponseBody(this); } } /** * * {@link DescribeHybridProxyClusterListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyClusterListResponseBody</p> */ public static class ClusterList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthKey") private String authKey; @com.aliyun.core.annotation.NameInMap("AuthKeySecret") private String authKeySecret; @com.aliyun.core.annotation.NameInMap("ClientCount") private Integer clientCount; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("InstallCommand") private String installCommand; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("LastHeartTime") private Long lastHeartTime; @com.aliyun.core.annotation.NameInMap("ProxyCount") private Integer proxyCount; @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.NameInMap("Status") private String status; private ClusterList(Builder builder) { this.authKey = builder.authKey; this.authKeySecret = builder.authKeySecret; this.clientCount = builder.clientCount; this.clusterName = builder.clusterName; this.installCommand = builder.installCommand; this.ip = builder.ip; this.lastHeartTime = builder.lastHeartTime; this.proxyCount = builder.proxyCount; this.remark = builder.remark; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ClusterList create() { return builder().build(); } /** * @return authKey */ public String getAuthKey() { return this.authKey; } /** * @return authKeySecret */ public String getAuthKeySecret() { return this.authKeySecret; } /** * @return clientCount */ public Integer getClientCount() { return this.clientCount; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return installCommand */ public String getInstallCommand() { return this.installCommand; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return lastHeartTime */ public Long getLastHeartTime() { return this.lastHeartTime; } /** * @return proxyCount */ public Integer getProxyCount() { return this.proxyCount; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String authKey; private String authKeySecret; private Integer clientCount; private String clusterName; private String installCommand; private String ip; private Long lastHeartTime; private Integer proxyCount; private String remark; private String status; private Builder() { } private Builder(ClusterList model) { this.authKey = model.authKey; this.authKeySecret = model.authKeySecret; this.clientCount = model.clientCount; this.clusterName = model.clusterName; this.installCommand = model.installCommand; this.ip = model.ip; this.lastHeartTime = model.lastHeartTime; this.proxyCount = model.proxyCount; this.remark = model.remark; this.status = model.status; } /** * <p>The ID of the credential that is used for cluster authentication.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder authKey(String authKey) { this.authKey = authKey; return this; } /** * <p>The key of the credential that is used for cluster authentication.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder authKeySecret(String authKeySecret) { this.authKeySecret = authKeySecret; return this; } /** * <p>The number of servers that are connected to the proxy cluster.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder clientCount(Integer clientCount) { this.clientCount = clientCount; return this; } /** * <p>The name of the proxy cluster.</p> * * <strong>example:</strong> * <p>idc-sas-proxy</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The installation command for the node of the proxy cluster.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder installCommand(String installCommand) { this.installCommand = installCommand; return this; } /** * <p>The endpoint of the cluster. An IP address or a domain name is specified.</p> * * <strong>example:</strong> * <p>114.115.XXX.XXX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The timestamp when the cluster last sent a heartbeat message. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1608304654000</p> */ public Builder lastHeartTime(Long lastHeartTime) { this.lastHeartTime = lastHeartTime; return this; } /** * <p>The number of proxy nodes.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder proxyCount(Integer proxyCount) { this.proxyCount = proxyCount; return this; } /** * <p>The description of the proxy cluster.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder remark(String remark) { this.remark = remark; return this; } /** * <p>The status of the cluster.</p> * * <strong>example:</strong> * <p>offline</p> */ public Builder status(String status) { this.status = status; return this; } public ClusterList build() { return new ClusterList(this); } } } /** * * {@link DescribeHybridProxyClusterListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyClusterListResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>45</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyLinkedClientListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyLinkedClientListRequest} extends {@link RequestModel} * * <p>DescribeHybridProxyLinkedClientListRequest</p> */ public class DescribeHybridProxyLinkedClientListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProxyUuid") private String proxyUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribeHybridProxyLinkedClientListRequest(Builder builder) { super(builder); this.clusterName = builder.clusterName; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.proxyUuid = builder.proxyUuid; this.remark = builder.remark; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyLinkedClientListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return proxyUuid */ public String getProxyUuid() { return this.proxyUuid; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeHybridProxyLinkedClientListRequest, Builder> { private String clusterName; private Integer currentPage; private Integer pageSize; private String proxyUuid; private String remark; private String uuid; private Builder() { super(); } private Builder(DescribeHybridProxyLinkedClientListRequest request) { super(request); this.clusterName = request.clusterName; this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.proxyUuid = request.proxyUuid; this.remark = request.remark; this.uuid = request.uuid; } /** * <p>The name of the proxy cluster. You can query the name of the proxy cluster in the Security Center console.</p> * * <strong>example:</strong> * <p>office-proxy</p> */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The UUID of the proxy node. You can call the DescribeHybridProxyList operation to query the UUID of the proxy node.</p> * * <strong>example:</strong> * <p>inet-proxy-3bb11fad-37d6-4aee-9c37-b0ad1612XXXX</p> */ public Builder proxyUuid(String proxyUuid) { this.putQueryParameter("ProxyUuid", proxyUuid); this.proxyUuid = proxyUuid; return this; } /** * <p>The description of the proxy cluster.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The UUID of the server on which the Security Center agent is installed. You can query the UUID by querying asset information.</p> * * <strong>example:</strong> * <p>80d2f7d6-31a9-4d7f-8ff4-7ecc42f89ca****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeHybridProxyLinkedClientListRequest build() { return new DescribeHybridProxyLinkedClientListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyLinkedClientListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyLinkedClientListResponse} extends {@link TeaModel} * * <p>DescribeHybridProxyLinkedClientListResponse</p> */ public class DescribeHybridProxyLinkedClientListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHybridProxyLinkedClientListResponseBody body; private DescribeHybridProxyLinkedClientListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHybridProxyLinkedClientListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHybridProxyLinkedClientListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHybridProxyLinkedClientListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHybridProxyLinkedClientListResponseBody body); @Override DescribeHybridProxyLinkedClientListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHybridProxyLinkedClientListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHybridProxyLinkedClientListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHybridProxyLinkedClientListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHybridProxyLinkedClientListResponseBody body) { this.body = body; return this; } @Override public DescribeHybridProxyLinkedClientListResponse build() { return new DescribeHybridProxyLinkedClientListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyLinkedClientListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyLinkedClientListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyLinkedClientListResponseBody</p> */ public class DescribeHybridProxyLinkedClientListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHybridProxyLinkedClientListResponseBody(Builder builder) { this.list = builder.list; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyLinkedClientListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<List> list; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeHybridProxyLinkedClientListResponseBody model) { this.list = model.list; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>B01B804F-947C-5623-B050-1C8FDFA796CF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHybridProxyLinkedClientListResponseBody build() { return new DescribeHybridProxyLinkedClientListResponseBody(this); } } /** * * {@link DescribeHybridProxyLinkedClientListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyLinkedClientListResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("OsName") private String osName; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RegionName") private String regionName; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("VendorName") private String vendorName; private List(Builder builder) { this.groupName = builder.groupName; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.os = builder.os; this.osName = builder.osName; this.regionId = builder.regionId; this.regionName = builder.regionName; this.status = builder.status; this.tag = builder.tag; this.uuid = builder.uuid; this.vendorName = builder.vendorName; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return os */ public String getOs() { return this.os; } /** * @return osName */ public String getOsName() { return this.osName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return regionName */ public String getRegionName() { return this.regionName; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tag */ public String getTag() { return this.tag; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return vendorName */ public String getVendorName() { return this.vendorName; } public static final class Builder { private String groupName; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String os; private String osName; private String regionId; private String regionName; private String status; private String tag; private String uuid; private String vendorName; private Builder() { } private Builder(List model) { this.groupName = model.groupName; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.os = model.os; this.osName = model.osName; this.regionId = model.regionId; this.regionName = model.regionName; this.status = model.status; this.tag = model.tag; this.uuid = model.uuid; this.vendorName = model.vendorName; } /** * <p>The name of the server group.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>i-bp1a69mvjujbakxu****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>sql-test-0****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address.</p> * * <strong>example:</strong> * <p>172.25.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The name of the operating system.</p> * * <strong>example:</strong> * <p>centos-xxx</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The name of the operating system for your asset.</p> * * <strong>example:</strong> * <p>centos</p> */ public Builder osName(String osName) { this.osName = osName; return this; } /** * <p>The ID of the region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The name of the region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-qingdao</p> */ public Builder regionName(String regionName) { this.regionName = regionName; return this; } /** * <p>The status of the Security Center agent.</p> * * <strong>example:</strong> * <p>online</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The name of the tag added to the server.</p> * * <strong>example:</strong> * <p>latest</p> */ public Builder tag(String tag) { this.tag = tag; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>The name of the service provider.</p> * * <strong>example:</strong> * <p>ALIYUN</p> */ public Builder vendorName(String vendorName) { this.vendorName = vendorName; return this; } public List build() { return new List(this); } } } /** * * {@link DescribeHybridProxyLinkedClientListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyLinkedClientListResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries on the current page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>149</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyListRequest} extends {@link RequestModel} * * <p>DescribeHybridProxyListRequest</p> */ public class DescribeHybridProxyListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private DescribeHybridProxyListRequest(Builder builder) { super(builder); this.clusterName = builder.clusterName; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeHybridProxyListRequest, Builder> { private String clusterName; private Integer currentPage; private Integer pageSize; private Builder() { super(); } private Builder(DescribeHybridProxyListRequest request) { super(request); this.clusterName = request.clusterName; this.currentPage = request.currentPage; this.pageSize = request.pageSize; } /** * <p>The name of the proxy cluster.</p> * * <strong>example:</strong> * <p>idc-sas-proxy</p> */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries per page. Default value: 20.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeHybridProxyListRequest build() { return new DescribeHybridProxyListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyListResponse} extends {@link TeaModel} * * <p>DescribeHybridProxyListResponse</p> */ public class DescribeHybridProxyListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHybridProxyListResponseBody body; private DescribeHybridProxyListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHybridProxyListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHybridProxyListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHybridProxyListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHybridProxyListResponseBody body); @Override DescribeHybridProxyListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHybridProxyListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHybridProxyListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHybridProxyListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHybridProxyListResponseBody body) { this.body = body; return this; } @Override public DescribeHybridProxyListResponse build() { return new DescribeHybridProxyListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyListResponseBody</p> */ public class DescribeHybridProxyListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("ProxyList") private java.util.List<ProxyList> proxyList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHybridProxyListResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.proxyList = builder.proxyList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return proxyList */ public java.util.List<ProxyList> getProxyList() { return this.proxyList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<ProxyList> proxyList; private String requestId; private Builder() { } private Builder(DescribeHybridProxyListResponseBody model) { this.pageInfo = model.pageInfo; this.proxyList = model.proxyList; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The information about the proxy clusters.</p> */ public Builder proxyList(java.util.List<ProxyList> proxyList) { this.proxyList = proxyList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>75801E5D-E2EB-5C1D-B65D-2F7D2B00EF93</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHybridProxyListResponseBody build() { return new DescribeHybridProxyListResponseBody(this); } } /** * * {@link DescribeHybridProxyListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyListResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>69</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribeHybridProxyListResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyListResponseBody</p> */ public static class ProxyList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClientCount") private Integer clientCount; @com.aliyun.core.annotation.NameInMap("CurrentVersion") private String currentVersion; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("ProxyUuid") private String proxyUuid; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ProxyList(Builder builder) { this.clientCount = builder.clientCount; this.currentVersion = builder.currentVersion; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.proxyUuid = builder.proxyUuid; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ProxyList create() { return builder().build(); } /** * @return clientCount */ public Integer getClientCount() { return this.clientCount; } /** * @return currentVersion */ public String getCurrentVersion() { return this.currentVersion; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return proxyUuid */ public String getProxyUuid() { return this.proxyUuid; } /** * @return status */ public String getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Integer clientCount; private String currentVersion; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String proxyUuid; private String status; private String uuid; private Builder() { } private Builder(ProxyList model) { this.clientCount = model.clientCount; this.currentVersion = model.currentVersion; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.proxyUuid = model.proxyUuid; this.status = model.status; this.uuid = model.uuid; } /** * <p>The number of servers that are connected to the proxy instance.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder clientCount(Integer clientCount) { this.clientCount = clientCount; return this; } /** * <p>The version of the proxy instance.</p> * * <strong>example:</strong> * <p>proxy_01_05</p> */ public Builder currentVersion(String currentVersion) { this.currentVersion = currentVersion; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>i-uf61q03boqhhmeai1XXX</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>dev</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>47.76.XXX.XXX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>172.23.XXX.XXX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The UUID of the proxy node.</p> * * <strong>example:</strong> * <p>inet-proxy-3bb11fad-37d6-4aee-9c37-b0ad1612a18e</p> */ public Builder proxyUuid(String proxyUuid) { this.proxyUuid = proxyUuid; return this; } /** * <p>The status of the proxy server. Valid values:</p> * <ul> * <li><strong>online</strong></li> * <li><strong>offline</strong></li> * </ul> * * <strong>example:</strong> * <p>online</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The UUID of the server that is connected to the proxy instance.</p> * * <strong>example:</strong> * <p>59a9d158-b2f0-4766-a893-ae67b943XXXX</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public ProxyList build() { return new ProxyList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyPolicyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyPolicyRequest} extends {@link RequestModel} * * <p>DescribeHybridProxyPolicyRequest</p> */ public class DescribeHybridProxyPolicyRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") @com.aliyun.core.annotation.Validation(required = true) private String clusterName; private DescribeHybridProxyPolicyRequest(Builder builder) { super(builder); this.clusterName = builder.clusterName; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyPolicyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } public static final class Builder extends Request.Builder<DescribeHybridProxyPolicyRequest, Builder> { private String clusterName; private Builder() { super(); } private Builder(DescribeHybridProxyPolicyRequest request) { super(request); this.clusterName = request.clusterName; } /** * <p>The name of the proxy cluster. You can query the name of the proxy cluster in the Security Center console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-idc</p> */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } @Override public DescribeHybridProxyPolicyRequest build() { return new DescribeHybridProxyPolicyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyPolicyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyPolicyResponse} extends {@link TeaModel} * * <p>DescribeHybridProxyPolicyResponse</p> */ public class DescribeHybridProxyPolicyResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeHybridProxyPolicyResponseBody body; private DescribeHybridProxyPolicyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHybridProxyPolicyResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeHybridProxyPolicyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHybridProxyPolicyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHybridProxyPolicyResponseBody body); @Override DescribeHybridProxyPolicyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHybridProxyPolicyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHybridProxyPolicyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHybridProxyPolicyResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeHybridProxyPolicyResponseBody body) { this.body = body; return this; } @Override public DescribeHybridProxyPolicyResponse build() { return new DescribeHybridProxyPolicyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeHybridProxyPolicyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeHybridProxyPolicyResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyPolicyResponseBody</p> */ public class DescribeHybridProxyPolicyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("PolicyList") private java.util.List<PolicyList> policyList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHybridProxyPolicyResponseBody(Builder builder) { this.count = builder.count; this.policyList = builder.policyList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHybridProxyPolicyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return policyList */ public java.util.List<PolicyList> getPolicyList() { return this.policyList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer count; private java.util.List<PolicyList> policyList; private String requestId; private Builder() { } private Builder(DescribeHybridProxyPolicyResponseBody model) { this.count = model.count; this.policyList = model.policyList; this.requestId = model.requestId; } /** * <p>The number of entries on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The data collection configurations of the proxy cluster.</p> */ public Builder policyList(java.util.List<PolicyList> policyList) { this.policyList = policyList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F7A1B40A-7EED-55A0-BCBC-2F83A486F0AB</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHybridProxyPolicyResponseBody build() { return new DescribeHybridProxyPolicyResponseBody(this); } } /** * * {@link DescribeHybridProxyPolicyResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyPolicyResponseBody</p> */ public static class Info extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Type") private String type; private Info(Builder builder) { this.config = builder.config; this.fileName = builder.fileName; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Info create() { return builder().build(); } /** * @return config */ public String getConfig() { return this.config; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String config; private String fileName; private String type; private Builder() { } private Builder(Info model) { this.config = model.config; this.fileName = model.fileName; this.type = model.type; } /** * <p>The value of the policy configurations.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The name of the file. After you configure a blocking policy, the blocked data is written to the file.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The type of the policy that you configured. Valid values:</p> * <ul> * <li><strong>file</strong></li> * <li><strong>net</strong></li> * <li><strong>process</strong></li> * </ul> * * <strong>example:</strong> * <p>file</p> */ public Builder type(String type) { this.type = type; return this; } public Info build() { return new Info(this); } } } /** * * {@link DescribeHybridProxyPolicyResponseBody} extends {@link TeaModel} * * <p>DescribeHybridProxyPolicyResponseBody</p> */ public static class PolicyList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Info") private java.util.List<Info> info; @com.aliyun.core.annotation.NameInMap("PolicyType") private String policyType; private PolicyList(Builder builder) { this.info = builder.info; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static PolicyList create() { return builder().build(); } /** * @return info */ public java.util.List<Info> getInfo() { return this.info; } /** * @return policyType */ public String getPolicyType() { return this.policyType; } public static final class Builder { private java.util.List<Info> info; private String policyType; private Builder() { } private Builder(PolicyList model) { this.info = model.info; this.policyType = model.policyType; } /** * <p>The information about the policy.</p> */ public Builder info(java.util.List<Info> info) { this.info = info; return this; } /** * <p>The type of the policy. Valid values:</p> * <ul> * <li><strong>limitFrequency</strong></li> * <li><strong>limitBandWidth</strong></li> * </ul> * * <strong>example:</strong> * <p>limitBandWidth</p> */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } public PolicyList build() { return new PolicyList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcAssetCriteriaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcAssetCriteriaRequest} extends {@link RequestModel} * * <p>DescribeIdcAssetCriteriaRequest</p> */ public class DescribeIdcAssetCriteriaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Value") private String value; private DescribeIdcAssetCriteriaRequest(Builder builder) { super(builder); this.status = builder.status; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DescribeIdcAssetCriteriaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder extends Request.Builder<DescribeIdcAssetCriteriaRequest, Builder> { private Integer status; private String value; private Builder() { super(); } private Builder(DescribeIdcAssetCriteriaRequest request) { super(request); this.status = request.status; this.value = request.value; } /** * <p>The status of the IP address. Valid values:</p> * <ul> * <li><strong>0</strong>: The IP address is valid.</li> * <li><strong>1</strong>: The IP address is ignored.</li> * <li><em>2</em>: The IP address is invalid.</li> * <li><em>3</em>: The IP address is expired.</li> * <li><em>4</em>: The probe that is used to scan the IP address does not exist.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The keyword that is used to match assets in fuzzy mode.</p> * * <strong>example:</strong> * <p>testwww</p> */ public Builder value(String value) { this.putQueryParameter("Value", value); this.value = value; return this; } @Override public DescribeIdcAssetCriteriaRequest build() { return new DescribeIdcAssetCriteriaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcAssetCriteriaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcAssetCriteriaResponse} extends {@link TeaModel} * * <p>DescribeIdcAssetCriteriaResponse</p> */ public class DescribeIdcAssetCriteriaResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeIdcAssetCriteriaResponseBody body; private DescribeIdcAssetCriteriaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeIdcAssetCriteriaResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeIdcAssetCriteriaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeIdcAssetCriteriaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeIdcAssetCriteriaResponseBody body); @Override DescribeIdcAssetCriteriaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeIdcAssetCriteriaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeIdcAssetCriteriaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeIdcAssetCriteriaResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeIdcAssetCriteriaResponseBody body) { this.body = body; return this; } @Override public DescribeIdcAssetCriteriaResponse build() { return new DescribeIdcAssetCriteriaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcAssetCriteriaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcAssetCriteriaResponseBody} extends {@link TeaModel} * * <p>DescribeIdcAssetCriteriaResponseBody</p> */ public class DescribeIdcAssetCriteriaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CriteriaList") private java.util.List<CriteriaList> criteriaList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeIdcAssetCriteriaResponseBody(Builder builder) { this.criteriaList = builder.criteriaList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeIdcAssetCriteriaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return criteriaList */ public java.util.List<CriteriaList> getCriteriaList() { return this.criteriaList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<CriteriaList> criteriaList; private String requestId; private Builder() { } private Builder(DescribeIdcAssetCriteriaResponseBody model) { this.criteriaList = model.criteriaList; this.requestId = model.requestId; } /** * <p>The information about the asset search conditions.</p> */ public Builder criteriaList(java.util.List<CriteriaList> criteriaList) { this.criteriaList = criteriaList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>11C96623-E106-59C9-866D-A6C82911****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeIdcAssetCriteriaResponseBody build() { return new DescribeIdcAssetCriteriaResponseBody(this); } } /** * * {@link DescribeIdcAssetCriteriaResponseBody} extends {@link TeaModel} * * <p>DescribeIdcAssetCriteriaResponseBody</p> */ public static class CriteriaList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Values") private String values; private CriteriaList(Builder builder) { this.name = builder.name; this.type = builder.type; this.values = builder.values; } public static Builder builder() { return new Builder(); } public static CriteriaList create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return values */ public String getValues() { return this.values; } public static final class Builder { private String name; private String type; private String values; private Builder() { } private Builder(CriteriaList model) { this.name = model.name; this.type = model.type; this.values = model.values; } /** * <p>The name of the search condition.</p> * * <strong>example:</strong> * <p>scannedIp</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The type of the search condition. Valid values:</p> * <ul> * <li><strong>input</strong>: The search condition needs to be specified.</li> * <li><strong>select</strong>: The search condition is an option that can be selected from the drop-down list.</li> * </ul> * * <strong>example:</strong> * <p>select</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The attribute values of the assets that match the keyword.</p> * * <strong>example:</strong> * <p>1.1.1.*</p> */ public Builder values(String values) { this.values = values; return this; } public CriteriaList build() { return new CriteriaList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcProbeListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcProbeListRequest} extends {@link RequestModel} * * <p>DescribeIdcProbeListRequest</p> */ public class DescribeIdcProbeListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IdcName") private String idcName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private DescribeIdcProbeListRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.idcName = builder.idcName; this.pageSize = builder.pageSize; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DescribeIdcProbeListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return idcName */ public String getIdcName() { return this.idcName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder extends Request.Builder<DescribeIdcProbeListRequest, Builder> { private Integer currentPage; private String idcName; private Integer pageSize; private Integer status; private Builder() { super(); } private Builder(DescribeIdcProbeListRequest request) { super(request); this.currentPage = request.currentPage; this.idcName = request.idcName; this.pageSize = request.pageSize; this.status = request.status; } /** * <p>Sets the page number from which to start displaying the query results. The default value is 1, indicating that the display starts from the first page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The name of the IDC.</p> * * <strong>example:</strong> * <p>3K IDC</p> */ public Builder idcName(String idcName) { this.putQueryParameter("IdcName", idcName); this.idcName = idcName; return this; } /** * <p>Specifies the maximum number of data entries to display per page in a paginated query. The default number of data entries per page is 20, and if the PageSize parameter is empty, it will default to returning 20 data entries.</p> * <blockquote> * <p>It is recommended that the PageSize value is not empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Probe status. Values:</p> * <ul> * <li><strong>0</strong>: Enabled</li> * <li><strong>1</strong>: Disabled</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public DescribeIdcProbeListRequest build() { return new DescribeIdcProbeListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcProbeListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcProbeListResponse} extends {@link TeaModel} * * <p>DescribeIdcProbeListResponse</p> */ public class DescribeIdcProbeListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeIdcProbeListResponseBody body; private DescribeIdcProbeListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeIdcProbeListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeIdcProbeListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeIdcProbeListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeIdcProbeListResponseBody body); @Override DescribeIdcProbeListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeIdcProbeListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeIdcProbeListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeIdcProbeListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeIdcProbeListResponseBody body) { this.body = body; return this; } @Override public DescribeIdcProbeListResponse build() { return new DescribeIdcProbeListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcProbeListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcProbeListResponseBody} extends {@link TeaModel} * * <p>DescribeIdcProbeListResponseBody</p> */ public class DescribeIdcProbeListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("IdcProbes") private java.util.List<IdcProbes> idcProbes; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeIdcProbeListResponseBody(Builder builder) { this.idcProbes = builder.idcProbes; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeIdcProbeListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return idcProbes */ public java.util.List<IdcProbes> getIdcProbes() { return this.idcProbes; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<IdcProbes> idcProbes; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeIdcProbeListResponseBody model) { this.idcProbes = model.idcProbes; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>IDC probe list.</p> */ public Builder idcProbes(java.util.List<IdcProbes> idcProbes) { this.idcProbes = idcProbes; return this; } /** * <p>Pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>0C8487EF-50C2-54BB-8634-10F8C35D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeIdcProbeListResponseBody build() { return new DescribeIdcProbeListResponseBody(this); } } /** * * {@link DescribeIdcProbeListResponseBody} extends {@link TeaModel} * * <p>DescribeIdcProbeListResponseBody</p> */ public static class IdcProbes extends TeaModel { @com.aliyun.core.annotation.NameInMap("IdcName") private String idcName; @com.aliyun.core.annotation.NameInMap("IdcRegion") private String idcRegion; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntervalPeriod") private Integer intervalPeriod; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("IpSegments") private String ipSegments; @com.aliyun.core.annotation.NameInMap("LinuxPort") private String linuxPort; @com.aliyun.core.annotation.NameInMap("PeriodUnit") private String periodUnit; @com.aliyun.core.annotation.NameInMap("ServiceStatus") private Integer serviceStatus; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("WinPort") private String winPort; private IdcProbes(Builder builder) { this.idcName = builder.idcName; this.idcRegion = builder.idcRegion; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intervalPeriod = builder.intervalPeriod; this.intranetIp = builder.intranetIp; this.ipSegments = builder.ipSegments; this.linuxPort = builder.linuxPort; this.periodUnit = builder.periodUnit; this.serviceStatus = builder.serviceStatus; this.status = builder.status; this.uuid = builder.uuid; this.winPort = builder.winPort; } public static Builder builder() { return new Builder(); } public static IdcProbes create() { return builder().build(); } /** * @return idcName */ public String getIdcName() { return this.idcName; } /** * @return idcRegion */ public String getIdcRegion() { return this.idcRegion; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intervalPeriod */ public Integer getIntervalPeriod() { return this.intervalPeriod; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return ipSegments */ public String getIpSegments() { return this.ipSegments; } /** * @return linuxPort */ public String getLinuxPort() { return this.linuxPort; } /** * @return periodUnit */ public String getPeriodUnit() { return this.periodUnit; } /** * @return serviceStatus */ public Integer getServiceStatus() { return this.serviceStatus; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return winPort */ public String getWinPort() { return this.winPort; } public static final class Builder { private String idcName; private String idcRegion; private String instanceId; private String instanceName; private String internetIp; private Integer intervalPeriod; private String intranetIp; private String ipSegments; private String linuxPort; private String periodUnit; private Integer serviceStatus; private Integer status; private String uuid; private String winPort; private Builder() { } private Builder(IdcProbes model) { this.idcName = model.idcName; this.idcRegion = model.idcRegion; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intervalPeriod = model.intervalPeriod; this.intranetIp = model.intranetIp; this.ipSegments = model.ipSegments; this.linuxPort = model.linuxPort; this.periodUnit = model.periodUnit; this.serviceStatus = model.serviceStatus; this.status = model.status; this.uuid = model.uuid; this.winPort = model.winPort; } /** * <p>IDC data center name.</p> * * <strong>example:</strong> * <p>3K IDC</p> */ public Builder idcName(String idcName) { this.idcName = idcName; return this; } /** * <p>Region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder idcRegion(String idcRegion) { this.idcRegion = idcRegion; return this; } /** * <p>Instance ID of the asset.</p> * * <strong>example:</strong> * <p>i-xxxxx</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>Instance name.</p> * * <strong>example:</strong> * <p>oraclexxx</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>Public IP address.</p> * * <strong>example:</strong> * <p>47.98.<em>.</em></p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>Scan period.</p> * * <strong>example:</strong> * <p>16</p> */ public Builder intervalPeriod(Integer intervalPeriod) { this.intervalPeriod = intervalPeriod; return this; } /** * <p>Private IP of the instance.</p> * * <strong>example:</strong> * <p>10.68.<em>.</em></p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>IP segment range.</p> * * <strong>example:</strong> * <p>192.168.1.0/24</p> */ public Builder ipSegments(String ipSegments) { this.ipSegments = ipSegments; return this; } /** * <p>Linux port.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder linuxPort(String linuxPort) { this.linuxPort = linuxPort; return this; } /** * <p>The unit of the scan period, with values:</p> * <ul> * <li><strong>day</strong>: day.</li> * <li><strong>hour</strong>: hour.</li> * </ul> * * <strong>example:</strong> * <p>day</p> */ public Builder periodUnit(String periodUnit) { this.periodUnit = periodUnit; return this; } /** * <p>Probe service status. Values:</p> * <ul> * <li><strong>0</strong>: Active</li> * <li><strong>1</strong>: Inactive</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder serviceStatus(Integer serviceStatus) { this.serviceStatus = serviceStatus; return this; } /** * <p>Probe status. Values:</p> * <ul> * <li><strong>0</strong>: Enabled</li> * <li><strong>1</strong>: Disabled</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>Server UUID.</p> * * <strong>example:</strong> * <p>inet-eae02b9a-1dbd-44a6-844c-69072b27****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>Windows port.</p> * * <strong>example:</strong> * <p>3389</p> */ public Builder winPort(String winPort) { this.winPort = winPort; return this; } public IdcProbes build() { return new IdcProbes(this); } } } /** * * {@link DescribeIdcProbeListResponseBody} extends {@link TeaModel} * * <p>DescribeIdcProbeListResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of data entries displayed on the current page in a paginated query.</p> * * <strong>example:</strong> * <p>17</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The maximum number of data entries to display per page in a paginated query.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>Total number of entries.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeIdcProbeScanResultListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeIdcProbeScanResultListRequest} extends {@link RequestModel} * * <p>DescribeIdcProbeScanResultListRequest</p> */ public class DescribeIdcProbeScanResultListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Criteria") private String criteria; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FoundEndTime") private Long foundEndTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FoundStartTime") private Long foundStartTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LogicalExp") private String logicalExp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; private DescribeIdcProbeScanResultListRequest(Builder builder) { super(builder); this.criteria = builder.criteria; this.currentPage = builder.currentPage; this.foundEndTime = builder.foundEndTime; this.foundStartTime = builder.foundStartTime; this.logicalExp = builder.logicalExp; this.pageSize = builder.pageSize; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DescribeIdcProbeScanResultListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return criteria */ public String getCriteria() { return this.criteria; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return foundEndTime */ public Long getFoundEndTime() { return this.foundEndTime; } /** * @return foundStartTime */ public Long getFoundStartTime() { return this.foundStartTime; } /** * @return logicalExp */ public String getLogicalExp() { return this.logicalExp; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder extends Request.Builder<DescribeIdcProbeScanResultListRequest, Builder> { private String criteria; private Integer currentPage; private Long foundEndTime; private Long foundStartTime; private String logicalExp; private Integer pageSize; private String status; private Builder() { super(); } private Builder(DescribeIdcProbeScanResultListRequest request) { super(request); this.criteria = request.criteria; this.currentPage = request.currentPage; this.foundEndTime = request.foundEndTime; this.foundStartTime = request.foundStartTime; this.logicalExp = request.logicalExp; this.pageSize = request.pageSize; this.status = request.status; } /** * <p>The search conditions for assets. This parameter is in the JSON format. The value is case-sensitive.</p> * <blockquote> * <p> A search condition can be the instance ID, instance name, VPC ID, region, or public IP address. You can call the <a href="https://help.aliyun.com/document_detail/2842671.html">DescribeIdcAssetCriteria</a> operation to query supported search conditions.</p> * </blockquote> * * <strong>example:</strong> * <p>[{&quot;name&quot;:&quot;scannedIp&quot;,&quot;value&quot;:&quot;192.168.2.11&quot;}]</p> */ public Builder criteria(String criteria) { this.putQueryParameter("Criteria", criteria); this.criteria = criteria; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The end time of the scan.</p> * * <strong>example:</strong> * <p>1720006819000</p> */ public Builder foundEndTime(Long foundEndTime) { this.putQueryParameter("FoundEndTime", foundEndTime); this.foundEndTime = foundEndTime; return this; } /** * <p>The start time of the scan.</p> * * <strong>example:</strong> * <p>1720006818000</p> */ public Builder foundStartTime(Long foundStartTime) { this.putQueryParameter("FoundStartTime", foundStartTime); this.foundStartTime = foundStartTime; return this; } /** * <p>The logical operator that combines multiple search conditions. Valid values:</p> * <ul> * <li><strong>OR</strong>****</li> * <li><strong>AND</strong>****</li> * </ul> * * <strong>example:</strong> * <p>OR</p> */ public Builder logicalExp(String logicalExp) { this.putQueryParameter("LogicalExp", logicalExp); this.logicalExp = logicalExp; return this; } /** * <p>The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The statuses of the corresponding probes. Separate multiple values with commas (,). Valid values:</p> * <ul> * <li><strong>0</strong>: The probe is valid.</li> * <li><strong>1</strong>: The probe is ignored.</li> * <li><strong>2</strong>: The probe is invalid.</li> * <li><strong>3</strong>: The probe expired.</li> * <li><strong>4</strong>: The probe does not exist.</li> * </ul> * * <strong>example:</strong> * <p>0,1</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public DescribeIdcProbeScanResultListRequest build() { return new DescribeIdcProbeScanResultListRequest(this); } } }