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/DescribeUniBackupStatisticsResponseBody.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 DescribeUniBackupStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeUniBackupStatisticsResponseBody</p> */ public class DescribeUniBackupStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ProtectedDatabaseCount") private Integer protectedDatabaseCount; @com.aliyun.core.annotation.NameInMap("RegionCountList") private java.util.List<RegionCountList> regionCountList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RestoringTaskCount") private Integer restoringTaskCount; @com.aliyun.core.annotation.NameInMap("TotalRecoverableCount") private Integer totalRecoverableCount; @com.aliyun.core.annotation.NameInMap("TotalRestoreTaskCount") private Integer totalRestoreTaskCount; @com.aliyun.core.annotation.NameInMap("UnprotectedDatabaseCount") private Integer unprotectedDatabaseCount; private DescribeUniBackupStatisticsResponseBody(Builder builder) { this.protectedDatabaseCount = builder.protectedDatabaseCount; this.regionCountList = builder.regionCountList; this.requestId = builder.requestId; this.restoringTaskCount = builder.restoringTaskCount; this.totalRecoverableCount = builder.totalRecoverableCount; this.totalRestoreTaskCount = builder.totalRestoreTaskCount; this.unprotectedDatabaseCount = builder.unprotectedDatabaseCount; } public static Builder builder() { return new Builder(); } public static DescribeUniBackupStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return protectedDatabaseCount */ public Integer getProtectedDatabaseCount() { return this.protectedDatabaseCount; } /** * @return regionCountList */ public java.util.List<RegionCountList> getRegionCountList() { return this.regionCountList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return restoringTaskCount */ public Integer getRestoringTaskCount() { return this.restoringTaskCount; } /** * @return totalRecoverableCount */ public Integer getTotalRecoverableCount() { return this.totalRecoverableCount; } /** * @return totalRestoreTaskCount */ public Integer getTotalRestoreTaskCount() { return this.totalRestoreTaskCount; } /** * @return unprotectedDatabaseCount */ public Integer getUnprotectedDatabaseCount() { return this.unprotectedDatabaseCount; } public static final class Builder { private Integer protectedDatabaseCount; private java.util.List<RegionCountList> regionCountList; private String requestId; private Integer restoringTaskCount; private Integer totalRecoverableCount; private Integer totalRestoreTaskCount; private Integer unprotectedDatabaseCount; private Builder() { } private Builder(DescribeUniBackupStatisticsResponseBody model) { this.protectedDatabaseCount = model.protectedDatabaseCount; this.regionCountList = model.regionCountList; this.requestId = model.requestId; this.restoringTaskCount = model.restoringTaskCount; this.totalRecoverableCount = model.totalRecoverableCount; this.totalRestoreTaskCount = model.totalRestoreTaskCount; this.unprotectedDatabaseCount = model.unprotectedDatabaseCount; } /** * <p>The number of protected database instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder protectedDatabaseCount(Integer protectedDatabaseCount) { this.protectedDatabaseCount = protectedDatabaseCount; return this; } /** * <p>The regions of the database instances.</p> */ public Builder regionCountList(java.util.List<RegionCountList> regionCountList) { this.regionCountList = regionCountList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7532B7EE-7CE7-5F4D-BF04-B12447DD****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of the restoration tasks that are running.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder restoringTaskCount(Integer restoringTaskCount) { this.restoringTaskCount = restoringTaskCount; return this; } /** * <p>The total number of database instances that can be restored.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder totalRecoverableCount(Integer totalRecoverableCount) { this.totalRecoverableCount = totalRecoverableCount; return this; } /** * <p>The total number of the restoration tasks.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder totalRestoreTaskCount(Integer totalRestoreTaskCount) { this.totalRestoreTaskCount = totalRestoreTaskCount; return this; } /** * <p>The number of unprotected database instances.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder unprotectedDatabaseCount(Integer unprotectedDatabaseCount) { this.unprotectedDatabaseCount = unprotectedDatabaseCount; return this; } public DescribeUniBackupStatisticsResponseBody build() { return new DescribeUniBackupStatisticsResponseBody(this); } } /** * * {@link DescribeUniBackupStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeUniBackupStatisticsResponseBody</p> */ public static class RegionCountList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutomaticCount") private String automaticCount; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private RegionCountList(Builder builder) { this.automaticCount = builder.automaticCount; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static RegionCountList create() { return builder().build(); } /** * @return automaticCount */ public String getAutomaticCount() { return this.automaticCount; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private String automaticCount; private String regionId; private Builder() { } private Builder(RegionCountList model) { this.automaticCount = model.automaticCount; this.regionId = model.regionId; } /** * <p>The number of database instances that are automatically scanned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder automaticCount(String automaticCount) { this.automaticCount = automaticCount; return this; } /** * <p>The ID of the region in which the database instance resides.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public RegionCountList build() { return new RegionCountList(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/DescribeUniRecoverableListRequest.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 DescribeUniRecoverableListRequest} extends {@link RequestModel} * * <p>DescribeUniRecoverableListRequest</p> */ public class DescribeUniRecoverableListRequest 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("Database") private String database; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PolicyId") @com.aliyun.core.annotation.Validation(required = true) private Long policyId; private DescribeUniRecoverableListRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.database = builder.database; this.pageSize = builder.pageSize; this.policyId = builder.policyId; } public static Builder builder() { return new Builder(); } public static DescribeUniRecoverableListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return database */ public String getDatabase() { return this.database; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return policyId */ public Long getPolicyId() { return this.policyId; } public static final class Builder extends Request.Builder<DescribeUniRecoverableListRequest, Builder> { private Integer currentPage; private String database; private Integer pageSize; private Long policyId; private Builder() { super(); } private Builder(DescribeUniRecoverableListRequest request) { super(request); this.currentPage = request.currentPage; this.database = request.database; this.pageSize = request.pageSize; this.policyId = request.policyId; } /** * <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 database.</p> * * <strong>example:</strong> * <p>msdb</p> */ public Builder database(String database) { this.putQueryParameter("Database", database); this.database = database; 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 ID of the anti-ransomware policy.</p> * <blockquote> * <p>You can call the <a href="~~DescribeUniBackupPolicies~~">DescribeUniBackupPolicies</a> operation to query the IDs of anti-ransomware policies.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder policyId(Long policyId) { this.putQueryParameter("PolicyId", policyId); this.policyId = policyId; return this; } @Override public DescribeUniRecoverableListRequest build() { return new DescribeUniRecoverableListRequest(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/DescribeUniRecoverableListResponse.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 DescribeUniRecoverableListResponse} extends {@link TeaModel} * * <p>DescribeUniRecoverableListResponse</p> */ public class DescribeUniRecoverableListResponse 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 DescribeUniRecoverableListResponseBody body; private DescribeUniRecoverableListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUniRecoverableListResponse 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 DescribeUniRecoverableListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUniRecoverableListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeUniRecoverableListResponseBody body); @Override DescribeUniRecoverableListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUniRecoverableListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeUniRecoverableListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUniRecoverableListResponse 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(DescribeUniRecoverableListResponseBody body) { this.body = body; return this; } @Override public DescribeUniRecoverableListResponse build() { return new DescribeUniRecoverableListResponse(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/DescribeUniRecoverableListResponseBody.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 DescribeUniRecoverableListResponseBody} extends {@link TeaModel} * * <p>DescribeUniRecoverableListResponseBody</p> */ public class DescribeUniRecoverableListResponseBody 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("Database") private String database; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RecoverableInfoList") private java.util.List<RecoverableInfoList> recoverableInfoList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeUniRecoverableListResponseBody(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.database = builder.database; this.pageSize = builder.pageSize; this.recoverableInfoList = builder.recoverableInfoList; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeUniRecoverableListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return database */ public String getDatabase() { return this.database; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return recoverableInfoList */ public java.util.List<RecoverableInfoList> getRecoverableInfoList() { return this.recoverableInfoList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private String database; private Integer pageSize; private java.util.List<RecoverableInfoList> recoverableInfoList; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeUniRecoverableListResponseBody model) { this.count = model.count; this.currentPage = model.currentPage; this.database = model.database; this.pageSize = model.pageSize; this.recoverableInfoList = model.recoverableInfoList; this.requestId = model.requestId; 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 name of the database.</p> * * <strong>example:</strong> * <p>msdb</p> */ public Builder database(String database) { this.database = database; 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>An array that consists of the backup snapshots.</p> */ public Builder recoverableInfoList(java.util.List<RecoverableInfoList> recoverableInfoList) { this.recoverableInfoList = recoverableInfoList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F35F45B0-5D6B-4238-BE02-A62D0760****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>23</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeUniRecoverableListResponseBody build() { return new DescribeUniRecoverableListResponseBody(this); } } /** * * {@link DescribeUniRecoverableListResponseBody} extends {@link TeaModel} * * <p>DescribeUniRecoverableListResponseBody</p> */ public static class RecoverableInfoList extends TeaModel { @com.aliyun.core.annotation.NameInMap("FirstTime") private Long firstTime; @com.aliyun.core.annotation.NameInMap("LastTime") private Long lastTime; @com.aliyun.core.annotation.NameInMap("ResetScn") private String resetScn; @com.aliyun.core.annotation.NameInMap("ResetTime") private Long resetTime; @com.aliyun.core.annotation.NameInMap("RestoreInfo") private String restoreInfo; private RecoverableInfoList(Builder builder) { this.firstTime = builder.firstTime; this.lastTime = builder.lastTime; this.resetScn = builder.resetScn; this.resetTime = builder.resetTime; this.restoreInfo = builder.restoreInfo; } public static Builder builder() { return new Builder(); } public static RecoverableInfoList create() { return builder().build(); } /** * @return firstTime */ public Long getFirstTime() { return this.firstTime; } /** * @return lastTime */ public Long getLastTime() { return this.lastTime; } /** * @return resetScn */ public String getResetScn() { return this.resetScn; } /** * @return resetTime */ public Long getResetTime() { return this.resetTime; } /** * @return restoreInfo */ public String getRestoreInfo() { return this.restoreInfo; } public static final class Builder { private Long firstTime; private Long lastTime; private String resetScn; private Long resetTime; private String restoreInfo; private Builder() { } private Builder(RecoverableInfoList model) { this.firstTime = model.firstTime; this.lastTime = model.lastTime; this.resetScn = model.resetScn; this.resetTime = model.resetTime; this.restoreInfo = model.restoreInfo; } /** * <p>The timestamp of the first backup. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1671468180000</p> */ public Builder firstTime(Long firstTime) { this.firstTime = firstTime; return this; } /** * <p>The timestamp of the last backup. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1671468180000</p> */ public Builder lastTime(Long lastTime) { this.lastTime = lastTime; return this; } /** * <p>The identifier of the point in time for restoration in the backup version that is used. The database is an Oracle database.</p> * * <strong>example:</strong> * <p>4529940.0</p> */ public Builder resetScn(String resetScn) { this.resetScn = resetScn; return this; } /** * <p>The point in time for restoration in the backup version that is used. The database is an Oracle database.</p> * * <strong>example:</strong> * <p>2021-01-30 08:04:36</p> */ public Builder resetTime(Long resetTime) { this.resetTime = resetTime; return this; } /** * <p>The information about the database. This parameter is available when the database is a Microsoft SQL Server (MSSQL) database. The value is a JSON string. Valid values:</p> * <ul> * <li><strong>name</strong>: the name of the database</li> * <li><strong>files</strong>: the path to the database files</li> * </ul> * * <strong>example:</strong> * <p>{ * &quot;files&quot;: { * &quot;qtc&quot;: &quot;F:\database\qtc.mdf&quot;, * &quot;qtc_log&quot;: &quot;F:\database\qtc_0.ldf&quot; * }, * &quot;name&quot;: &quot;qtc&quot; * }</p> */ public Builder restoreInfo(String restoreInfo) { this.restoreInfo = restoreInfo; return this; } public RecoverableInfoList build() { return new RecoverableInfoList(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/DescribeUniSupportRegionRequest.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 DescribeUniSupportRegionRequest} extends {@link RequestModel} * * <p>DescribeUniSupportRegionRequest</p> */ public class DescribeUniSupportRegionRequest extends Request { private DescribeUniSupportRegionRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeUniSupportRegionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeUniSupportRegionRequest, Builder> { private Builder() { super(); } private Builder(DescribeUniSupportRegionRequest request) { super(request); } @Override public DescribeUniSupportRegionRequest build() { return new DescribeUniSupportRegionRequest(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/DescribeUniSupportRegionResponse.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 DescribeUniSupportRegionResponse} extends {@link TeaModel} * * <p>DescribeUniSupportRegionResponse</p> */ public class DescribeUniSupportRegionResponse 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 DescribeUniSupportRegionResponseBody body; private DescribeUniSupportRegionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUniSupportRegionResponse 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 DescribeUniSupportRegionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUniSupportRegionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeUniSupportRegionResponseBody body); @Override DescribeUniSupportRegionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUniSupportRegionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeUniSupportRegionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUniSupportRegionResponse 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(DescribeUniSupportRegionResponseBody body) { this.body = body; return this; } @Override public DescribeUniSupportRegionResponse build() { return new DescribeUniSupportRegionResponse(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/DescribeUniSupportRegionResponseBody.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 DescribeUniSupportRegionResponseBody} extends {@link TeaModel} * * <p>DescribeUniSupportRegionResponseBody</p> */ public class DescribeUniSupportRegionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UniSupportRegion") private java.util.List<String> uniSupportRegion; private DescribeUniSupportRegionResponseBody(Builder builder) { this.requestId = builder.requestId; this.uniSupportRegion = builder.uniSupportRegion; } public static Builder builder() { return new Builder(); } public static DescribeUniSupportRegionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return uniSupportRegion */ public java.util.List<String> getUniSupportRegion() { return this.uniSupportRegion; } public static final class Builder { private String requestId; private java.util.List<String> uniSupportRegion; private Builder() { } private Builder(DescribeUniSupportRegionResponseBody model) { this.requestId = model.requestId; this.uniSupportRegion = model.uniSupportRegion; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F35F45B0-5D6B-4238-BE02-A62D0760****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array consisting of the region that is supported by anti-ransomware for databases.</p> */ public Builder uniSupportRegion(java.util.List<String> uniSupportRegion) { this.uniSupportRegion = uniSupportRegion; return this; } public DescribeUniSupportRegionResponseBody build() { return new DescribeUniSupportRegionResponseBody(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/DescribeUserBackupMachinesRequest.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 DescribeUserBackupMachinesRequest} extends {@link RequestModel} * * <p>DescribeUserBackupMachinesRequest</p> */ public class DescribeUserBackupMachinesRequest extends Request { private DescribeUserBackupMachinesRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeUserBackupMachinesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeUserBackupMachinesRequest, Builder> { private Builder() { super(); } private Builder(DescribeUserBackupMachinesRequest request) { super(request); } @Override public DescribeUserBackupMachinesRequest build() { return new DescribeUserBackupMachinesRequest(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/DescribeUserBackupMachinesResponse.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 DescribeUserBackupMachinesResponse} extends {@link TeaModel} * * <p>DescribeUserBackupMachinesResponse</p> */ public class DescribeUserBackupMachinesResponse 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 DescribeUserBackupMachinesResponseBody body; private DescribeUserBackupMachinesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUserBackupMachinesResponse 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 DescribeUserBackupMachinesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUserBackupMachinesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeUserBackupMachinesResponseBody body); @Override DescribeUserBackupMachinesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUserBackupMachinesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeUserBackupMachinesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUserBackupMachinesResponse 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(DescribeUserBackupMachinesResponseBody body) { this.body = body; return this; } @Override public DescribeUserBackupMachinesResponse build() { return new DescribeUserBackupMachinesResponse(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/DescribeUserBackupMachinesResponseBody.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 DescribeUserBackupMachinesResponseBody} extends {@link TeaModel} * * <p>DescribeUserBackupMachinesResponseBody</p> */ public class DescribeUserBackupMachinesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Machines") private java.util.List<Machines> machines; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeUserBackupMachinesResponseBody(Builder builder) { this.machines = builder.machines; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeUserBackupMachinesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return machines */ public java.util.List<Machines> getMachines() { return this.machines; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Machines> machines; private String requestId; private Builder() { } private Builder(DescribeUserBackupMachinesResponseBody model) { this.machines = model.machines; this.requestId = model.requestId; } /** * <p>An array consisting of the servers to which the anti-ransomware policy is applied.</p> */ public Builder machines(java.util.List<Machines> machines) { this.machines = machines; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>D0D6E6E4-CB8C-4897-B852-46AEFDA04B21</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeUserBackupMachinesResponseBody build() { return new DescribeUserBackupMachinesResponseBody(this); } } /** * * {@link DescribeUserBackupMachinesResponseBody} extends {@link TeaModel} * * <p>DescribeUserBackupMachinesResponseBody</p> */ public static class Machines extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("PolicyName") private String policyName; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Machines(Builder builder) { this.id = builder.id; this.policyName = builder.policyName; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Machines create() { return builder().build(); } /** * @return id */ public Long getId() { return this.id; } /** * @return policyName */ public String getPolicyName() { return this.policyName; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Long id; private String policyName; private String uuid; private Builder() { } private Builder(Machines model) { this.id = model.id; this.policyName = model.policyName; this.uuid = model.uuid; } /** * <p>The ID of the anti-ransomware policy that is applied to the server.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the anti-ransomware policy that is applied to the server.</p> * * <strong>example:</strong> * <p>policy_name_A</p> */ public Builder policyName(String policyName) { this.policyName = policyName; return this; } /** * <p>The UUID of the server to which the anti-ransomware policy is applied.</p> * * <strong>example:</strong> * <p>D0D6E6E4-CB8C-4897-B852-46AEFDA0****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Machines build() { return new Machines(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/DescribeUserBaselineAuthorizationRequest.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 DescribeUserBaselineAuthorizationRequest} extends {@link RequestModel} * * <p>DescribeUserBaselineAuthorizationRequest</p> */ public class DescribeUserBaselineAuthorizationRequest 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("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeUserBaselineAuthorizationRequest(Builder builder) { super(builder); this.lang = builder.lang; this.resourceOwnerId = builder.resourceOwnerId; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeUserBaselineAuthorizationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeUserBaselineAuthorizationRequest, Builder> { private String lang; private Long resourceOwnerId; private String sourceIp; private Builder() { super(); } private Builder(DescribeUserBaselineAuthorizationRequest request) { super(request); this.lang = request.lang; this.resourceOwnerId = request.resourceOwnerId; this.sourceIp = request.sourceIp; } /** * <p>The language of the content within the request and response. 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>资产所有者ID。</p> * * <strong>example:</strong> * <p>1519712934213764</p> */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The ID of the asset owner.</p> * * <strong>example:</strong> * <p>1.2.3.4</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeUserBaselineAuthorizationRequest build() { return new DescribeUserBaselineAuthorizationRequest(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/DescribeUserBaselineAuthorizationResponse.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 DescribeUserBaselineAuthorizationResponse} extends {@link TeaModel} * * <p>DescribeUserBaselineAuthorizationResponse</p> */ public class DescribeUserBaselineAuthorizationResponse 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 DescribeUserBaselineAuthorizationResponseBody body; private DescribeUserBaselineAuthorizationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUserBaselineAuthorizationResponse 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 DescribeUserBaselineAuthorizationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUserBaselineAuthorizationResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeUserBaselineAuthorizationResponseBody body); @Override DescribeUserBaselineAuthorizationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUserBaselineAuthorizationResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeUserBaselineAuthorizationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUserBaselineAuthorizationResponse 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(DescribeUserBaselineAuthorizationResponseBody body) { this.body = body; return this; } @Override public DescribeUserBaselineAuthorizationResponse build() { return new DescribeUserBaselineAuthorizationResponse(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/DescribeUserBaselineAuthorizationResponseBody.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 DescribeUserBaselineAuthorizationResponseBody} extends {@link TeaModel} * * <p>DescribeUserBaselineAuthorizationResponseBody</p> */ public class DescribeUserBaselineAuthorizationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UserBaselineAuthorization") private UserBaselineAuthorization userBaselineAuthorization; private DescribeUserBaselineAuthorizationResponseBody(Builder builder) { this.requestId = builder.requestId; this.userBaselineAuthorization = builder.userBaselineAuthorization; } public static Builder builder() { return new Builder(); } public static DescribeUserBaselineAuthorizationResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return userBaselineAuthorization */ public UserBaselineAuthorization getUserBaselineAuthorization() { return this.userBaselineAuthorization; } public static final class Builder { private String requestId; private UserBaselineAuthorization userBaselineAuthorization; private Builder() { } private Builder(DescribeUserBaselineAuthorizationResponseBody model) { this.requestId = model.requestId; this.userBaselineAuthorization = model.userBaselineAuthorization; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>0AF20EB0-EBBC-4B94-9B84-F3BAFAC53EDE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about whether Security Center is authorized to run configuration checks on cloud services.</p> */ public Builder userBaselineAuthorization(UserBaselineAuthorization userBaselineAuthorization) { this.userBaselineAuthorization = userBaselineAuthorization; return this; } public DescribeUserBaselineAuthorizationResponseBody build() { return new DescribeUserBaselineAuthorizationResponseBody(this); } } /** * * {@link DescribeUserBaselineAuthorizationResponseBody} extends {@link TeaModel} * * <p>DescribeUserBaselineAuthorizationResponseBody</p> */ public static class UserBaselineAuthorization extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private UserBaselineAuthorization(Builder builder) { this.status = builder.status; } public static Builder builder() { return new Builder(); } public static UserBaselineAuthorization create() { return builder().build(); } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private Integer status; private Builder() { } private Builder(UserBaselineAuthorization model) { this.status = model.status; } /** * <p>Indicates whether Security Center is authorized to run configuration checks on cloud services.</p> * <ul> * <li><strong>0</strong>: no. Security Center is not authorized to run configuration checks on cloud services.</li> * <li><strong>1</strong>: yes. Security Center is authorized to run configuration checks on cloud services.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } public UserBaselineAuthorization build() { return new UserBaselineAuthorization(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/DescribeUserSettingRequest.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 DescribeUserSettingRequest} extends {@link RequestModel} * * <p>DescribeUserSettingRequest</p> */ public class DescribeUserSettingRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeUserSettingRequest(Builder builder) { super(builder); this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeUserSettingRequest 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<DescribeUserSettingRequest, Builder> { private String sourceIp; private Builder() { super(); } private Builder(DescribeUserSettingRequest request) { super(request); this.sourceIp = request.sourceIp; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>58.248.87.10</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeUserSettingRequest build() { return new DescribeUserSettingRequest(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/DescribeUserSettingResponse.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 DescribeUserSettingResponse} extends {@link TeaModel} * * <p>DescribeUserSettingResponse</p> */ public class DescribeUserSettingResponse 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 DescribeUserSettingResponseBody body; private DescribeUserSettingResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUserSettingResponse 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 DescribeUserSettingResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUserSettingResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeUserSettingResponseBody body); @Override DescribeUserSettingResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUserSettingResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeUserSettingResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUserSettingResponse 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(DescribeUserSettingResponseBody body) { this.body = body; return this; } @Override public DescribeUserSettingResponse build() { return new DescribeUserSettingResponse(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/DescribeUserSettingResponseBody.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 DescribeUserSettingResponseBody} extends {@link TeaModel} * * <p>DescribeUserSettingResponseBody</p> */ public class DescribeUserSettingResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlertLevels") private java.util.List<String> alertLevels; @com.aliyun.core.annotation.NameInMap("InvalidWarningKeepDays") private Integer invalidWarningKeepDays; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeUserSettingResponseBody(Builder builder) { this.alertLevels = builder.alertLevels; this.invalidWarningKeepDays = builder.invalidWarningKeepDays; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeUserSettingResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return alertLevels */ public java.util.List<String> getAlertLevels() { return this.alertLevels; } /** * @return invalidWarningKeepDays */ public Integer getInvalidWarningKeepDays() { return this.invalidWarningKeepDays; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> alertLevels; private Integer invalidWarningKeepDays; private String requestId; private Builder() { } private Builder(DescribeUserSettingResponseBody model) { this.alertLevels = model.alertLevels; this.invalidWarningKeepDays = model.invalidWarningKeepDays; this.requestId = model.requestId; } /** * <p>The severities of alerts. If this parameter is empty, no custom alerts are generated.</p> */ public Builder alertLevels(java.util.List<String> alertLevels) { this.alertLevels = alertLevels; return this; } /** * <p>The number of days during which you want to retain invalid alerts.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder invalidWarningKeepDays(Integer invalidWarningKeepDays) { this.invalidWarningKeepDays = invalidWarningKeepDays; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>09969D2C-4FAD-429E-BFBF-9A60DEF8****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeUserSettingResponseBody build() { return new DescribeUserSettingResponseBody(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/DescribeUuidsByVulNamesRequest.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 DescribeUuidsByVulNamesRequest} extends {@link RequestModel} * * <p>DescribeUuidsByVulNamesRequest</p> */ public class DescribeUuidsByVulNamesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FieldName") private String fieldName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FieldValue") private String fieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long 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("Level") private String level; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchTags") private String searchTags; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatusList") private String statusList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private String tag; @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") @com.aliyun.core.annotation.Validation(required = true) private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcInstanceIds") private String vpcInstanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VulNames") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> vulNames; private DescribeUuidsByVulNamesRequest(Builder builder) { super(builder); this.dealed = builder.dealed; this.fieldName = builder.fieldName; this.fieldValue = builder.fieldValue; this.groupId = builder.groupId; this.lang = builder.lang; this.level = builder.level; this.necessity = builder.necessity; this.remark = builder.remark; this.searchTags = builder.searchTags; this.statusList = builder.statusList; this.tag = builder.tag; this.targetType = builder.targetType; this.type = builder.type; this.vpcInstanceIds = builder.vpcInstanceIds; this.vulNames = builder.vulNames; } public static Builder builder() { return new Builder(); } public static DescribeUuidsByVulNamesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return fieldName */ public String getFieldName() { return this.fieldName; } /** * @return fieldValue */ public String getFieldValue() { return this.fieldValue; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return level */ public String getLevel() { return this.level; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return searchTags */ public String getSearchTags() { return this.searchTags; } /** * @return statusList */ public String getStatusList() { return this.statusList; } /** * @return tag */ public String getTag() { return this.tag; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return type */ public String getType() { return this.type; } /** * @return vpcInstanceIds */ public String getVpcInstanceIds() { return this.vpcInstanceIds; } /** * @return vulNames */ public java.util.List<String> getVulNames() { return this.vulNames; } public static final class Builder extends Request.Builder<DescribeUuidsByVulNamesRequest, Builder> { private String dealed; private String fieldName; private String fieldValue; private Long groupId; private String lang; private String level; private String necessity; private String remark; private String searchTags; private String statusList; private String tag; private String targetType; private String type; private String vpcInstanceIds; private java.util.List<String> vulNames; private Builder() { super(); } private Builder(DescribeUuidsByVulNamesRequest request) { super(request); this.dealed = request.dealed; this.fieldName = request.fieldName; this.fieldValue = request.fieldValue; this.groupId = request.groupId; this.lang = request.lang; this.level = request.level; this.necessity = request.necessity; this.remark = request.remark; this.searchTags = request.searchTags; this.statusList = request.statusList; this.tag = request.tag; this.targetType = request.targetType; this.type = request.type; this.vpcInstanceIds = request.vpcInstanceIds; this.vulNames = request.vulNames; } /** * <p>Specifies whether the vulnerability is fixed. Valid values:</p> * <ul> * <li><strong>y</strong>: the vulnerability is fixed.</li> * <li><strong>n</strong>: the vulnerability is not fixed.</li> * </ul> * * <strong>example:</strong> * <p>n</p> */ public Builder dealed(String dealed) { this.putQueryParameter("Dealed", dealed); this.dealed = dealed; return this; } /** * <p>The name of the search field that is used to query containers.</p> * * <strong>example:</strong> * <p>namespace</p> */ public Builder fieldName(String fieldName) { this.putQueryParameter("FieldName", fieldName); this.fieldName = fieldName; return this; } /** * <p>The value of the search field that is used to query containers.</p> * * <strong>example:</strong> * <p>cas-adad-qeqwe</p> */ public Builder fieldValue(String fieldValue) { this.putQueryParameter("FieldValue", fieldValue); this.fieldValue = fieldValue; return this; } /** * <p>The ID of the asset group.</p> * * <strong>example:</strong> * <p>11286014</p> */ public Builder groupId(Long 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 severity of the vulnerability. Separate multiple severities with commas (,). 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,low</p> */ public Builder level(String level) { this.putQueryParameter("Level", level); this.level = level; return this; } /** * <p>The priority based on which the vulnerability is fixed. 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 remarks for the asset affected by the vulnerability. The value can be the private IP address, public IP address, or name of the asset. Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>10.7.</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The tags that are used to search for the vulnerability.</p> * * <strong>example:</strong> * <p>oval</p> */ public Builder searchTags(String searchTags) { this.putQueryParameter("SearchTags", searchTags); this.searchTags = searchTags; return this; } /** * <p>The status of the vulnerability. Separate multiple states with commas (,). Valid values:</p> * <ul> * <li><strong>1</strong>: unfixed</li> * <li><strong>2</strong>: fix failed</li> * </ul> * * <strong>example:</strong> * <p>1,4</p> */ public Builder statusList(String statusList) { this.putQueryParameter("StatusList", statusList); this.statusList = statusList; return this; } /** * <p>The tag of the vulnerability.</p> * * <strong>example:</strong> * <p>oval</p> */ public Builder tag(String tag) { this.putQueryParameter("Tag", tag); this.tag = tag; 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 ID 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; } /** * <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> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The ID of the virtual private cloud (VPC) in which the vulnerability is detected. Separate multiple IDs with commas (,).</p> * * <strong>example:</strong> * <p>vpc-uf6ssrvbrwe37ekw****,vpc-bp1aevy8sofi8mh1q****</p> */ public Builder vpcInstanceIds(String vpcInstanceIds) { this.putQueryParameter("VpcInstanceIds", vpcInstanceIds); this.vpcInstanceIds = vpcInstanceIds; return this; } /** * <p>An array that consists of the names of vulnerabilities.</p> * <blockquote> * <p> You can call the <a href="~~DescribeGroupedVul~~">DescribeGroupedVul</a> operation to obtain the names of vulnerabilities.</p> * </blockquote> * <p>This parameter is required.</p> */ public Builder vulNames(java.util.List<String> vulNames) { this.putQueryParameter("VulNames", vulNames); this.vulNames = vulNames; return this; } @Override public DescribeUuidsByVulNamesRequest build() { return new DescribeUuidsByVulNamesRequest(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/DescribeUuidsByVulNamesResponse.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 DescribeUuidsByVulNamesResponse} extends {@link TeaModel} * * <p>DescribeUuidsByVulNamesResponse</p> */ public class DescribeUuidsByVulNamesResponse 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 DescribeUuidsByVulNamesResponseBody body; private DescribeUuidsByVulNamesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUuidsByVulNamesResponse 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 DescribeUuidsByVulNamesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUuidsByVulNamesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeUuidsByVulNamesResponseBody body); @Override DescribeUuidsByVulNamesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUuidsByVulNamesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeUuidsByVulNamesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUuidsByVulNamesResponse 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(DescribeUuidsByVulNamesResponseBody body) { this.body = body; return this; } @Override public DescribeUuidsByVulNamesResponse build() { return new DescribeUuidsByVulNamesResponse(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/DescribeUuidsByVulNamesResponseBody.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 DescribeUuidsByVulNamesResponseBody} extends {@link TeaModel} * * <p>DescribeUuidsByVulNamesResponseBody</p> */ public class DescribeUuidsByVulNamesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MachineInfoStatistics") private java.util.List<MachineInfoStatistics> machineInfoStatistics; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VulCount") private Integer vulCount; private DescribeUuidsByVulNamesResponseBody(Builder builder) { this.machineInfoStatistics = builder.machineInfoStatistics; this.requestId = builder.requestId; this.vulCount = builder.vulCount; } public static Builder builder() { return new Builder(); } public static DescribeUuidsByVulNamesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return machineInfoStatistics */ public java.util.List<MachineInfoStatistics> getMachineInfoStatistics() { return this.machineInfoStatistics; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vulCount */ public Integer getVulCount() { return this.vulCount; } public static final class Builder { private java.util.List<MachineInfoStatistics> machineInfoStatistics; private String requestId; private Integer vulCount; private Builder() { } private Builder(DescribeUuidsByVulNamesResponseBody model) { this.machineInfoStatistics = model.machineInfoStatistics; this.requestId = model.requestId; this.vulCount = model.vulCount; } /** * <p>The statistics about the servers.</p> */ public Builder machineInfoStatistics(java.util.List<MachineInfoStatistics> machineInfoStatistics) { this.machineInfoStatistics = machineInfoStatistics; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>97286A-4A6B-4A4-95FA-EC7E3E2451</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of vulnerabilities on the server.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder vulCount(Integer vulCount) { this.vulCount = vulCount; return this; } public DescribeUuidsByVulNamesResponseBody build() { return new DescribeUuidsByVulNamesResponseBody(this); } } /** * * {@link DescribeUuidsByVulNamesResponseBody} extends {@link TeaModel} * * <p>DescribeUuidsByVulNamesResponseBody</p> */ public static class MachineInfoStatistics extends TeaModel { @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("MachineInstanceId") private String machineInstanceId; @com.aliyun.core.annotation.NameInMap("MachineIp") private String machineIp; @com.aliyun.core.annotation.NameInMap("MachineName") private String machineName; @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private MachineInfoStatistics(Builder builder) { this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.machineInstanceId = builder.machineInstanceId; this.machineIp = builder.machineIp; this.machineName = builder.machineName; this.os = builder.os; this.regionId = builder.regionId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static MachineInfoStatistics create() { return builder().build(); } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return machineInstanceId */ public String getMachineInstanceId() { return this.machineInstanceId; } /** * @return machineIp */ public String getMachineIp() { return this.machineIp; } /** * @return machineName */ public String getMachineName() { return this.machineName; } /** * @return os */ public String getOs() { return this.os; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String internetIp; private String intranetIp; private String machineInstanceId; private String machineIp; private String machineName; private String os; private String regionId; private String uuid; private Builder() { } private Builder(MachineInfoStatistics model) { this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.machineInstanceId = model.machineInstanceId; this.machineIp = model.machineIp; this.machineName = model.machineName; this.os = model.os; this.regionId = model.regionId; this.uuid = model.uuid; } /** * <p>The public IP address of the server on which the exception was detected.</p> * * <strong>example:</strong> * <p>47.98.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server on which the exception was detected.</p> * * <strong>example:</strong> * <p>172.18.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>i-wz9gd1os5talju****</p> */ public Builder machineInstanceId(String machineInstanceId) { this.machineInstanceId = machineInstanceId; return this; } /** * <p>The IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder machineIp(String machineIp) { this.machineIp = machineIp; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>TestMachine</p> */ public Builder machineName(String machineName) { this.machineName = machineName; return this; } /** * <p>The operating system that the server runs.</p> * * <strong>example:</strong> * <p>windows</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The region ID of the server.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>18375c64-eaa2-4702-92b0-4ee7******</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public MachineInfoStatistics build() { return new MachineInfoStatistics(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/DescribeVendorListRequest.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 DescribeVendorListRequest} extends {@link RequestModel} * * <p>DescribeVendorListRequest</p> */ public class DescribeVendorListRequest extends Request { private DescribeVendorListRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeVendorListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeVendorListRequest, Builder> { private Builder() { super(); } private Builder(DescribeVendorListRequest request) { super(request); } @Override public DescribeVendorListRequest build() { return new DescribeVendorListRequest(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/DescribeVendorListResponse.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 DescribeVendorListResponse} extends {@link TeaModel} * * <p>DescribeVendorListResponse</p> */ public class DescribeVendorListResponse 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 DescribeVendorListResponseBody body; private DescribeVendorListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVendorListResponse 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 DescribeVendorListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVendorListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVendorListResponseBody body); @Override DescribeVendorListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVendorListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVendorListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVendorListResponse 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(DescribeVendorListResponseBody body) { this.body = body; return this; } @Override public DescribeVendorListResponse build() { return new DescribeVendorListResponse(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/DescribeVendorListResponseBody.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 DescribeVendorListResponseBody} extends {@link TeaModel} * * <p>DescribeVendorListResponseBody</p> */ public class DescribeVendorListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VendorNameList") private java.util.List<String> vendorNameList; private DescribeVendorListResponseBody(Builder builder) { this.requestId = builder.requestId; this.vendorNameList = builder.vendorNameList; } public static Builder builder() { return new Builder(); } public static DescribeVendorListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vendorNameList */ public java.util.List<String> getVendorNameList() { return this.vendorNameList; } public static final class Builder { private String requestId; private java.util.List<String> vendorNameList; private Builder() { } private Builder(DescribeVendorListResponseBody model) { this.requestId = model.requestId; this.vendorNameList = model.vendorNameList; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>340D7FC4-D575-1661-8ACD-CFA7BE57B795</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the service providers.</p> */ public Builder vendorNameList(java.util.List<String> vendorNameList) { this.vendorNameList = vendorNameList; return this; } public DescribeVendorListResponseBody build() { return new DescribeVendorListResponseBody(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/DescribeVersionConfigRequest.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 DescribeVersionConfigRequest} extends {@link RequestModel} * * <p>DescribeVersionConfigRequest</p> */ public class DescribeVersionConfigRequest 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("SourceIp") private String sourceIp; private DescribeVersionConfigRequest(Builder builder) { super(builder); this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeVersionConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return resourceDirectoryAccountId */ public String getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeVersionConfigRequest, Builder> { private String resourceDirectoryAccountId; private String sourceIp; private Builder() { super(); } private Builder(DescribeVersionConfigRequest request) { super(request); this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.sourceIp = request.sourceIp; } /** * <p>The ID of the Alibaba Cloud account that uses Security Center.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/28681.html">GetUser</a> operation to query the IDs of Alibaba Cloud accounts.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(String resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>192.0.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeVersionConfigRequest build() { return new DescribeVersionConfigRequest(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/DescribeVersionConfigResponse.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 DescribeVersionConfigResponse} extends {@link TeaModel} * * <p>DescribeVersionConfigResponse</p> */ public class DescribeVersionConfigResponse 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 DescribeVersionConfigResponseBody body; private DescribeVersionConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVersionConfigResponse 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 DescribeVersionConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVersionConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVersionConfigResponseBody body); @Override DescribeVersionConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVersionConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVersionConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVersionConfigResponse 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(DescribeVersionConfigResponseBody body) { this.body = body; return this; } @Override public DescribeVersionConfigResponse build() { return new DescribeVersionConfigResponse(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/DescribeVersionConfigResponseBody.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 DescribeVersionConfigResponseBody} extends {@link TeaModel} * * <p>DescribeVersionConfigResponseBody</p> */ public class DescribeVersionConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AgentlessCapacity") private Long agentlessCapacity; @com.aliyun.core.annotation.NameInMap("AllowPartialBuy") private Integer allowPartialBuy; @com.aliyun.core.annotation.NameInMap("AntiRansomwareCapacity") private Integer antiRansomwareCapacity; @com.aliyun.core.annotation.NameInMap("AntiRansomwareService") private Integer antiRansomwareService; @com.aliyun.core.annotation.NameInMap("AppWhiteList") private Integer appWhiteList; @com.aliyun.core.annotation.NameInMap("AppWhiteListAuthCount") private Long appWhiteListAuthCount; @com.aliyun.core.annotation.NameInMap("AssetLevel") private Integer assetLevel; @com.aliyun.core.annotation.NameInMap("CspmCapacity") private Long cspmCapacity; @com.aliyun.core.annotation.NameInMap("HighestVersion") private Integer highestVersion; @com.aliyun.core.annotation.NameInMap("HoneypotCapacity") private Long honeypotCapacity; @com.aliyun.core.annotation.NameInMap("ImageScanCapacity") private Long imageScanCapacity; @com.aliyun.core.annotation.NameInMap("InstanceBuyType") private Integer instanceBuyType; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("IsNewContainerVersion") private Boolean isNewContainerVersion; @com.aliyun.core.annotation.NameInMap("IsNewMultiVersion") private Boolean isNewMultiVersion; @com.aliyun.core.annotation.NameInMap("IsOverBalance") private Boolean isOverBalance; @com.aliyun.core.annotation.NameInMap("IsPostpay") private Boolean isPostpay; @com.aliyun.core.annotation.NameInMap("IsTrialVersion") private Integer isTrialVersion; @com.aliyun.core.annotation.NameInMap("LastTrailEndTime") private Long lastTrailEndTime; @com.aliyun.core.annotation.NameInMap("MVAuthCount") private Integer MVAuthCount; @com.aliyun.core.annotation.NameInMap("MVUnusedAuthCount") private Integer MVUnusedAuthCount; @com.aliyun.core.annotation.NameInMap("MergedVersion") private Integer mergedVersion; @com.aliyun.core.annotation.NameInMap("MultiVersion") private String multiVersion; @com.aliyun.core.annotation.NameInMap("NewThreatAnalysis") private Integer newThreatAnalysis; @com.aliyun.core.annotation.NameInMap("OpenTime") private Long openTime; @com.aliyun.core.annotation.NameInMap("PostPayHostVersion") private Integer postPayHostVersion; @com.aliyun.core.annotation.NameInMap("PostPayInstanceId") private String postPayInstanceId; @com.aliyun.core.annotation.NameInMap("PostPayModuleSwitch") private String postPayModuleSwitch; @com.aliyun.core.annotation.NameInMap("PostPayOpenTime") private Long postPayOpenTime; @com.aliyun.core.annotation.NameInMap("PostPayStatus") private Integer postPayStatus; @com.aliyun.core.annotation.NameInMap("RaspCapacity") private Long raspCapacity; @com.aliyun.core.annotation.NameInMap("ReleaseTime") private Long releaseTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SasLog") private Integer sasLog; @com.aliyun.core.annotation.NameInMap("SasScreen") private Integer sasScreen; @com.aliyun.core.annotation.NameInMap("SdkCapacity") private Long sdkCapacity; @com.aliyun.core.annotation.NameInMap("SlsCapacity") private Long slsCapacity; @com.aliyun.core.annotation.NameInMap("ThreatAnalysisCapacity") private Long threatAnalysisCapacity; @com.aliyun.core.annotation.NameInMap("ThreatAnalysisFlow") private Integer threatAnalysisFlow; @com.aliyun.core.annotation.NameInMap("UserDefinedAlarms") private Integer userDefinedAlarms; @com.aliyun.core.annotation.NameInMap("Version") private Integer version; @com.aliyun.core.annotation.NameInMap("VmCores") private Integer vmCores; @com.aliyun.core.annotation.NameInMap("VulFixCapacity") private Long vulFixCapacity; @com.aliyun.core.annotation.NameInMap("WebLock") private Integer webLock; @com.aliyun.core.annotation.NameInMap("WebLockAuthCount") private Long webLockAuthCount; private DescribeVersionConfigResponseBody(Builder builder) { this.agentlessCapacity = builder.agentlessCapacity; this.allowPartialBuy = builder.allowPartialBuy; this.antiRansomwareCapacity = builder.antiRansomwareCapacity; this.antiRansomwareService = builder.antiRansomwareService; this.appWhiteList = builder.appWhiteList; this.appWhiteListAuthCount = builder.appWhiteListAuthCount; this.assetLevel = builder.assetLevel; this.cspmCapacity = builder.cspmCapacity; this.highestVersion = builder.highestVersion; this.honeypotCapacity = builder.honeypotCapacity; this.imageScanCapacity = builder.imageScanCapacity; this.instanceBuyType = builder.instanceBuyType; this.instanceId = builder.instanceId; this.isNewContainerVersion = builder.isNewContainerVersion; this.isNewMultiVersion = builder.isNewMultiVersion; this.isOverBalance = builder.isOverBalance; this.isPostpay = builder.isPostpay; this.isTrialVersion = builder.isTrialVersion; this.lastTrailEndTime = builder.lastTrailEndTime; this.MVAuthCount = builder.MVAuthCount; this.MVUnusedAuthCount = builder.MVUnusedAuthCount; this.mergedVersion = builder.mergedVersion; this.multiVersion = builder.multiVersion; this.newThreatAnalysis = builder.newThreatAnalysis; this.openTime = builder.openTime; this.postPayHostVersion = builder.postPayHostVersion; this.postPayInstanceId = builder.postPayInstanceId; this.postPayModuleSwitch = builder.postPayModuleSwitch; this.postPayOpenTime = builder.postPayOpenTime; this.postPayStatus = builder.postPayStatus; this.raspCapacity = builder.raspCapacity; this.releaseTime = builder.releaseTime; this.requestId = builder.requestId; this.sasLog = builder.sasLog; this.sasScreen = builder.sasScreen; this.sdkCapacity = builder.sdkCapacity; this.slsCapacity = builder.slsCapacity; this.threatAnalysisCapacity = builder.threatAnalysisCapacity; this.threatAnalysisFlow = builder.threatAnalysisFlow; this.userDefinedAlarms = builder.userDefinedAlarms; this.version = builder.version; this.vmCores = builder.vmCores; this.vulFixCapacity = builder.vulFixCapacity; this.webLock = builder.webLock; this.webLockAuthCount = builder.webLockAuthCount; } public static Builder builder() { return new Builder(); } public static DescribeVersionConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return agentlessCapacity */ public Long getAgentlessCapacity() { return this.agentlessCapacity; } /** * @return allowPartialBuy */ public Integer getAllowPartialBuy() { return this.allowPartialBuy; } /** * @return antiRansomwareCapacity */ public Integer getAntiRansomwareCapacity() { return this.antiRansomwareCapacity; } /** * @return antiRansomwareService */ public Integer getAntiRansomwareService() { return this.antiRansomwareService; } /** * @return appWhiteList */ public Integer getAppWhiteList() { return this.appWhiteList; } /** * @return appWhiteListAuthCount */ public Long getAppWhiteListAuthCount() { return this.appWhiteListAuthCount; } /** * @return assetLevel */ public Integer getAssetLevel() { return this.assetLevel; } /** * @return cspmCapacity */ public Long getCspmCapacity() { return this.cspmCapacity; } /** * @return highestVersion */ public Integer getHighestVersion() { return this.highestVersion; } /** * @return honeypotCapacity */ public Long getHoneypotCapacity() { return this.honeypotCapacity; } /** * @return imageScanCapacity */ public Long getImageScanCapacity() { return this.imageScanCapacity; } /** * @return instanceBuyType */ public Integer getInstanceBuyType() { return this.instanceBuyType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return isNewContainerVersion */ public Boolean getIsNewContainerVersion() { return this.isNewContainerVersion; } /** * @return isNewMultiVersion */ public Boolean getIsNewMultiVersion() { return this.isNewMultiVersion; } /** * @return isOverBalance */ public Boolean getIsOverBalance() { return this.isOverBalance; } /** * @return isPostpay */ public Boolean getIsPostpay() { return this.isPostpay; } /** * @return isTrialVersion */ public Integer getIsTrialVersion() { return this.isTrialVersion; } /** * @return lastTrailEndTime */ public Long getLastTrailEndTime() { return this.lastTrailEndTime; } /** * @return MVAuthCount */ public Integer getMVAuthCount() { return this.MVAuthCount; } /** * @return MVUnusedAuthCount */ public Integer getMVUnusedAuthCount() { return this.MVUnusedAuthCount; } /** * @return mergedVersion */ public Integer getMergedVersion() { return this.mergedVersion; } /** * @return multiVersion */ public String getMultiVersion() { return this.multiVersion; } /** * @return newThreatAnalysis */ public Integer getNewThreatAnalysis() { return this.newThreatAnalysis; } /** * @return openTime */ public Long getOpenTime() { return this.openTime; } /** * @return postPayHostVersion */ public Integer getPostPayHostVersion() { return this.postPayHostVersion; } /** * @return postPayInstanceId */ public String getPostPayInstanceId() { return this.postPayInstanceId; } /** * @return postPayModuleSwitch */ public String getPostPayModuleSwitch() { return this.postPayModuleSwitch; } /** * @return postPayOpenTime */ public Long getPostPayOpenTime() { return this.postPayOpenTime; } /** * @return postPayStatus */ public Integer getPostPayStatus() { return this.postPayStatus; } /** * @return raspCapacity */ public Long getRaspCapacity() { return this.raspCapacity; } /** * @return releaseTime */ public Long getReleaseTime() { return this.releaseTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sasLog */ public Integer getSasLog() { return this.sasLog; } /** * @return sasScreen */ public Integer getSasScreen() { return this.sasScreen; } /** * @return sdkCapacity */ public Long getSdkCapacity() { return this.sdkCapacity; } /** * @return slsCapacity */ public Long getSlsCapacity() { return this.slsCapacity; } /** * @return threatAnalysisCapacity */ public Long getThreatAnalysisCapacity() { return this.threatAnalysisCapacity; } /** * @return threatAnalysisFlow */ public Integer getThreatAnalysisFlow() { return this.threatAnalysisFlow; } /** * @return userDefinedAlarms */ public Integer getUserDefinedAlarms() { return this.userDefinedAlarms; } /** * @return version */ public Integer getVersion() { return this.version; } /** * @return vmCores */ public Integer getVmCores() { return this.vmCores; } /** * @return vulFixCapacity */ public Long getVulFixCapacity() { return this.vulFixCapacity; } /** * @return webLock */ public Integer getWebLock() { return this.webLock; } /** * @return webLockAuthCount */ public Long getWebLockAuthCount() { return this.webLockAuthCount; } public static final class Builder { private Long agentlessCapacity; private Integer allowPartialBuy; private Integer antiRansomwareCapacity; private Integer antiRansomwareService; private Integer appWhiteList; private Long appWhiteListAuthCount; private Integer assetLevel; private Long cspmCapacity; private Integer highestVersion; private Long honeypotCapacity; private Long imageScanCapacity; private Integer instanceBuyType; private String instanceId; private Boolean isNewContainerVersion; private Boolean isNewMultiVersion; private Boolean isOverBalance; private Boolean isPostpay; private Integer isTrialVersion; private Long lastTrailEndTime; private Integer MVAuthCount; private Integer MVUnusedAuthCount; private Integer mergedVersion; private String multiVersion; private Integer newThreatAnalysis; private Long openTime; private Integer postPayHostVersion; private String postPayInstanceId; private String postPayModuleSwitch; private Long postPayOpenTime; private Integer postPayStatus; private Long raspCapacity; private Long releaseTime; private String requestId; private Integer sasLog; private Integer sasScreen; private Long sdkCapacity; private Long slsCapacity; private Long threatAnalysisCapacity; private Integer threatAnalysisFlow; private Integer userDefinedAlarms; private Integer version; private Integer vmCores; private Long vulFixCapacity; private Integer webLock; private Long webLockAuthCount; private Builder() { } private Builder(DescribeVersionConfigResponseBody model) { this.agentlessCapacity = model.agentlessCapacity; this.allowPartialBuy = model.allowPartialBuy; this.antiRansomwareCapacity = model.antiRansomwareCapacity; this.antiRansomwareService = model.antiRansomwareService; this.appWhiteList = model.appWhiteList; this.appWhiteListAuthCount = model.appWhiteListAuthCount; this.assetLevel = model.assetLevel; this.cspmCapacity = model.cspmCapacity; this.highestVersion = model.highestVersion; this.honeypotCapacity = model.honeypotCapacity; this.imageScanCapacity = model.imageScanCapacity; this.instanceBuyType = model.instanceBuyType; this.instanceId = model.instanceId; this.isNewContainerVersion = model.isNewContainerVersion; this.isNewMultiVersion = model.isNewMultiVersion; this.isOverBalance = model.isOverBalance; this.isPostpay = model.isPostpay; this.isTrialVersion = model.isTrialVersion; this.lastTrailEndTime = model.lastTrailEndTime; this.MVAuthCount = model.MVAuthCount; this.MVUnusedAuthCount = model.MVUnusedAuthCount; this.mergedVersion = model.mergedVersion; this.multiVersion = model.multiVersion; this.newThreatAnalysis = model.newThreatAnalysis; this.openTime = model.openTime; this.postPayHostVersion = model.postPayHostVersion; this.postPayInstanceId = model.postPayInstanceId; this.postPayModuleSwitch = model.postPayModuleSwitch; this.postPayOpenTime = model.postPayOpenTime; this.postPayStatus = model.postPayStatus; this.raspCapacity = model.raspCapacity; this.releaseTime = model.releaseTime; this.requestId = model.requestId; this.sasLog = model.sasLog; this.sasScreen = model.sasScreen; this.sdkCapacity = model.sdkCapacity; this.slsCapacity = model.slsCapacity; this.threatAnalysisCapacity = model.threatAnalysisCapacity; this.threatAnalysisFlow = model.threatAnalysisFlow; this.userDefinedAlarms = model.userDefinedAlarms; this.version = model.version; this.vmCores = model.vmCores; this.vulFixCapacity = model.vulFixCapacity; this.webLock = model.webLock; this.webLockAuthCount = model.webLockAuthCount; } /** * <p>The quota for agentless detection.</p> * <blockquote> * <p> The agentless detection feature is unavailable for purchase. You can ignore this parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>10</p> */ public Builder agentlessCapacity(Long agentlessCapacity) { this.agentlessCapacity = agentlessCapacity; return this; } /** * <p>Indicates whether the pay-as-you-go billing method is supported.</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder allowPartialBuy(Integer allowPartialBuy) { this.allowPartialBuy = allowPartialBuy; return this; } /** * AntiRansomwareCapacity. */ public Builder antiRansomwareCapacity(Integer antiRansomwareCapacity) { this.antiRansomwareCapacity = antiRansomwareCapacity; return this; } /** * <p>Switch of anti-ransomware hosting service. Valid values:</p> * <ul> * <li><strong>0</strong>: off</li> * <li><strong>1</strong>: on</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder antiRansomwareService(Integer antiRansomwareService) { this.antiRansomwareService = antiRansomwareService; return this; } /** * <p>Indicates whether the application whitelist feature is enabled. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>2</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder appWhiteList(Integer appWhiteList) { this.appWhiteList = appWhiteList; return this; } /** * <p>The quota for the application whitelist feature.</p> * <blockquote> * <p> The quantity of servers that are allowed by the quota is deducted by one each time you apply an application whitelist to a server. After you enable the application whitelist feature, the quota is 20 by default.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder appWhiteListAuthCount(Long appWhiteListAuthCount) { this.appWhiteListAuthCount = appWhiteListAuthCount; return this; } /** * <p>The quota for servers that can be protected.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder assetLevel(Integer assetLevel) { this.assetLevel = assetLevel; return this; } /** * <p>The purchased quota for configuration assessment. Unit: times/month.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder cspmCapacity(Long cspmCapacity) { this.cspmCapacity = cspmCapacity; return this; } /** * <p>The most advanced edition that is used. Valid values:</p> * <ul> * <li><strong>1</strong>: Basic edition</li> * <li><strong>3</strong>: Enterprise edition</li> * <li><strong>5</strong>: Advanced edition</li> * <li><strong>6</strong>: Anti-virus edition</li> * <li><strong>7</strong>: Ultimate edition</li> * <li><strong>10</strong>: Value-added Plan edition</li> * </ul> * <blockquote> * <p> If you purchase the Multi-version edition of Security Center, the value indicates the most advanced edition that is used in the Multi-version edition. If you do not purchase the Multi-version edition of Security Center, the value indicates the edition of Security Center.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder highestVersion(Integer highestVersion) { this.highestVersion = highestVersion; return this; } /** * <p>The purchased quota for the cloud honeypot feature.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder honeypotCapacity(Long honeypotCapacity) { this.honeypotCapacity = honeypotCapacity; return this; } /** * <p>The purchased quota for the container image scan feature.</p> * * <strong>example:</strong> * <p>8954</p> */ public Builder imageScanCapacity(Long imageScanCapacity) { this.imageScanCapacity = imageScanCapacity; return this; } /** * InstanceBuyType. */ public Builder instanceBuyType(Integer instanceBuyType) { this.instanceBuyType = instanceBuyType; return this; } /** * <p>The ID of purchased Security Center.</p> * * <strong>example:</strong> * <p>sas-vg6hafdsafs****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>Indicates whether Security Center runs the latest version of the Ultimate edition.</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isNewContainerVersion(Boolean isNewContainerVersion) { this.isNewContainerVersion = isNewContainerVersion; return this; } /** * <p>Indicates whether Security Center runs the latest version of the Multi-version edition. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isNewMultiVersion(Boolean isNewMultiVersion) { this.isNewMultiVersion = isNewMultiVersion; return this; } /** * <p>Indicates whether the number of existing servers exceeds the purchased quota. Valid values:</p> * <ul> * <li><strong>false</strong>: no</li> * <li><strong>true</strong>: yes<blockquote> * <p>Notice: This parameter is deprecated. You can ignore it.</p> * </blockquote> * </li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder isOverBalance(Boolean isOverBalance) { this.isOverBalance = isOverBalance; return this; } /** * <p>Indicates whether the pay-as-you-go billing method is used. Valid values:</p> * <ul> * <li><strong>false</strong></li> * <li><strong>true</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isPostpay(Boolean isPostpay) { this.isPostpay = isPostpay; return this; } /** * <p>Indicates whether Security Center runs the free trial edition. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder isTrialVersion(Integer isTrialVersion) { this.isTrialVersion = isTrialVersion; return this; } /** * <p>The timestamp when the last trial of Security Center ends. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1603934844000</p> */ public Builder lastTrailEndTime(Long lastTrailEndTime) { this.lastTrailEndTime = lastTrailEndTime; return this; } /** * <p>The total quota in the Multi-version edition of purchased Security Center.</p> * * <strong>example:</strong> * <p>5000</p> */ public Builder MVAuthCount(Integer MVAuthCount) { this.MVAuthCount = MVAuthCount; return this; } /** * <p>The total remaining quota in the Multi-version edition of purchased Security Center.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder MVUnusedAuthCount(Integer MVUnusedAuthCount) { this.MVUnusedAuthCount = MVUnusedAuthCount; return this; } /** * <p>When both the annual/monthly and pay-as-you-go services of Cloud Security Center&quot;s host and container security are activated, the higher protection version among the two is selected. Values: - <strong>1</strong>: Free Edition - <strong>6</strong>: Anti-Virus Edition - <strong>5</strong>: Advanced Edition - <strong>3</strong>: Enterprise Edition - <strong>7</strong>: Ultimate Edition</p> * * <strong>example:</strong> * <p>7</p> */ public Builder mergedVersion(Integer mergedVersion) { this.mergedVersion = mergedVersion; return this; } /** * MultiVersion. */ public Builder multiVersion(String multiVersion) { this.multiVersion = multiVersion; return this; } /** * <p>Indicates whether the new version of the threat analysis and response feature is enabled. With the new version, you can purchase the amount of log data that you want to add to the feature and log storage capacity. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder newThreatAnalysis(Integer newThreatAnalysis) { this.newThreatAnalysis = newThreatAnalysis; return this; } /** * <p>The timestamp when Security Center is purchased. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1657244824669</p> */ public Builder openTime(Long openTime) { this.openTime = openTime; return this; } /** * <p>When activating the pay-as-you-go service for host and container security, this represents the highest protection version for the already bound assets. The values are as follows: - <strong>1</strong>: Free Edition - <strong>3</strong>: Enterprise Edition - <strong>5</strong>: Advanced Edition - <strong>6</strong>: Anti-Virus Edition - <strong>7</strong>: Flagship Edition</p> * * <strong>example:</strong> * <p>7</p> */ public Builder postPayHostVersion(Integer postPayHostVersion) { this.postPayHostVersion = postPayHostVersion; return this; } /** * <p>The instance ID of Security Center that uses the pay-as-you-go billing method.</p> * * <strong>example:</strong> * <p>postpay-sas-**</p> */ public Builder postPayInstanceId(String postPayInstanceId) { this.postPayInstanceId = postPayInstanceId; return this; } /** * <p>The configuration of the pay-as-you-go module. Valid values:</p> * <ul> * <li><strong>VUL</strong>: vulnerability fixing module</li> * </ul> * * <strong>example:</strong> * <p>{&quot;VUL&quot;:1}</p> */ public Builder postPayModuleSwitch(String postPayModuleSwitch) { this.postPayModuleSwitch = postPayModuleSwitch; return this; } /** * <p>The creation time of Security Center that uses the pay-as-you-go billing method.</p> * * <strong>example:</strong> * <p>1698915219000</p> */ public Builder postPayOpenTime(Long postPayOpenTime) { this.postPayOpenTime = postPayOpenTime; return this; } /** * <p>The status of Security Center that uses the pay-as-you-go billing method. Valid values:</p> * <ul> * <li><strong>1</strong>: The instance runs as expected.</li> * <li><strong>2</strong>: The instance is stopped due to overdue payments.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder postPayStatus(Integer postPayStatus) { this.postPayStatus = postPayStatus; return this; } /** * <p>The purchased quota for application protection. Unit: process/month.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder raspCapacity(Long raspCapacity) { this.raspCapacity = raspCapacity; return this; } /** * <p>The timestamp when the Security Center subscription ends. Unit: milliseconds.</p> * <blockquote> * <p> If you do not renew the subscription within seven days after the expiration date, Security Center of a paid edition is automatically downgraded to Security Center Basic. In this case, you can no longer use the features of the paid edition or view the existing configurations or statistics such as DDoS alerts in Security Center. You must purchase Security Center of a paid edition to use relevant features. For more information, see <a href="https://help.aliyun.com/document_detail/42308.html">Purchase Security Center</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>1625846400000</p> */ public Builder releaseTime(Long releaseTime) { this.releaseTime = releaseTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C2DC96D2-DD2E-49D9-A28E-85590475DF55</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether log analysis is purchased. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder sasLog(Integer sasLog) { this.sasLog = sasLog; return this; } /** * <p>Indicates whether the security screen feature is purchased. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder sasScreen(Integer sasScreen) { this.sasScreen = sasScreen; return this; } /** * <p>The purchased quota for malicious file detection SDK. Unit: process/month.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder sdkCapacity(Long sdkCapacity) { this.sdkCapacity = sdkCapacity; return this; } /** * <p>The log storage capacity that you purchase. Unit: GB. Valid values: 0 to 200000.</p> * * <strong>example:</strong> * <p>10240</p> */ public Builder slsCapacity(Long slsCapacity) { this.slsCapacity = slsCapacity; return this; } /** * <p>The purchased log storage capacity for threat analysis. Unit: GB.</p> * * <strong>example:</strong> * <p>25</p> */ public Builder threatAnalysisCapacity(Long threatAnalysisCapacity) { this.threatAnalysisCapacity = threatAnalysisCapacity; return this; } /** * <p>The amount of log data that you purchase for the threat analysis and response feature. Unit: GB-day.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder threatAnalysisFlow(Integer threatAnalysisFlow) { this.threatAnalysisFlow = threatAnalysisFlow; return this; } /** * <p>Indicates whether the custom alert feature is enabled. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>2</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder userDefinedAlarms(Integer userDefinedAlarms) { this.userDefinedAlarms = userDefinedAlarms; return this; } /** * <p>The edition of purchased Security Center. Valid values:</p> * <ul> * <li><strong>1</strong>: Basic edition</li> * <li><strong>3</strong>: Enterprise edition</li> * <li><strong>5</strong>: Advanced edition</li> * <li><strong>6</strong>: Anti-virus edition</li> * <li><strong>7</strong>: Ultimate edition</li> * <li><strong>8</strong>: Multi-version edition</li> * <li><strong>10</strong>: Value-added Plan edition</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder version(Integer version) { this.version = version; return this; } /** * <p>The quota for the cores of servers that can be protected.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder vmCores(Integer vmCores) { this.vmCores = vmCores; return this; } /** * <p>The purchased quota for vulnerability fixing. Unit: times/month.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder vulFixCapacity(Long vulFixCapacity) { this.vulFixCapacity = vulFixCapacity; return this; } /** * <p>Indicates whether the web tamper proofing feature is enabled. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder webLock(Integer webLock) { this.webLock = webLock; return this; } /** * <p>The quota for the web tamper proofing feature. The quantity of servers that are allowed by the quota is deducted by one each time a server is protected by the web tamper proofing feature. Valid values: 0 to N.</p> * <blockquote> * <p> N indicates the number of servers that you own.</p> * </blockquote> * * <strong>example:</strong> * <p>0</p> */ public Builder webLockAuthCount(Long webLockAuthCount) { this.webLockAuthCount = webLockAuthCount; return this; } public DescribeVersionConfigResponseBody build() { return new DescribeVersionConfigResponseBody(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/DescribeVolDingdingMessageRequest.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 DescribeVolDingdingMessageRequest} extends {@link RequestModel} * * <p>DescribeVolDingdingMessageRequest</p> */ public class DescribeVolDingdingMessageRequest 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("SourceIp") private String sourceIp; private DescribeVolDingdingMessageRequest(Builder builder) { super(builder); this.lang = builder.lang; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeVolDingdingMessageRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeVolDingdingMessageRequest, Builder> { private String lang; private String sourceIp; private Builder() { super(); } private Builder(DescribeVolDingdingMessageRequest request) { super(request); this.lang = request.lang; this.sourceIp = request.sourceIp; } /** * <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 source IP address.</p> * * <strong>example:</strong> * <p>1.2.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeVolDingdingMessageRequest build() { return new DescribeVolDingdingMessageRequest(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/DescribeVolDingdingMessageResponse.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 DescribeVolDingdingMessageResponse} extends {@link TeaModel} * * <p>DescribeVolDingdingMessageResponse</p> */ public class DescribeVolDingdingMessageResponse 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 DescribeVolDingdingMessageResponseBody body; private DescribeVolDingdingMessageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVolDingdingMessageResponse 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 DescribeVolDingdingMessageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVolDingdingMessageResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVolDingdingMessageResponseBody body); @Override DescribeVolDingdingMessageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVolDingdingMessageResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVolDingdingMessageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVolDingdingMessageResponse 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(DescribeVolDingdingMessageResponseBody body) { this.body = body; return this; } @Override public DescribeVolDingdingMessageResponse build() { return new DescribeVolDingdingMessageResponse(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/DescribeVolDingdingMessageResponseBody.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 DescribeVolDingdingMessageResponseBody} extends {@link TeaModel} * * <p>DescribeVolDingdingMessageResponseBody</p> */ public class DescribeVolDingdingMessageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DingdingUrl") private String dingdingUrl; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVolDingdingMessageResponseBody(Builder builder) { this.dingdingUrl = builder.dingdingUrl; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVolDingdingMessageResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dingdingUrl */ public String getDingdingUrl() { return this.dingdingUrl; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String dingdingUrl; private String requestId; private Builder() { } private Builder(DescribeVolDingdingMessageResponseBody model) { this.dingdingUrl = model.dingdingUrl; this.requestId = model.requestId; } /** * <p>The QR code address of the DingTalk group.</p> * * <strong>example:</strong> * <p><a href="https://www.wikihow.com/images_en/thumb/4/48/Get-the-URL-for-Pictures-Step-4-Version-4.jpg/v4-728px-Get-the-URL-for-Pictures-Step-4-Version-4.jpg.webp">https://www.wikihow.com/images_en/thumb/4/48/Get-the-URL-for-Pictures-Step-4-Version-4.jpg/v4-728px-Get-the-URL-for-Pictures-Step-4-Version-4.jpg.webp</a></p> */ public Builder dingdingUrl(String dingdingUrl) { this.dingdingUrl = dingdingUrl; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7A437E93-47EE-548F-ABCE-13F89AA85585</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVolDingdingMessageResponseBody build() { return new DescribeVolDingdingMessageResponseBody(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/DescribeVpcHoneyPotCriteriaRequest.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 DescribeVpcHoneyPotCriteriaRequest} extends {@link RequestModel} * * <p>DescribeVpcHoneyPotCriteriaRequest</p> */ public class DescribeVpcHoneyPotCriteriaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribeVpcHoneyPotCriteriaRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribeVpcHoneyPotCriteriaRequest 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<DescribeVpcHoneyPotCriteriaRequest, Builder> { private String lang; private Builder() { super(); } private Builder(DescribeVpcHoneyPotCriteriaRequest 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 DescribeVpcHoneyPotCriteriaRequest build() { return new DescribeVpcHoneyPotCriteriaRequest(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/DescribeVpcHoneyPotCriteriaResponse.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 DescribeVpcHoneyPotCriteriaResponse} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotCriteriaResponse</p> */ public class DescribeVpcHoneyPotCriteriaResponse 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 DescribeVpcHoneyPotCriteriaResponseBody body; private DescribeVpcHoneyPotCriteriaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVpcHoneyPotCriteriaResponse 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 DescribeVpcHoneyPotCriteriaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVpcHoneyPotCriteriaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVpcHoneyPotCriteriaResponseBody body); @Override DescribeVpcHoneyPotCriteriaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVpcHoneyPotCriteriaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVpcHoneyPotCriteriaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVpcHoneyPotCriteriaResponse 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(DescribeVpcHoneyPotCriteriaResponseBody body) { this.body = body; return this; } @Override public DescribeVpcHoneyPotCriteriaResponse build() { return new DescribeVpcHoneyPotCriteriaResponse(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/DescribeVpcHoneyPotCriteriaResponseBody.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 DescribeVpcHoneyPotCriteriaResponseBody} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotCriteriaResponseBody</p> */ public class DescribeVpcHoneyPotCriteriaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CriteriaList") private java.util.List<CriteriaList> criteriaList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVpcHoneyPotCriteriaResponseBody(Builder builder) { this.criteriaList = builder.criteriaList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVpcHoneyPotCriteriaResponseBody 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(DescribeVpcHoneyPotCriteriaResponseBody model) { this.criteriaList = model.criteriaList; this.requestId = model.requestId; } /** * <p>An array that consists of the search conditions.</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>FCE38ADB-7361-4212-AD87-A4514E4DF925</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVpcHoneyPotCriteriaResponseBody build() { return new DescribeVpcHoneyPotCriteriaResponseBody(this); } } /** * * {@link DescribeVpcHoneyPotCriteriaResponseBody} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotCriteriaResponseBody</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>vpcRegionId</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 manually enter the search condition.</li> * <li><strong>select</strong>: You must select a search condition from the <strong>Values</strong> drop-down list.</li> * </ul> * * <strong>example:</strong> * <p>select</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The values of the search condition. This parameter is returned only if the value of <strong>Type</strong> is <strong>select</strong>.</p> * <blockquote> * <p>If the value of <strong>Type</strong> is <strong>input</strong>, the value of this parameter is an empty string.</p> * </blockquote> * * <strong>example:</strong> * <p>ap-southeast-2,eu-west-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/DescribeVpcHoneyPotListRequest.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 DescribeVpcHoneyPotListRequest} extends {@link RequestModel} * * <p>DescribeVpcHoneyPotListRequest</p> */ public class DescribeVpcHoneyPotListRequest 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("HoneyPotExistence") private Boolean honeyPotExistence; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcRegionId") private String vpcRegionId; private DescribeVpcHoneyPotListRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.honeyPotExistence = builder.honeyPotExistence; this.pageSize = builder.pageSize; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; this.vpcRegionId = builder.vpcRegionId; } public static Builder builder() { return new Builder(); } public static DescribeVpcHoneyPotListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return honeyPotExistence */ public Boolean getHoneyPotExistence() { return this.honeyPotExistence; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } /** * @return vpcRegionId */ public String getVpcRegionId() { return this.vpcRegionId; } public static final class Builder extends Request.Builder<DescribeVpcHoneyPotListRequest, Builder> { private Integer currentPage; private Boolean honeyPotExistence; private Integer pageSize; private String vpcId; private String vpcName; private String vpcRegionId; private Builder() { super(); } private Builder(DescribeVpcHoneyPotListRequest request) { super(request); this.currentPage = request.currentPage; this.honeyPotExistence = request.honeyPotExistence; this.pageSize = request.pageSize; this.vpcId = request.vpcId; this.vpcName = request.vpcName; this.vpcRegionId = request.vpcRegionId; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether the cloud honeypot feature is enabled for the VPCs. 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 honeyPotExistence(Boolean honeyPotExistence) { this.putQueryParameter("HoneyPotExistence", honeyPotExistence); this.honeyPotExistence = honeyPotExistence; 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 ID of the VPC on which the honeypot is deployed.</p> * <blockquote> * <p>You can call the <a href="~~DescribeVpcList~~">DescribeVpcList</a> operation to query the IDs of VPCs.</p> * </blockquote> * * <strong>example:</strong> * <p>vpc-d7o009q63fqy21r8u****</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } /** * <p>The name of the VPC.</p> * <blockquote> * <p>You can call the <a href="~~DescribeVpcList~~">DescribeVpcList</a> operation to query the names of VPCs.</p> * </blockquote> * * <strong>example:</strong> * <p>abcnet</p> */ public Builder vpcName(String vpcName) { this.putQueryParameter("VpcName", vpcName); this.vpcName = vpcName; return this; } /** * <p>The region ID of the VPC.</p> * <blockquote> * <p>You can call the <a href="~~DescribeVpcList~~">DescribeVpcList</a> operation to query the region IDs of VPCs.</p> * </blockquote> * * <strong>example:</strong> * <p>ap-southeast-2</p> */ public Builder vpcRegionId(String vpcRegionId) { this.putQueryParameter("VpcRegionId", vpcRegionId); this.vpcRegionId = vpcRegionId; return this; } @Override public DescribeVpcHoneyPotListRequest build() { return new DescribeVpcHoneyPotListRequest(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/DescribeVpcHoneyPotListResponse.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 DescribeVpcHoneyPotListResponse} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotListResponse</p> */ public class DescribeVpcHoneyPotListResponse 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 DescribeVpcHoneyPotListResponseBody body; private DescribeVpcHoneyPotListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVpcHoneyPotListResponse 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 DescribeVpcHoneyPotListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVpcHoneyPotListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVpcHoneyPotListResponseBody body); @Override DescribeVpcHoneyPotListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVpcHoneyPotListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVpcHoneyPotListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVpcHoneyPotListResponse 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(DescribeVpcHoneyPotListResponseBody body) { this.body = body; return this; } @Override public DescribeVpcHoneyPotListResponse build() { return new DescribeVpcHoneyPotListResponse(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/DescribeVpcHoneyPotListResponseBody.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 DescribeVpcHoneyPotListResponseBody} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotListResponseBody</p> */ public class DescribeVpcHoneyPotListResponseBody 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("VpcHoneyPotDTOList") private java.util.List<VpcHoneyPotDTOList> vpcHoneyPotDTOList; private DescribeVpcHoneyPotListResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.vpcHoneyPotDTOList = builder.vpcHoneyPotDTOList; } public static Builder builder() { return new Builder(); } public static DescribeVpcHoneyPotListResponseBody 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 vpcHoneyPotDTOList */ public java.util.List<VpcHoneyPotDTOList> getVpcHoneyPotDTOList() { return this.vpcHoneyPotDTOList; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<VpcHoneyPotDTOList> vpcHoneyPotDTOList; private Builder() { } private Builder(DescribeVpcHoneyPotListResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.vpcHoneyPotDTOList = model.vpcHoneyPotDTOList; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4FEC7F58-FCDA-415F-AE25-CD8BC0931DF2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the honeypots.</p> */ public Builder vpcHoneyPotDTOList(java.util.List<VpcHoneyPotDTOList> vpcHoneyPotDTOList) { this.vpcHoneyPotDTOList = vpcHoneyPotDTOList; return this; } public DescribeVpcHoneyPotListResponseBody build() { return new DescribeVpcHoneyPotListResponseBody(this); } } /** * * {@link DescribeVpcHoneyPotListResponseBody} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotListResponseBody</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 DescribeVpcHoneyPotListResponseBody} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotListResponseBody</p> */ public static class VpcSwitchIdList extends TeaModel { @com.aliyun.core.annotation.NameInMap("VpcSwitchId") private String vpcSwitchId; @com.aliyun.core.annotation.NameInMap("VpcSwitchName") private String vpcSwitchName; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private VpcSwitchIdList(Builder builder) { this.vpcSwitchId = builder.vpcSwitchId; this.vpcSwitchName = builder.vpcSwitchName; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static VpcSwitchIdList create() { return builder().build(); } /** * @return vpcSwitchId */ public String getVpcSwitchId() { return this.vpcSwitchId; } /** * @return vpcSwitchName */ public String getVpcSwitchName() { return this.vpcSwitchName; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String vpcSwitchId; private String vpcSwitchName; private String zoneId; private Builder() { } private Builder(VpcSwitchIdList model) { this.vpcSwitchId = model.vpcSwitchId; this.vpcSwitchName = model.vpcSwitchName; this.zoneId = model.zoneId; } /** * <p>The ID of the vSwitch.</p> * * <strong>example:</strong> * <p>vsw-p0wdnyv4wzp6jkuu4****</p> */ public Builder vpcSwitchId(String vpcSwitchId) { this.vpcSwitchId = vpcSwitchId; return this; } /** * <p>The name of the vSwitch.</p> * * <strong>example:</strong> * <p>abc01</p> */ public Builder vpcSwitchName(String vpcSwitchName) { this.vpcSwitchName = vpcSwitchName; return this; } /** * <p>The zone ID of the vSwitch.</p> * * <strong>example:</strong> * <p>ap-southeast-2b</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public VpcSwitchIdList build() { return new VpcSwitchIdList(this); } } } /** * * {@link DescribeVpcHoneyPotListResponseBody} extends {@link TeaModel} * * <p>DescribeVpcHoneyPotListResponseBody</p> */ public static class VpcHoneyPotDTOList extends TeaModel { @com.aliyun.core.annotation.NameInMap("CidrBlock") private String cidrBlock; @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("HoneyPotEcsInstanceStatus") private String honeyPotEcsInstanceStatus; @com.aliyun.core.annotation.NameInMap("HoneyPotEniInstanceId") private String honeyPotEniInstanceId; @com.aliyun.core.annotation.NameInMap("HoneyPotExistence") private Boolean honeyPotExistence; @com.aliyun.core.annotation.NameInMap("HoneyPotInstanceStatus") private String honeyPotInstanceStatus; @com.aliyun.core.annotation.NameInMap("HoneyPotVpcSwitchId") private String honeyPotVpcSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; @com.aliyun.core.annotation.NameInMap("VpcRegionId") private String vpcRegionId; @com.aliyun.core.annotation.NameInMap("VpcStatus") private String vpcStatus; @com.aliyun.core.annotation.NameInMap("VpcSwitchIdList") private java.util.List<VpcSwitchIdList> vpcSwitchIdList; private VpcHoneyPotDTOList(Builder builder) { this.cidrBlock = builder.cidrBlock; this.createTime = builder.createTime; this.honeyPotEcsInstanceStatus = builder.honeyPotEcsInstanceStatus; this.honeyPotEniInstanceId = builder.honeyPotEniInstanceId; this.honeyPotExistence = builder.honeyPotExistence; this.honeyPotInstanceStatus = builder.honeyPotInstanceStatus; this.honeyPotVpcSwitchId = builder.honeyPotVpcSwitchId; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; this.vpcRegionId = builder.vpcRegionId; this.vpcStatus = builder.vpcStatus; this.vpcSwitchIdList = builder.vpcSwitchIdList; } public static Builder builder() { return new Builder(); } public static VpcHoneyPotDTOList create() { return builder().build(); } /** * @return cidrBlock */ public String getCidrBlock() { return this.cidrBlock; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return honeyPotEcsInstanceStatus */ public String getHoneyPotEcsInstanceStatus() { return this.honeyPotEcsInstanceStatus; } /** * @return honeyPotEniInstanceId */ public String getHoneyPotEniInstanceId() { return this.honeyPotEniInstanceId; } /** * @return honeyPotExistence */ public Boolean getHoneyPotExistence() { return this.honeyPotExistence; } /** * @return honeyPotInstanceStatus */ public String getHoneyPotInstanceStatus() { return this.honeyPotInstanceStatus; } /** * @return honeyPotVpcSwitchId */ public String getHoneyPotVpcSwitchId() { return this.honeyPotVpcSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } /** * @return vpcRegionId */ public String getVpcRegionId() { return this.vpcRegionId; } /** * @return vpcStatus */ public String getVpcStatus() { return this.vpcStatus; } /** * @return vpcSwitchIdList */ public java.util.List<VpcSwitchIdList> getVpcSwitchIdList() { return this.vpcSwitchIdList; } public static final class Builder { private String cidrBlock; private Long createTime; private String honeyPotEcsInstanceStatus; private String honeyPotEniInstanceId; private Boolean honeyPotExistence; private String honeyPotInstanceStatus; private String honeyPotVpcSwitchId; private String vpcId; private String vpcName; private String vpcRegionId; private String vpcStatus; private java.util.List<VpcSwitchIdList> vpcSwitchIdList; private Builder() { } private Builder(VpcHoneyPotDTOList model) { this.cidrBlock = model.cidrBlock; this.createTime = model.createTime; this.honeyPotEcsInstanceStatus = model.honeyPotEcsInstanceStatus; this.honeyPotEniInstanceId = model.honeyPotEniInstanceId; this.honeyPotExistence = model.honeyPotExistence; this.honeyPotInstanceStatus = model.honeyPotInstanceStatus; this.honeyPotVpcSwitchId = model.honeyPotVpcSwitchId; this.vpcId = model.vpcId; this.vpcName = model.vpcName; this.vpcRegionId = model.vpcRegionId; this.vpcStatus = model.vpcStatus; this.vpcSwitchIdList = model.vpcSwitchIdList; } /** * <p>The CIDR block of the VPC.</p> * * <strong>example:</strong> * <p>192.168.XX.XX/16</p> */ public Builder cidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; return this; } /** * <p>The time at which the VPC was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1607365213000</p> */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * <p>The status of the server on which the honeypot is deployed. Valid values:</p> * <ul> * <li><strong>Pending</strong>: The server is being created.</li> * <li><strong>Running</strong>: The server is running.</li> * <li><strong>Starting</strong>: The server is being started.</li> * <li><strong>Stopping</strong>: The server is being stopped.</li> * <li><strong>Stopped</strong>: The server is stopped.</li> * </ul> * * <strong>example:</strong> * <p>Running</p> */ public Builder honeyPotEcsInstanceStatus(String honeyPotEcsInstanceStatus) { this.honeyPotEcsInstanceStatus = honeyPotEcsInstanceStatus; return this; } /** * <p>The ID of the elastic network interface (ENI) used by the honeypot in the VPC.</p> * * <strong>example:</strong> * <p>eni-p0whwgg7bing8b80****</p> */ public Builder honeyPotEniInstanceId(String honeyPotEniInstanceId) { this.honeyPotEniInstanceId = honeyPotEniInstanceId; return this; } /** * <p>Indicates whether the cloud honeypot feature is enabled for the VPC. 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 honeyPotExistence(Boolean honeyPotExistence) { this.honeyPotExistence = honeyPotExistence; return this; } /** * <p>The status of the honeypot. Valid values:</p> * <ul> * <li><strong>pending</strong>: The honeypot is being created.</li> * <li><strong>deleting</strong>: The honeypot is being deleted.</li> * <li><strong>off</strong>: The honeypot is disabled.</li> * <li><strong>suspending</strong>: The honeypot is suspended.</li> * <li><strong>on</strong>: The honeypot is enabled.</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder honeyPotInstanceStatus(String honeyPotInstanceStatus) { this.honeyPotInstanceStatus = honeyPotInstanceStatus; return this; } /** * <p>The ID of the vSwitch to which the ENI used by the honeypot is connected.</p> * * <strong>example:</strong> * <p>vsw-p0w7gdcfvn20tvdul****</p> */ public Builder honeyPotVpcSwitchId(String honeyPotVpcSwitchId) { this.honeyPotVpcSwitchId = honeyPotVpcSwitchId; return this; } /** * <p>The ID of the VPC.</p> * * <strong>example:</strong> * <p>vpc-p0w223apdl49sr5zv****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The name of the VPC.</p> * * <strong>example:</strong> * <p>abc-vpcname</p> */ public Builder vpcName(String vpcName) { this.vpcName = vpcName; return this; } /** * <p>The region ID of the VPC.</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>ap-southeast-2</p> */ public Builder vpcRegionId(String vpcRegionId) { this.vpcRegionId = vpcRegionId; return this; } /** * <p>The status of the VPC. Valid values:</p> * <ul> * <li><strong>Available</strong>: The VPC is normal and available.</li> * <li><strong>Pending</strong>: The VPC is being configured.</li> * </ul> * * <strong>example:</strong> * <p>Available</p> */ public Builder vpcStatus(String vpcStatus) { this.vpcStatus = vpcStatus; return this; } /** * <p>An array that consists of the vSwitches in the VPC.</p> */ public Builder vpcSwitchIdList(java.util.List<VpcSwitchIdList> vpcSwitchIdList) { this.vpcSwitchIdList = vpcSwitchIdList; return this; } public VpcHoneyPotDTOList build() { return new VpcHoneyPotDTOList(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/DescribeVpcListRequest.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 DescribeVpcListRequest} extends {@link RequestModel} * * <p>DescribeVpcListRequest</p> */ public class DescribeVpcListRequest extends Request { private DescribeVpcListRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeVpcListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeVpcListRequest, Builder> { private Builder() { super(); } private Builder(DescribeVpcListRequest request) { super(request); } @Override public DescribeVpcListRequest build() { return new DescribeVpcListRequest(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/DescribeVpcListResponse.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 DescribeVpcListResponse} extends {@link TeaModel} * * <p>DescribeVpcListResponse</p> */ public class DescribeVpcListResponse 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 DescribeVpcListResponseBody body; private DescribeVpcListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVpcListResponse 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 DescribeVpcListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVpcListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVpcListResponseBody body); @Override DescribeVpcListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVpcListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVpcListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVpcListResponse 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(DescribeVpcListResponseBody body) { this.body = body; return this; } @Override public DescribeVpcListResponse build() { return new DescribeVpcListResponse(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/DescribeVpcListResponseBody.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 DescribeVpcListResponseBody} extends {@link TeaModel} * * <p>DescribeVpcListResponseBody</p> */ public class DescribeVpcListResponseBody 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("VpcList") private java.util.List<VpcList> vpcList; private DescribeVpcListResponseBody(Builder builder) { this.count = builder.count; this.requestId = builder.requestId; this.vpcList = builder.vpcList; } public static Builder builder() { return new Builder(); } public static DescribeVpcListResponseBody 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 vpcList */ public java.util.List<VpcList> getVpcList() { return this.vpcList; } public static final class Builder { private Integer count; private String requestId; private java.util.List<VpcList> vpcList; private Builder() { } private Builder(DescribeVpcListResponseBody model) { this.count = model.count; this.requestId = model.requestId; this.vpcList = model.vpcList; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</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>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of VPCs.</p> */ public Builder vpcList(java.util.List<VpcList> vpcList) { this.vpcList = vpcList; return this; } public DescribeVpcListResponseBody build() { return new DescribeVpcListResponseBody(this); } } /** * * {@link DescribeVpcListResponseBody} extends {@link TeaModel} * * <p>DescribeVpcListResponseBody</p> */ public static class VpcList extends TeaModel { @com.aliyun.core.annotation.NameInMap("EcsCount") private Integer ecsCount; @com.aliyun.core.annotation.NameInMap("InstanceDesc") private String instanceDesc; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private VpcList(Builder builder) { this.ecsCount = builder.ecsCount; this.instanceDesc = builder.instanceDesc; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static VpcList create() { return builder().build(); } /** * @return ecsCount */ public Integer getEcsCount() { return this.ecsCount; } /** * @return instanceDesc */ public String getInstanceDesc() { return this.instanceDesc; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private Integer ecsCount; private String instanceDesc; private String instanceId; private String instanceName; private String regionId; private Builder() { } private Builder(VpcList model) { this.ecsCount = model.ecsCount; this.instanceDesc = model.instanceDesc; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.regionId = model.regionId; } /** * <p>The number of Elastic Compute Service (ECS) instances.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder ecsCount(Integer ecsCount) { this.ecsCount = ecsCount; return this; } /** * <p>The information about the virtual private cloud (VPC).</p> * * <strong>example:</strong> * <p>TestVpcNote</p> */ public Builder instanceDesc(String instanceDesc) { this.instanceDesc = instanceDesc; return this; } /** * <p>The ID of the ECS instance.</p> * * <strong>example:</strong> * <p>ins_1321_asedb_ada</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the VPC.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>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; } public VpcList build() { return new VpcList(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/DescribeVulCheckTaskStatusDetailRequest.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 DescribeVulCheckTaskStatusDetailRequest} extends {@link RequestModel} * * <p>DescribeVulCheckTaskStatusDetailRequest</p> */ public class DescribeVulCheckTaskStatusDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskIds") private java.util.List<String> taskIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Types") private java.util.List<String> types; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribeVulCheckTaskStatusDetailRequest(Builder builder) { super(builder); this.taskIds = builder.taskIds; this.types = builder.types; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeVulCheckTaskStatusDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return taskIds */ public java.util.List<String> getTaskIds() { return this.taskIds; } /** * @return types */ public java.util.List<String> getTypes() { return this.types; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeVulCheckTaskStatusDetailRequest, Builder> { private java.util.List<String> taskIds; private java.util.List<String> types; private String uuid; private Builder() { super(); } private Builder(DescribeVulCheckTaskStatusDetailRequest request) { super(request); this.taskIds = request.taskIds; this.types = request.types; this.uuid = request.uuid; } /** * <p>The task IDs.</p> */ public Builder taskIds(java.util.List<String> taskIds) { this.putQueryParameter("TaskIds", taskIds); this.taskIds = taskIds; return this; } /** * <p>The types of the vulnerabilities that are detected by the tasks.</p> */ public Builder types(java.util.List<String> types) { this.putQueryParameter("Types", types); this.types = types; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>5d55af3c-35f3-4d4d-8ccc-8c5443b0****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeVulCheckTaskStatusDetailRequest build() { return new DescribeVulCheckTaskStatusDetailRequest(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/DescribeVulCheckTaskStatusDetailResponse.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 DescribeVulCheckTaskStatusDetailResponse} extends {@link TeaModel} * * <p>DescribeVulCheckTaskStatusDetailResponse</p> */ public class DescribeVulCheckTaskStatusDetailResponse 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 DescribeVulCheckTaskStatusDetailResponseBody body; private DescribeVulCheckTaskStatusDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulCheckTaskStatusDetailResponse 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 DescribeVulCheckTaskStatusDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulCheckTaskStatusDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulCheckTaskStatusDetailResponseBody body); @Override DescribeVulCheckTaskStatusDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulCheckTaskStatusDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulCheckTaskStatusDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulCheckTaskStatusDetailResponse 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(DescribeVulCheckTaskStatusDetailResponseBody body) { this.body = body; return this; } @Override public DescribeVulCheckTaskStatusDetailResponse build() { return new DescribeVulCheckTaskStatusDetailResponse(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/DescribeVulCheckTaskStatusDetailResponseBody.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 DescribeVulCheckTaskStatusDetailResponseBody} extends {@link TeaModel} * * <p>DescribeVulCheckTaskStatusDetailResponseBody</p> */ public class DescribeVulCheckTaskStatusDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskStatuses") private java.util.List<TaskStatuses> taskStatuses; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeVulCheckTaskStatusDetailResponseBody(Builder builder) { this.requestId = builder.requestId; this.taskStatuses = builder.taskStatuses; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVulCheckTaskStatusDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskStatuses */ public java.util.List<TaskStatuses> getTaskStatuses() { return this.taskStatuses; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String requestId; private java.util.List<TaskStatuses> taskStatuses; private Integer totalCount; private Builder() { } private Builder(DescribeVulCheckTaskStatusDetailResponseBody model) { this.requestId = model.requestId; this.taskStatuses = model.taskStatuses; this.totalCount = model.totalCount; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>BE120DAB-F4E7-4C53-ADC3-A97578ABF384</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the status information about the vulnerability scan tasks on the server.</p> */ public Builder taskStatuses(java.util.List<TaskStatuses> taskStatuses) { this.taskStatuses = taskStatuses; return this; } /** * <p>The total number of vulnerability scan tasks on the server.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeVulCheckTaskStatusDetailResponseBody build() { return new DescribeVulCheckTaskStatusDetailResponseBody(this); } } /** * * {@link DescribeVulCheckTaskStatusDetailResponseBody} extends {@link TeaModel} * * <p>DescribeVulCheckTaskStatusDetailResponseBody</p> */ public static class TaskStatusList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Type") private String type; private TaskStatusList(Builder builder) { this.code = builder.code; this.status = builder.status; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static TaskStatusList create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return status */ public String getStatus() { return this.status; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String code; private String status; private String type; private Builder() { } private Builder(TaskStatusList model) { this.code = model.code; this.status = model.status; this.type = model.type; } /** * <p>The error code returned.</p> * * <strong>example:</strong> * <p>push_command_failed</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The status of the subtask. Valid values:</p> * <ul> * <li><strong>0</strong>: unhandled</li> * <li><strong>1</strong>: collecting</li> * <li><strong>2</strong>: collected</li> * <li><strong>3</strong>: matching</li> * <li><strong>4</strong>: complete</li> * </ul> * * <strong>example:</strong> * <p>4</p> */ public Builder status(String status) { this.status = status; 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>sca</strong>: vulnerability that is detected based on software component analysis</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } public TaskStatusList build() { return new TaskStatusList(this); } } } /** * * {@link DescribeVulCheckTaskStatusDetailResponseBody} extends {@link TeaModel} * * <p>DescribeVulCheckTaskStatusDetailResponseBody</p> */ public static class TaskStatuses extends TeaModel { @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskStatusList") private java.util.List<TaskStatusList> taskStatusList; private TaskStatuses(Builder builder) { this.taskId = builder.taskId; this.taskStatusList = builder.taskStatusList; } public static Builder builder() { return new Builder(); } public static TaskStatuses create() { return builder().build(); } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskStatusList */ public java.util.List<TaskStatusList> getTaskStatusList() { return this.taskStatusList; } public static final class Builder { private String taskId; private java.util.List<TaskStatusList> taskStatusList; private Builder() { } private Builder(TaskStatuses model) { this.taskId = model.taskId; this.taskStatusList = model.taskStatusList; } /** * <p>The ID of the main task.</p> * * <strong>example:</strong> * <p>16190385</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>An array that consists of status information about the vulnerability scan subtask.</p> */ public Builder taskStatusList(java.util.List<TaskStatusList> taskStatusList) { this.taskStatusList = taskStatusList; return this; } public TaskStatuses build() { return new TaskStatuses(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/DescribeVulConfigRequest.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 DescribeVulConfigRequest} extends {@link RequestModel} * * <p>DescribeVulConfigRequest</p> */ public class DescribeVulConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeVulConfigRequest(Builder builder) { super(builder); this.sourceIp = builder.sourceIp; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeVulConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeVulConfigRequest, Builder> { private String sourceIp; private String type; private Builder() { super(); } private Builder(DescribeVulConfigRequest request) { super(request); this.sourceIp = request.sourceIp; this.type = request.type; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>113.110.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The type of configuration. By default, all types of configurations are queried. 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 using web scanner.</li> * <li><strong>emg</strong>: urgent vulnerability.</li> * <li><strong>scanMode</strong>: displays easily exploitable vulnerability.</li> * <li><strong>imageVulClean</strong>: vulnerability retention duration.</li> * <li><strong>yum</strong>: preferentially uses YUM or APT sources of Alibaba Cloud to fix vulnerabilities.</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeVulConfigRequest build() { return new DescribeVulConfigRequest(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/DescribeVulConfigResponse.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 DescribeVulConfigResponse} extends {@link TeaModel} * * <p>DescribeVulConfigResponse</p> */ public class DescribeVulConfigResponse 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 DescribeVulConfigResponseBody body; private DescribeVulConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulConfigResponse 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 DescribeVulConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulConfigResponseBody body); @Override DescribeVulConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulConfigResponse 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(DescribeVulConfigResponseBody body) { this.body = body; return this; } @Override public DescribeVulConfigResponse build() { return new DescribeVulConfigResponse(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/DescribeVulConfigResponseBody.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 DescribeVulConfigResponseBody} extends {@link TeaModel} * * <p>DescribeVulConfigResponseBody</p> */ public class DescribeVulConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TargetConfigs") private java.util.List<TargetConfigs> targetConfigs; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeVulConfigResponseBody(Builder builder) { this.requestId = builder.requestId; this.targetConfigs = builder.targetConfigs; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVulConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return targetConfigs */ public java.util.List<TargetConfigs> getTargetConfigs() { return this.targetConfigs; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String requestId; private java.util.List<TargetConfigs> targetConfigs; private Integer totalCount; private Builder() { } private Builder(DescribeVulConfigResponseBody model) { this.requestId = model.requestId; this.targetConfigs = model.targetConfigs; this.totalCount = model.totalCount; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>24A20733-10A0-4AF6-BE6B-E3322413BB68</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the configurations of vulnerability management.</p> */ public Builder targetConfigs(java.util.List<TargetConfigs> targetConfigs) { this.targetConfigs = targetConfigs; return this; } /** * <p>The total number of configurations.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeVulConfigResponseBody build() { return new DescribeVulConfigResponseBody(this); } } /** * * {@link DescribeVulConfigResponseBody} extends {@link TeaModel} * * <p>DescribeVulConfigResponseBody</p> */ public static class TargetConfigs extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("OverAllConfig") private String overAllConfig; @com.aliyun.core.annotation.NameInMap("Type") private String type; private TargetConfigs(Builder builder) { this.config = builder.config; this.overAllConfig = builder.overAllConfig; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static TargetConfigs create() { return builder().build(); } /** * @return config */ public String getConfig() { return this.config; } /** * @return overAllConfig */ public String getOverAllConfig() { return this.overAllConfig; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String config; private String overAllConfig; private String type; private Builder() { } private Builder(TargetConfigs model) { this.config = model.config; this.overAllConfig = model.overAllConfig; this.type = model.type; } /** * <p>The configuration of vulnerability scan.</p> * <blockquote> * <p>Valid values when you set the Type parameter to <strong>cve</strong>, <strong>sys</strong>, <strong>cms</strong>, <strong>app</strong>, <strong>emg</strong>, or <strong>yum</strong>:</p> * </blockquote> * <ul> * <li><p><strong>on</strong>: enabled</p> * </li> * <li><p><strong>off</strong>: disabled</p> * </li> * </ul> * <p>Valid values when you set the Type parameter to <strong>scanMode</strong>:</p> * <ul> * <li><p><strong>real</strong>: displays easily exploitable vulnerability.</p> * </li> * <li><p><strong>all</strong>: displays all vulnerabilities.</p> * </li> * </ul> * <p>When you set the Type parameter to <strong>imageVulClean</strong>, the value of this parameter indicates the vulnerability retention period in days.</p> * * <strong>example:</strong> * <p>90</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>Indicates whether the vulnerability management feature is enabled for all servers. Valid values:</p> * <ul> * <li><strong>off</strong>: disabled</li> * <li><strong>on</strong>: enabled</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder overAllConfig(String overAllConfig) { this.overAllConfig = overAllConfig; return this; } /** * <p>The type of configuration. 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 using web scanner.</li> * <li><strong>emg</strong>: urgent vulnerability.</li> * <li><strong>scanMode</strong>: displays easily exploitable vulnerability.</li> * <li><strong>imageVulClean</strong>: vulnerability retention duration.</li> * <li><strong>yum</strong>: preferentially uses YUM or APT sources of Alibaba Cloud to fix vulnerabilities.</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } public TargetConfigs build() { return new TargetConfigs(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/DescribeVulDefendCountStatisticsRequest.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 DescribeVulDefendCountStatisticsRequest} extends {@link RequestModel} * * <p>DescribeVulDefendCountStatisticsRequest</p> */ public class DescribeVulDefendCountStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VulType") private String vulType; private DescribeVulDefendCountStatisticsRequest(Builder builder) { super(builder); this.vulType = builder.vulType; } public static Builder builder() { return new Builder(); } public static DescribeVulDefendCountStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return vulType */ public String getVulType() { return this.vulType; } public static final class Builder extends Request.Builder<DescribeVulDefendCountStatisticsRequest, Builder> { private String vulType; private Builder() { super(); } private Builder(DescribeVulDefendCountStatisticsRequest request) { super(request); this.vulType = request.vulType; } /** * <p>The type of the vulnerabilities. Valid values:</p> * <ul> * <li>app: application vulnerabilities</li> * <li>emg: urgent vulnerabilities</li> * </ul> * * <strong>example:</strong> * <p>emg</p> */ public Builder vulType(String vulType) { this.putQueryParameter("VulType", vulType); this.vulType = vulType; return this; } @Override public DescribeVulDefendCountStatisticsRequest build() { return new DescribeVulDefendCountStatisticsRequest(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/DescribeVulDefendCountStatisticsResponse.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 DescribeVulDefendCountStatisticsResponse} extends {@link TeaModel} * * <p>DescribeVulDefendCountStatisticsResponse</p> */ public class DescribeVulDefendCountStatisticsResponse 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 DescribeVulDefendCountStatisticsResponseBody body; private DescribeVulDefendCountStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulDefendCountStatisticsResponse 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 DescribeVulDefendCountStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulDefendCountStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulDefendCountStatisticsResponseBody body); @Override DescribeVulDefendCountStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulDefendCountStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulDefendCountStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulDefendCountStatisticsResponse 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(DescribeVulDefendCountStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeVulDefendCountStatisticsResponse build() { return new DescribeVulDefendCountStatisticsResponse(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/DescribeVulDefendCountStatisticsResponseBody.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 DescribeVulDefendCountStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulDefendCountStatisticsResponseBody</p> */ public class DescribeVulDefendCountStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RaspDefendedCount") private Integer raspDefendedCount; @com.aliyun.core.annotation.NameInMap("RaspDefensibleCount") private Integer raspDefensibleCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVulDefendCountStatisticsResponseBody(Builder builder) { this.raspDefendedCount = builder.raspDefendedCount; this.raspDefensibleCount = builder.raspDefensibleCount; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVulDefendCountStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return raspDefendedCount */ public Integer getRaspDefendedCount() { return this.raspDefendedCount; } /** * @return raspDefensibleCount */ public Integer getRaspDefensibleCount() { return this.raspDefensibleCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer raspDefendedCount; private Integer raspDefensibleCount; private String requestId; private Builder() { } private Builder(DescribeVulDefendCountStatisticsResponseBody model) { this.raspDefendedCount = model.raspDefendedCount; this.raspDefensibleCount = model.raspDefensibleCount; this.requestId = model.requestId; } /** * <p>The number of defended vulnerabilities.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder raspDefendedCount(Integer raspDefendedCount) { this.raspDefendedCount = raspDefendedCount; return this; } /** * <p>The number of supported vulnerabilities.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder raspDefensibleCount(Integer raspDefensibleCount) { this.raspDefensibleCount = raspDefensibleCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>CE500770-42D3-442E-9DDD-156E0F9F3B45</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVulDefendCountStatisticsResponseBody build() { return new DescribeVulDefendCountStatisticsResponseBody(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/DescribeVulDetailsRequest.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 DescribeVulDetailsRequest} extends {@link RequestModel} * * <p>DescribeVulDetailsRequest</p> */ public class DescribeVulDetailsRequest 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("Lang") @com.aliyun.core.annotation.Validation(required = true) private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") @com.aliyun.core.annotation.Validation(required = true) private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private DescribeVulDetailsRequest(Builder builder) { super(builder); this.aliasName = builder.aliasName; this.lang = builder.lang; this.name = builder.name; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeVulDetailsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return name */ public String getName() { return this.name; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeVulDetailsRequest, Builder> { private String aliasName; private String lang; private String name; private Long resourceDirectoryAccountId; private String type; private Builder() { super(); } private Builder(DescribeVulDetailsRequest request) { super(request); this.aliasName = request.aliasName; this.lang = request.lang; this.name = request.name; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.type = request.type; } /** * <p>The vulnerability announcement.</p> * * <strong>example:</strong> * <p>RHSA-2019:3197-Important: sudo security update</p> */ public Builder aliasName(String aliasName) { this.putQueryParameter("AliasName", aliasName); this.aliasName = aliasName; return this; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the vulnerability.</p> * <blockquote> * <p>You can call the <a href="~~DescribeGroupedVul~~">DescribeGroupedVul</a> or <a href="~~DescribeVulList~~">DescribeVulList</a> operation to query the names of vulnerabilities.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>SCA:ACSV-2020-052801</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; 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 IDs.</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 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 vulnerabilitiy</li> * <li><strong>emg</strong>: urgent vulnerability</li> * <li><strong>sca</strong>: vulnerability that is detected based on software component analysis</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sca</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeVulDetailsRequest build() { return new DescribeVulDetailsRequest(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/DescribeVulDetailsResponse.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 DescribeVulDetailsResponse} extends {@link TeaModel} * * <p>DescribeVulDetailsResponse</p> */ public class DescribeVulDetailsResponse 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 DescribeVulDetailsResponseBody body; private DescribeVulDetailsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulDetailsResponse 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 DescribeVulDetailsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulDetailsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulDetailsResponseBody body); @Override DescribeVulDetailsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulDetailsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulDetailsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulDetailsResponse 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(DescribeVulDetailsResponseBody body) { this.body = body; return this; } @Override public DescribeVulDetailsResponse build() { return new DescribeVulDetailsResponse(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/DescribeVulDetailsResponseBody.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 DescribeVulDetailsResponseBody} extends {@link TeaModel} * * <p>DescribeVulDetailsResponseBody</p> */ public class DescribeVulDetailsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cves") private java.util.List<Cves> cves; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVulDetailsResponseBody(Builder builder) { this.cves = builder.cves; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVulDetailsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return cves */ public java.util.List<Cves> getCves() { return this.cves; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Cves> cves; private String requestId; private Builder() { } private Builder(DescribeVulDetailsResponseBody model) { this.cves = model.cves; this.requestId = model.requestId; } /** * <p>The details of the vulnerability.</p> */ public Builder cves(java.util.List<Cves> cves) { this.cves = cves; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>EDA40EA3-6265-5900-AD99-C83E4F109CA8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVulDetailsResponseBody build() { return new DescribeVulDetailsResponseBody(this); } } /** * * {@link DescribeVulDetailsResponseBody} extends {@link TeaModel} * * <p>DescribeVulDetailsResponseBody</p> */ public static class Classifys extends TeaModel { @com.aliyun.core.annotation.NameInMap("Classify") private String classify; @com.aliyun.core.annotation.NameInMap("DemoVideoUrl") private String demoVideoUrl; @com.aliyun.core.annotation.NameInMap("Description") private String description; private Classifys(Builder builder) { this.classify = builder.classify; this.demoVideoUrl = builder.demoVideoUrl; this.description = builder.description; } public static Builder builder() { return new Builder(); } public static Classifys create() { return builder().build(); } /** * @return classify */ public String getClassify() { return this.classify; } /** * @return demoVideoUrl */ public String getDemoVideoUrl() { return this.demoVideoUrl; } /** * @return description */ public String getDescription() { return this.description; } public static final class Builder { private String classify; private String demoVideoUrl; private String description; private Builder() { } private Builder(Classifys model) { this.classify = model.classify; this.demoVideoUrl = model.demoVideoUrl; this.description = model.description; } /** * <p>The type of the vulnerability.</p> * * <strong>example:</strong> * <p>remote_code_execution</p> */ public Builder classify(String classify) { this.classify = classify; return this; } /** * <p>The URL of the demo video for the vulnerability.</p> * * <strong>example:</strong> * <p><a href="https://example.com">https://example.com</a></p> */ public Builder demoVideoUrl(String demoVideoUrl) { this.demoVideoUrl = demoVideoUrl; return this; } /** * <p>The description of the vulnerability type.</p> * * <strong>example:</strong> * <p>Remote code execution</p> */ public Builder description(String description) { this.description = description; return this; } public Classifys build() { return new Classifys(this); } } } /** * * {@link DescribeVulDetailsResponseBody} extends {@link TeaModel} * * <p>DescribeVulDetailsResponseBody</p> */ public static class Cves extends TeaModel { @com.aliyun.core.annotation.NameInMap("Classify") private String classify; @com.aliyun.core.annotation.NameInMap("Classifys") private java.util.List<Classifys> classifys; @com.aliyun.core.annotation.NameInMap("CnvdId") @Deprecated private String cnvdId; @com.aliyun.core.annotation.NameInMap("Complexity") @Deprecated private String complexity; @com.aliyun.core.annotation.NameInMap("Content") @Deprecated private String content; @com.aliyun.core.annotation.NameInMap("CveId") private String cveId; @com.aliyun.core.annotation.NameInMap("CveLink") private String cveLink; @com.aliyun.core.annotation.NameInMap("CvssScore") private String cvssScore; @com.aliyun.core.annotation.NameInMap("CvssVector") private String cvssVector; @com.aliyun.core.annotation.NameInMap("InstanceName") @Deprecated private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") @Deprecated private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") @Deprecated private String intranetIp; @com.aliyun.core.annotation.NameInMap("OtherId") private String otherId; @com.aliyun.core.annotation.NameInMap("Poc") @Deprecated private String poc; @com.aliyun.core.annotation.NameInMap("PocCreateTime") @Deprecated private Long pocCreateTime; @com.aliyun.core.annotation.NameInMap("PocDisclosureTime") @Deprecated private Long pocDisclosureTime; @com.aliyun.core.annotation.NameInMap("Product") @Deprecated private String product; @com.aliyun.core.annotation.NameInMap("Reference") private String reference; @com.aliyun.core.annotation.NameInMap("ReleaseTime") private Long releaseTime; @com.aliyun.core.annotation.NameInMap("Solution") private String solution; @com.aliyun.core.annotation.NameInMap("Summary") private String summary; @com.aliyun.core.annotation.NameInMap("TargetId") @Deprecated private String targetId; @com.aliyun.core.annotation.NameInMap("TargetName") @Deprecated private String targetName; @com.aliyun.core.annotation.NameInMap("Title") private String title; @com.aliyun.core.annotation.NameInMap("Vendor") @Deprecated private String vendor; @com.aliyun.core.annotation.NameInMap("VulLevel") private String vulLevel; private Cves(Builder builder) { this.classify = builder.classify; this.classifys = builder.classifys; this.cnvdId = builder.cnvdId; this.complexity = builder.complexity; this.content = builder.content; this.cveId = builder.cveId; this.cveLink = builder.cveLink; this.cvssScore = builder.cvssScore; this.cvssVector = builder.cvssVector; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.otherId = builder.otherId; this.poc = builder.poc; this.pocCreateTime = builder.pocCreateTime; this.pocDisclosureTime = builder.pocDisclosureTime; this.product = builder.product; this.reference = builder.reference; this.releaseTime = builder.releaseTime; this.solution = builder.solution; this.summary = builder.summary; this.targetId = builder.targetId; this.targetName = builder.targetName; this.title = builder.title; this.vendor = builder.vendor; this.vulLevel = builder.vulLevel; } public static Builder builder() { return new Builder(); } public static Cves create() { return builder().build(); } /** * @return classify */ public String getClassify() { return this.classify; } /** * @return classifys */ public java.util.List<Classifys> getClassifys() { return this.classifys; } /** * @return cnvdId */ public String getCnvdId() { return this.cnvdId; } /** * @return complexity */ public String getComplexity() { return this.complexity; } /** * @return content */ public String getContent() { return this.content; } /** * @return cveId */ public String getCveId() { return this.cveId; } /** * @return cveLink */ public String getCveLink() { return this.cveLink; } /** * @return cvssScore */ public String getCvssScore() { return this.cvssScore; } /** * @return cvssVector */ public String getCvssVector() { return this.cvssVector; } /** * @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 otherId */ public String getOtherId() { return this.otherId; } /** * @return poc */ public String getPoc() { return this.poc; } /** * @return pocCreateTime */ public Long getPocCreateTime() { return this.pocCreateTime; } /** * @return pocDisclosureTime */ public Long getPocDisclosureTime() { return this.pocDisclosureTime; } /** * @return product */ public String getProduct() { return this.product; } /** * @return reference */ public String getReference() { return this.reference; } /** * @return releaseTime */ public Long getReleaseTime() { return this.releaseTime; } /** * @return solution */ public String getSolution() { return this.solution; } /** * @return summary */ public String getSummary() { return this.summary; } /** * @return targetId */ public String getTargetId() { return this.targetId; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return title */ public String getTitle() { return this.title; } /** * @return vendor */ public String getVendor() { return this.vendor; } /** * @return vulLevel */ public String getVulLevel() { return this.vulLevel; } public static final class Builder { private String classify; private java.util.List<Classifys> classifys; private String cnvdId; private String complexity; private String content; private String cveId; private String cveLink; private String cvssScore; private String cvssVector; private String instanceName; private String internetIp; private String intranetIp; private String otherId; private String poc; private Long pocCreateTime; private Long pocDisclosureTime; private String product; private String reference; private Long releaseTime; private String solution; private String summary; private String targetId; private String targetName; private String title; private String vendor; private String vulLevel; private Builder() { } private Builder(Cves model) { this.classify = model.classify; this.classifys = model.classifys; this.cnvdId = model.cnvdId; this.complexity = model.complexity; this.content = model.content; this.cveId = model.cveId; this.cveLink = model.cveLink; this.cvssScore = model.cvssScore; this.cvssVector = model.cvssVector; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.otherId = model.otherId; this.poc = model.poc; this.pocCreateTime = model.pocCreateTime; this.pocDisclosureTime = model.pocDisclosureTime; this.product = model.product; this.reference = model.reference; this.releaseTime = model.releaseTime; this.solution = model.solution; this.summary = model.summary; this.targetId = model.targetId; this.targetName = model.targetName; this.title = model.title; this.vendor = model.vendor; this.vulLevel = model.vulLevel; } /** * <p>The type of the vulnerability.</p> * * <strong>example:</strong> * <p>remote_code_execution</p> */ public Builder classify(String classify) { this.classify = classify; return this; } /** * <p>The vulnerability types.</p> */ public Builder classifys(java.util.List<Classifys> classifys) { this.classifys = classifys; return this; } /** * <p>The China National Vulnerability Database (CNVD) ID.</p> * * <strong>example:</strong> * <p>CNVD-2019-9167</p> */ public Builder cnvdId(String cnvdId) { this.cnvdId = cnvdId; return this; } /** * <p>The difficulty level of exploiting the vulnerability. Valid values:</p> * <ul> * <li><strong>LOW</strong></li> * <li><strong>MEDIUM</strong></li> * <li><strong>HIGH</strong></li> * </ul> * * <strong>example:</strong> * <p>LOW</p> */ public Builder complexity(String complexity) { this.complexity = complexity; return this; } /** * <p>The CVE content.</p> * * <strong>example:</strong> * <p>Apache Shiro is a user authentication and authorization framework for a wide range of rights management applications.↵Recently, Apache Shiro released version 1.7.0, which fixes the Apache Shiro authentication bypass vulnerability (CVE-2020-17510).↵Attackers can bypass Shiro&quot;s authentication using malicious requests containing payloads.↵↵Related bugs:↵CVE-2020-17510 Shiro &lt; 1.7.0 Validation Bypass Vulnerability↵CVE-2020-13933 Shiro &lt; 1.6.0 Validation Bypass Vulnerability↵CVE-2020-11989 Shiro &lt; 1.5.3 Validation Bypass Vulnerability↵CVE-2020-1957 Shiro &lt; 1.5.2 Validation Bypass Vulnerability↵CVE-2016-6802 Shiro &lt; 1.3.2 Validation Bypass Vulnerability * Check whether the fastjson version currently running on the system is in the affected version and whether safeMode is configured to disable autoType. If it is in the affected version and safeMode is not configured to disable autoType, the vulnerability is considered to exist.</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>The Common Vulnerabilities and Exposures (CVE) ID.</p> * * <strong>example:</strong> * <p>CVE-2019-9167</p> */ public Builder cveId(String cveId) { this.cveId = cveId; return this; } /** * <p>The link to the CVE details.</p> * * <strong>example:</strong> * <p><a href="https://avd.aliyun.com/detail/CVE-2022-1184">https://avd.aliyun.com/detail/CVE-2022-1184</a></p> */ public Builder cveLink(String cveLink) { this.cveLink = cveLink; return this; } /** * <p>The Common Vulnerability Scoring System (CVSS) score of the vulnerability in the Alibaba Cloud vulnerability library.</p> * * <strong>example:</strong> * <p>10.0</p> */ public Builder cvssScore(String cvssScore) { this.cvssScore = cvssScore; return this; } /** * <p>The vector that is used to calculate the CVSS score.</p> * * <strong>example:</strong> * <p>AV:N/AC:L/Au:N/C:C/I:C/A:C</p> */ public Builder cvssVector(String cvssVector) { this.cvssVector = cvssVector; return this; } /** * <p>The name of the instance.</p> * <blockquote> * <p> This parameter is deprecated. You can call the <a href="~~DescribeVulList~~">DescribeVulList</a> operation to query the instance that is affected by the vulnerability.</p> * </blockquote> * * <strong>example:</strong> * <p>sql-test-001</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * <blockquote> * <p> This parameter is deprecated. You can call the <a href="~~DescribeVulList~~">DescribeVulList</a> operation to query the instance that is affected by the vulnerability.</p> * </blockquote> * * <strong>example:</strong> * <p>47.114.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * <blockquote> * <p> This parameter is deprecated. You can call the <a href="~~DescribeVulList~~">DescribeVulList</a> operation to query the instance that is affected by the vulnerability.</p> * </blockquote> * * <strong>example:</strong> * <p>172.19.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The ID of the vulnerability.</p> * * <strong>example:</strong> * <p>CVE-2020-8597</p> */ public Builder otherId(String otherId) { this.otherId = otherId; return this; } /** * <p>The POC content.</p> */ public Builder poc(String poc) { this.poc = poc; return this; } /** * <p>The UNIX timestamp when the proof of concept (POC) was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1554189334000</p> */ public Builder pocCreateTime(Long pocCreateTime) { this.pocCreateTime = pocCreateTime; return this; } /** * <p>The UNIX timestamp when the POC was disclosed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1554189334000</p> */ public Builder pocDisclosureTime(Long pocDisclosureTime) { this.pocDisclosureTime = pocDisclosureTime; return this; } /** * <p>The service that is affected by the vulnerability.</p> * * <strong>example:</strong> * <p>Log4j2</p> */ public Builder product(String product) { this.product = product; return this; } /** * <p>The reference of the vulnerability in the Alibaba Cloud vulnerability library. The value is a URL.</p> * * <strong>example:</strong> * <p><a href="https://example.com">https://example.com</a></p> */ public Builder reference(String reference) { this.reference = reference; return this; } /** * <p>The disclosure time that is displayed for the vulnerability in the Alibaba Cloud vulnerability library. The value is a UNIX timestamp. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1554189334000</p> */ public Builder releaseTime(Long releaseTime) { this.releaseTime = releaseTime; return this; } /** * <p>The fixing suggestions of the vulnerability.</p> * * <strong>example:</strong> * <p>At present, Chanjet has urgently released a vulnerability patch to fix the vulnerability. CNVD recommends affected units and users to upgrade to the latest version immediately:</p>↵<p>https://www.chanjetvip.com/product/goods/goods-detail?id=53aaa40295d458e44f5d3ce5</p>↵<p>At the same time, organizations and users affected by the vulnerability are requested to immediately follow the steps below to conduct self-inspection and repair work:</p>↵<ol>↵<li><p>User self-check steps:↵<br />Check whether website/bin/load.aspx.cdcab7d2.compiled, website/bin/App_Web_load.aspx.cdcab7d2.dll, and tplus/Load.aspx files exist locally. If they exist, it means that they have been poisoned, and you must reinstall the system and install the product. patch.</p>↵</li>↵<li><p>Non-poisoned users please:↵<br />1) Update the latest product patch.↵<br />2) Install anti-virus software and update the virus database in time.↵<br />3) Upgrade the lower version of IIS and Nginx to IIS10.0 and Windows 2016.↵<br />4) Local installation customers need to confirm whether the backup file is complete as soon as possible, and do off-site backup. Customers on the cloud should enable the mirroring function in time.↵<br />5) Users who fail to update the patch in time can contact Chanjet technical support and take temporary preventive measures such as deleting files.</p>↵</li>↵<li><p>Poisoned users please:↵<br />1) Check whether the server has taken regular snapshots or backups. If so, you can restore data through snapshots or backups.↵<br />2) Contact Chanjet technical support to confirm whether it has the conditions and operation methods to restore data from backup files.</p>↵</li>↵</ol>↵<p>If you have any technical problems, please contact Chanjet technical support: 4006600566-9</p> */ public Builder solution(String solution) { this.solution = solution; 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 summary(String summary) { this.summary = summary; return this; } /** * <p>The ID of the asset that is scanned.</p> * <blockquote> * <p> This parameter is deprecated. You can call the <a href="~~DescribeVulList~~">DescribeVulList</a> operation to query the instance that is affected by the vulnerability.</p> * </blockquote> * * <strong>example:</strong> * <p>m-bp17m0pc0xprzbwo****</p> */ public Builder targetId(String targetId) { this.targetId = targetId; return this; } /** * <p>The name of the asset that is scanned.</p> * <blockquote> * <p> This parameter is deprecated. You can call the <a href="~~DescribeVulList~~">DescribeVulList</a> operation to query the instance that is affected by the vulnerability.</p> * </blockquote> * * <strong>example:</strong> * <p>frontend</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The title of the vulnerability announcement.</p> * * <strong>example:</strong> * <p>Chanjet T-Plus SetupAccount/Upload. Aspx file upload vulnerability(CNVD-2022-60632)</p> */ public Builder title(String title) { this.title = title; return this; } /** * <p>The vendor that disclosed the vulnerability.</p> * * <strong>example:</strong> * <p>Apache</p> */ public Builder vendor(String vendor) { this.vendor = vendor; return this; } /** * <p>The severity of the vulnerability. Valid values:</p> * <ul> * <li><strong>serious</strong></li> * <li><strong>high</strong></li> * <li><strong>medium</strong></li> * <li><strong>low</strong></li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder vulLevel(String vulLevel) { this.vulLevel = vulLevel; return this; } public Cves build() { return new Cves(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/DescribeVulExportInfoRequest.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 DescribeVulExportInfoRequest} extends {@link RequestModel} * * <p>DescribeVulExportInfoRequest</p> */ public class DescribeVulExportInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportId") @com.aliyun.core.annotation.Validation(required = true) private Long exportId; private DescribeVulExportInfoRequest(Builder builder) { super(builder); this.exportId = builder.exportId; } public static Builder builder() { return new Builder(); } public static DescribeVulExportInfoRequest 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<DescribeVulExportInfoRequest, Builder> { private Long exportId; private Builder() { super(); } private Builder(DescribeVulExportInfoRequest request) { super(request); this.exportId = request.exportId; } /** * <p>The ID of the task.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>14356</p> */ public Builder exportId(Long exportId) { this.putQueryParameter("ExportId", exportId); this.exportId = exportId; return this; } @Override public DescribeVulExportInfoRequest build() { return new DescribeVulExportInfoRequest(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/DescribeVulExportInfoResponse.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 DescribeVulExportInfoResponse} extends {@link TeaModel} * * <p>DescribeVulExportInfoResponse</p> */ public class DescribeVulExportInfoResponse 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 DescribeVulExportInfoResponseBody body; private DescribeVulExportInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulExportInfoResponse 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 DescribeVulExportInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulExportInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulExportInfoResponseBody body); @Override DescribeVulExportInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulExportInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulExportInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulExportInfoResponse 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(DescribeVulExportInfoResponseBody body) { this.body = body; return this; } @Override public DescribeVulExportInfoResponse build() { return new DescribeVulExportInfoResponse(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/DescribeVulExportInfoResponseBody.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 DescribeVulExportInfoResponseBody} extends {@link TeaModel} * * <p>DescribeVulExportInfoResponseBody</p> */ public class DescribeVulExportInfoResponseBody 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 DescribeVulExportInfoResponseBody(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 DescribeVulExportInfoResponseBody 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(DescribeVulExportInfoResponseBody 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>1</p> */ public Builder currentCount(Integer currentCount) { this.currentCount = currentCount; return this; } /** * <p>The status of the export task. 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>app_20210917</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>14356</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 results of the task. 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 task.</p> * * <strong>example:</strong> * <p>100</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>4C1AE3F3-18FA-4108-BXXX-AFA1A032756C</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>10</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeVulExportInfoResponseBody build() { return new DescribeVulExportInfoResponseBody(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/DescribeVulFixStatisticsRequest.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 DescribeVulFixStatisticsRequest} extends {@link RequestModel} * * <p>DescribeVulFixStatisticsRequest</p> */ public class DescribeVulFixStatisticsRequest extends Request { private DescribeVulFixStatisticsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeVulFixStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeVulFixStatisticsRequest, Builder> { private Builder() { super(); } private Builder(DescribeVulFixStatisticsRequest request) { super(request); } @Override public DescribeVulFixStatisticsRequest build() { return new DescribeVulFixStatisticsRequest(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/DescribeVulFixStatisticsResponse.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 DescribeVulFixStatisticsResponse} extends {@link TeaModel} * * <p>DescribeVulFixStatisticsResponse</p> */ public class DescribeVulFixStatisticsResponse 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 DescribeVulFixStatisticsResponseBody body; private DescribeVulFixStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulFixStatisticsResponse 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 DescribeVulFixStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulFixStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulFixStatisticsResponseBody body); @Override DescribeVulFixStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulFixStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulFixStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulFixStatisticsResponse 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(DescribeVulFixStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeVulFixStatisticsResponse build() { return new DescribeVulFixStatisticsResponse(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/DescribeVulFixStatisticsResponseBody.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 DescribeVulFixStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulFixStatisticsResponseBody</p> */ public class DescribeVulFixStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FixStat") private java.util.List<FixStat> fixStat; @com.aliyun.core.annotation.NameInMap("FixTotal") private FixTotal fixTotal; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVulFixStatisticsResponseBody(Builder builder) { this.fixStat = builder.fixStat; this.fixTotal = builder.fixTotal; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVulFixStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fixStat */ public java.util.List<FixStat> getFixStat() { return this.fixStat; } /** * @return fixTotal */ public FixTotal getFixTotal() { return this.fixTotal; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<FixStat> fixStat; private FixTotal fixTotal; private String requestId; private Builder() { } private Builder(DescribeVulFixStatisticsResponseBody model) { this.fixStat = model.fixStat; this.fixTotal = model.fixTotal; this.requestId = model.requestId; } /** * <p>An array that consists of the statistics of vulnerability fixes by vulnerability type.</p> */ public Builder fixStat(java.util.List<FixStat> fixStat) { this.fixStat = fixStat; return this; } /** * <p>The total statistics of vulnerability fixes.</p> */ public Builder fixTotal(FixTotal fixTotal) { this.fixTotal = fixTotal; 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; } public DescribeVulFixStatisticsResponseBody build() { return new DescribeVulFixStatisticsResponseBody(this); } } /** * * {@link DescribeVulFixStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulFixStatisticsResponseBody</p> */ public static class FixStat extends TeaModel { @com.aliyun.core.annotation.NameInMap("FixedTodayNum") private Integer fixedTodayNum; @com.aliyun.core.annotation.NameInMap("FixedTotalNum") private Integer fixedTotalNum; @com.aliyun.core.annotation.NameInMap("FixingNum") private Integer fixingNum; @com.aliyun.core.annotation.NameInMap("NeedFixNum") private Integer needFixNum; @com.aliyun.core.annotation.NameInMap("Type") private String type; private FixStat(Builder builder) { this.fixedTodayNum = builder.fixedTodayNum; this.fixedTotalNum = builder.fixedTotalNum; this.fixingNum = builder.fixingNum; this.needFixNum = builder.needFixNum; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static FixStat create() { return builder().build(); } /** * @return fixedTodayNum */ public Integer getFixedTodayNum() { return this.fixedTodayNum; } /** * @return fixedTotalNum */ public Integer getFixedTotalNum() { return this.fixedTotalNum; } /** * @return fixingNum */ public Integer getFixingNum() { return this.fixingNum; } /** * @return needFixNum */ public Integer getNeedFixNum() { return this.needFixNum; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Integer fixedTodayNum; private Integer fixedTotalNum; private Integer fixingNum; private Integer needFixNum; private String type; private Builder() { } private Builder(FixStat model) { this.fixedTodayNum = model.fixedTodayNum; this.fixedTotalNum = model.fixedTotalNum; this.fixingNum = model.fixingNum; this.needFixNum = model.needFixNum; this.type = model.type; } /** * <p>The number of vulnerabilities that are fixed on the current day.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder fixedTodayNum(Integer fixedTodayNum) { this.fixedTodayNum = fixedTodayNum; return this; } /** * <p>The total number of fixed vulnerabilities.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder fixedTotalNum(Integer fixedTotalNum) { this.fixedTotalNum = fixedTotalNum; return this; } /** * <p>The number of vulnerabilities that are being fixed.</p> * * <strong>example:</strong> * <p>17</p> */ public Builder fixingNum(Integer fixingNum) { this.fixingNum = fixingNum; return this; } /** * <p>The number of unfixed vulnerabilities.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder needFixNum(Integer needFixNum) { this.needFixNum = needFixNum; 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> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } public FixStat build() { return new FixStat(this); } } } /** * * {@link DescribeVulFixStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulFixStatisticsResponseBody</p> */ public static class FixTotal extends TeaModel { @com.aliyun.core.annotation.NameInMap("FixedTodayNum") private Integer fixedTodayNum; @com.aliyun.core.annotation.NameInMap("FixedTotalNum") private Integer fixedTotalNum; @com.aliyun.core.annotation.NameInMap("FixingNum") private Integer fixingNum; @com.aliyun.core.annotation.NameInMap("NeedFixNum") private Integer needFixNum; private FixTotal(Builder builder) { this.fixedTodayNum = builder.fixedTodayNum; this.fixedTotalNum = builder.fixedTotalNum; this.fixingNum = builder.fixingNum; this.needFixNum = builder.needFixNum; } public static Builder builder() { return new Builder(); } public static FixTotal create() { return builder().build(); } /** * @return fixedTodayNum */ public Integer getFixedTodayNum() { return this.fixedTodayNum; } /** * @return fixedTotalNum */ public Integer getFixedTotalNum() { return this.fixedTotalNum; } /** * @return fixingNum */ public Integer getFixingNum() { return this.fixingNum; } /** * @return needFixNum */ public Integer getNeedFixNum() { return this.needFixNum; } public static final class Builder { private Integer fixedTodayNum; private Integer fixedTotalNum; private Integer fixingNum; private Integer needFixNum; private Builder() { } private Builder(FixTotal model) { this.fixedTodayNum = model.fixedTodayNum; this.fixedTotalNum = model.fixedTotalNum; this.fixingNum = model.fixingNum; this.needFixNum = model.needFixNum; } /** * <p>The number of vulnerabilities that are fixed on the current day.</p> * * <strong>example:</strong> * <p>15</p> */ public Builder fixedTodayNum(Integer fixedTodayNum) { this.fixedTodayNum = fixedTodayNum; return this; } /** * <p>The total number of fixed vulnerabilities.</p> * * <strong>example:</strong> * <p>47</p> */ public Builder fixedTotalNum(Integer fixedTotalNum) { this.fixedTotalNum = fixedTotalNum; return this; } /** * <p>The number of vulnerabilities that are being fixed.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder fixingNum(Integer fixingNum) { this.fixingNum = fixingNum; return this; } /** * <p>The number of unfixed vulnerabilities.</p> * * <strong>example:</strong> * <p>62</p> */ public Builder needFixNum(Integer needFixNum) { this.needFixNum = needFixNum; return this; } public FixTotal build() { return new FixTotal(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/DescribeVulListPageRequest.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 DescribeVulListPageRequest} extends {@link RequestModel} * * <p>DescribeVulListPageRequest</p> */ public class DescribeVulListPageRequest 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("CveId") private String cveId; @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("VulNameLike") private String vulNameLike; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VulType") private String vulType; private DescribeVulListPageRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.cveId = builder.cveId; this.pageSize = builder.pageSize; this.raspDefend = builder.raspDefend; this.vulNameLike = builder.vulNameLike; this.vulType = builder.vulType; } public static Builder builder() { return new Builder(); } public static DescribeVulListPageRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return cveId */ public String getCveId() { return this.cveId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return vulNameLike */ public String getVulNameLike() { return this.vulNameLike; } /** * @return vulType */ public String getVulType() { return this.vulType; } public static final class Builder extends Request.Builder<DescribeVulListPageRequest, Builder> { private Integer currentPage; private String cveId; private Integer pageSize; private Integer raspDefend; private String vulNameLike; private String vulType; private Builder() { super(); } private Builder(DescribeVulListPageRequest request) { super(request); this.currentPage = request.currentPage; this.cveId = request.cveId; this.pageSize = request.pageSize; this.raspDefend = request.raspDefend; this.vulNameLike = request.vulNameLike; this.vulType = request.vulType; } /** * <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 Common Vulnerabilities and Exposures (CVE) ID of the vulnerability.</p> * * <strong>example:</strong> * <p>CVE-2022-44702</p> */ public Builder cveId(String cveId) { this.putQueryParameter("CveId", cveId); this.cveId = cveId; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Indicates whether the application protection feature is supported. Valid values:</p> * <ul> * <li><p><strong>0</strong>: no.</p> * </li> * <li><p><strong>1</strong>: yes.</p> * </li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder raspDefend(Integer raspDefend) { this.putQueryParameter("RaspDefend", raspDefend); this.raspDefend = raspDefend; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>RCE vulnerability</p> */ public Builder vulNameLike(String vulNameLike) { this.putQueryParameter("VulNameLike", vulNameLike); this.vulNameLike = vulNameLike; return this; } /** * <p>The type of the vulnerabilities. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerability.</li> * <li><strong>sys</strong>: Windows system vulnerability.</li> * <li><strong>app</strong>: Application vulnerability that is detected by using web scanner.</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder vulType(String vulType) { this.putQueryParameter("VulType", vulType); this.vulType = vulType; return this; } @Override public DescribeVulListPageRequest build() { return new DescribeVulListPageRequest(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/DescribeVulListPageResponse.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 DescribeVulListPageResponse} extends {@link TeaModel} * * <p>DescribeVulListPageResponse</p> */ public class DescribeVulListPageResponse 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 DescribeVulListPageResponseBody body; private DescribeVulListPageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulListPageResponse 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 DescribeVulListPageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulListPageResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulListPageResponseBody body); @Override DescribeVulListPageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulListPageResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulListPageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulListPageResponse 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(DescribeVulListPageResponseBody body) { this.body = body; return this; } @Override public DescribeVulListPageResponse build() { return new DescribeVulListPageResponse(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/DescribeVulListPageResponseBody.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 DescribeVulListPageResponseBody} extends {@link TeaModel} * * <p>DescribeVulListPageResponseBody</p> */ public class DescribeVulListPageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeVulListPageResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVulListPageResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<Data> data; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeVulListPageResponseBody model) { this.data = model.data; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The response parameters.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4347E985-6E64-467B-96EC-30D4EA9E32FB</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeVulListPageResponseBody build() { return new DescribeVulListPageResponseBody(this); } } /** * * {@link DescribeVulListPageResponseBody} extends {@link TeaModel} * * <p>DescribeVulListPageResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CveId") private String cveId; @com.aliyun.core.annotation.NameInMap("ExtAegis") private String extAegis; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("IsAegis") private Integer isAegis; @com.aliyun.core.annotation.NameInMap("IsSas") private Integer isSas; @com.aliyun.core.annotation.NameInMap("OtherId") private String otherId; @com.aliyun.core.annotation.NameInMap("ReleaseTime") private Long releaseTime; @com.aliyun.core.annotation.NameInMap("Title") private String title; private Data(Builder builder) { this.cveId = builder.cveId; this.extAegis = builder.extAegis; this.id = builder.id; this.isAegis = builder.isAegis; this.isSas = builder.isSas; this.otherId = builder.otherId; this.releaseTime = builder.releaseTime; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return cveId */ public String getCveId() { return this.cveId; } /** * @return extAegis */ public String getExtAegis() { return this.extAegis; } /** * @return id */ public Long getId() { return this.id; } /** * @return isAegis */ public Integer getIsAegis() { return this.isAegis; } /** * @return isSas */ public Integer getIsSas() { return this.isSas; } /** * @return otherId */ public String getOtherId() { return this.otherId; } /** * @return releaseTime */ public Long getReleaseTime() { return this.releaseTime; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String cveId; private String extAegis; private Long id; private Integer isAegis; private Integer isSas; private String otherId; private Long releaseTime; private String title; private Builder() { } private Builder(Data model) { this.cveId = model.cveId; this.extAegis = model.extAegis; this.id = model.id; this.isAegis = model.isAegis; this.isSas = model.isSas; this.otherId = model.otherId; this.releaseTime = model.releaseTime; this.title = model.title; } /** * <p>The common vulnerabilities and exposures (CVE) ID of the vulnerability.</p> * * <strong>example:</strong> * <p>CVE-2022-42836</p> */ public Builder cveId(String cveId) { this.cveId = cveId; return this; } /** * <p>The extended field for Server Guard.</p> * * <strong>example:</strong> * <p>{&quot;relatedType&quot;:[{&quot;type&quot;:&quot;sys&quot;}]}</p> */ public Builder extAegis(String extAegis) { this.extAegis = extAegis; return this; } /** * <p>The primary key ID of the database.</p> * * <strong>example:</strong> * <p>40586</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>Indicates whether the vulnerability was detected based on version comparison. Valid values:</p> * <ul> * <li>1: The vulnerability was detected based on version comparison.</li> * <li>0: The vulnerability was not detected based on version comparison.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isAegis(Integer isAegis) { this.isAegis = isAegis; return this; } /** * <p>Indicates whether the vulnerability was detected based on proof of concept (POC) verification. Valid values:</p> * <ul> * <li>1: The vulnerability was detected based on POC verification.</li> * <li>0: The vulnerability was not detected based on POC verification.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder isSas(Integer isSas) { this.isSas = isSas; return this; } /** * <p>The ID of the vulnerability.</p> * * <strong>example:</strong> * <p>AVD-2018-8218</p> */ public Builder otherId(String otherId) { this.otherId = otherId; return this; } /** * <p>The time when the vulnerability was disclosed.</p> * * <strong>example:</strong> * <p>2022-12-13T08:00Z</p> */ public Builder releaseTime(Long releaseTime) { this.releaseTime = releaseTime; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>Windows RCE vulnerability</p> */ public Builder title(String title) { this.title = title; 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/DescribeVulListRequest.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 DescribeVulListRequest} extends {@link RequestModel} * * <p>DescribeVulListRequest</p> */ public class DescribeVulListRequest 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("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("CurrentPage") private Integer currentPage; @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("Ids") private String ids; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @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("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatusList") private String statusList; @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") @com.aliyun.core.annotation.Validation(required = true) private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UseNextToken") private Boolean useNextToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcInstanceIds") private String vpcInstanceIds; private DescribeVulListRequest(Builder builder) { super(builder); this.aliasName = builder.aliasName; this.attachTypes = builder.attachTypes; this.clusterId = builder.clusterId; this.currentPage = builder.currentPage; this.dealed = builder.dealed; this.groupId = builder.groupId; this.ids = builder.ids; this.lang = builder.lang; this.name = builder.name; this.necessity = builder.necessity; this.nextToken = builder.nextToken; this.pageSize = builder.pageSize; this.raspDefend = builder.raspDefend; this.remark = builder.remark; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.statusList = builder.statusList; this.targetType = builder.targetType; this.type = builder.type; this.useNextToken = builder.useNextToken; this.uuids = builder.uuids; this.vpcInstanceIds = builder.vpcInstanceIds; } public static Builder builder() { return new Builder(); } public static DescribeVulListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return attachTypes */ public String getAttachTypes() { return this.attachTypes; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return ids */ public String getIds() { return this.ids; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return name */ public String getName() { return this.name; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return statusList */ public String getStatusList() { return this.statusList; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return type */ public String getType() { return this.type; } /** * @return useNextToken */ public Boolean getUseNextToken() { return this.useNextToken; } /** * @return uuids */ public String getUuids() { return this.uuids; } /** * @return vpcInstanceIds */ public String getVpcInstanceIds() { return this.vpcInstanceIds; } public static final class Builder extends Request.Builder<DescribeVulListRequest, Builder> { private String aliasName; private String attachTypes; private String clusterId; private Integer currentPage; private String dealed; private String groupId; private String ids; private String lang; private String name; private String necessity; private String nextToken; private Integer pageSize; private Integer raspDefend; private String remark; private Long resourceDirectoryAccountId; private String statusList; private String targetType; private String type; private Boolean useNextToken; private String uuids; private String vpcInstanceIds; private Builder() { super(); } private Builder(DescribeVulListRequest request) { super(request); this.aliasName = request.aliasName; this.attachTypes = request.attachTypes; this.clusterId = request.clusterId; this.currentPage = request.currentPage; this.dealed = request.dealed; this.groupId = request.groupId; this.ids = request.ids; this.lang = request.lang; this.name = request.name; this.necessity = request.necessity; this.nextToken = request.nextToken; this.pageSize = request.pageSize; this.raspDefend = request.raspDefend; this.remark = request.remark; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.statusList = request.statusList; this.targetType = request.targetType; this.type = request.type; this.useNextToken = request.useNextToken; this.uuids = request.uuids; this.vpcInstanceIds = request.vpcInstanceIds; } /** * <p>The name 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 additional type of the vulnerabilities. You need to specify this parameter when you query application vulnerabilities. Set the value to <strong>sca</strong>. If you set <strong>Type</strong> to <strong>app</strong>, you must specify this parameter.</p> * <blockquote> * <p>If you set this parameter to <strong>sca</strong>, application vulnerabilities and the vulnerabilities that are detected based on software component analysis are queried. If you do not specify this parameter, only application vulnerabilities are queried.</p> * </blockquote> * * <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 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>Specifies whether the vulnerabilities are fixed. Valid values:</p> * <ul> * <li><strong>y</strong>: yes</li> * <li><strong>n</strong>: no</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> * <blockquote> * <p>You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of asset groups.</p> * </blockquote> * * <strong>example:</strong> * <p>9207613</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The IDs of vulnerabilities. You can specify up to 50 IDs. Separate multiple IDs with commas (,).</p> * * <strong>example:</strong> * <p>282,281,283</p> */ public Builder ids(String ids) { this.putQueryParameter("Ids", ids); this.ids = ids; 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 alias of the vulnerability.</p> * * <strong>example:</strong> * <p>oval:com.redhat.rhsa:def:20172836</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The priority to fix the vulnerability. 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 pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken. You do not need to specify this parameter for the first request.</p> * * <strong>example:</strong> * <p>E17B501887A2D3AA5E8360A6EFA3B***</p> */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * <p>The number of entries per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Indicates whether the application protection feature is supported. Valid values:</p> * <ul> * <li><p><strong>0</strong>: no.</p> * </li> * <li><p><strong>1</strong>: yes.</p> * </li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder raspDefend(Integer raspDefend) { this.putQueryParameter("RaspDefend", raspDefend); this.raspDefend = raspDefend; return this; } /** * <p>The remarks for the asset affected by the vulnerability. The value can be the private IP address, public IP address, or name of the asset.</p> * * <strong>example:</strong> * <p>1.2.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; 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 IDs.</p> * </blockquote> * * <strong>example:</strong> * <p>1232428423234****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The status of the vulnerability. Separate multiple statuses with commas (,). Valid values:</p> * <ul> * <li>1: unfixed</li> * <li>2: fix failed</li> * <li>3: rollback failed</li> * <li>4: being fixed</li> * <li>5: being rolled back</li> * <li>6: being verified</li> * <li>7: fixed</li> * <li>8: fixed and to be restarted</li> * <li>9: rolled back</li> * <li>10: ignored</li> * <li>11: rolled back and to be restarted</li> * <li>12: not found</li> * <li>20: expired</li> * </ul> * * <strong>example:</strong> * <p>1,2,3</p> */ public Builder statusList(String statusList) { this.putQueryParameter("StatusList", statusList); this.statusList = statusList; return this; } /** * <p>The type of the asset on which the vulnerability is detected. Valid values:</p> * <ul> * <li><strong>k8s</strong>: Kubernetes component.</li> * <li><strong>uuid</strong>: server.</li> * <li><strong>containerId</strong>: container.</li> * </ul> * * <strong>example:</strong> * <p>k8s</p> */ public Builder targetType(String targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; 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 that is detected by using web scanner</li> * <li><strong>emg</strong>: urgent vulnerability.</li> * <li><strong>sca</strong>: application vulnerability that is detected by using software component analysis</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>Specifies whether to use NextToken to query the data of vulnerabilities. If you set UseNextToken to true, the value of TotalCount is not returned. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder useNextToken(Boolean useNextToken) { this.putQueryParameter("UseNextToken", useNextToken); this.useNextToken = useNextToken; return this; } /** * <p>The UUIDs of the servers on which you want to query the vulnerabilities. Separate multiple UUIDs with commas (,).</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to obtain the UUIDs.</p> * </blockquote> * * <strong>example:</strong> * <p>1587bedb-fdb4-48c4-9330-****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } /** * <p>The ID of the virtual private cloud (VPC) in which the vulnerabilities are detected. Separate multiple IDs with commas (,).</p> * * <strong>example:</strong> * <p>ins-133****,ins-5414****</p> */ public Builder vpcInstanceIds(String vpcInstanceIds) { this.putQueryParameter("VpcInstanceIds", vpcInstanceIds); this.vpcInstanceIds = vpcInstanceIds; return this; } @Override public DescribeVulListRequest build() { return new DescribeVulListRequest(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/DescribeVulListResponse.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 DescribeVulListResponse} extends {@link TeaModel} * * <p>DescribeVulListResponse</p> */ public class DescribeVulListResponse 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 DescribeVulListResponseBody body; private DescribeVulListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulListResponse 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 DescribeVulListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulListResponseBody body); @Override DescribeVulListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulListResponse 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(DescribeVulListResponseBody body) { this.body = body; return this; } @Override public DescribeVulListResponse build() { return new DescribeVulListResponse(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/DescribeVulListResponseBody.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 DescribeVulListResponseBody} extends {@link TeaModel} * * <p>DescribeVulListResponseBody</p> */ public class DescribeVulListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @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; @com.aliyun.core.annotation.NameInMap("VulRecords") private java.util.List<VulRecords> vulRecords; private DescribeVulListResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.nextToken = builder.nextToken; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.vulRecords = builder.vulRecords; } public static Builder builder() { return new Builder(); } public static DescribeVulListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return vulRecords */ public java.util.List<VulRecords> getVulRecords() { return this.vulRecords; } public static final class Builder { private Integer currentPage; private String nextToken; private Integer pageSize; private String requestId; private Integer totalCount; private java.util.List<VulRecords> vulRecords; private Builder() { } private Builder(DescribeVulListResponseBody model) { this.currentPage = model.currentPage; this.nextToken = model.nextToken; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; this.vulRecords = model.vulRecords; } /** * <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 value of NextToken that is returned when the NextToken method is used.</p> * * <strong>example:</strong> * <p>E17B501887A2D3AA5E8360A6EFA3B***</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; 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 ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>2F26AB2A-1075-488F-8472-40E5DB486ACC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of vulnerabilities returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * <p>The information about the vulnerability.</p> */ public Builder vulRecords(java.util.List<VulRecords> vulRecords) { this.vulRecords = vulRecords; return this; } public DescribeVulListResponseBody build() { return new DescribeVulListResponseBody(this); } } /** * * {@link DescribeVulListResponseBody} extends {@link TeaModel} * * <p>DescribeVulListResponseBody</p> */ public static class Necessity extends TeaModel { @com.aliyun.core.annotation.NameInMap("Assets_factor") private String assetsFactor; @com.aliyun.core.annotation.NameInMap("Cvss_factor") private String cvssFactor; @com.aliyun.core.annotation.NameInMap("Enviroment_factor") private String enviromentFactor; @com.aliyun.core.annotation.NameInMap("Is_calc") private String isCalc; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Time_factor") private String timeFactor; @com.aliyun.core.annotation.NameInMap("Total_score") private String totalScore; private Necessity(Builder builder) { this.assetsFactor = builder.assetsFactor; this.cvssFactor = builder.cvssFactor; this.enviromentFactor = builder.enviromentFactor; this.isCalc = builder.isCalc; this.status = builder.status; this.timeFactor = builder.timeFactor; this.totalScore = builder.totalScore; } public static Builder builder() { return new Builder(); } public static Necessity create() { return builder().build(); } /** * @return assetsFactor */ public String getAssetsFactor() { return this.assetsFactor; } /** * @return cvssFactor */ public String getCvssFactor() { return this.cvssFactor; } /** * @return enviromentFactor */ public String getEnviromentFactor() { return this.enviromentFactor; } /** * @return isCalc */ public String getIsCalc() { return this.isCalc; } /** * @return status */ public String getStatus() { return this.status; } /** * @return timeFactor */ public String getTimeFactor() { return this.timeFactor; } /** * @return totalScore */ public String getTotalScore() { return this.totalScore; } public static final class Builder { private String assetsFactor; private String cvssFactor; private String enviromentFactor; private String isCalc; private String status; private String timeFactor; private String totalScore; private Builder() { } private Builder(Necessity model) { this.assetsFactor = model.assetsFactor; this.cvssFactor = model.cvssFactor; this.enviromentFactor = model.enviromentFactor; this.isCalc = model.isCalc; this.status = model.status; this.timeFactor = model.timeFactor; this.totalScore = model.totalScore; } /** * <p>The asset importance score. Valid values:</p> * <ul> * <li><strong>2</strong>: important asset.</li> * <li><strong>1</strong>: common asset.</li> * <li><strong>0</strong>: test asset.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder assetsFactor(String assetsFactor) { this.assetsFactor = assetsFactor; return this; } /** * <p>The Common Vulnerability Scoring System (CVSS) score.</p> * * <strong>example:</strong> * <p>7.8</p> */ public Builder cvssFactor(String cvssFactor) { this.cvssFactor = cvssFactor; return this; } /** * <p>The environment score.</p> * * <strong>example:</strong> * <p>1.0</p> */ public Builder enviromentFactor(String enviromentFactor) { this.enviromentFactor = enviromentFactor; return this; } /** * <p>Indicates whether the vulnerability priority score is calculated. Valid values:</p> * <ul> * <li><strong>0</strong>: no.</li> * <li><strong>1</strong>: yes.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isCalc(String isCalc) { this.isCalc = isCalc; return this; } /** * <p>The status of the vulnerability priority score. Valid values:</p> * <ul> * <li><strong>none</strong>: No score is generated.</li> * <li><strong>pending</strong>: The score is pending calculation.</li> * <li><strong>normal</strong>: The calculation is normal.</li> * </ul> * * <strong>example:</strong> * <p>normal</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The time score.</p> * * <strong>example:</strong> * <p>1.0</p> */ public Builder timeFactor(String timeFactor) { this.timeFactor = timeFactor; return this; } /** * <p>The vulnerability priority score.</p> * <p>The following list describes scores and related fixing suggestions:</p> * <ul> * <li>If the score is from <strong>13.5 to 15</strong>, the vulnerability is a high-risk vulnerability. You must fix the vulnerability at the earliest opportunity.</li> * <li>If the score is <strong>greater than or equal to 7 but less than 13.5</strong>, the vulnerability is a medium-risk vulnerability. You can fix the vulnerability at your convenience.</li> * <li>If the score is <strong>less than 7</strong>, the vulnerability is a low-risk vulnerability. You can ignore the vulnerability.</li> * </ul> * * <strong>example:</strong> * <p>7.8</p> */ public Builder totalScore(String totalScore) { this.totalScore = totalScore; return this; } public Necessity build() { return new Necessity(this); } } } /** * * {@link DescribeVulListResponseBody} extends {@link TeaModel} * * <p>DescribeVulListResponseBody</p> */ public static class RpmEntityList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerName") private String containerName; @com.aliyun.core.annotation.NameInMap("ExtendField") private String extendField; @com.aliyun.core.annotation.NameInMap("FullVersion") private String fullVersion; @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; @com.aliyun.core.annotation.NameInMap("MatchDetail") private String matchDetail; @com.aliyun.core.annotation.NameInMap("MatchList") private java.util.List<String> matchList; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.NameInMap("Pid") private String pid; @com.aliyun.core.annotation.NameInMap("UpdateCmd") private String updateCmd; @com.aliyun.core.annotation.NameInMap("Version") private String version; private RpmEntityList(Builder builder) { this.containerName = builder.containerName; this.extendField = builder.extendField; this.fullVersion = builder.fullVersion; this.imageName = builder.imageName; this.matchDetail = builder.matchDetail; this.matchList = builder.matchList; this.name = builder.name; this.path = builder.path; this.pid = builder.pid; this.updateCmd = builder.updateCmd; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static RpmEntityList create() { return builder().build(); } /** * @return containerName */ public String getContainerName() { return this.containerName; } /** * @return extendField */ public String getExtendField() { return this.extendField; } /** * @return fullVersion */ public String getFullVersion() { return this.fullVersion; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return matchDetail */ public String getMatchDetail() { return this.matchDetail; } /** * @return matchList */ public java.util.List<String> getMatchList() { return this.matchList; } /** * @return name */ public String getName() { return this.name; } /** * @return path */ public String getPath() { return this.path; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return updateCmd */ public String getUpdateCmd() { return this.updateCmd; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String containerName; private String extendField; private String fullVersion; private String imageName; private String matchDetail; private java.util.List<String> matchList; private String name; private String path; private String pid; private String updateCmd; private String version; private Builder() { } private Builder(RpmEntityList model) { this.containerName = model.containerName; this.extendField = model.extendField; this.fullVersion = model.fullVersion; this.imageName = model.imageName; this.matchDetail = model.matchDetail; this.matchList = model.matchList; this.name = model.name; this.path = model.path; this.pid = model.pid; this.updateCmd = model.updateCmd; this.version = model.version; } /** * <p>The name of the container.</p> * * <strong>example:</strong> * <p>k8s_67895c4_xxx</p> */ public Builder containerName(String containerName) { this.containerName = containerName; return this; } /** * <p>The extended information about the software package that has the vulnerability.</p> * * <strong>example:</strong> * <p>{&quot;msg_no_lookups_configured_CVE_2021_44228&quot;: &quot;false&quot;, &quot;jndi_class_not_exist&quot;: &quot;false&quot;}</p> */ public Builder extendField(String extendField) { this.extendField = extendField; return this; } /** * <p>The complete version number.</p> * * <strong>example:</strong> * <p>3.10.0-693.2.2.el7</p> */ public Builder fullVersion(String fullVersion) { this.fullVersion = fullVersion; return this; } /** * <p>The name of the image.</p> * * <strong>example:</strong> * <p>registry_387ytb_xxx</p> */ public Builder imageName(String imageName) { this.imageName = imageName; return this; } /** * <p>The reason why the vulnerability is detected.</p> * * <strong>example:</strong> * <p>python-perf version less than 0:3.10.0-693.21.1.el7</p> */ public Builder matchDetail(String matchDetail) { this.matchDetail = matchDetail; return this; } /** * <p>The rules that are used to detect the vulnerability.</p> */ public Builder matchList(java.util.List<String> matchList) { this.matchList = matchList; return this; } /** * <p>The name of the RPM package.</p> * * <strong>example:</strong> * <p>python-perf</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The path to the software that has the vulnerability.</p> * * <strong>example:</strong> * <p>/usr/lib64/python2.7/site-packages</p> */ public Builder path(String path) { this.path = path; return this; } /** * <p>The process ID.</p> * * <strong>example:</strong> * <p>8664</p> */ public Builder pid(String pid) { this.pid = pid; return this; } /** * <p>The command that is used to fix the vulnerability.</p> * * <strong>example:</strong> * <p>*** update python-perf</p> */ public Builder updateCmd(String updateCmd) { this.updateCmd = updateCmd; return this; } /** * <p>The version number of the package of the software that has the vulnerability.</p> * * <strong>example:</strong> * <p>3.10.0</p> */ public Builder version(String version) { this.version = version; return this; } public RpmEntityList build() { return new RpmEntityList(this); } } } /** * * {@link DescribeVulListResponseBody} extends {@link TeaModel} * * <p>DescribeVulListResponseBody</p> */ public static class ExtendContentJson extends TeaModel { @com.aliyun.core.annotation.NameInMap("AbsolutePath") private String absolutePath; @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("EmgProof") private String emgProof; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("LastTs") private Long lastTs; @com.aliyun.core.annotation.NameInMap("Necessity") private Necessity necessity; @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("OsRelease") private String osRelease; @com.aliyun.core.annotation.NameInMap("PrimaryId") private Long primaryId; @com.aliyun.core.annotation.NameInMap("RpmEntityList") private java.util.List<RpmEntityList> rpmEntityList; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.NameInMap("cveList") private java.util.List<String> cveList; private ExtendContentJson(Builder builder) { this.absolutePath = builder.absolutePath; this.aliasName = builder.aliasName; this.description = builder.description; this.emgProof = builder.emgProof; this.ip = builder.ip; this.lastTs = builder.lastTs; this.necessity = builder.necessity; this.os = builder.os; this.osRelease = builder.osRelease; this.primaryId = builder.primaryId; this.rpmEntityList = builder.rpmEntityList; this.status = builder.status; this.tag = builder.tag; this.target = builder.target; this.cveList = builder.cveList; } public static Builder builder() { return new Builder(); } public static ExtendContentJson create() { return builder().build(); } /** * @return absolutePath */ public String getAbsolutePath() { return this.absolutePath; } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return emgProof */ public String getEmgProof() { return this.emgProof; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return lastTs */ public Long getLastTs() { return this.lastTs; } /** * @return necessity */ public Necessity getNecessity() { return this.necessity; } /** * @return os */ public String getOs() { return this.os; } /** * @return osRelease */ public String getOsRelease() { return this.osRelease; } /** * @return primaryId */ public Long getPrimaryId() { return this.primaryId; } /** * @return rpmEntityList */ public java.util.List<RpmEntityList> getRpmEntityList() { return this.rpmEntityList; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tag */ public String getTag() { return this.tag; } /** * @return target */ public String getTarget() { return this.target; } /** * @return cveList */ public java.util.List<String> getCveList() { return this.cveList; } public static final class Builder { private String absolutePath; private String aliasName; private String description; private String emgProof; private String ip; private Long lastTs; private Necessity necessity; private String os; private String osRelease; private Long primaryId; private java.util.List<RpmEntityList> rpmEntityList; private String status; private String tag; private String target; private java.util.List<String> cveList; private Builder() { } private Builder(ExtendContentJson model) { this.absolutePath = model.absolutePath; this.aliasName = model.aliasName; this.description = model.description; this.emgProof = model.emgProof; this.ip = model.ip; this.lastTs = model.lastTs; this.necessity = model.necessity; this.os = model.os; this.osRelease = model.osRelease; this.primaryId = model.primaryId; this.rpmEntityList = model.rpmEntityList; this.status = model.status; this.tag = model.tag; this.target = model.target; this.cveList = model.cveList; } /** * <p>The path to the package of the software that has the vulnerability.</p> * * <strong>example:</strong> * <p>/roo/www/web</p> */ public Builder absolutePath(String absolutePath) { this.absolutePath = absolutePath; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2019:0230-Important: polkit security update</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The description of the vulnerability.</p> * * <strong>example:</strong> * <p>kernel version:5.10.84-10.2.al8.x86_64</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The returned message that indicates the urgent vulnerability.</p> * * <strong>example:</strong> * <p>com.xxl.rpc.util.XxlRpcException: xxl-rpc request data is empty.\n\tat com.xxl.rpc.remoting.net.impl.servlet.serve&quot;</p> */ public Builder emgProof(String emgProof) { this.emgProof = emgProof; return this; } /** * <p>The public IP address of the asset that is associated with the vulnerability.</p> * * <strong>example:</strong> * <p>1.2.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The timestamp when the vulnerability was last detected. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1620404763000</p> */ public Builder lastTs(Long lastTs) { this.lastTs = lastTs; return this; } /** * <p>Indicates whether the vulnerability needs to be fixed.</p> */ public Builder necessity(Necessity necessity) { this.necessity = necessity; return this; } /** * <p>The name of the operating system.</p> * * <strong>example:</strong> * <p>centos</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The information about the operating system version.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder osRelease(String osRelease) { this.osRelease = osRelease; return this; } /** * <p>The ID of the vulnerability.</p> * * <strong>example:</strong> * <p>111</p> */ public Builder primaryId(Long primaryId) { this.primaryId = primaryId; return this; } /** * <p>The information about RPM Package Manager (RPM) packages.</p> */ public Builder rpmEntityList(java.util.List<RpmEntityList> rpmEntityList) { this.rpmEntityList = rpmEntityList; return this; } /** * <p>The status of the vulnerability. Valid values:</p> * <ul> * <li><strong>1</strong>: unfixed.</li> * <li><strong>2</strong>: fix failed.</li> * <li>3: rollback failed.</li> * <li><strong>4</strong>: being fixed.</li> * <li><strong>5</strong>: being rolled back.</li> * <li><strong>6</strong>: being verified.</li> * <li><strong>7</strong>: fixed.</li> * <li><strong>8</strong>: fixed and to be restarted.</li> * <li><strong>9</strong>: rolled back.</li> * <li><strong>10</strong>: ignored.</li> * <li><strong>11</strong>: rolled back and to be restarted.</li> * <li><strong>12</strong>: not found.</li> * <li><strong>20</strong>: expired.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The tag that is added to the vulnerability.</p> * * <strong>example:</strong> * <p>oval</p> */ public Builder tag(String tag) { this.tag = tag; return this; } /** * <p>The URL of the vulnerability.</p> * * <strong>example:</strong> * <p><a href="http://39.99.XX.XX:30005/toLogin">http://39.99.XX.XX:30005/toLogin</a></p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The CVE list.</p> */ public Builder cveList(java.util.List<String> cveList) { this.cveList = cveList; return this; } public ExtendContentJson build() { return new ExtendContentJson(this); } } } /** * * {@link DescribeVulListResponseBody} extends {@link TeaModel} * * <p>DescribeVulListResponseBody</p> */ public static class VulRecords extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("AuthVersion") private String authVersion; @com.aliyun.core.annotation.NameInMap("Bind") private Boolean bind; @com.aliyun.core.annotation.NameInMap("ExtendContentJson") private ExtendContentJson extendContentJson; @com.aliyun.core.annotation.NameInMap("FirstTs") private Long firstTs; @com.aliyun.core.annotation.NameInMap("GroupId") private Integer groupId; @com.aliyun.core.annotation.NameInMap("Image") private String image; @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("K8sClusterId") private String k8sClusterId; @com.aliyun.core.annotation.NameInMap("K8sNamespace") private String k8sNamespace; @com.aliyun.core.annotation.NameInMap("K8sNodeId") private String k8sNodeId; @com.aliyun.core.annotation.NameInMap("K8sNodeName") private String k8sNodeName; @com.aliyun.core.annotation.NameInMap("K8sPodName") private String k8sPodName; @com.aliyun.core.annotation.NameInMap("LastTs") private Long lastTs; @com.aliyun.core.annotation.NameInMap("ModifyTs") private Long modifyTs; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.NameInMap("Online") private Boolean online; @com.aliyun.core.annotation.NameInMap("OsName") private String osName; @com.aliyun.core.annotation.NameInMap("OsVersion") private String osVersion; @com.aliyun.core.annotation.NameInMap("PrimaryId") private Long primaryId; @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("RaspDefend") private Integer raspDefend; @com.aliyun.core.annotation.NameInMap("RaspStatus") private Integer raspStatus; @com.aliyun.core.annotation.NameInMap("RealRisk") private Boolean realRisk; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Related") private String related; @com.aliyun.core.annotation.NameInMap("RepairTs") private Long repairTs; @com.aliyun.core.annotation.NameInMap("ResultCode") private String resultCode; @com.aliyun.core.annotation.NameInMap("ResultMessage") private String resultMessage; @com.aliyun.core.annotation.NameInMap("RuleTag") private String ruleTag; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private VulRecords(Builder builder) { this.aliasName = builder.aliasName; this.authVersion = builder.authVersion; this.bind = builder.bind; this.extendContentJson = builder.extendContentJson; this.firstTs = builder.firstTs; this.groupId = builder.groupId; this.image = builder.image; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.k8sClusterId = builder.k8sClusterId; this.k8sNamespace = builder.k8sNamespace; this.k8sNodeId = builder.k8sNodeId; this.k8sNodeName = builder.k8sNodeName; this.k8sPodName = builder.k8sPodName; this.lastTs = builder.lastTs; this.modifyTs = builder.modifyTs; this.name = builder.name; this.namespace = builder.namespace; this.necessity = builder.necessity; this.online = builder.online; this.osName = builder.osName; this.osVersion = builder.osVersion; this.primaryId = builder.primaryId; this.progress = builder.progress; this.raspDefend = builder.raspDefend; this.raspStatus = builder.raspStatus; this.realRisk = builder.realRisk; this.regionId = builder.regionId; this.related = builder.related; this.repairTs = builder.repairTs; this.resultCode = builder.resultCode; this.resultMessage = builder.resultMessage; this.ruleTag = builder.ruleTag; this.status = builder.status; this.tag = builder.tag; this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static VulRecords create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return authVersion */ public String getAuthVersion() { return this.authVersion; } /** * @return bind */ public Boolean getBind() { return this.bind; } /** * @return extendContentJson */ public ExtendContentJson getExtendContentJson() { return this.extendContentJson; } /** * @return firstTs */ public Long getFirstTs() { return this.firstTs; } /** * @return groupId */ public Integer getGroupId() { return this.groupId; } /** * @return image */ public String getImage() { return this.image; } /** * @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 k8sClusterId */ public String getK8sClusterId() { return this.k8sClusterId; } /** * @return k8sNamespace */ public String getK8sNamespace() { return this.k8sNamespace; } /** * @return k8sNodeId */ public String getK8sNodeId() { return this.k8sNodeId; } /** * @return k8sNodeName */ public String getK8sNodeName() { return this.k8sNodeName; } /** * @return k8sPodName */ public String getK8sPodName() { return this.k8sPodName; } /** * @return lastTs */ public Long getLastTs() { return this.lastTs; } /** * @return modifyTs */ public Long getModifyTs() { return this.modifyTs; } /** * @return name */ public String getName() { return this.name; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return online */ public Boolean getOnline() { return this.online; } /** * @return osName */ public String getOsName() { return this.osName; } /** * @return osVersion */ public String getOsVersion() { return this.osVersion; } /** * @return primaryId */ public Long getPrimaryId() { return this.primaryId; } /** * @return progress */ public Integer getProgress() { return this.progress; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return raspStatus */ public Integer getRaspStatus() { return this.raspStatus; } /** * @return realRisk */ public Boolean getRealRisk() { return this.realRisk; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return related */ public String getRelated() { return this.related; } /** * @return repairTs */ public Long getRepairTs() { return this.repairTs; } /** * @return resultCode */ public String getResultCode() { return this.resultCode; } /** * @return resultMessage */ public String getResultMessage() { return this.resultMessage; } /** * @return ruleTag */ public String getRuleTag() { return this.ruleTag; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return tag */ public String getTag() { return this.tag; } /** * @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 authVersion; private Boolean bind; private ExtendContentJson extendContentJson; private Long firstTs; private Integer groupId; private String image; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String k8sClusterId; private String k8sNamespace; private String k8sNodeId; private String k8sNodeName; private String k8sPodName; private Long lastTs; private Long modifyTs; private String name; private String namespace; private String necessity; private Boolean online; private String osName; private String osVersion; private Long primaryId; private Integer progress; private Integer raspDefend; private Integer raspStatus; private Boolean realRisk; private String regionId; private String related; private Long repairTs; private String resultCode; private String resultMessage; private String ruleTag; private Integer status; private String tag; private String type; private String uuid; private Builder() { } private Builder(VulRecords model) { this.aliasName = model.aliasName; this.authVersion = model.authVersion; this.bind = model.bind; this.extendContentJson = model.extendContentJson; this.firstTs = model.firstTs; this.groupId = model.groupId; this.image = model.image; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.k8sClusterId = model.k8sClusterId; this.k8sNamespace = model.k8sNamespace; this.k8sNodeId = model.k8sNodeId; this.k8sNodeName = model.k8sNodeName; this.k8sPodName = model.k8sPodName; this.lastTs = model.lastTs; this.modifyTs = model.modifyTs; this.name = model.name; this.namespace = model.namespace; this.necessity = model.necessity; this.online = model.online; this.osName = model.osName; this.osVersion = model.osVersion; this.primaryId = model.primaryId; this.progress = model.progress; this.raspDefend = model.raspDefend; this.raspStatus = model.raspStatus; this.realRisk = model.realRisk; this.regionId = model.regionId; this.related = model.related; this.repairTs = model.repairTs; this.resultCode = model.resultCode; this.resultMessage = model.resultMessage; this.ruleTag = model.ruleTag; this.status = model.status; this.tag = model.tag; this.type = model.type; this.uuid = model.uuid; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2019:0230-Important: polkit security update</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The edition of Security Center that is authorized to scan the asset. Valid values:</p> * <ul> * <li><strong>1</strong>: Basic.</li> * <li><strong>6</strong>: Anti-virus.</li> * <li><strong>5</strong>: Advanced.</li> * <li><strong>3</strong>: Enterprise.</li> * <li><strong>7</strong>: Ultimate.</li> * <li><strong>10</strong>: Value-added Plan.</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder authVersion(String authVersion) { this.authVersion = authVersion; return this; } /** * <p>Indicates whether Security Center is authorized to scan the asset. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder bind(Boolean bind) { this.bind = bind; return this; } /** * <p>The extended information about the vulnerability.</p> */ public Builder extendContentJson(ExtendContentJson extendContentJson) { this.extendContentJson = extendContentJson; return this; } /** * <p>The timestamp when the vulnerability was first detected. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1554189334000</p> */ public Builder firstTs(Long firstTs) { this.firstTs = firstTs; return this; } /** * <p>The ID of the asset group.</p> * * <strong>example:</strong> * <p>281801</p> */ public Builder groupId(Integer groupId) { this.groupId = groupId; return this; } /** * <p>The name of the image.</p> * * <strong>example:</strong> * <p>registry-cn-<strong>-vpc.ack.</strong>.com/acs/ack-node-problem-detector:v0.8.16-8ed7053-**</p> */ public Builder image(String image) { this.image = image; return this; } /** * <p>The ID of the asset.</p> * * <strong>example:</strong> * <p>i-bp18t***</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the asset.</p> * * <strong>example:</strong> * <p>testInstance</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the asset.</p> * * <strong>example:</strong> * <p>1.2.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the asset.</p> * * <strong>example:</strong> * <p>1.2.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The ID of the cluster.</p> * <blockquote> * <p> The value of this parameter is returned only if you use the Ultimate edition of Security Center that can protect container assets.</p> * </blockquote> * * <strong>example:</strong> * <p>c863dc93bed3843de9934d4346dc4****</p> */ public Builder k8sClusterId(String k8sClusterId) { this.k8sClusterId = k8sClusterId; return this; } /** * <p>The namespace.</p> * <blockquote> * <p> If you use the Ultimate edition of Security Center, the value of this parameter is queried from container assets. If you do not use the Ultimate edition, the value of this parameter is queried from the Security Center agent.</p> * </blockquote> * * <strong>example:</strong> * <p>default</p> */ public Builder k8sNamespace(String k8sNamespace) { this.k8sNamespace = k8sNamespace; return this; } /** * <p>The ID of the node.</p> * <blockquote> * <p> The value of this parameter is returned only if you use the Ultimate edition of Security Center that can protect container assets.</p> * </blockquote> * * <strong>example:</strong> * <p>i-bp1ifm6suw9mnbsr****</p> */ public Builder k8sNodeId(String k8sNodeId) { this.k8sNodeId = k8sNodeId; return this; } /** * <p>The name of the node.</p> * <blockquote> * <p> The value of this parameter is returned only if you use the Ultimate edition of Security Center that can protect container assets.</p> * </blockquote> * * <strong>example:</strong> * <p>deployment-riskai-7b67d68975-m****</p> */ public Builder k8sNodeName(String k8sNodeName) { this.k8sNodeName = k8sNodeName; return this; } /** * <p>The name of the pod.</p> * <blockquote> * <p> The value of this parameter is returned only if you use the Ultimate edition of Security Center that can protect container assets.</p> * </blockquote> * * <strong>example:</strong> * <p>deployment-riskai-7b67d68975-m****</p> */ public Builder k8sPodName(String k8sPodName) { this.k8sPodName = k8sPodName; return this; } /** * <p>The timestamp when the vulnerability was last detected. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1620404763000</p> */ public Builder lastTs(Long lastTs) { this.lastTs = lastTs; return this; } /** * <p>The timestamp when the vulnerability status was modified. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1620404763000</p> */ public Builder modifyTs(Long modifyTs) { this.modifyTs = modifyTs; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>oval:com.redhat.rhsa:def:20170574</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The namespace.</p> * * <strong>example:</strong> * <p>kube-system</p> */ public Builder namespace(String namespace) { this.namespace = namespace; 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 <strong>high-risk</strong> vulnerabilities at the earliest opportunity.</p> * </blockquote> * * <strong>example:</strong> * <p>asap</p> */ public Builder necessity(String necessity) { this.necessity = necessity; return this; } /** * <p>Indicates whether the Security Center agent on the asset is online. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder online(Boolean online) { this.online = online; return this; } /** * <p>The name of the operating system for your asset.</p> * * <strong>example:</strong> * <p>CentOS 7.2 64-bit</p> */ public Builder osName(String osName) { this.osName = osName; return this; } /** * <p>The name of the operating system for your asset.</p> * * <strong>example:</strong> * <p>linux</p> */ public Builder osVersion(String osVersion) { this.osVersion = osVersion; return this; } /** * <p>The ID of the vulnerability.</p> * * <strong>example:</strong> * <p>101162078</p> */ public Builder primaryId(Long primaryId) { this.primaryId = primaryId; return this; } /** * <p>The progress of the vulnerability fixing.</p> * * <strong>example:</strong> * <p>100</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.</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 protection mode of the application protection feature. Valid values:</p> * <ul> * <li><strong>0</strong>: unprotected.</li> * <li><strong>1</strong>: the Monitor mode.</li> * <li><strong>2</strong>: the Block mode.</li> * <li><strong>3</strong>: disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder raspStatus(Integer raspStatus) { this.raspStatus = raspStatus; return this; } /** * <p>Indicates whether the vulnerability is easily exploited. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder realRisk(Boolean realRisk) { this.realRisk = realRisk; 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; } /** * <p>The Common Vulnerabilities and Exposures (CVE) IDs related to the vulnerability. Multiple CVE IDs are separated by commas (,).</p> * * <strong>example:</strong> * <p>CVE-2017-7518,CVE-2017-12188</p> */ public Builder related(String related) { this.related = related; return this; } /** * <p>The timestamp when the vulnerability was fixed. Unit: milliseconds. This parameter is returned only if you fix vulnerabilities in the Security Center console.</p> * * <strong>example:</strong> * <p>1541207563000</p> */ public Builder repairTs(Long repairTs) { this.repairTs = repairTs; return this; } /** * <p>The code that indicates the vulnerability fixing result.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder resultCode(String resultCode) { this.resultCode = resultCode; return this; } /** * <p>The message that indicates the vulnerability fixing result.</p> * * <strong>example:</strong> * <p>timeout</p> */ public Builder resultMessage(String resultMessage) { this.resultMessage = resultMessage; return this; } /** * <p>The tag of this vulnerability. Valid values:</p> * <ul> * <li><strong>AI</strong>: AI-related components.</li> * </ul> * * <strong>example:</strong> * <p>AI</p> */ public Builder ruleTag(String ruleTag) { this.ruleTag = ruleTag; return this; } /** * <p>The status of the vulnerability. Valid values:</p> * <ul> * <li><strong>1</strong>: unfixed.</li> * <li><strong>2</strong>: fix failed.</li> * <li><strong>3</strong>: rollback failed.</li> * <li><strong>4</strong>: being fixed.</li> * <li><strong>5</strong>: being rolled back.</li> * <li><strong>6</strong>: being verified.</li> * <li><strong>7</strong>: fixed.</li> * <li><strong>8</strong>: fixed and to be restarted.</li> * <li><strong>9</strong>: rolled back.</li> * <li><strong>10</strong>: ignored.</li> * <li><strong>11</strong>: rolled back and to be restarted.</li> * <li><strong>12</strong>: not found.</li> * <li><strong>20</strong>: expired.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The tag that is added to the vulnerability.</p> * * <strong>example:</strong> * <p>oval</p> */ public Builder tag(String tag) { this.tag = tag; 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>emg</strong>: urgent vulnerability.</li> * <li><strong>app</strong>: application vulnerability.</li> * <li><strong>sca</strong>: application vulnerability that is detected by using software component analysis.</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The UUID of the asset.</p> * * <strong>example:</strong> * <p>04c56617-23fc-43a5-ab9b-****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public VulRecords build() { return new VulRecords(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/DescribeVulMetaCountStatisticsRequest.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 DescribeVulMetaCountStatisticsRequest} extends {@link RequestModel} * * <p>DescribeVulMetaCountStatisticsRequest</p> */ public class DescribeVulMetaCountStatisticsRequest extends Request { private DescribeVulMetaCountStatisticsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeVulMetaCountStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeVulMetaCountStatisticsRequest, Builder> { private Builder() { super(); } private Builder(DescribeVulMetaCountStatisticsRequest request) { super(request); } @Override public DescribeVulMetaCountStatisticsRequest build() { return new DescribeVulMetaCountStatisticsRequest(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/DescribeVulMetaCountStatisticsResponse.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 DescribeVulMetaCountStatisticsResponse} extends {@link TeaModel} * * <p>DescribeVulMetaCountStatisticsResponse</p> */ public class DescribeVulMetaCountStatisticsResponse 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 DescribeVulMetaCountStatisticsResponseBody body; private DescribeVulMetaCountStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulMetaCountStatisticsResponse 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 DescribeVulMetaCountStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulMetaCountStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulMetaCountStatisticsResponseBody body); @Override DescribeVulMetaCountStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulMetaCountStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulMetaCountStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulMetaCountStatisticsResponse 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(DescribeVulMetaCountStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeVulMetaCountStatisticsResponse build() { return new DescribeVulMetaCountStatisticsResponse(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/DescribeVulMetaCountStatisticsResponseBody.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 DescribeVulMetaCountStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulMetaCountStatisticsResponseBody</p> */ public class DescribeVulMetaCountStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppCount") private Integer appCount; @com.aliyun.core.annotation.NameInMap("CveCount") private Integer cveCount; @com.aliyun.core.annotation.NameInMap("RaspDefendCount") private Integer raspDefendCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SysCount") private Integer sysCount; private DescribeVulMetaCountStatisticsResponseBody(Builder builder) { this.appCount = builder.appCount; this.cveCount = builder.cveCount; this.raspDefendCount = builder.raspDefendCount; this.requestId = builder.requestId; this.sysCount = builder.sysCount; } public static Builder builder() { return new Builder(); } public static DescribeVulMetaCountStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return appCount */ public Integer getAppCount() { return this.appCount; } /** * @return cveCount */ public Integer getCveCount() { return this.cveCount; } /** * @return raspDefendCount */ public Integer getRaspDefendCount() { return this.raspDefendCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sysCount */ public Integer getSysCount() { return this.sysCount; } public static final class Builder { private Integer appCount; private Integer cveCount; private Integer raspDefendCount; private String requestId; private Integer sysCount; private Builder() { } private Builder(DescribeVulMetaCountStatisticsResponseBody model) { this.appCount = model.appCount; this.cveCount = model.cveCount; this.raspDefendCount = model.raspDefendCount; this.requestId = model.requestId; this.sysCount = model.sysCount; } /** * <p>The number of application vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder appCount(Integer appCount) { this.appCount = appCount; return this; } /** * <p>The number of Linux software vulnerabilities.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder cveCount(Integer cveCount) { this.cveCount = cveCount; return this; } /** * <p>The number of vulnerabilities that can be defended by the application protection feature.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder raspDefendCount(Integer raspDefendCount) { this.raspDefendCount = raspDefendCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>571B2642-BF51-5BDD-906B-D2340DB9****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of Windows system vulnerabilities.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder sysCount(Integer sysCount) { this.sysCount = sysCount; return this; } public DescribeVulMetaCountStatisticsResponseBody build() { return new DescribeVulMetaCountStatisticsResponseBody(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/DescribeVulNumStatisticsRequest.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 DescribeVulNumStatisticsRequest} extends {@link RequestModel} * * <p>DescribeVulNumStatisticsRequest</p> */ public class DescribeVulNumStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") private String from; private DescribeVulNumStatisticsRequest(Builder builder) { super(builder); this.from = builder.from; } public static Builder builder() { return new Builder(); } public static DescribeVulNumStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return from */ public String getFrom() { return this.from; } public static final class Builder extends Request.Builder<DescribeVulNumStatisticsRequest, Builder> { private String from; private Builder() { super(); } private Builder(DescribeVulNumStatisticsRequest request) { super(request); this.from = request.from; } /** * <p>The source of the request.</p> * <ul> * <li>If you want to query Security Center-related data, set the value to <strong>sas</strong>.</li> * <li>If you want to query Server Guard-related data, you do not need to specify this parameter.</li> * </ul> * * <strong>example:</strong> * <p>sas</p> */ public Builder from(String from) { this.putQueryParameter("From", from); this.from = from; return this; } @Override public DescribeVulNumStatisticsRequest build() { return new DescribeVulNumStatisticsRequest(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/DescribeVulNumStatisticsResponse.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 DescribeVulNumStatisticsResponse} extends {@link TeaModel} * * <p>DescribeVulNumStatisticsResponse</p> */ public class DescribeVulNumStatisticsResponse 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 DescribeVulNumStatisticsResponseBody body; private DescribeVulNumStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulNumStatisticsResponse 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 DescribeVulNumStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulNumStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulNumStatisticsResponseBody body); @Override DescribeVulNumStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulNumStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulNumStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulNumStatisticsResponse 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(DescribeVulNumStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeVulNumStatisticsResponse build() { return new DescribeVulNumStatisticsResponse(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/DescribeVulNumStatisticsResponseBody.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 DescribeVulNumStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulNumStatisticsResponseBody</p> */ public class DescribeVulNumStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppCnt") private Integer appCnt; @com.aliyun.core.annotation.NameInMap("AppNum") private Integer appNum; @com.aliyun.core.annotation.NameInMap("CmsDealedTotalNum") private Integer cmsDealedTotalNum; @com.aliyun.core.annotation.NameInMap("CmsNum") private Integer cmsNum; @com.aliyun.core.annotation.NameInMap("CveNum") private Integer cveNum; @com.aliyun.core.annotation.NameInMap("EmgNum") private Integer emgNum; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ScaNum") private Integer scaNum; @com.aliyun.core.annotation.NameInMap("SysNum") private Integer sysNum; @com.aliyun.core.annotation.NameInMap("VulAsapSum") private Integer vulAsapSum; @com.aliyun.core.annotation.NameInMap("VulDealedTotalNum") private Integer vulDealedTotalNum; @com.aliyun.core.annotation.NameInMap("VulLaterSum") private Integer vulLaterSum; @com.aliyun.core.annotation.NameInMap("VulNntfSum") private Integer vulNntfSum; private DescribeVulNumStatisticsResponseBody(Builder builder) { this.appCnt = builder.appCnt; this.appNum = builder.appNum; this.cmsDealedTotalNum = builder.cmsDealedTotalNum; this.cmsNum = builder.cmsNum; this.cveNum = builder.cveNum; this.emgNum = builder.emgNum; this.requestId = builder.requestId; this.scaNum = builder.scaNum; this.sysNum = builder.sysNum; this.vulAsapSum = builder.vulAsapSum; this.vulDealedTotalNum = builder.vulDealedTotalNum; this.vulLaterSum = builder.vulLaterSum; this.vulNntfSum = builder.vulNntfSum; } public static Builder builder() { return new Builder(); } public static DescribeVulNumStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return appCnt */ public Integer getAppCnt() { return this.appCnt; } /** * @return appNum */ public Integer getAppNum() { return this.appNum; } /** * @return cmsDealedTotalNum */ public Integer getCmsDealedTotalNum() { return this.cmsDealedTotalNum; } /** * @return cmsNum */ public Integer getCmsNum() { return this.cmsNum; } /** * @return cveNum */ public Integer getCveNum() { return this.cveNum; } /** * @return emgNum */ public Integer getEmgNum() { return this.emgNum; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return scaNum */ public Integer getScaNum() { return this.scaNum; } /** * @return sysNum */ public Integer getSysNum() { return this.sysNum; } /** * @return vulAsapSum */ public Integer getVulAsapSum() { return this.vulAsapSum; } /** * @return vulDealedTotalNum */ public Integer getVulDealedTotalNum() { return this.vulDealedTotalNum; } /** * @return vulLaterSum */ public Integer getVulLaterSum() { return this.vulLaterSum; } /** * @return vulNntfSum */ public Integer getVulNntfSum() { return this.vulNntfSum; } public static final class Builder { private Integer appCnt; private Integer appNum; private Integer cmsDealedTotalNum; private Integer cmsNum; private Integer cveNum; private Integer emgNum; private String requestId; private Integer scaNum; private Integer sysNum; private Integer vulAsapSum; private Integer vulDealedTotalNum; private Integer vulLaterSum; private Integer vulNntfSum; private Builder() { } private Builder(DescribeVulNumStatisticsResponseBody model) { this.appCnt = model.appCnt; this.appNum = model.appNum; this.cmsDealedTotalNum = model.cmsDealedTotalNum; this.cmsNum = model.cmsNum; this.cveNum = model.cveNum; this.emgNum = model.emgNum; this.requestId = model.requestId; this.scaNum = model.scaNum; this.sysNum = model.sysNum; this.vulAsapSum = model.vulAsapSum; this.vulDealedTotalNum = model.vulDealedTotalNum; this.vulLaterSum = model.vulLaterSum; this.vulNntfSum = model.vulNntfSum; } /** * <p>The number of application vulnerabilities that are detected on the asset by using the web scanner.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder appCnt(Integer appCnt) { this.appCnt = appCnt; return this; } /** * <p>The number of application vulnerabilities that are detected on the asset by using the web scanner.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder appNum(Integer appNum) { this.appNum = appNum; return this; } /** * <p>The number of Web-CMS vulnerabilities that are handled.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder cmsDealedTotalNum(Integer cmsDealedTotalNum) { this.cmsDealedTotalNum = cmsDealedTotalNum; return this; } /** * <p>The number of Web-CMS vulnerabilities that are detected on the asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder cmsNum(Integer cmsNum) { this.cmsNum = cmsNum; return this; } /** * <p>The number of Linux software vulnerabilities that are detected on the asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder cveNum(Integer cveNum) { this.cveNum = cveNum; return this; } /** * <p>The number of urgent vulnerabilities that are detected on the asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder emgNum(Integer emgNum) { this.emgNum = emgNum; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E22C89D2-FE13-5800-8746-9D0EF1827A59</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of middleware vulnerabilities that are detected on the asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder scaNum(Integer scaNum) { this.scaNum = scaNum; return this; } /** * <p>The number of Windows system vulnerabilities that are detected on the asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder sysNum(Integer sysNum) { this.sysNum = sysNum; return this; } /** * <p>The number of vulnerabilities that have the high priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vulAsapSum(Integer vulAsapSum) { this.vulAsapSum = vulAsapSum; return this; } /** * <p>The number of vulnerabilities that are handled.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vulDealedTotalNum(Integer vulDealedTotalNum) { this.vulDealedTotalNum = vulDealedTotalNum; return this; } /** * <p>The number of vulnerabilities that have the medium priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vulLaterSum(Integer vulLaterSum) { this.vulLaterSum = vulLaterSum; return this; } /** * <p>The number of vulnerabilities that have the low priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vulNntfSum(Integer vulNntfSum) { this.vulNntfSum = vulNntfSum; return this; } public DescribeVulNumStatisticsResponseBody build() { return new DescribeVulNumStatisticsResponseBody(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/DescribeVulTargetConfigRequest.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 DescribeVulTargetConfigRequest} extends {@link RequestModel} * * <p>DescribeVulTargetConfigRequest</p> */ public class DescribeVulTargetConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribeVulTargetConfigRequest(Builder builder) { super(builder); this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeVulTargetConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeVulTargetConfigRequest, Builder> { private String type; private String uuid; private Builder() { super(); } private Builder(DescribeVulTargetConfigRequest request) { super(request); this.type = request.type; this.uuid = request.uuid; } /** * <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>emg</strong>: urgent vulnerability</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.</p> * * <strong>example:</strong> * <p>ae1527a9-2308-46ab-b10a-48ae7ff7****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeVulTargetConfigRequest build() { return new DescribeVulTargetConfigRequest(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/DescribeVulTargetConfigResponse.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 DescribeVulTargetConfigResponse} extends {@link TeaModel} * * <p>DescribeVulTargetConfigResponse</p> */ public class DescribeVulTargetConfigResponse 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 DescribeVulTargetConfigResponseBody body; private DescribeVulTargetConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulTargetConfigResponse 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 DescribeVulTargetConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulTargetConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulTargetConfigResponseBody body); @Override DescribeVulTargetConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulTargetConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulTargetConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulTargetConfigResponse 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(DescribeVulTargetConfigResponseBody body) { this.body = body; return this; } @Override public DescribeVulTargetConfigResponse build() { return new DescribeVulTargetConfigResponse(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/DescribeVulTargetConfigResponseBody.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 DescribeVulTargetConfigResponseBody} extends {@link TeaModel} * * <p>DescribeVulTargetConfigResponseBody</p> */ public class DescribeVulTargetConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TargetConfigs") private java.util.List<TargetConfigs> targetConfigs; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeVulTargetConfigResponseBody(Builder builder) { this.requestId = builder.requestId; this.targetConfigs = builder.targetConfigs; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVulTargetConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return targetConfigs */ public java.util.List<TargetConfigs> getTargetConfigs() { return this.targetConfigs; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String requestId; private java.util.List<TargetConfigs> targetConfigs; private Integer totalCount; private Builder() { } private Builder(DescribeVulTargetConfigResponseBody model) { this.requestId = model.requestId; this.targetConfigs = model.targetConfigs; this.totalCount = model.totalCount; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>9FBC6E47-7508-58C9-9E76-528E118CB1CC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the configurations.</p> */ public Builder targetConfigs(java.util.List<TargetConfigs> targetConfigs) { this.targetConfigs = targetConfigs; 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 DescribeVulTargetConfigResponseBody build() { return new DescribeVulTargetConfigResponseBody(this); } } /** * * {@link DescribeVulTargetConfigResponseBody} extends {@link TeaModel} * * <p>DescribeVulTargetConfigResponseBody</p> */ public static class TargetConfigs extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("OverAllConfig") private String overAllConfig; @com.aliyun.core.annotation.NameInMap("Type") private String type; private TargetConfigs(Builder builder) { this.config = builder.config; this.overAllConfig = builder.overAllConfig; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static TargetConfigs create() { return builder().build(); } /** * @return config */ public String getConfig() { return this.config; } /** * @return overAllConfig */ public String getOverAllConfig() { return this.overAllConfig; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String config; private String overAllConfig; private String type; private Builder() { } private Builder(TargetConfigs model) { this.config = model.config; this.overAllConfig = model.overAllConfig; this.type = model.type; } /** * <p>Indicates whether the vulnerability scan feature is enabled for the server.</p> * <ul> * <li><strong>off</strong>: disabled</li> * <li><strong>on</strong>: enabled</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>Indicates whether the vulnerability scan feature is enabled for all servers. Valid values:</p> * <ul> * <li><strong>off</strong>: disabled</li> * <li><strong>on</strong>: enabled</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder overAllConfig(String overAllConfig) { this.overAllConfig = overAllConfig; 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>emg</strong>: urgent vulnerability</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } public TargetConfigs build() { return new TargetConfigs(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/DescribeVulTargetStatisticsRequest.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 DescribeVulTargetStatisticsRequest} extends {@link RequestModel} * * <p>DescribeVulTargetStatisticsRequest</p> */ public class DescribeVulTargetStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeVulTargetStatisticsRequest(Builder builder) { super(builder); this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeVulTargetStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeVulTargetStatisticsRequest, Builder> { private String type; private Builder() { super(); } private Builder(DescribeVulTargetStatisticsRequest request) { super(request); this.type = request.type; } /** * <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>emg</strong>: urgent vulnerability</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeVulTargetStatisticsRequest build() { return new DescribeVulTargetStatisticsRequest(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/DescribeVulTargetStatisticsResponse.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 DescribeVulTargetStatisticsResponse} extends {@link TeaModel} * * <p>DescribeVulTargetStatisticsResponse</p> */ public class DescribeVulTargetStatisticsResponse 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 DescribeVulTargetStatisticsResponseBody body; private DescribeVulTargetStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulTargetStatisticsResponse 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 DescribeVulTargetStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulTargetStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulTargetStatisticsResponseBody body); @Override DescribeVulTargetStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulTargetStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulTargetStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulTargetStatisticsResponse 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(DescribeVulTargetStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeVulTargetStatisticsResponse build() { return new DescribeVulTargetStatisticsResponse(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/DescribeVulTargetStatisticsResponseBody.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 DescribeVulTargetStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulTargetStatisticsResponseBody</p> */ public class DescribeVulTargetStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TargetStats") private java.util.List<TargetStats> targetStats; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeVulTargetStatisticsResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.targetStats = builder.targetStats; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVulTargetStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return targetStats */ public java.util.List<TargetStats> getTargetStats() { return this.targetStats; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private Integer pageSize; private String requestId; private java.util.List<TargetStats> targetStats; private Integer totalCount; private Builder() { } private Builder(DescribeVulTargetStatisticsResponseBody model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.targetStats = model.targetStats; 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 number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>23AD0BD2-8771-5647-819E-6BA51E212F80</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the configurations of the vulnerability scan feature.</p> */ public Builder targetStats(java.util.List<TargetStats> targetStats) { this.targetStats = targetStats; 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 DescribeVulTargetStatisticsResponseBody build() { return new DescribeVulTargetStatisticsResponseBody(this); } } /** * * {@link DescribeVulTargetStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulTargetStatisticsResponseBody</p> */ public static class Targets extends TeaModel { @com.aliyun.core.annotation.NameInMap("Flag") private String flag; @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private Targets(Builder builder) { this.flag = builder.flag; this.target = builder.target; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static Targets create() { return builder().build(); } /** * @return flag */ public String getFlag() { return this.flag; } /** * @return target */ public String getTarget() { return this.target; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String flag; private String target; private String targetType; private Builder() { } private Builder(Targets model) { this.flag = model.flag; this.target = model.target; this.targetType = model.targetType; } /** * <p>Indicates whether the configurations are applied to the server. Valid values:</p> * <ul> * <li><strong>add</strong>: yes</li> * <li><strong>del</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>add</p> */ public Builder flag(String flag) { this.flag = flag; return this; } /** * <p>The group ID or UUID of the server to which the configurations are applied.</p> * * <strong>example:</strong> * <p>0011ea53-738c-4bff-93be-ce6a1cc9****</p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The condition by which the configurations are applied to the server. Valid values:</p> * <ul> * <li><strong>uuid</strong>: the UUID of the server</li> * <li><strong>groupId</strong>: the ID of the server group</li> * </ul> * * <strong>example:</strong> * <p>uuid</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public Targets build() { return new Targets(this); } } } /** * * {@link DescribeVulTargetStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeVulTargetStatisticsResponseBody</p> */ public static class TargetStats extends TeaModel { @com.aliyun.core.annotation.NameInMap("Targets") private java.util.List<Targets> targets; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; @com.aliyun.core.annotation.NameInMap("UuidCount") private Integer uuidCount; @com.aliyun.core.annotation.NameInMap("VulType") private String vulType; private TargetStats(Builder builder) { this.targets = builder.targets; this.totalCount = builder.totalCount; this.uuidCount = builder.uuidCount; this.vulType = builder.vulType; } public static Builder builder() { return new Builder(); } public static TargetStats create() { return builder().build(); } /** * @return targets */ public java.util.List<Targets> getTargets() { return this.targets; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return uuidCount */ public Integer getUuidCount() { return this.uuidCount; } /** * @return vulType */ public String getVulType() { return this.vulType; } public static final class Builder { private java.util.List<Targets> targets; private Integer totalCount; private Integer uuidCount; private String vulType; private Builder() { } private Builder(TargetStats model) { this.targets = model.targets; this.totalCount = model.totalCount; this.uuidCount = model.uuidCount; this.vulType = model.vulType; } /** * <p>An array that consists of available servers.</p> */ public Builder targets(java.util.List<Targets> targets) { this.targets = targets; return this; } /** * <p>The total number of servers.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * <p>The number of servers to which the configurations are applied.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder uuidCount(Integer uuidCount) { this.uuidCount = uuidCount; return this; } /** * <p>The type of the vulnerability. Valid values:</p> * <ul> * <li>cve: Linux software vulnerabilities</li> * <li>sys: Windows system vulnerabilities</li> * <li>cms: Web-CMS vulnerabilities</li> * <li>emg: urgent vulnerabilities</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder vulType(String vulType) { this.vulType = vulType; return this; } public TargetStats build() { return new TargetStats(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/DescribeVulWhitelistRequest.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 DescribeVulWhitelistRequest} extends {@link RequestModel} * * <p>DescribeVulWhitelistRequest</p> */ public class DescribeVulWhitelistRequest 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("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private DescribeVulWhitelistRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeVulWhitelistRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeVulWhitelistRequest, Builder> { private Integer currentPage; private String lang; private Integer pageSize; private Builder() { super(); } private Builder(DescribeVulWhitelistRequest request) { super(request); this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; } /** * <p>The number of the page to return. Pages start from page 1. Default value: 1.</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: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeVulWhitelistRequest build() { return new DescribeVulWhitelistRequest(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/DescribeVulWhitelistResponse.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 DescribeVulWhitelistResponse} extends {@link TeaModel} * * <p>DescribeVulWhitelistResponse</p> */ public class DescribeVulWhitelistResponse 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 DescribeVulWhitelistResponseBody body; private DescribeVulWhitelistResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVulWhitelistResponse 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 DescribeVulWhitelistResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVulWhitelistResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVulWhitelistResponseBody body); @Override DescribeVulWhitelistResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVulWhitelistResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVulWhitelistResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVulWhitelistResponse 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(DescribeVulWhitelistResponseBody body) { this.body = body; return this; } @Override public DescribeVulWhitelistResponse build() { return new DescribeVulWhitelistResponse(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/DescribeVulWhitelistResponseBody.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 DescribeVulWhitelistResponseBody} extends {@link TeaModel} * * <p>DescribeVulWhitelistResponseBody</p> */ public class DescribeVulWhitelistResponseBody 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("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; @com.aliyun.core.annotation.NameInMap("VulWhitelists") private java.util.List<VulWhitelists> vulWhitelists; private DescribeVulWhitelistResponseBody(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.vulWhitelists = builder.vulWhitelists; } public static Builder builder() { return new Builder(); } public static DescribeVulWhitelistResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @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 requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return vulWhitelists */ public java.util.List<VulWhitelists> getVulWhitelists() { return this.vulWhitelists; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private String requestId; private Integer totalCount; private java.util.List<VulWhitelists> vulWhitelists; private Builder() { } private Builder(DescribeVulWhitelistResponseBody model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; this.vulWhitelists = model.vulWhitelists; } /** * <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>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>74F97EF7-B543-43FD-A4E9-18456731F9C5</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; } /** * <p>An array that consists of information about the whitelist of vulnerabilities.</p> */ public Builder vulWhitelists(java.util.List<VulWhitelists> vulWhitelists) { this.vulWhitelists = vulWhitelists; return this; } public DescribeVulWhitelistResponseBody build() { return new DescribeVulWhitelistResponseBody(this); } } /** * * {@link DescribeVulWhitelistResponseBody} extends {@link TeaModel} * * <p>DescribeVulWhitelistResponseBody</p> */ public static class VulWhitelists extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Reason") private String reason; @com.aliyun.core.annotation.NameInMap("TargetInfo") private String targetInfo; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Whitelist") private String whitelist; private VulWhitelists(Builder builder) { this.aliasName = builder.aliasName; this.id = builder.id; this.name = builder.name; this.reason = builder.reason; this.targetInfo = builder.targetInfo; this.type = builder.type; this.whitelist = builder.whitelist; } public static Builder builder() { return new Builder(); } public static VulWhitelists create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return targetInfo */ public String getTargetInfo() { return this.targetInfo; } /** * @return type */ public String getType() { return this.type; } /** * @return whitelist */ public String getWhitelist() { return this.whitelist; } public static final class Builder { private String aliasName; private String id; private String name; private String reason; private String targetInfo; private String type; private String whitelist; private Builder() { } private Builder(VulWhitelists model) { this.aliasName = model.aliasName; this.id = model.id; this.name = model.name; this.reason = model.reason; this.targetInfo = model.targetInfo; this.type = model.type; this.whitelist = model.whitelist; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2017:3263: curl security update</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>1275</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>oval:com.redhat.rhsa:def:20173263</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The reason why the vulnerability is added to the whitelist.</p> * * <strong>example:</strong> * <p>ignore</p> */ public Builder reason(String reason) { this.reason = reason; return this; } /** * <p>The application scope of the rule. The value is a JSON string that contains the following fields:</p> * <ul> * <li><p><strong>type</strong>: the type of the assets to which the rule is applied. Valid values:</p> * <ul> * <li><strong>Uuid</strong>: server</li> * <li><strong>GroupId</strong>: server group</li> * </ul> * </li> * <li><p><strong>groupIds</strong>: the ID of the server group</p> * </li> * <li><p><strong>uuids</strong>: the UUID of the server</p> * </li> * </ul> * <blockquote> * <p>If this field is empty, the rule is applied to all assets.</p> * </blockquote> * * <strong>example:</strong> * <p>{&quot;type&quot;:&quot;GroupId&quot;,&quot;groupIds&quot;:[916****],&quot;uuids&quot;:[]}</p> */ public Builder targetInfo(String targetInfo) { this.targetInfo = targetInfo; return this; } /** * <p>The type of the vulnerability.</p> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The information about the vulnerability. The value of this parameter is in the JSON format. Valid values:</p> * <ul> * <li><strong>name</strong>: the name of the vulnerability</li> * <li><strong>type</strong>: the type of the vulnerability.</li> * <li><strong>aliasName</strong>: the alias of the vulnerability</li> * </ul> * * <strong>example:</strong> * <p>[{ * &quot;name&quot;:&quot;oval:com.redhat.rhsa:def:20173263&quot;, * &quot;type&quot;:&quot;cve&quot;, * &quot;aliasName&quot;:&quot;RHSA-2017:3263: curl security update&quot; * }]</p> */ public Builder whitelist(String whitelist) { this.whitelist = whitelist; return this; } public VulWhitelists build() { return new VulWhitelists(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/DescribeWarningExportInfoRequest.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 DescribeWarningExportInfoRequest} extends {@link RequestModel} * * <p>DescribeWarningExportInfoRequest</p> */ public class DescribeWarningExportInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportId") @com.aliyun.core.annotation.Validation(required = true) private Long exportId; private DescribeWarningExportInfoRequest(Builder builder) { super(builder); this.exportId = builder.exportId; } public static Builder builder() { return new Builder(); } public static DescribeWarningExportInfoRequest 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<DescribeWarningExportInfoRequest, Builder> { private Long exportId; private Builder() { super(); } private Builder(DescribeWarningExportInfoRequest request) { super(request); this.exportId = request.exportId; } /** * <p>The ID of the export task.</p> * <blockquote> * <p> You can can call the <a href="~~ExportWarning~~">ExportWarning</a> operation to query the IDs of export tasks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>14356</p> */ public Builder exportId(Long exportId) { this.putQueryParameter("ExportId", exportId); this.exportId = exportId; return this; } @Override public DescribeWarningExportInfoRequest build() { return new DescribeWarningExportInfoRequest(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/DescribeWarningExportInfoResponse.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 DescribeWarningExportInfoResponse} extends {@link TeaModel} * * <p>DescribeWarningExportInfoResponse</p> */ public class DescribeWarningExportInfoResponse 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 DescribeWarningExportInfoResponseBody body; private DescribeWarningExportInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWarningExportInfoResponse 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 DescribeWarningExportInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWarningExportInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWarningExportInfoResponseBody body); @Override DescribeWarningExportInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWarningExportInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWarningExportInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWarningExportInfoResponse 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(DescribeWarningExportInfoResponseBody body) { this.body = body; return this; } @Override public DescribeWarningExportInfoResponse build() { return new DescribeWarningExportInfoResponse(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/DescribeWarningExportInfoResponseBody.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 DescribeWarningExportInfoResponseBody} extends {@link TeaModel} * * <p>DescribeWarningExportInfoResponseBody</p> */ public class DescribeWarningExportInfoResponseBody 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 DescribeWarningExportInfoResponseBody(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 DescribeWarningExportInfoResponseBody 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(DescribeWarningExportInfoResponseBody 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 baseline entries that are exported.</p> * * <strong>example:</strong> * <p>1</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 successful.</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>app_20210917</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the export task for the baseline check result.</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="https://eds.aliyun.com/notification/entitle/64b5c3e2-e52b-4d29-9617-e7e6d74XXXX">https://eds.aliyun.com/notification/entitle/64b5c3e2-e52b-4d29-9617-e7e6d74XXXX</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>successful</strong>, which indicates that the export task is complete.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The progress percentage of the export task.</p> * * <strong>example:</strong> * <p>100</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>79CFF74D-E967-5407-8A78-EE03B925FDAA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of baseline entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWarningExportInfoResponseBody build() { return new DescribeWarningExportInfoResponseBody(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/DescribeWarningMachinesRequest.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 DescribeWarningMachinesRequest} extends {@link RequestModel} * * <p>DescribeWarningMachinesRequest</p> */ public class DescribeWarningMachinesRequest 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("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HaveRisk") private Integer haveRisk; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineName") private String machineName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskId") @com.aliyun.core.annotation.Validation(required = true) private Long riskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; private DescribeWarningMachinesRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.containerFieldName = builder.containerFieldName; this.containerFieldValue = builder.containerFieldValue; this.currentPage = builder.currentPage; this.groupId = builder.groupId; this.haveRisk = builder.haveRisk; this.lang = builder.lang; this.machineName = builder.machineName; this.pageSize = builder.pageSize; this.riskId = builder.riskId; this.sourceIp = builder.sourceIp; this.strategyId = builder.strategyId; this.targetType = builder.targetType; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static DescribeWarningMachinesRequest 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 currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return haveRisk */ public Integer getHaveRisk() { return this.haveRisk; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return machineName */ public String getMachineName() { return this.machineName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return riskId */ public Long getRiskId() { return this.riskId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<DescribeWarningMachinesRequest, Builder> { private String clusterId; private String containerFieldName; private String containerFieldValue; private Integer currentPage; private Long groupId; private Integer haveRisk; private String lang; private String machineName; private Integer pageSize; private Long riskId; private String sourceIp; private Long strategyId; private String targetType; private String uuids; private Builder() { super(); } private Builder(DescribeWarningMachinesRequest request) { super(request); this.clusterId = request.clusterId; this.containerFieldName = request.containerFieldName; this.containerFieldValue = request.containerFieldValue; this.currentPage = request.currentPage; this.groupId = request.groupId; this.haveRisk = request.haveRisk; this.lang = request.lang; this.machineName = request.machineName; this.pageSize = request.pageSize; this.riskId = request.riskId; this.sourceIp = request.sourceIp; this.strategyId = request.strategyId; this.targetType = request.targetType; this.uuids = request.uuids; } /** * <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 name of the field that is used to search for the container. Valid values:</p> * <ul> * <li><strong>CONTAINER_ID</strong>: the ID of the container</li> * <li><strong>IMAGE</strong>: the name of the image</li> * <li><strong>NAMESPACE</strong>: the namespace</li> * <li><strong>NODE_NAME</strong>: the name of the node</li> * <li><strong>POD_IP</strong>: the IP address of the pod</li> * <li><strong>HOST_IP</strong>: the IP address of the host</li> * <li><strong>INSTANCE_ID</strong>: the ID of the instance</li> * </ul> * * <strong>example:</strong> * <p>containerId</p> */ public Builder containerFieldName(String containerFieldName) { this.putQueryParameter("ContainerFieldName", containerFieldName); this.containerFieldName = containerFieldName; return this; } /** * <p>The value of the field that is used to search for the container.</p> * * <strong>example:</strong> * <p>c8bb3ef0f5ccf45508f0fd1ffc200****</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 ID of the asset group.</p> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/130972.html">DescribeAllGroups</a> operation to query the IDs of asset groups.</p> * </blockquote> * * <strong>example:</strong> * <p>123</p> */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>Specifies whether risks were detected. Valid values:</p> * <ul> * <li><strong>1</strong>: yes</li> * <li><strong>0</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder haveRisk(Integer haveRisk) { this.putQueryParameter("HaveRisk", haveRisk); this.haveRisk = haveRisk; 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 name of the server on which the baseline check is performed.</p> * * <strong>example:</strong> * <p>oracle-win-001****</p> */ public Builder machineName(String machineName) { this.putQueryParameter("MachineName", machineName); this.machineName = machineName; return this; } /** * <p>The number of entries per page. Default value: <strong>10</strong>, which indicates that 10 entries of server information are displayed on each page. A maximum of 100 entries can be returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The ID of the risk item.</p> * <blockquote> * <p>You can call the <a href="~~DescribeCheckWarningSummary~~">DescribeCheckWarningSummary</a> operation to query the IDs of risk items.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>196</p> */ public Builder riskId(Long riskId) { this.putQueryParameter("RiskId", riskId); this.riskId = riskId; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>1.2.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the baseline check policy.</p> * * <strong>example:</strong> * <p>16</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; 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; } /** * <p>The UUID of the server on which the baseline check is performed. Separate multiple UUIDs with commas (,).</p> * * <strong>example:</strong> * <p>9888955c-0076-49da-bd9c-34f5492b****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public DescribeWarningMachinesRequest build() { return new DescribeWarningMachinesRequest(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/DescribeWarningMachinesResponse.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 DescribeWarningMachinesResponse} extends {@link TeaModel} * * <p>DescribeWarningMachinesResponse</p> */ public class DescribeWarningMachinesResponse 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 DescribeWarningMachinesResponseBody body; private DescribeWarningMachinesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWarningMachinesResponse 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 DescribeWarningMachinesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWarningMachinesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWarningMachinesResponseBody body); @Override DescribeWarningMachinesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWarningMachinesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWarningMachinesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWarningMachinesResponse 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(DescribeWarningMachinesResponseBody body) { this.body = body; return this; } @Override public DescribeWarningMachinesResponse build() { return new DescribeWarningMachinesResponse(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/DescribeWarningMachinesResponseBody.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 DescribeWarningMachinesResponseBody} extends {@link TeaModel} * * <p>DescribeWarningMachinesResponseBody</p> */ public class DescribeWarningMachinesResponseBody 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("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; @com.aliyun.core.annotation.NameInMap("WarningMachines") private java.util.List<WarningMachines> warningMachines; private DescribeWarningMachinesResponseBody(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.warningMachines = builder.warningMachines; } public static Builder builder() { return new Builder(); } public static DescribeWarningMachinesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @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 requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return warningMachines */ public java.util.List<WarningMachines> getWarningMachines() { return this.warningMachines; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private String requestId; private Integer totalCount; private java.util.List<WarningMachines> warningMachines; private Builder() { } private Builder(DescribeWarningMachinesResponseBody model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; this.warningMachines = model.warningMachines; } /** * <p>The number of entries returned 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 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>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>6E4CBE87-E887-5AF1-86D2-78EB4AA3E771</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; } /** * <p>The information about the servers.</p> */ public Builder warningMachines(java.util.List<WarningMachines> warningMachines) { this.warningMachines = warningMachines; return this; } public DescribeWarningMachinesResponseBody build() { return new DescribeWarningMachinesResponseBody(this); } } /** * * {@link DescribeWarningMachinesResponseBody} extends {@link TeaModel} * * <p>DescribeWarningMachinesResponseBody</p> */ public static class WarningMachines extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssetType") private String assetType; @com.aliyun.core.annotation.NameInMap("AuthVersion") private Integer authVersion; @com.aliyun.core.annotation.NameInMap("Bind") private Boolean bind; @com.aliyun.core.annotation.NameInMap("ContainerId") private String containerId; @com.aliyun.core.annotation.NameInMap("ContainerName") private String containerName; @com.aliyun.core.annotation.NameInMap("HighWarningCount") private Integer highWarningCount; @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("LowWarningCount") private Integer lowWarningCount; @com.aliyun.core.annotation.NameInMap("MediumWarningCount") private Integer mediumWarningCount; @com.aliyun.core.annotation.NameInMap("Online") private Boolean online; @com.aliyun.core.annotation.NameInMap("PassCount") private Integer passCount; @com.aliyun.core.annotation.NameInMap("PortOpen") private Boolean portOpen; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private WarningMachines(Builder builder) { this.assetType = builder.assetType; this.authVersion = builder.authVersion; this.bind = builder.bind; this.containerId = builder.containerId; this.containerName = builder.containerName; this.highWarningCount = builder.highWarningCount; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.lowWarningCount = builder.lowWarningCount; this.mediumWarningCount = builder.mediumWarningCount; this.online = builder.online; this.passCount = builder.passCount; this.portOpen = builder.portOpen; this.regionId = builder.regionId; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static WarningMachines create() { return builder().build(); } /** * @return assetType */ public String getAssetType() { return this.assetType; } /** * @return authVersion */ public Integer getAuthVersion() { return this.authVersion; } /** * @return bind */ public Boolean getBind() { return this.bind; } /** * @return containerId */ public String getContainerId() { return this.containerId; } /** * @return containerName */ public String getContainerName() { return this.containerName; } /** * @return highWarningCount */ public Integer getHighWarningCount() { return this.highWarningCount; } /** * @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 lowWarningCount */ public Integer getLowWarningCount() { return this.lowWarningCount; } /** * @return mediumWarningCount */ public Integer getMediumWarningCount() { return this.mediumWarningCount; } /** * @return online */ public Boolean getOnline() { return this.online; } /** * @return passCount */ public Integer getPassCount() { return this.passCount; } /** * @return portOpen */ public Boolean getPortOpen() { return this.portOpen; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String assetType; private Integer authVersion; private Boolean bind; private String containerId; private String containerName; private Integer highWarningCount; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private Integer lowWarningCount; private Integer mediumWarningCount; private Boolean online; private Integer passCount; private Boolean portOpen; private String regionId; private Integer status; private String uuid; private Builder() { } private Builder(WarningMachines model) { this.assetType = model.assetType; this.authVersion = model.authVersion; this.bind = model.bind; this.containerId = model.containerId; this.containerName = model.containerName; this.highWarningCount = model.highWarningCount; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.lowWarningCount = model.lowWarningCount; this.mediumWarningCount = model.mediumWarningCount; this.online = model.online; this.passCount = model.passCount; this.portOpen = model.portOpen; this.regionId = model.regionId; this.status = model.status; this.uuid = model.uuid; } /** * AssetType. */ public Builder assetType(String assetType) { this.assetType = assetType; return this; } /** * <p>The edition of Security Center that is authorized to protect the asset. Valid values:</p> * <ul> * <li><strong>1</strong>: Basic edition</li> * <li><strong>6</strong>: Anti-virus edition</li> * <li><strong>5</strong>: Advanced edition</li> * <li><strong>3</strong>: Enterprise edition</li> * <li><strong>7</strong>: Ultimate edition</li> * <li><strong>10</strong>: Value-added Plan edition</li> * </ul> * * <strong>example:</strong> * <p>7</p> */ public Builder authVersion(Integer authVersion) { this.authVersion = authVersion; return this; } /** * <p>Indicates whether Security Center is authorized to protect the asset. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder bind(Boolean bind) { this.bind = bind; return this; } /** * <p>The container ID.</p> * * <strong>example:</strong> * <p>48a6d9a92435a13ad573372c3f3c63b7e04d106458141df9f92155709d******</p> */ public Builder containerId(String containerId) { this.containerId = containerId; return this; } /** * <p>The name of the container.</p> * * <strong>example:</strong> * <p>redis</p> */ public Builder containerName(String containerName) { this.containerName = containerName; return this; } /** * <p>The number of <strong>high-risk</strong> items on the server.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder highWarningCount(Integer highWarningCount) { this.highWarningCount = highWarningCount; return this; } /** * <p>The server ID.</p> * * <strong>example:</strong> * <p>i-m5ee8b9nr3h30mhb****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>oracle-win-00****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>1.2.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>1.2.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The number of <strong>low-risk</strong> items on the server.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder lowWarningCount(Integer lowWarningCount) { this.lowWarningCount = lowWarningCount; return this; } /** * <p>The number of <strong>medium-risk</strong> items on the server.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder mediumWarningCount(Integer mediumWarningCount) { this.mediumWarningCount = mediumWarningCount; return this; } /** * <p>Indicates whether the agent is online. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder online(Boolean online) { this.online = online; return this; } /** * <p>The number of the check items that passed the baseline check on the server.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder passCount(Integer passCount) { this.passCount = passCount; return this; } /** * <p>Indicates whether a port on the server is accessible over the Internet. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder portOpen(Boolean portOpen) { this.portOpen = portOpen; return this; } /** * <p>The ID of the region in which the server is deployed.</p> * * <strong>example:</strong> * <p>cn-qingdao</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The verification status of the risk item after the risk item is fixed. Valid values:</p> * <ul> * <li><strong>1</strong>: complete</li> * <li><strong>2</strong>: verifying</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The UUID of the server on which the baseline check is performed.</p> * * <strong>example:</strong> * <p>9888955c-0076-49da-bd9c-34f5492b****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public WarningMachines build() { return new WarningMachines(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/DescribeWebLockBindListRequest.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 DescribeWebLockBindListRequest} extends {@link RequestModel} * * <p>DescribeWebLockBindListRequest</p> */ public class DescribeWebLockBindListRequest 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("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("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribeWebLockBindListRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.remark = builder.remark; this.sourceIp = builder.sourceIp; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeWebLockBindListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @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 remark */ public String getRemark() { return this.remark; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return status */ public String getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeWebLockBindListRequest, Builder> { private Integer currentPage; private String lang; private Integer pageSize; private String remark; private String sourceIp; private String status; private String uuid; private Builder() { super(); } private Builder(DescribeWebLockBindListRequest request) { super(request); this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.remark = request.remark; this.sourceIp = request.sourceIp; this.status = request.status; this.uuid = request.uuid; } /** * <p>The number of the page to return. Pages start from page 1. Default value: 1.</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 the response. 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: 20.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The string that allows you to search for servers in fuzzy match mode. You can enter a server name or IP address.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>116.30.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The protection status of the server that you want to query. Valid values:</p> * <ul> * <li><strong>on</strong>: protected</li> * <li><strong>off</strong>: unprotected</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The UUID of the asset that you want to query.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUID.</p> * </blockquote> * * <strong>example:</strong> * <p>7151f27e-1d51-4e98-a540-8936a****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeWebLockBindListRequest build() { return new DescribeWebLockBindListRequest(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/DescribeWebLockBindListResponse.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 DescribeWebLockBindListResponse} extends {@link TeaModel} * * <p>DescribeWebLockBindListResponse</p> */ public class DescribeWebLockBindListResponse 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 DescribeWebLockBindListResponseBody body; private DescribeWebLockBindListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockBindListResponse 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 DescribeWebLockBindListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockBindListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockBindListResponseBody body); @Override DescribeWebLockBindListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockBindListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockBindListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockBindListResponse 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(DescribeWebLockBindListResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockBindListResponse build() { return new DescribeWebLockBindListResponse(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/DescribeWebLockBindListResponseBody.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 DescribeWebLockBindListResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockBindListResponseBody</p> */ public class DescribeWebLockBindListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BindList") private java.util.List<BindList> bindList; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @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 DescribeWebLockBindListResponseBody(Builder builder) { this.bindList = builder.bindList; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockBindListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return bindList */ public java.util.List<BindList> getBindList() { return this.bindList; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @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 java.util.List<BindList> bindList; private Integer currentPage; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockBindListResponseBody model) { this.bindList = model.bindList; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about the servers that have web tamper proofing enabled.</p> */ public Builder bindList(java.util.List<BindList> bindList) { this.bindList = bindList; return this; } /** * <p>The page number of the returned page. Pages start from page 1. Default value: 1.</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: 20.</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>D9354C1A-D709-4873-9AAE-41513327B247</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of servers that have web tamper proofing enabled.</p> * * <strong>example:</strong> * <p>11409</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockBindListResponseBody build() { return new DescribeWebLockBindListResponseBody(this); } } /** * * {@link DescribeWebLockBindListResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockBindListResponseBody</p> */ public static class BindList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuditCount") private String auditCount; @com.aliyun.core.annotation.NameInMap("BlockCount") private String blockCount; @com.aliyun.core.annotation.NameInMap("DirCount") private String dirCount; @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("Percent") private Integer percent; @com.aliyun.core.annotation.NameInMap("ServiceCode") private String serviceCode; @com.aliyun.core.annotation.NameInMap("ServiceDetail") private String serviceDetail; @com.aliyun.core.annotation.NameInMap("ServiceStatus") private String serviceStatus; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private BindList(Builder builder) { this.auditCount = builder.auditCount; this.blockCount = builder.blockCount; this.dirCount = builder.dirCount; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.os = builder.os; this.percent = builder.percent; this.serviceCode = builder.serviceCode; this.serviceDetail = builder.serviceDetail; this.serviceStatus = builder.serviceStatus; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static BindList create() { return builder().build(); } /** * @return auditCount */ public String getAuditCount() { return this.auditCount; } /** * @return blockCount */ public String getBlockCount() { return this.blockCount; } /** * @return dirCount */ public String getDirCount() { return this.dirCount; } /** * @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 percent */ public Integer getPercent() { return this.percent; } /** * @return serviceCode */ public String getServiceCode() { return this.serviceCode; } /** * @return serviceDetail */ public String getServiceDetail() { return this.serviceDetail; } /** * @return serviceStatus */ public String getServiceStatus() { return this.serviceStatus; } /** * @return status */ public String getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String auditCount; private String blockCount; private String dirCount; private String instanceName; private String internetIp; private String intranetIp; private String os; private Integer percent; private String serviceCode; private String serviceDetail; private String serviceStatus; private String status; private String uuid; private Builder() { } private Builder(BindList model) { this.auditCount = model.auditCount; this.blockCount = model.blockCount; this.dirCount = model.dirCount; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.os = model.os; this.percent = model.percent; this.serviceCode = model.serviceCode; this.serviceDetail = model.serviceDetail; this.serviceStatus = model.serviceStatus; this.status = model.status; this.uuid = model.uuid; } /** * <p>The number of alerts.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder auditCount(String auditCount) { this.auditCount = auditCount; return this; } /** * <p>The number of blocked tampering events.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder blockCount(String blockCount) { this.blockCount = blockCount; return this; } /** * <p>The number of protected directories.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder dirCount(String dirCount) { this.dirCount = dirCount; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>testName</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>54.169.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 operating system that the server runs.</p> * * <strong>example:</strong> * <p>Linux</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The percentage of the starting progress of web tamper proofing. Valid values: 0 to 100.</p> * * <strong>example:</strong> * <p>99</p> */ public Builder percent(Integer percent) { this.percent = percent; return this; } /** * <p>The error code for web tamper proofing. Valid values:</p> * <ul> * <li><strong>2001</strong>: The Security Center agent is offline.</li> * <li><strong>9999</strong>: The connection timed out.</li> * </ul> * * <strong>example:</strong> * <p>2001</p> */ public Builder serviceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } /** * <p>The exception details of web tamper proofing. Valid values:</p> * <ul> * <li><strong>client offline</strong>: The Security Center agent is offline.</li> * <li><strong>timeout</strong>: The connection timed out.</li> * </ul> * * <strong>example:</strong> * <p>client offline</p> */ public Builder serviceDetail(String serviceDetail) { this.serviceDetail = serviceDetail; return this; } /** * <p>The status of web tamper proofing on the server. Valid values:</p> * <ul> * <li><strong>stop</strong>: Web tamper proofing is disabled.</li> * <li><strong>initializing</strong>: Web tamper proofing is being enabled.</li> * <li><strong>exception</strong>: Web tamper proofing is not running as expected.</li> * <li><strong>running</strong>: Web tamper proofing is running.</li> * <li><strong>closing</strong>: Web tamper proofing is being disabled.</li> * </ul> * * <strong>example:</strong> * <p>stop</p> */ public Builder serviceStatus(String serviceStatus) { this.serviceStatus = serviceStatus; return this; } /** * <p>The protection status of the server. Valid values:</p> * <ul> * <li><strong>on</strong>: The server is protected.</li> * <li><strong>off</strong>: The server is not protected.</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>inet-12345****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public BindList build() { return new BindList(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/DescribeWebLockConfigListRequest.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 DescribeWebLockConfigListRequest} extends {@link RequestModel} * * <p>DescribeWebLockConfigListRequest</p> */ public class DescribeWebLockConfigListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private DescribeWebLockConfigListRequest(Builder builder) { super(builder); this.id = builder.id; this.lang = builder.lang; this.sourceIp = builder.sourceIp; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeWebLockConfigListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return id */ public Long getId() { return this.id; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeWebLockConfigListRequest, Builder> { private Long id; private String lang; private String sourceIp; private String uuid; private Builder() { super(); } private Builder(DescribeWebLockConfigListRequest request) { super(request); this.id = request.id; this.lang = request.lang; this.sourceIp = request.sourceIp; this.uuid = request.uuid; } /** * <p>The configuration ID of the protected directory.</p> * * <strong>example:</strong> * <p>1404656</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } /** * <p>The language of the content within the request and response. 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 source IP address of the request.</p> * * <strong>example:</strong> * <p>1.2.3.4</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The UUID of the server.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>inet-1234567****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeWebLockConfigListRequest build() { return new DescribeWebLockConfigListRequest(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/DescribeWebLockConfigListResponse.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 DescribeWebLockConfigListResponse} extends {@link TeaModel} * * <p>DescribeWebLockConfigListResponse</p> */ public class DescribeWebLockConfigListResponse 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 DescribeWebLockConfigListResponseBody body; private DescribeWebLockConfigListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockConfigListResponse 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 DescribeWebLockConfigListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockConfigListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockConfigListResponseBody body); @Override DescribeWebLockConfigListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockConfigListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockConfigListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockConfigListResponse 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(DescribeWebLockConfigListResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockConfigListResponse build() { return new DescribeWebLockConfigListResponse(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/DescribeWebLockConfigListResponseBody.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 DescribeWebLockConfigListResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockConfigListResponseBody</p> */ public class DescribeWebLockConfigListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigList") private java.util.List<ConfigList> configList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebLockConfigListResponseBody(Builder builder) { this.configList = builder.configList; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockConfigListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configList */ public java.util.List<ConfigList> getConfigList() { return this.configList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<ConfigList> configList; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockConfigListResponseBody model) { this.configList = model.configList; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The configurations of web tamper proofing.</p> */ public Builder configList(java.util.List<ConfigList> configList) { this.configList = configList; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>D9354C1A-D709-4873-9AAE-41513327B247</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of directories that have web tamper proofing enabled on the server.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockConfigListResponseBody build() { return new DescribeWebLockConfigListResponseBody(this); } } /** * * {@link DescribeWebLockConfigListResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockConfigListResponseBody</p> */ public static class ConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DefenceMode") private String defenceMode; @com.aliyun.core.annotation.NameInMap("Dir") private String dir; @com.aliyun.core.annotation.NameInMap("ExclusiveDir") private String exclusiveDir; @com.aliyun.core.annotation.NameInMap("ExclusiveFile") private String exclusiveFile; @com.aliyun.core.annotation.NameInMap("ExclusiveFileType") private String exclusiveFileType; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("InclusiveFile") private String inclusiveFile; @com.aliyun.core.annotation.NameInMap("InclusiveFileType") private String inclusiveFileType; @com.aliyun.core.annotation.NameInMap("LocalBackupDir") private String localBackupDir; @com.aliyun.core.annotation.NameInMap("Mode") private String mode; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ConfigList(Builder builder) { this.defenceMode = builder.defenceMode; this.dir = builder.dir; this.exclusiveDir = builder.exclusiveDir; this.exclusiveFile = builder.exclusiveFile; this.exclusiveFileType = builder.exclusiveFileType; this.id = builder.id; this.inclusiveFile = builder.inclusiveFile; this.inclusiveFileType = builder.inclusiveFileType; this.localBackupDir = builder.localBackupDir; this.mode = builder.mode; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ConfigList create() { return builder().build(); } /** * @return defenceMode */ public String getDefenceMode() { return this.defenceMode; } /** * @return dir */ public String getDir() { return this.dir; } /** * @return exclusiveDir */ public String getExclusiveDir() { return this.exclusiveDir; } /** * @return exclusiveFile */ public String getExclusiveFile() { return this.exclusiveFile; } /** * @return exclusiveFileType */ public String getExclusiveFileType() { return this.exclusiveFileType; } /** * @return id */ public String getId() { return this.id; } /** * @return inclusiveFile */ public String getInclusiveFile() { return this.inclusiveFile; } /** * @return inclusiveFileType */ public String getInclusiveFileType() { return this.inclusiveFileType; } /** * @return localBackupDir */ public String getLocalBackupDir() { return this.localBackupDir; } /** * @return mode */ public String getMode() { return this.mode; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String defenceMode; private String dir; private String exclusiveDir; private String exclusiveFile; private String exclusiveFileType; private String id; private String inclusiveFile; private String inclusiveFileType; private String localBackupDir; private String mode; private String uuid; private Builder() { } private Builder(ConfigList model) { this.defenceMode = model.defenceMode; this.dir = model.dir; this.exclusiveDir = model.exclusiveDir; this.exclusiveFile = model.exclusiveFile; this.exclusiveFileType = model.exclusiveFileType; this.id = model.id; this.inclusiveFile = model.inclusiveFile; this.inclusiveFileType = model.inclusiveFileType; this.localBackupDir = model.localBackupDir; this.mode = model.mode; this.uuid = model.uuid; } /** * <p>The prevention mode. Valid values:</p> * <ul> * <li><strong>block</strong>: Interception Mode</li> * <li><strong>audit</strong>: Alert Mode</li> * </ul> * * <strong>example:</strong> * <p>audit</p> */ public Builder defenceMode(String defenceMode) { this.defenceMode = defenceMode; return this; } /** * <p>The directory that has web tamper proofing enabled.</p> * * <strong>example:</strong> * <p>/www/tmp/</p> */ public Builder dir(String dir) { this.dir = dir; return this; } /** * <p>The directory that has web tamper proofing disabled.</p> * <blockquote> * <p>If the value of <strong>Mode</strong> is <strong>blacklist</strong>, this parameter is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>/home/admin/tomcat</p> */ public Builder exclusiveDir(String exclusiveDir) { this.exclusiveDir = exclusiveDir; return this; } /** * <p>The file that has web tamper proofing disabled.</p> * <blockquote> * <p>If the value of <strong>Mode</strong> is <strong>blacklist</strong>, this parameter is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>/home/admin/tomcat/localhost.log</p> */ public Builder exclusiveFile(String exclusiveFile) { this.exclusiveFile = exclusiveFile; return this; } /** * <p>The type of the file that has web tamper proofing disabled.</p> * <blockquote> * <p>If the value of <strong>Mode</strong> is <strong>blacklist</strong>, this parameter is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>*.jpg</p> */ public Builder exclusiveFileType(String exclusiveFileType) { this.exclusiveFileType = exclusiveFileType; return this; } /** * <p>The configuration ID of the protected directory.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The file that has web tamper proofing enabled.</p> * <blockquote> * <p>If the value of <strong>Mode</strong> is <strong>whitelist</strong>, this parameter is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>/home/admin/tomcat/aaa.log</p> */ public Builder inclusiveFile(String inclusiveFile) { this.inclusiveFile = inclusiveFile; return this; } /** * <p>The type of the file that has web tamper proofing enabled.</p> * <blockquote> * <p>If the value of <strong>Mode</strong> is <strong>whitelist</strong>, this parameter is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>jpg</p> */ public Builder inclusiveFileType(String inclusiveFileType) { this.inclusiveFileType = inclusiveFileType; return this; } /** * <p>The local path to the backup files of the protected directory.</p> * * <strong>example:</strong> * <p>/usr/local/backup</p> */ public Builder localBackupDir(String localBackupDir) { this.localBackupDir = localBackupDir; return this; } /** * <p>The protection mode of web tamper proofing. Valid values:</p> * <ul> * <li><strong>whitelist</strong>: In this mode, web tamper proofing is enabled for the specified directories and file types.</li> * <li><strong>blacklist</strong>: In this mode, web tamper proofing is enabled for the unspecified subdirectories, file types, and files in the protected directory.</li> * </ul> * * <strong>example:</strong> * <p>blacklist</p> */ public Builder mode(String mode) { this.mode = mode; return this; } /** * <p>The UUID of the server that has web tamper proofing enabled.</p> * * <strong>example:</strong> * <p>80d2f7d6-31a9-4d7f-8ff4-7ecc42f8****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public ConfigList build() { return new ConfigList(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/DescribeWebLockExclusiveFileTypeRequest.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 DescribeWebLockExclusiveFileTypeRequest} extends {@link RequestModel} * * <p>DescribeWebLockExclusiveFileTypeRequest</p> */ public class DescribeWebLockExclusiveFileTypeRequest extends Request { private DescribeWebLockExclusiveFileTypeRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeWebLockExclusiveFileTypeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeWebLockExclusiveFileTypeRequest, Builder> { private Builder() { super(); } private Builder(DescribeWebLockExclusiveFileTypeRequest request) { super(request); } @Override public DescribeWebLockExclusiveFileTypeRequest build() { return new DescribeWebLockExclusiveFileTypeRequest(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/DescribeWebLockExclusiveFileTypeResponse.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 DescribeWebLockExclusiveFileTypeResponse} extends {@link TeaModel} * * <p>DescribeWebLockExclusiveFileTypeResponse</p> */ public class DescribeWebLockExclusiveFileTypeResponse 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 DescribeWebLockExclusiveFileTypeResponseBody body; private DescribeWebLockExclusiveFileTypeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockExclusiveFileTypeResponse 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 DescribeWebLockExclusiveFileTypeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockExclusiveFileTypeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockExclusiveFileTypeResponseBody body); @Override DescribeWebLockExclusiveFileTypeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockExclusiveFileTypeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockExclusiveFileTypeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockExclusiveFileTypeResponse 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(DescribeWebLockExclusiveFileTypeResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockExclusiveFileTypeResponse build() { return new DescribeWebLockExclusiveFileTypeResponse(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/DescribeWebLockExclusiveFileTypeResponseBody.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 DescribeWebLockExclusiveFileTypeResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockExclusiveFileTypeResponseBody</p> */ public class DescribeWebLockExclusiveFileTypeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExclusiveFileType") private java.util.List<String> exclusiveFileType; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebLockExclusiveFileTypeResponseBody(Builder builder) { this.exclusiveFileType = builder.exclusiveFileType; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockExclusiveFileTypeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return exclusiveFileType */ public java.util.List<String> getExclusiveFileType() { return this.exclusiveFileType; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<String> exclusiveFileType; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockExclusiveFileTypeResponseBody model) { this.exclusiveFileType = model.exclusiveFileType; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>An array that consists of the types of the files that are excluded from web tamper proofing.</p> */ public Builder exclusiveFileType(java.util.List<String> exclusiveFileType) { this.exclusiveFileType = exclusiveFileType; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9CCD7D51-5E81-5FF5-BD74-813DDD248430</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of types of the files that are excluded from web tamper proofing.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockExclusiveFileTypeResponseBody build() { return new DescribeWebLockExclusiveFileTypeResponseBody(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/DescribeWebLockFileChangeStatisticsRequest.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 DescribeWebLockFileChangeStatisticsRequest} extends {@link RequestModel} * * <p>DescribeWebLockFileChangeStatisticsRequest</p> */ public class DescribeWebLockFileChangeStatisticsRequest 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; private DescribeWebLockFileChangeStatisticsRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeWebLockFileChangeStatisticsRequest 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<DescribeWebLockFileChangeStatisticsRequest, Builder> { private Integer currentPage; private Integer pageSize; private Builder() { super(); } private Builder(DescribeWebLockFileChangeStatisticsRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; } /** * <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> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeWebLockFileChangeStatisticsRequest build() { return new DescribeWebLockFileChangeStatisticsRequest(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/DescribeWebLockFileChangeStatisticsResponse.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 DescribeWebLockFileChangeStatisticsResponse} extends {@link TeaModel} * * <p>DescribeWebLockFileChangeStatisticsResponse</p> */ public class DescribeWebLockFileChangeStatisticsResponse 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 DescribeWebLockFileChangeStatisticsResponseBody body; private DescribeWebLockFileChangeStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockFileChangeStatisticsResponse 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 DescribeWebLockFileChangeStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockFileChangeStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockFileChangeStatisticsResponseBody body); @Override DescribeWebLockFileChangeStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockFileChangeStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockFileChangeStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockFileChangeStatisticsResponse 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(DescribeWebLockFileChangeStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockFileChangeStatisticsResponse build() { return new DescribeWebLockFileChangeStatisticsResponse(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/DescribeWebLockFileChangeStatisticsResponseBody.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 DescribeWebLockFileChangeStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockFileChangeStatisticsResponseBody</p> */ public class DescribeWebLockFileChangeStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @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 DescribeWebLockFileChangeStatisticsResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.list = builder.list; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockFileChangeStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @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<List> list; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockFileChangeStatisticsResponseBody model) { this.currentPage = model.currentPage; this.list = model.list; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <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>An array consisting of the files that are changed.</p> */ public Builder list(java.util.List<List> list) { this.list = list; 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 ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>709A8C3D-A543-5B79-AB75-361B206F71D9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of files that are attempted to change.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockFileChangeStatisticsResponseBody build() { return new DescribeWebLockFileChangeStatisticsResponseBody(this); } } /** * * {@link DescribeWebLockFileChangeStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockFileChangeStatisticsResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("File") private String file; private List(Builder builder) { this.count = builder.count; this.file = builder.file; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return file */ public String getFile() { return this.file; } public static final class Builder { private Integer count; private String file; private Builder() { } private Builder(List model) { this.count = model.count; this.file = model.file; } /** * <p>The number of attempts.</p> * * <strong>example:</strong> * <p>33</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The file path.</p> * * <strong>example:</strong> * <p>/tmp</p> */ public Builder file(String file) { this.file = file; return this; } public List build() { return new List(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/DescribeWebLockFileEventsRequest.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 DescribeWebLockFileEventsRequest} extends {@link RequestModel} * * <p>DescribeWebLockFileEventsRequest</p> */ public class DescribeWebLockFileEventsRequest 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("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessName") private String processName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TsBegin") private Long tsBegin; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TsEnd") private Long tsEnd; private DescribeWebLockFileEventsRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.dealed = builder.dealed; this.pageSize = builder.pageSize; this.processName = builder.processName; this.remark = builder.remark; this.tsBegin = builder.tsBegin; this.tsEnd = builder.tsEnd; } public static Builder builder() { return new Builder(); } public static DescribeWebLockFileEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return processName */ public String getProcessName() { return this.processName; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return tsBegin */ public Long getTsBegin() { return this.tsBegin; } /** * @return tsEnd */ public Long getTsEnd() { return this.tsEnd; } public static final class Builder extends Request.Builder<DescribeWebLockFileEventsRequest, Builder> { private Integer currentPage; private String dealed; private Integer pageSize; private String processName; private String remark; private Long tsBegin; private Long tsEnd; private Builder() { super(); } private Builder(DescribeWebLockFileEventsRequest request) { super(request); this.currentPage = request.currentPage; this.dealed = request.dealed; this.pageSize = request.pageSize; this.processName = request.processName; this.remark = request.remark; this.tsBegin = request.tsBegin; this.tsEnd = request.tsEnd; } /** * <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>Specifies whether the event on web tamper proofing is handled. Valid values:</p> * <ul> * <li><strong>n</strong>: The event on web tamper proofing is handled.</li> * <li><strong>y</strong>: The event on web tamper proofing is 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 number of entries to return on each page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>sys_create</p> */ public Builder processName(String processName) { this.putQueryParameter("ProcessName", processName); this.processName = processName; return this; } /** * <p>The name of the asset.</p> * <blockquote> * <p>You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the names of assets.</p> * </blockquote> * * <strong>example:</strong> * <p>test-ecs</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The beginning of the time range to query. The value is a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1660649981419</p> */ public Builder tsBegin(Long tsBegin) { this.putQueryParameter("TsBegin", tsBegin); this.tsBegin = tsBegin; return this; } /** * <p>The end of the time range to query. The value is a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1660649981419</p> */ public Builder tsEnd(Long tsEnd) { this.putQueryParameter("TsEnd", tsEnd); this.tsEnd = tsEnd; return this; } @Override public DescribeWebLockFileEventsRequest build() { return new DescribeWebLockFileEventsRequest(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/DescribeWebLockFileEventsResponse.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 DescribeWebLockFileEventsResponse} extends {@link TeaModel} * * <p>DescribeWebLockFileEventsResponse</p> */ public class DescribeWebLockFileEventsResponse 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 DescribeWebLockFileEventsResponseBody body; private DescribeWebLockFileEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockFileEventsResponse 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 DescribeWebLockFileEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockFileEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockFileEventsResponseBody body); @Override DescribeWebLockFileEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockFileEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockFileEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockFileEventsResponse 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(DescribeWebLockFileEventsResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockFileEventsResponse build() { return new DescribeWebLockFileEventsResponse(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/DescribeWebLockFileEventsResponseBody.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 DescribeWebLockFileEventsResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockFileEventsResponseBody</p> */ public class DescribeWebLockFileEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @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 DescribeWebLockFileEventsResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.list = builder.list; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockFileEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @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<List> list; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockFileEventsResponseBody model) { this.currentPage = model.currentPage; this.list = model.list; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>An array that consists of events on web tamper proofing returned.</p> */ public Builder list(java.util.List<List> list) { this.list = list; 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 ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>79CFF74D-E967-5407-8A78-EE03B925FDAA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of events on web tamper proofing returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockFileEventsResponseBody build() { return new DescribeWebLockFileEventsResponseBody(this); } } /** * * {@link DescribeWebLockFileEventsResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockFileEventsResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("Ds") private Long ds; @com.aliyun.core.annotation.NameInMap("EventName") private String eventName; @com.aliyun.core.annotation.NameInMap("EventStatus") private String eventStatus; @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.NameInMap("GmtEvent") private Long gmtEvent; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @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("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.NameInMap("ProcessName") private String processName; @com.aliyun.core.annotation.NameInMap("ProcessPath") private String processPath; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private List(Builder builder) { this.count = builder.count; this.ds = builder.ds; this.eventName = builder.eventName; this.eventStatus = builder.eventStatus; this.eventType = builder.eventType; this.gmtEvent = builder.gmtEvent; this.id = builder.id; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.ip = builder.ip; this.level = builder.level; this.path = builder.path; this.processName = builder.processName; this.processPath = builder.processPath; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return count */ public Long getCount() { return this.count; } /** * @return ds */ public Long getDs() { return this.ds; } /** * @return eventName */ public String getEventName() { return this.eventName; } /** * @return eventStatus */ public String getEventStatus() { return this.eventStatus; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return gmtEvent */ public Long getGmtEvent() { return this.gmtEvent; } /** * @return id */ public Long getId() { return this.id; } /** * @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 ip */ public String getIp() { return this.ip; } /** * @return level */ public String getLevel() { return this.level; } /** * @return path */ public String getPath() { return this.path; } /** * @return processName */ public String getProcessName() { return this.processName; } /** * @return processPath */ public String getProcessPath() { return this.processPath; } /** * @return status */ public String getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Long count; private Long ds; private String eventName; private String eventStatus; private String eventType; private Long gmtEvent; private Long id; private String instanceName; private String internetIp; private String intranetIp; private String ip; private String level; private String path; private String processName; private String processPath; private String status; private String uuid; private Builder() { } private Builder(List model) { this.count = model.count; this.ds = model.ds; this.eventName = model.eventName; this.eventStatus = model.eventStatus; this.eventType = model.eventType; this.gmtEvent = model.gmtEvent; this.id = model.id; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.ip = model.ip; this.level = model.level; this.path = model.path; this.processName = model.processName; this.processPath = model.processPath; this.status = model.status; this.uuid = model.uuid; } /** * <p>The number of attempts.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>The timestamp at which the event on web tamper proofing was first detected.</p> * * <strong>example:</strong> * <p>1657178400000</p> */ public Builder ds(Long ds) { this.ds = ds; return this; } /** * <p>The name of the event on web tamper proofing.</p> * * <strong>example:</strong> * <p>modify</p> */ public Builder eventName(String eventName) { this.eventName = eventName; return this; } /** * <p>The status of the event on web tamper proofing. Valid values:</p> * <ul> * <li><strong>1</strong>: unhandled</li> * <li><strong>2</strong>: ignored</li> * <li><strong>4</strong>: deprecated</li> * <li><strong>8</strong>: marked as false positive</li> * <li><strong>10</strong>: added to the whitelist</li> * <li><strong>16</strong>: handling</li> * <li><strong>32</strong>: defended</li> * <li><strong>64</strong>: invalid</li> * <li><strong>128</strong>: deleted</li> * <li><strong>512</strong>: automatically handled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder eventStatus(String eventStatus) { this.eventStatus = eventStatus; return this; } /** * <p>The prevention mode. Valid values:</p> * <ul> * <li><strong>audit</strong>: Interception Mode</li> * <li><strong>web_lock</strong>: Alert Mode</li> * </ul> * * <strong>example:</strong> * <p>audit</p> */ public Builder eventType(String eventType) { this.eventType = eventType; return this; } /** * <p>The timestamp at which the event on web tamper proofing was last detected.</p> * * <strong>example:</strong> * <p>1657178400000</p> */ public Builder gmtEvent(Long gmtEvent) { this.gmtEvent = gmtEvent; return this; } /** * <p>The ID of the event on web tamper proofing.</p> * * <strong>example:</strong> * <p>3555953980</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the asset.</p> * * <strong>example:</strong> * <p>sql-test-001</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the affected asset.</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 of the asset.</p> * * <strong>example:</strong> * <p>172.25.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The IP address of the asset.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The severity of the event on web tamper proofing. Valid values: <strong>medium</strong></p> * * <strong>example:</strong> * <p>medium</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The file path.</p> * * <strong>example:</strong> * <p>D:\test-tamper-proofing\123.html</p> */ public Builder path(String path) { this.path = path; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>python3.7</p> */ public Builder processName(String processName) { this.processName = processName; return this; } /** * <p>The path to the process.</p> * * <strong>example:</strong> * <p>C:\Windows\explorer.exe</p> */ public Builder processPath(String processPath) { this.processPath = processPath; return this; } /** * <p>The status of the event on web tamper proofing. Valid values:</p> * <ul> * <li><strong>1</strong>: unhandled</li> * <li><strong>2</strong>: ignored</li> * <li><strong>4</strong>: deprecated</li> * <li><strong>8</strong>: marked as false positive</li> * <li><strong>10</strong>: added to the whitelist</li> * <li><strong>16</strong>: handling</li> * <li><strong>32</strong>: defended</li> * <li><strong>64</strong>: invalid</li> * <li><strong>128</strong>: deleted</li> * <li><strong>512</strong>: automatically handled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The UUID of the asset.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public List build() { return new List(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/DescribeWebLockFileTypeSummaryRequest.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 DescribeWebLockFileTypeSummaryRequest} extends {@link RequestModel} * * <p>DescribeWebLockFileTypeSummaryRequest</p> */ public class DescribeWebLockFileTypeSummaryRequest extends Request { private DescribeWebLockFileTypeSummaryRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeWebLockFileTypeSummaryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeWebLockFileTypeSummaryRequest, Builder> { private Builder() { super(); } private Builder(DescribeWebLockFileTypeSummaryRequest request) { super(request); } @Override public DescribeWebLockFileTypeSummaryRequest build() { return new DescribeWebLockFileTypeSummaryRequest(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/DescribeWebLockFileTypeSummaryResponse.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 DescribeWebLockFileTypeSummaryResponse} extends {@link TeaModel} * * <p>DescribeWebLockFileTypeSummaryResponse</p> */ public class DescribeWebLockFileTypeSummaryResponse 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 DescribeWebLockFileTypeSummaryResponseBody body; private DescribeWebLockFileTypeSummaryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockFileTypeSummaryResponse 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 DescribeWebLockFileTypeSummaryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockFileTypeSummaryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockFileTypeSummaryResponseBody body); @Override DescribeWebLockFileTypeSummaryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockFileTypeSummaryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockFileTypeSummaryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockFileTypeSummaryResponse 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(DescribeWebLockFileTypeSummaryResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockFileTypeSummaryResponse build() { return new DescribeWebLockFileTypeSummaryResponse(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/DescribeWebLockFileTypeSummaryResponseBody.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 DescribeWebLockFileTypeSummaryResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockFileTypeSummaryResponseBody</p> */ public class DescribeWebLockFileTypeSummaryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebLockFileTypeSummaryResponseBody(Builder builder) { this.list = builder.list; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockFileTypeSummaryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<List> list; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockFileTypeSummaryResponseBody model) { this.list = model.list; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>An array that consists of events on web tamper proofing returned.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>4BB99533-4FDC-5B9C-A5E4-5AE3E9BE5C78</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of events on web tamper proofing.</p> * * <strong>example:</strong> * <p>639</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockFileTypeSummaryResponseBody build() { return new DescribeWebLockFileTypeSummaryResponseBody(this); } } /** * * {@link DescribeWebLockFileTypeSummaryResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockFileTypeSummaryResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Type") private String type; private List(Builder builder) { this.count = builder.count; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Integer count; private String type; private Builder() { } private Builder(List model) { this.count = model.count; this.type = model.type; } /** * <p>The number of attempts.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The type of the protected file. Valid values:</p> * <ul> * <li><strong>php</strong>: PHP file</li> * <li><strong>jsp</strong>: JSP file</li> * <li><strong>asp</strong>: ASP file</li> * <li><strong>aspx</strong>: ASPX file</li> * <li><strong>js</strong>: JS file</li> * <li><strong>cgi</strong>: CGI file</li> * <li><strong>html</strong>: HTML file</li> * <li><strong>htm</strong>: HTM file</li> * <li><strong>xml</strong>: XML file</li> * <li><strong>shtml</strong>: SHTML file</li> * <li><strong>shtm</strong>: SHTM file</li> * <li><strong>jpg</strong>: JPG file</li> * <li><strong>gif</strong>: GIF file</li> * <li><strong>png</strong>: PNG file</li> * </ul> * * <strong>example:</strong> * <p>jsp</p> */ public Builder type(String type) { this.type = type; return this; } public List build() { return new List(this); } } } }