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/ListOperationProcessResponse.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 ListOperationProcessResponse} extends {@link TeaModel} * * <p>ListOperationProcessResponse</p> */ public class ListOperationProcessResponse 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 ListOperationProcessResponseBody body; private ListOperationProcessResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOperationProcessResponse 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 ListOperationProcessResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOperationProcessResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOperationProcessResponseBody body); @Override ListOperationProcessResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOperationProcessResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOperationProcessResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOperationProcessResponse 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(ListOperationProcessResponseBody body) { this.body = body; return this; } @Override public ListOperationProcessResponse build() { return new ListOperationProcessResponse(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/ListOperationProcessResponseBody.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 ListOperationProcessResponseBody} extends {@link TeaModel} * * <p>ListOperationProcessResponseBody</p> */ public class ListOperationProcessResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("Processes") private java.util.List<Processes> processes; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListOperationProcessResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.processes = builder.processes; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListOperationProcessResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return processes */ public java.util.List<Processes> getProcesses() { return this.processes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<Processes> processes; private String requestId; private Builder() { } private Builder(ListOperationProcessResponseBody model) { this.pageInfo = model.pageInfo; this.processes = model.processes; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The information about the operation tasks.</p> */ public Builder processes(java.util.List<Processes> processes) { this.processes = processes; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListOperationProcessResponseBody build() { return new ListOperationProcessResponseBody(this); } } /** * * {@link ListOperationProcessResponseBody} extends {@link TeaModel} * * <p>ListOperationProcessResponseBody</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>4</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries.</p> * * <strong>example:</strong> * <p>263</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link ListOperationProcessResponseBody} extends {@link TeaModel} * * <p>ListOperationProcessResponseBody</p> */ public static class Processes extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("DetailTaskReadyCount") private Integer detailTaskReadyCount; @com.aliyun.core.annotation.NameInMap("DetailTaskTotalCount") private Integer detailTaskTotalCount; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("FinishCount") private Integer finishCount; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("StatusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskSource") private String taskSource; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Processes(Builder builder) { this.createTime = builder.createTime; this.detailTaskReadyCount = builder.detailTaskReadyCount; this.detailTaskTotalCount = builder.detailTaskTotalCount; this.endTime = builder.endTime; this.finishCount = builder.finishCount; this.startTime = builder.startTime; this.statusCode = builder.statusCode; this.taskId = builder.taskId; this.taskSource = builder.taskSource; this.taskType = builder.taskType; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Processes create() { return builder().build(); } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return detailTaskReadyCount */ public Integer getDetailTaskReadyCount() { return this.detailTaskReadyCount; } /** * @return detailTaskTotalCount */ public Integer getDetailTaskTotalCount() { return this.detailTaskTotalCount; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return finishCount */ public Integer getFinishCount() { return this.finishCount; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskSource */ public String getTaskSource() { return this.taskSource; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Long createTime; private Integer detailTaskReadyCount; private Integer detailTaskTotalCount; private Long endTime; private Integer finishCount; private Long startTime; private Integer statusCode; private String taskId; private String taskSource; private String taskType; private Integer totalCount; private Builder() { } private Builder(Processes model) { this.createTime = model.createTime; this.detailTaskReadyCount = model.detailTaskReadyCount; this.detailTaskTotalCount = model.detailTaskTotalCount; this.endTime = model.endTime; this.finishCount = model.finishCount; this.startTime = model.startTime; this.statusCode = model.statusCode; this.taskId = model.taskId; this.taskSource = model.taskSource; this.taskType = model.taskType; this.totalCount = model.totalCount; } /** * <p>The time when the task was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1674388824000</p> */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * DetailTaskReadyCount. */ public Builder detailTaskReadyCount(Integer detailTaskReadyCount) { this.detailTaskReadyCount = detailTaskReadyCount; return this; } /** * DetailTaskTotalCount. */ public Builder detailTaskTotalCount(Integer detailTaskTotalCount) { this.detailTaskTotalCount = detailTaskTotalCount; return this; } /** * <p>The end time of the task. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1705467559000</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>The number of tasks that are complete.</p> * * <strong>example:</strong> * <p>197</p> */ public Builder finishCount(Integer finishCount) { this.finishCount = finishCount; return this; } /** * <p>The start time of the task. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1705457102000</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The task status code. Valid values:</p> * <ul> * <li>0: not started.</li> * <li>1: running.</li> * <li>2: complete.</li> * <li>3: times out.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * <p>The ID of the operation task.</p> * * <strong>example:</strong> * <p>3d7a1b68-599f-4e16-9b45-e920a183b***</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * TaskSource. */ public Builder taskSource(String taskSource) { this.taskSource = taskSource; return this; } /** * <p>The task type. Valid values:</p> * <ul> * <li>CHECK_ALL: full check.</li> * <li>CHECK_POLICY: policy-based check for which check items are configured.</li> * <li>CHECK_SCHEDULE: scheduled check.</li> * <li>CHECK_ITEM: specific check item-based check.</li> * <li>CHECK_INSTANCE: specific check item-based check on specific instances.</li> * </ul> * * <strong>example:</strong> * <p>CHECK_POLICY</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>337</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Processes build() { return new Processes(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/ListOperationTaskRequest.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 ListOperationTaskRequest} extends {@link RequestModel} * * <p>ListOperationTaskRequest</p> */ public class ListOperationTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CheckId") private Long checkId; @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("OperationTaskInstances") private java.util.List<OperationTaskInstances> operationTaskInstances; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Statuses") private java.util.List<String> statuses; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private ListOperationTaskRequest(Builder builder) { super(builder); this.checkId = builder.checkId; this.currentPage = builder.currentPage; this.lang = builder.lang; this.operationTaskInstances = builder.operationTaskInstances; this.pageSize = builder.pageSize; this.statuses = builder.statuses; this.taskId = builder.taskId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static ListOperationTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return checkId */ public Long getCheckId() { return this.checkId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return operationTaskInstances */ public java.util.List<OperationTaskInstances> getOperationTaskInstances() { return this.operationTaskInstances; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return statuses */ public java.util.List<String> getStatuses() { return this.statuses; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<ListOperationTaskRequest, Builder> { private Long checkId; private Integer currentPage; private String lang; private java.util.List<OperationTaskInstances> operationTaskInstances; private Integer pageSize; private java.util.List<String> statuses; private String taskId; private String type; private Builder() { super(); } private Builder(ListOperationTaskRequest request) { super(request); this.checkId = request.checkId; this.currentPage = request.currentPage; this.lang = request.lang; this.operationTaskInstances = request.operationTaskInstances; this.pageSize = request.pageSize; this.statuses = request.statuses; this.taskId = request.taskId; this.type = request.type; } /** * <p>The ID of the check item.</p> * <blockquote> * <p>You can call the <a href="~~ListCheckResult~~">ListCheckResult</a> API to obtain the check item ID.</p> * </blockquote> * * <strong>example:</strong> * <p>76</p> */ public Builder checkId(Long checkId) { this.putQueryParameter("CheckId", checkId); this.checkId = checkId; return this; } /** * <p>The page number to display in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Set the language type for the request and response messages. The default value is <strong>zh</strong>. Values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The instance information of the operation tasks to be queried.</p> */ public Builder operationTaskInstances(java.util.List<OperationTaskInstances> operationTaskInstances) { this.putQueryParameter("OperationTaskInstances", operationTaskInstances); this.operationTaskInstances = operationTaskInstances; return this; } /** * <p>The maximum number of items to display per page in a paginated query.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>A list of task statuses. Multiple statuses should be separated by commas (,). Values:</p> * <ul> * <li><strong>INIT</strong>: Initialization</li> * <li><strong>FAIL</strong>: Processing failed</li> * <li><strong>THROTTLING</strong>: Repairing concurrently</li> * <li><strong>IN_BACKUP</strong>: Backing up</li> * <li><strong>BACKED_UP</strong>: Backed up</li> * <li><strong>BACKUP_FAIL</strong>: Backup failed</li> * <li><strong>REPAIRING</strong>: Repairing</li> * <li><strong>REPAIR_SUCCESS</strong>: Repair succeeded</li> * <li><strong>REPAIR_FAIL</strong>: Repair failed</li> * <li><strong>REPAIR_SUCCESS_VERIFYING</strong>: Verifying repair success</li> * <li><strong>REPAIR_SUCCESS_UNVERIFIED</strong>: Repair success verification failed</li> * <li><strong>REPAIR_SUCCESS_VERIFIED</strong>: Repair success verified</li> * <li><strong>REPAIR_RE_EXECUTE</strong>: Re-executing repair</li> * <li><strong>ROLL_BACKING</strong>: Rolling back</li> * <li><strong>ROLL_BACKED</strong>: Rolled back</li> * <li><strong>ROLL_BACK_FAIL</strong>: Rollback failed</li> * <li><strong>ROLL_BACK_INIT</strong>: Rollback initiated</li> * <li><strong>ROLL_BACK_VERIFYING</strong>: Verifying rollback success</li> * <li><strong>ROLL_BACK_UNVERIFIED</strong>: Rollback success verification failed</li> * <li><strong>ROLL_BACK_VERIFIED</strong>: Rollback success verified</li> * </ul> */ public Builder statuses(java.util.List<String> statuses) { this.putQueryParameter("Statuses", statuses); this.statuses = statuses; return this; } /** * <p>The ID of the task to be queried.</p> * * <strong>example:</strong> * <p>d7b2acf8d362742123e4a84e1bf8****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The type of operation task to be queried:</p> * <ul> * <li>REPAIR: Repair</li> * <li>ROLLBACK: Rollback</li> * </ul> * * <strong>example:</strong> * <p>REPAIR</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public ListOperationTaskRequest build() { return new ListOperationTaskRequest(this); } } /** * * {@link ListOperationTaskRequest} extends {@link TeaModel} * * <p>ListOperationTaskRequest</p> */ public static class OperationTaskInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Vendor") private String vendor; private OperationTaskInstances(Builder builder) { this.instanceId = builder.instanceId; this.regionId = builder.regionId; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static OperationTaskInstances create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vendor */ public String getVendor() { return this.vendor; } public static final class Builder { private String instanceId; private String regionId; private String vendor; private Builder() { } private Builder(OperationTaskInstances model) { this.instanceId = model.instanceId; this.regionId = model.regionId; this.vendor = model.vendor; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>am-bp1vy2yaj1nvx****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The ID of the region where the instance is located.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>Cloud asset vendor.</p> * * <strong>example:</strong> * <p>ALIYUN</p> */ public Builder vendor(String vendor) { this.vendor = vendor; return this; } public OperationTaskInstances build() { return new OperationTaskInstances(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/ListOperationTaskResponse.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 ListOperationTaskResponse} extends {@link TeaModel} * * <p>ListOperationTaskResponse</p> */ public class ListOperationTaskResponse 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 ListOperationTaskResponseBody body; private ListOperationTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOperationTaskResponse 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 ListOperationTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOperationTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOperationTaskResponseBody body); @Override ListOperationTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOperationTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOperationTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOperationTaskResponse 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(ListOperationTaskResponseBody body) { this.body = body; return this; } @Override public ListOperationTaskResponse build() { return new ListOperationTaskResponse(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/ListOperationTaskResponseBody.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 ListOperationTaskResponseBody} extends {@link TeaModel} * * <p>ListOperationTaskResponseBody</p> */ public class ListOperationTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("OperationTasks") private java.util.List<OperationTasks> operationTasks; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListOperationTaskResponseBody(Builder builder) { this.operationTasks = builder.operationTasks; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListOperationTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return operationTasks */ public java.util.List<OperationTasks> getOperationTasks() { return this.operationTasks; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<OperationTasks> operationTasks; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListOperationTaskResponseBody model) { this.operationTasks = model.operationTasks; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>Detailed instance information list of operation tasks.</p> */ public Builder operationTasks(java.util.List<OperationTasks> operationTasks) { this.operationTasks = operationTasks; return this; } /** * <p>Page information when performing a paginated query.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the current request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>3956048F-9D73-5EDB-834B-4827BB48****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListOperationTaskResponseBody build() { return new ListOperationTaskResponseBody(this); } } /** * * {@link ListOperationTaskResponseBody} extends {@link TeaModel} * * <p>ListOperationTaskResponseBody</p> */ public static class OperationTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckId") private Long checkId; @com.aliyun.core.annotation.NameInMap("CheckShowName") private String checkShowName; @com.aliyun.core.annotation.NameInMap("DealTime") private Long dealTime; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("ErrorMsg") private String errorMsg; @com.aliyun.core.annotation.NameInMap("InstanceFreed") private Boolean instanceFreed; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("LastCheckTime") private Long lastCheckTime; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RepairSupportType") private Integer repairSupportType; @com.aliyun.core.annotation.NameInMap("RiskLevel") private String riskLevel; @com.aliyun.core.annotation.NameInMap("RootTaskId") private String rootTaskId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("StatusShowName") private String statusShowName; @com.aliyun.core.annotation.NameInMap("SupportRollBack") private Boolean supportRollBack; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("Type") private String type; private OperationTasks(Builder builder) { this.checkId = builder.checkId; this.checkShowName = builder.checkShowName; this.dealTime = builder.dealTime; this.errorCode = builder.errorCode; this.errorMsg = builder.errorMsg; this.instanceFreed = builder.instanceFreed; this.instanceId = builder.instanceId; this.lastCheckTime = builder.lastCheckTime; this.regionId = builder.regionId; this.repairSupportType = builder.repairSupportType; this.riskLevel = builder.riskLevel; this.rootTaskId = builder.rootTaskId; this.status = builder.status; this.statusShowName = builder.statusShowName; this.supportRollBack = builder.supportRollBack; this.taskId = builder.taskId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static OperationTasks create() { return builder().build(); } /** * @return checkId */ public Long getCheckId() { return this.checkId; } /** * @return checkShowName */ public String getCheckShowName() { return this.checkShowName; } /** * @return dealTime */ public Long getDealTime() { return this.dealTime; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return errorMsg */ public String getErrorMsg() { return this.errorMsg; } /** * @return instanceFreed */ public Boolean getInstanceFreed() { return this.instanceFreed; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return lastCheckTime */ public Long getLastCheckTime() { return this.lastCheckTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return repairSupportType */ public Integer getRepairSupportType() { return this.repairSupportType; } /** * @return riskLevel */ public String getRiskLevel() { return this.riskLevel; } /** * @return rootTaskId */ public String getRootTaskId() { return this.rootTaskId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return statusShowName */ public String getStatusShowName() { return this.statusShowName; } /** * @return supportRollBack */ public Boolean getSupportRollBack() { return this.supportRollBack; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Long checkId; private String checkShowName; private Long dealTime; private String errorCode; private String errorMsg; private Boolean instanceFreed; private String instanceId; private Long lastCheckTime; private String regionId; private Integer repairSupportType; private String riskLevel; private String rootTaskId; private String status; private String statusShowName; private Boolean supportRollBack; private String taskId; private String type; private Builder() { } private Builder(OperationTasks model) { this.checkId = model.checkId; this.checkShowName = model.checkShowName; this.dealTime = model.dealTime; this.errorCode = model.errorCode; this.errorMsg = model.errorMsg; this.instanceFreed = model.instanceFreed; this.instanceId = model.instanceId; this.lastCheckTime = model.lastCheckTime; this.regionId = model.regionId; this.repairSupportType = model.repairSupportType; this.riskLevel = model.riskLevel; this.rootTaskId = model.rootTaskId; this.status = model.status; this.statusShowName = model.statusShowName; this.supportRollBack = model.supportRollBack; this.taskId = model.taskId; this.type = model.type; } /** * <p>The ID of the check item.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder checkId(Long checkId) { this.checkId = checkId; return this; } /** * <p>The name of the check item.</p> * * <strong>example:</strong> * <p>checkShowName</p> */ public Builder checkShowName(String checkShowName) { this.checkShowName = checkShowName; return this; } /** * <p>The processing time of the task.</p> * * <strong>example:</strong> * <p>1723173101010</p> */ public Builder dealTime(Long dealTime) { this.dealTime = dealTime; return this; } /** * <p>The error code.</p> * * <strong>example:</strong> * <p>BackUpScriptError</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The error message.</p> * * <strong>example:</strong> * <p>backUp script error</p> */ public Builder errorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } /** * <p>Whether the instance is released:</p> * <ul> * <li>true: Released</li> * <li>false: Not released</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder instanceFreed(Boolean instanceFreed) { this.instanceFreed = instanceFreed; return this; } /** * <p>The ID of the server instance.</p> * * <strong>example:</strong> * <p>i-wz9abo6wgjmh4yep****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The timestamp of the latest check, in milliseconds.</p> * * <strong>example:</strong> * <p>1723173101000</p> */ public Builder lastCheckTime(Long lastCheckTime) { this.lastCheckTime = lastCheckTime; return this; } /** * <p>The ID of the region where the server is located.</p> * * <strong>example:</strong> * <p>cn-shenzhen</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The type of repair supported by the check item:</p> * <ul> * <li><strong>1</strong>:Supports repair and rollback operations</li> * <li><strong>2</strong>:Supports repair but not rollback</li> * <li><strong>3</strong>:Redirect to a third-party platform for operation</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder repairSupportType(Integer repairSupportType) { this.repairSupportType = repairSupportType; return this; } /** * <p>The risk level of the detected alert. Values:</p> * <ul> * <li><strong>high</strong>: High risk.</li> * <li><strong>medium</strong>: Medium risk. </li> * <li><strong>low</strong>: Low risk.</li> * </ul> * * <strong>example:</strong> * <p>high</p> */ public Builder riskLevel(String riskLevel) { this.riskLevel = riskLevel; return this; } /** * <p>The ID of the main task.</p> * * <strong>example:</strong> * <p>01db51b0e5307bb703a22611c86f****</p> */ public Builder rootTaskId(String rootTaskId) { this.rootTaskId = rootTaskId; return this; } /** * <p>The status of the task. Possible values:</p> * <ul> * <li><strong>INIT</strong>:Initialization</li> * <li><strong>FAIL</strong>:Processing failed</li> * <li><strong>THROTTLING</strong>:Repairing concurrently</li> * <li><strong>IN_BACKUP</strong>:Backing up</li> * <li><strong>BACKED_UP</strong>:Backed up</li> * <li><strong>BACKUP_FAIL</strong>:Backup failed</li> * <li><strong>REPAIRING</strong>:Repairing</li> * <li><strong>REPAIR_SUCCESS</strong>:Repair succeeded</li> * <li><strong>REPAIR_FAIL</strong>:Repair failed</li> * <li><strong>REPAIR_SUCCESS_VERIFYING</strong>:Verifying repair success</li> * <li><strong>REPAIR_SUCCESS_UNVERIFIED</strong>:Verification of repair success failed</li> * <li><strong>REPAIR_SUCCESS_VERIFIED</strong>:Verification of repair success succeeded</li> * <li><strong>REPAIR_RE_EXECUTE</strong>:Re-executing repair</li> * <li><strong>ROLL_BACKING</strong>:Rolling back</li> * <li><strong>ROLL_BACKED</strong>:Rolled back</li> * <li><strong>ROLL_BACK_FAIL</strong>:Rollback failed</li> * <li><strong>ROLL_BACK_INIT</strong>:Initiating rollback</li> * <li><strong>ROLL_BACK_VERIFYING</strong>:Verifying rollback success</li> * <li><strong>ROLL_BACK_UNVERIFIED</strong>:Verification of rollback success failed</li> * <li><strong>ROLL_BACK_VERIFIED</strong>:Verification of rollback success succeeded</li> * </ul> * * <strong>example:</strong> * <p>REPAIRING</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The display status of the repair task.</p> * * <strong>example:</strong> * <p>Verified After Repair Success</p> */ public Builder statusShowName(String statusShowName) { this.statusShowName = statusShowName; return this; } /** * <p>Whether rollback is supported:</p> * <ul> * <li>true: Supported</li> * <li>false: Not supported</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder supportRollBack(Boolean supportRollBack) { this.supportRollBack = supportRollBack; return this; } /** * <p>The ID of the operation task.</p> * * <strong>example:</strong> * <p>5bb1a313f9924b728b3c12e007c1****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The type of the operation task being queried:</p> * <ul> * <li>REPAIR: Repair</li> * <li>ROLLBACK: Rollback</li> * </ul> * * <strong>example:</strong> * <p>REPAIR</p> */ public Builder type(String type) { this.type = type; return this; } public OperationTasks build() { return new OperationTasks(this); } } } /** * * {@link ListOperationTaskResponseBody} extends {@link TeaModel} * * <p>ListOperationTaskResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the current page in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The maximum number of items to display per page in a paginated query.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of records in the query result.</p> * * <strong>example:</strong> * <p>149</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListOssBucketRequest.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 ListOssBucketRequest} extends {@link RequestModel} * * <p>ListOssBucketRequest</p> */ public class ListOssBucketRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BucketName") private String bucketName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private ListOssBucketRequest(Builder builder) { super(builder); this.bucketName = builder.bucketName; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static ListOssBucketRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bucketName */ public String getBucketName() { return this.bucketName; } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<ListOssBucketRequest, Builder> { private String bucketName; private String lang; private Builder() { super(); } private Builder(ListOssBucketRequest request) { super(request); this.bucketName = request.bucketName; this.lang = request.lang; } /** * <p>The name of the bucket.</p> * * <strong>example:</strong> * <p>iboxpublic****</p> */ public Builder bucketName(String bucketName) { this.putQueryParameter("BucketName", bucketName); this.bucketName = bucketName; return this; } /** * <p>The language of the content in 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>en</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public ListOssBucketRequest build() { return new ListOssBucketRequest(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/ListOssBucketResponse.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 ListOssBucketResponse} extends {@link TeaModel} * * <p>ListOssBucketResponse</p> */ public class ListOssBucketResponse 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 ListOssBucketResponseBody body; private ListOssBucketResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOssBucketResponse 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 ListOssBucketResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOssBucketResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOssBucketResponseBody body); @Override ListOssBucketResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOssBucketResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOssBucketResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOssBucketResponse 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(ListOssBucketResponseBody body) { this.body = body; return this; } @Override public ListOssBucketResponse build() { return new ListOssBucketResponse(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/ListOssBucketResponseBody.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 ListOssBucketResponseBody} extends {@link TeaModel} * * <p>ListOssBucketResponseBody</p> */ public class ListOssBucketResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListOssBucketResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListOssBucketResponseBody 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; } public static final class Builder { private java.util.List<Data> data; private String requestId; private Builder() { } private Builder(ListOssBucketResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The data returned.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3956048F-9D73-5EDB-834B-4827BB48****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListOssBucketResponseBody build() { return new ListOssBucketResponseBody(this); } } /** * * {@link ListOssBucketResponseBody} extends {@link TeaModel} * * <p>ListOssBucketResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("BucketName") private String bucketName; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("StorageClass") private String storageClass; @com.aliyun.core.annotation.NameInMap("Support") private Boolean support; @com.aliyun.core.annotation.NameInMap("SupportConfig") private String supportConfig; private Data(Builder builder) { this.bucketName = builder.bucketName; this.message = builder.message; this.regionId = builder.regionId; this.storageClass = builder.storageClass; this.support = builder.support; this.supportConfig = builder.supportConfig; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return bucketName */ public String getBucketName() { return this.bucketName; } /** * @return message */ public String getMessage() { return this.message; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return storageClass */ public String getStorageClass() { return this.storageClass; } /** * @return support */ public Boolean getSupport() { return this.support; } /** * @return supportConfig */ public String getSupportConfig() { return this.supportConfig; } public static final class Builder { private String bucketName; private String message; private String regionId; private String storageClass; private Boolean support; private String supportConfig; private Builder() { } private Builder(Data model) { this.bucketName = model.bucketName; this.message = model.message; this.regionId = model.regionId; this.storageClass = model.storageClass; this.support = model.support; this.supportConfig = model.supportConfig; } /** * <p>The name of the bucket.</p> * * <strong>example:</strong> * <p>iboxpublic****</p> */ public Builder bucketName(String bucketName) { this.bucketName = bucketName; return this; } /** * <p>The reason why the bucket cannot be checked.</p> * * <strong>example:</strong> * <p>Unsupported Region.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The storage class of the bucket. Valid values:</p> * <ul> * <li>Standard (default)</li> * <li>IA</li> * <li>Archive</li> * <li>ColdArchive</li> * </ul> * * <strong>example:</strong> * <p>Standard</p> */ public Builder storageClass(String storageClass) { this.storageClass = storageClass; return this; } /** * <p>Indicates whether the bucket can be checked. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder support(Boolean support) { this.support = support; return this; } /** * <p>Whether to support config. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder supportConfig(String supportConfig) { this.supportConfig = supportConfig; 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/ListOssBucketScanInfoRequest.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 ListOssBucketScanInfoRequest} extends {@link RequestModel} * * <p>ListOssBucketScanInfoRequest</p> */ public class ListOssBucketScanInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BucketName") private String bucketName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FuzzBucketName") private String fuzzBucketName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HasRisk") private Integer hasRisk; @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") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private ListOssBucketScanInfoRequest(Builder builder) { super(builder); this.bucketName = builder.bucketName; this.currentPage = builder.currentPage; this.fuzzBucketName = builder.fuzzBucketName; this.hasRisk = builder.hasRisk; this.lang = builder.lang; this.pageSize = builder.pageSize; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ListOssBucketScanInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bucketName */ public String getBucketName() { return this.bucketName; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return fuzzBucketName */ public String getFuzzBucketName() { return this.fuzzBucketName; } /** * @return hasRisk */ public Integer getHasRisk() { return this.hasRisk; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder extends Request.Builder<ListOssBucketScanInfoRequest, Builder> { private String bucketName; private Integer currentPage; private String fuzzBucketName; private Integer hasRisk; private String lang; private Integer pageSize; private Integer status; private Builder() { super(); } private Builder(ListOssBucketScanInfoRequest request) { super(request); this.bucketName = request.bucketName; this.currentPage = request.currentPage; this.fuzzBucketName = request.fuzzBucketName; this.hasRisk = request.hasRisk; this.lang = request.lang; this.pageSize = request.pageSize; this.status = request.status; } /** * <p>The name of the bucket.</p> * * <strong>example:</strong> * <p>iboxpublic****</p> */ public Builder bucketName(String bucketName) { this.putQueryParameter("BucketName", bucketName); this.bucketName = bucketName; return this; } /** * <p>The page number.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The name of the bucket that is used for fuzzy match.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder fuzzBucketName(String fuzzBucketName) { this.putQueryParameter("FuzzBucketName", fuzzBucketName); this.fuzzBucketName = fuzzBucketName; return this; } /** * <p>Specifies whether at-risk objects are detected. Valid values:</p> * <ul> * <li><strong>0</strong>: No at-risk objects are detected.</li> * <li><strong>1</strong>: At-risk objects are detected.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder hasRisk(Integer hasRisk) { this.putQueryParameter("HasRisk", hasRisk); this.hasRisk = hasRisk; return this; } /** * <p>The language of the content in 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 per page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The check status of the bucket. Valid values:</p> * <ul> * <li><strong>1</strong>: The bucket is not checked.</li> * <li><strong>2</strong>: All objects in the bucket are being checked.</li> * <li><strong>3</strong>: Only new objects in the bucket are being checked.</li> * <li><strong>4</strong>: The bucket is checked.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public ListOssBucketScanInfoRequest build() { return new ListOssBucketScanInfoRequest(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/ListOssBucketScanInfoResponse.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 ListOssBucketScanInfoResponse} extends {@link TeaModel} * * <p>ListOssBucketScanInfoResponse</p> */ public class ListOssBucketScanInfoResponse 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 ListOssBucketScanInfoResponseBody body; private ListOssBucketScanInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOssBucketScanInfoResponse 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 ListOssBucketScanInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOssBucketScanInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOssBucketScanInfoResponseBody body); @Override ListOssBucketScanInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOssBucketScanInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOssBucketScanInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOssBucketScanInfoResponse 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(ListOssBucketScanInfoResponseBody body) { this.body = body; return this; } @Override public ListOssBucketScanInfoResponse build() { return new ListOssBucketScanInfoResponse(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/ListOssBucketScanInfoResponseBody.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 ListOssBucketScanInfoResponseBody} extends {@link TeaModel} * * <p>ListOssBucketScanInfoResponseBody</p> */ public class ListOssBucketScanInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListOssBucketScanInfoResponseBody(Builder builder) { this.data = builder.data; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListOssBucketScanInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListOssBucketScanInfoResponseBody model) { this.data = model.data; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The data returned.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The page information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6C578F36-92D2-552C-8AA0-86EB1AC2****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListOssBucketScanInfoResponseBody build() { return new ListOssBucketScanInfoResponseBody(this); } } /** * * {@link ListOssBucketScanInfoResponseBody} extends {@link TeaModel} * * <p>ListOssBucketScanInfoResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("BucketName") private String bucketName; @com.aliyun.core.annotation.NameInMap("ConfigStatus") private Integer configStatus; @com.aliyun.core.annotation.NameInMap("DecompressStatus") private Integer decompressStatus; @com.aliyun.core.annotation.NameInMap("HighRisk") private Long highRisk; @com.aliyun.core.annotation.NameInMap("LastScanEndTime") private Long lastScanEndTime; @com.aliyun.core.annotation.NameInMap("LastScanTime") private Long lastScanTime; @com.aliyun.core.annotation.NameInMap("LowRisk") private Long lowRisk; @com.aliyun.core.annotation.NameInMap("MediumRisk") private Long mediumRisk; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ScanObject") private Long scanObject; @com.aliyun.core.annotation.NameInMap("Scanned") private Boolean scanned; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("StorageClass") private String storageClass; @com.aliyun.core.annotation.NameInMap("Support") private Boolean support; @com.aliyun.core.annotation.NameInMap("TotalObject") private Long totalObject; private Data(Builder builder) { this.bucketName = builder.bucketName; this.configStatus = builder.configStatus; this.decompressStatus = builder.decompressStatus; this.highRisk = builder.highRisk; this.lastScanEndTime = builder.lastScanEndTime; this.lastScanTime = builder.lastScanTime; this.lowRisk = builder.lowRisk; this.mediumRisk = builder.mediumRisk; this.message = builder.message; this.regionId = builder.regionId; this.scanObject = builder.scanObject; this.scanned = builder.scanned; this.status = builder.status; this.storageClass = builder.storageClass; this.support = builder.support; this.totalObject = builder.totalObject; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return bucketName */ public String getBucketName() { return this.bucketName; } /** * @return configStatus */ public Integer getConfigStatus() { return this.configStatus; } /** * @return decompressStatus */ public Integer getDecompressStatus() { return this.decompressStatus; } /** * @return highRisk */ public Long getHighRisk() { return this.highRisk; } /** * @return lastScanEndTime */ public Long getLastScanEndTime() { return this.lastScanEndTime; } /** * @return lastScanTime */ public Long getLastScanTime() { return this.lastScanTime; } /** * @return lowRisk */ public Long getLowRisk() { return this.lowRisk; } /** * @return mediumRisk */ public Long getMediumRisk() { return this.mediumRisk; } /** * @return message */ public String getMessage() { return this.message; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return scanObject */ public Long getScanObject() { return this.scanObject; } /** * @return scanned */ public Boolean getScanned() { return this.scanned; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return storageClass */ public String getStorageClass() { return this.storageClass; } /** * @return support */ public Boolean getSupport() { return this.support; } /** * @return totalObject */ public Long getTotalObject() { return this.totalObject; } public static final class Builder { private String bucketName; private Integer configStatus; private Integer decompressStatus; private Long highRisk; private Long lastScanEndTime; private Long lastScanTime; private Long lowRisk; private Long mediumRisk; private String message; private String regionId; private Long scanObject; private Boolean scanned; private Integer status; private String storageClass; private Boolean support; private Long totalObject; private Builder() { } private Builder(Data model) { this.bucketName = model.bucketName; this.configStatus = model.configStatus; this.decompressStatus = model.decompressStatus; this.highRisk = model.highRisk; this.lastScanEndTime = model.lastScanEndTime; this.lastScanTime = model.lastScanTime; this.lowRisk = model.lowRisk; this.mediumRisk = model.mediumRisk; this.message = model.message; this.regionId = model.regionId; this.scanObject = model.scanObject; this.scanned = model.scanned; this.status = model.status; this.storageClass = model.storageClass; this.support = model.support; this.totalObject = model.totalObject; } /** * <p>The name of the bucket.</p> * * <strong>example:</strong> * <p>hz-new02****</p> */ public Builder bucketName(String bucketName) { this.bucketName = bucketName; return this; } /** * <p>Configuration status, valid values:</p> * <ul> * <li><strong>0</strong>: No Configuration.</li> * <li><strong>1</strong>: Not Open.</li> * <li><strong>2</strong>: Open.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder configStatus(Integer configStatus) { this.configStatus = configStatus; return this; } /** * <p>Bucket decompression configuration status, valid values:</p> * <ul> * <li><strong>0</strong>: Decompression not configured.</li> * <li><strong>1</strong>: Decompression configured.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder decompressStatus(Integer decompressStatus) { this.decompressStatus = decompressStatus; return this; } /** * <p>The number of high-risk objects.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder highRisk(Long highRisk) { this.highRisk = highRisk; return this; } /** * <p>The time when the most recent check ended. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1698388233883</p> */ public Builder lastScanEndTime(Long lastScanEndTime) { this.lastScanEndTime = lastScanEndTime; return this; } /** * <p>The time when the bucket was last checked. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1698388233883</p> */ public Builder lastScanTime(Long lastScanTime) { this.lastScanTime = lastScanTime; return this; } /** * <p>The number of low-risk objects.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder lowRisk(Long lowRisk) { this.lowRisk = lowRisk; return this; } /** * <p>The number of medium-risk objects.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder mediumRisk(Long mediumRisk) { this.mediumRisk = mediumRisk; return this; } /** * <p>The reason why the bucket cannot be checked.</p> * * <strong>example:</strong> * <p>Unsupported Region.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The number of objects that are checked.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder scanObject(Long scanObject) { this.scanObject = scanObject; return this; } /** * <p>Indicates whether the bucket is checked. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder scanned(Boolean scanned) { this.scanned = scanned; return this; } /** * <p>The check status of the bucket. Valid values:</p> * <ul> * <li><strong>1</strong>: The bucket is not checked.</li> * <li><strong>2</strong>: All objects in the bucket are being checked.</li> * <li><strong>3</strong>: Only new objects are being checked.</li> * <li><strong>4</strong>: The bucket is checked.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The storage class of the bucket. Valid values:</p> * <ul> * <li><strong>Standard</strong></li> * <li><strong>IA</strong></li> * <li><strong>Archive</strong></li> * <li><strong>ColdArchive</strong></li> * </ul> * * <strong>example:</strong> * <p>Archive</p> */ public Builder storageClass(String storageClass) { this.storageClass = storageClass; return this; } /** * <p>Indicates whether the bucket can be checked. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder support(Boolean support) { this.support = support; return this; } /** * <p>The total number of objects in the bucket.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalObject(Long totalObject) { this.totalObject = totalObject; return this; } public Data build() { return new Data(this); } } } /** * * {@link ListOssBucketScanInfoResponseBody} extends {@link TeaModel} * * <p>ListOssBucketScanInfoResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>165</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListOssScanConfigRequest.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 ListOssScanConfigRequest} extends {@link RequestModel} * * <p>ListOssScanConfigRequest</p> */ public class ListOssScanConfigRequest 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("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private ListOssScanConfigRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.name = builder.name; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListOssScanConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return name */ public String getName() { return this.name; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<ListOssScanConfigRequest, Builder> { private Integer currentPage; private String name; private Integer pageSize; private Builder() { super(); } private Builder(ListOssScanConfigRequest request) { super(request); this.currentPage = request.currentPage; this.name = request.name; this.pageSize = request.pageSize; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The policy name.</p> * * <strong>example:</strong> * <p>testName</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public ListOssScanConfigRequest build() { return new ListOssScanConfigRequest(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/ListOssScanConfigResponse.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 ListOssScanConfigResponse} extends {@link TeaModel} * * <p>ListOssScanConfigResponse</p> */ public class ListOssScanConfigResponse 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 ListOssScanConfigResponseBody body; private ListOssScanConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListOssScanConfigResponse 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 ListOssScanConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListOssScanConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListOssScanConfigResponseBody body); @Override ListOssScanConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListOssScanConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListOssScanConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListOssScanConfigResponse 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(ListOssScanConfigResponseBody body) { this.body = body; return this; } @Override public ListOssScanConfigResponse build() { return new ListOssScanConfigResponse(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/ListOssScanConfigResponseBody.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 ListOssScanConfigResponseBody} extends {@link TeaModel} * * <p>ListOssScanConfigResponseBody</p> */ public class ListOssScanConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListOssScanConfigResponseBody(Builder builder) { this.data = builder.data; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListOssScanConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListOssScanConfigResponseBody model) { this.data = model.data; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The data returned.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E10BAF1C-A6C5-51E2-866C-76D5922E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListOssScanConfigResponseBody build() { return new ListOssScanConfigResponseBody(this); } } /** * * {@link ListOssScanConfigResponseBody} extends {@link TeaModel} * * <p>ListOssScanConfigResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AllKeyPrefix") private Boolean allKeyPrefix; @com.aliyun.core.annotation.NameInMap("BucketCount") private Integer bucketCount; @com.aliyun.core.annotation.NameInMap("BucketNameList") private java.util.List<String> bucketNameList; @com.aliyun.core.annotation.NameInMap("DecompressMaxFileCount") private Integer decompressMaxFileCount; @com.aliyun.core.annotation.NameInMap("DecompressMaxLayer") private Integer decompressMaxLayer; @com.aliyun.core.annotation.NameInMap("DecryptionList") private java.util.List<String> decryptionList; @com.aliyun.core.annotation.NameInMap("Enable") private Integer enable; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("KeyPrefixList") private java.util.List<String> keyPrefixList; @com.aliyun.core.annotation.NameInMap("KeySuffixList") private java.util.List<String> keySuffixList; @com.aliyun.core.annotation.NameInMap("LastModifiedStartTime") private Long lastModifiedStartTime; @com.aliyun.core.annotation.NameInMap("LastUpdateTime") private Long lastUpdateTime; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RealTimeIncr") private Boolean realTimeIncr; @com.aliyun.core.annotation.NameInMap("ScanDayList") private java.util.List<Integer> scanDayList; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private Data(Builder builder) { this.allKeyPrefix = builder.allKeyPrefix; this.bucketCount = builder.bucketCount; this.bucketNameList = builder.bucketNameList; this.decompressMaxFileCount = builder.decompressMaxFileCount; this.decompressMaxLayer = builder.decompressMaxLayer; this.decryptionList = builder.decryptionList; this.enable = builder.enable; this.endTime = builder.endTime; this.id = builder.id; this.keyPrefixList = builder.keyPrefixList; this.keySuffixList = builder.keySuffixList; this.lastModifiedStartTime = builder.lastModifiedStartTime; this.lastUpdateTime = builder.lastUpdateTime; this.name = builder.name; this.realTimeIncr = builder.realTimeIncr; this.scanDayList = builder.scanDayList; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return allKeyPrefix */ public Boolean getAllKeyPrefix() { return this.allKeyPrefix; } /** * @return bucketCount */ public Integer getBucketCount() { return this.bucketCount; } /** * @return bucketNameList */ public java.util.List<String> getBucketNameList() { return this.bucketNameList; } /** * @return decompressMaxFileCount */ public Integer getDecompressMaxFileCount() { return this.decompressMaxFileCount; } /** * @return decompressMaxLayer */ public Integer getDecompressMaxLayer() { return this.decompressMaxLayer; } /** * @return decryptionList */ public java.util.List<String> getDecryptionList() { return this.decryptionList; } /** * @return enable */ public Integer getEnable() { return this.enable; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return id */ public Long getId() { return this.id; } /** * @return keyPrefixList */ public java.util.List<String> getKeyPrefixList() { return this.keyPrefixList; } /** * @return keySuffixList */ public java.util.List<String> getKeySuffixList() { return this.keySuffixList; } /** * @return lastModifiedStartTime */ public Long getLastModifiedStartTime() { return this.lastModifiedStartTime; } /** * @return lastUpdateTime */ public Long getLastUpdateTime() { return this.lastUpdateTime; } /** * @return name */ public String getName() { return this.name; } /** * @return realTimeIncr */ public Boolean getRealTimeIncr() { return this.realTimeIncr; } /** * @return scanDayList */ public java.util.List<Integer> getScanDayList() { return this.scanDayList; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private Boolean allKeyPrefix; private Integer bucketCount; private java.util.List<String> bucketNameList; private Integer decompressMaxFileCount; private Integer decompressMaxLayer; private java.util.List<String> decryptionList; private Integer enable; private String endTime; private Long id; private java.util.List<String> keyPrefixList; private java.util.List<String> keySuffixList; private Long lastModifiedStartTime; private Long lastUpdateTime; private String name; private Boolean realTimeIncr; private java.util.List<Integer> scanDayList; private String startTime; private Builder() { } private Builder(Data model) { this.allKeyPrefix = model.allKeyPrefix; this.bucketCount = model.bucketCount; this.bucketNameList = model.bucketNameList; this.decompressMaxFileCount = model.decompressMaxFileCount; this.decompressMaxLayer = model.decompressMaxLayer; this.decryptionList = model.decryptionList; this.enable = model.enable; this.endTime = model.endTime; this.id = model.id; this.keyPrefixList = model.keyPrefixList; this.keySuffixList = model.keySuffixList; this.lastModifiedStartTime = model.lastModifiedStartTime; this.lastUpdateTime = model.lastUpdateTime; this.name = model.name; this.realTimeIncr = model.realTimeIncr; this.scanDayList = model.scanDayList; this.startTime = model.startTime; } /** * <p>Indicates whether the prefixes of all objects are matched.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder allKeyPrefix(Boolean allKeyPrefix) { this.allKeyPrefix = allKeyPrefix; return this; } /** * <p>The number of buckets.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder bucketCount(Integer bucketCount) { this.bucketCount = bucketCount; return this; } /** * <p>The names of the buckets.</p> */ public Builder bucketNameList(java.util.List<String> bucketNameList) { this.bucketNameList = bucketNameList; return this; } /** * <p>The maximum number of objects that can be extracted during decompression. Valid values: 1 to 1000. If the maximum number of objects that can be extracted is reached, the decompression operation immediately ends and the detection of extracted objects is not affected.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder decompressMaxFileCount(Integer decompressMaxFileCount) { this.decompressMaxFileCount = decompressMaxFileCount; return this; } /** * <p>The maximum number of decompression levels when multi-level packages are decompressed. Valid values: 1 to 5. If the maximum number of decompression levels is reached, the decompression operation immediately ends and the detection of extracted objects is not affected.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder decompressMaxLayer(Integer decompressMaxLayer) { this.decompressMaxLayer = decompressMaxLayer; return this; } /** * <p>The decryption methods.</p> */ public Builder decryptionList(java.util.List<String> decryptionList) { this.decryptionList = decryptionList; return this; } /** * <p>Indicates whether the policy is enabled. 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 enable(Integer enable) { this.enable = enable; return this; } /** * <p>The time when the scan ends. The time is in the HH:mm:ss format.</p> * * <strong>example:</strong> * <p>06:00:00</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The configuration ID.</p> * * <strong>example:</strong> * <p>443496</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The prefixes of the objects that are scanned.</p> */ public Builder keyPrefixList(java.util.List<String> keyPrefixList) { this.keyPrefixList = keyPrefixList; return this; } /** * <p>The suffixes of the objects that are scanned.</p> */ public Builder keySuffixList(java.util.List<String> keySuffixList) { this.keySuffixList = keySuffixList; return this; } /** * <p>The timestamp when the object was last modified. The time must be later than the timestamp that you specify. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1724301769834</p> */ public Builder lastModifiedStartTime(Long lastModifiedStartTime) { this.lastModifiedStartTime = lastModifiedStartTime; return this; } /** * <p>The timestamp when the configuration was last modified.</p> * * <strong>example:</strong> * <p>1698388233883</p> */ public Builder lastUpdateTime(Long lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; return this; } /** * <p>The configuration name.</p> * * <strong>example:</strong> * <p>test****</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>Whether to enable real-time incremental detection. When this parameter is set to true, the parameters ScanDayList, StartTime, and EndTime are not effective.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder realTimeIncr(Boolean realTimeIncr) { this.realTimeIncr = realTimeIncr; return this; } /** * <p>The days on which the scan is executed in a week.</p> */ public Builder scanDayList(java.util.List<Integer> scanDayList) { this.scanDayList = scanDayList; return this; } /** * <p>The time when the scan starts. The time is in the HH:mm:ss format.</p> * * <strong>example:</strong> * <p>00:00:00</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public Data build() { return new Data(this); } } } /** * * {@link ListOssScanConfigResponseBody} extends {@link TeaModel} * * <p>ListOssScanConfigResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListPluginForUuidRequest.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 ListPluginForUuidRequest} extends {@link RequestModel} * * <p>ListPluginForUuidRequest</p> */ public class ListPluginForUuidRequest extends Request { @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") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private ListPluginForUuidRequest(Builder builder) { super(builder); this.types = builder.types; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ListPluginForUuidRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @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<ListPluginForUuidRequest, Builder> { private java.util.List<String> types; private String uuid; private Builder() { super(); } private Builder(ListPluginForUuidRequest request) { super(request); this.types = request.types; this.uuid = request.uuid; } /** * <p>The plug-in types.</p> */ public Builder types(java.util.List<String> types) { String typesShrink = shrink(types, "Types", "simple"); this.putQueryParameter("Types", typesShrink); this.types = types; return this; } /** * <p>The UUID of the server.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>bdb7071f-129d-4ceb-af80-4cf70c4571c6</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public ListPluginForUuidRequest build() { return new ListPluginForUuidRequest(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/ListPluginForUuidResponse.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 ListPluginForUuidResponse} extends {@link TeaModel} * * <p>ListPluginForUuidResponse</p> */ public class ListPluginForUuidResponse 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 ListPluginForUuidResponseBody body; private ListPluginForUuidResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListPluginForUuidResponse 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 ListPluginForUuidResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListPluginForUuidResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListPluginForUuidResponseBody body); @Override ListPluginForUuidResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListPluginForUuidResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListPluginForUuidResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListPluginForUuidResponse 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(ListPluginForUuidResponseBody body) { this.body = body; return this; } @Override public ListPluginForUuidResponse build() { return new ListPluginForUuidResponse(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/ListPluginForUuidResponseBody.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 ListPluginForUuidResponseBody} extends {@link TeaModel} * * <p>ListPluginForUuidResponseBody</p> */ public class ListPluginForUuidResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AegisUuidTargetPluginConfigList") private java.util.List<AegisUuidTargetPluginConfigList> aegisUuidTargetPluginConfigList; @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListPluginForUuidResponseBody(Builder builder) { this.aegisUuidTargetPluginConfigList = builder.aegisUuidTargetPluginConfigList; this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListPluginForUuidResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aegisUuidTargetPluginConfigList */ public java.util.List<AegisUuidTargetPluginConfigList> getAegisUuidTargetPluginConfigList() { return this.aegisUuidTargetPluginConfigList; } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<AegisUuidTargetPluginConfigList> aegisUuidTargetPluginConfigList; private Integer code; private String message; private String requestId; private Builder() { } private Builder(ListPluginForUuidResponseBody model) { this.aegisUuidTargetPluginConfigList = model.aegisUuidTargetPluginConfigList; this.code = model.code; this.message = model.message; this.requestId = model.requestId; } /** * <p>An array that consists of the information about the plug-ins.</p> */ public Builder aegisUuidTargetPluginConfigList(java.util.List<AegisUuidTargetPluginConfigList> aegisUuidTargetPluginConfigList) { this.aegisUuidTargetPluginConfigList = aegisUuidTargetPluginConfigList; return this; } /** * <p>The status code returned. The status code <strong>200</strong> indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The error message returned.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListPluginForUuidResponseBody build() { return new ListPluginForUuidResponseBody(this); } } /** * * {@link ListPluginForUuidResponseBody} extends {@link TeaModel} * * <p>ListPluginForUuidResponseBody</p> */ public static class AegisSuspiciousConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private Boolean config; @com.aliyun.core.annotation.NameInMap("Msg") private String msg; @com.aliyun.core.annotation.NameInMap("OverallConfig") private Boolean overallConfig; @com.aliyun.core.annotation.NameInMap("Type") private String type; private AegisSuspiciousConfigList(Builder builder) { this.config = builder.config; this.msg = builder.msg; this.overallConfig = builder.overallConfig; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static AegisSuspiciousConfigList create() { return builder().build(); } /** * @return config */ public Boolean getConfig() { return this.config; } /** * @return msg */ public String getMsg() { return this.msg; } /** * @return overallConfig */ public Boolean getOverallConfig() { return this.overallConfig; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Boolean config; private String msg; private Boolean overallConfig; private String type; private Builder() { } private Builder(AegisSuspiciousConfigList model) { this.config = model.config; this.msg = model.msg; this.overallConfig = model.overallConfig; this.type = model.type; } /** * <p>Indicates whether the plug-in is enabled. 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 config(Boolean config) { this.config = config; return this; } /** * <p>The message that indicates whether you are authorized to install the plug-in on your server or whether the plug-in is installed on your server. Valid values:</p> * <ul> * <li><strong>authorized</strong>: authorized</li> * <li><strong>unauthorized</strong>: unauthorized</li> * <li><strong>unbind</strong>: not installed</li> * <li><strong>nonsupport</strong>: not supported</li> * </ul> * * <strong>example:</strong> * <p>authorized</p> */ public Builder msg(String msg) { this.msg = msg; return this; } /** * <p>Indicates whether the plug-in is globally configured. 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 overallConfig(Boolean overallConfig) { this.overallConfig = overallConfig; return this; } /** * <p>The name of the plug-in. Valid values:</p> * <ul> * <li><strong>alihips</strong>: trojan-specific prevention</li> * <li><strong>alisecguard</strong>: attack-specific prevention</li> * <li><strong>alinet</strong>: defense against attacks on servers</li> * </ul> * * <strong>example:</strong> * <p>alisecguard</p> */ public Builder type(String type) { this.type = type; return this; } public AegisSuspiciousConfigList build() { return new AegisSuspiciousConfigList(this); } } } /** * * {@link ListPluginForUuidResponseBody} extends {@link TeaModel} * * <p>ListPluginForUuidResponseBody</p> */ public static class AegisUuidTargetPluginConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AegisSuspiciousConfigList") private java.util.List<AegisSuspiciousConfigList> aegisSuspiciousConfigList; @com.aliyun.core.annotation.NameInMap("PluginInstallCode") private String pluginInstallCode; @com.aliyun.core.annotation.NameInMap("PluginName") private String pluginName; @com.aliyun.core.annotation.NameInMap("PluginOnlineInstalled") private Boolean pluginOnlineInstalled; @com.aliyun.core.annotation.NameInMap("PluginOnlineStatus") private Boolean pluginOnlineStatus; @com.aliyun.core.annotation.NameInMap("PluginVersion") private String pluginVersion; private AegisUuidTargetPluginConfigList(Builder builder) { this.aegisSuspiciousConfigList = builder.aegisSuspiciousConfigList; this.pluginInstallCode = builder.pluginInstallCode; this.pluginName = builder.pluginName; this.pluginOnlineInstalled = builder.pluginOnlineInstalled; this.pluginOnlineStatus = builder.pluginOnlineStatus; this.pluginVersion = builder.pluginVersion; } public static Builder builder() { return new Builder(); } public static AegisUuidTargetPluginConfigList create() { return builder().build(); } /** * @return aegisSuspiciousConfigList */ public java.util.List<AegisSuspiciousConfigList> getAegisSuspiciousConfigList() { return this.aegisSuspiciousConfigList; } /** * @return pluginInstallCode */ public String getPluginInstallCode() { return this.pluginInstallCode; } /** * @return pluginName */ public String getPluginName() { return this.pluginName; } /** * @return pluginOnlineInstalled */ public Boolean getPluginOnlineInstalled() { return this.pluginOnlineInstalled; } /** * @return pluginOnlineStatus */ public Boolean getPluginOnlineStatus() { return this.pluginOnlineStatus; } /** * @return pluginVersion */ public String getPluginVersion() { return this.pluginVersion; } public static final class Builder { private java.util.List<AegisSuspiciousConfigList> aegisSuspiciousConfigList; private String pluginInstallCode; private String pluginName; private Boolean pluginOnlineInstalled; private Boolean pluginOnlineStatus; private String pluginVersion; private Builder() { } private Builder(AegisUuidTargetPluginConfigList model) { this.aegisSuspiciousConfigList = model.aegisSuspiciousConfigList; this.pluginInstallCode = model.pluginInstallCode; this.pluginName = model.pluginName; this.pluginOnlineInstalled = model.pluginOnlineInstalled; this.pluginOnlineStatus = model.pluginOnlineStatus; this.pluginVersion = model.pluginVersion; } /** * <p>An array that consists of the configurations of plug-ins.</p> */ public Builder aegisSuspiciousConfigList(java.util.List<AegisSuspiciousConfigList> aegisSuspiciousConfigList) { this.aegisSuspiciousConfigList = aegisSuspiciousConfigList; return this; } /** * <p>The installation code of the plug-in.</p> * * <strong>example:</strong> * <p>k5O5nd</p> */ public Builder pluginInstallCode(String pluginInstallCode) { this.pluginInstallCode = pluginInstallCode; return this; } /** * <p>The name of the plug-in. Valid values:</p> * <ul> * <li><strong>alihips</strong>: trojan-specific prevention</li> * <li><strong>alisecguard</strong>: attack-specific prevention</li> * <li><strong>alinet</strong>: defense against attacks on servers</li> * </ul> * * <strong>example:</strong> * <p>alisecguard</p> */ public Builder pluginName(String pluginName) { this.pluginName = pluginName; return this; } /** * <p>Indicates whether the plug-in is installed. 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 pluginOnlineInstalled(Boolean pluginOnlineInstalled) { this.pluginOnlineInstalled = pluginOnlineInstalled; return this; } /** * <p>Indicates whether the plug-in is online. 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 pluginOnlineStatus(Boolean pluginOnlineStatus) { this.pluginOnlineStatus = pluginOnlineStatus; return this; } /** * <p>The version of the plug-in.</p> * * <strong>example:</strong> * <p>00_10</p> */ public Builder pluginVersion(String pluginVersion) { this.pluginVersion = pluginVersion; return this; } public AegisUuidTargetPluginConfigList build() { return new AegisUuidTargetPluginConfigList(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/ListPodRiskRequest.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 ListPodRiskRequest} extends {@link RequestModel} * * <p>ListPodRiskRequest</p> */ public class ListPodRiskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @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 Long currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PodName") private String podName; private ListPodRiskRequest(Builder builder) { super(builder); this.appName = builder.appName; this.clusterId = builder.clusterId; this.currentPage = builder.currentPage; this.namespace = builder.namespace; this.pageSize = builder.pageSize; this.podName = builder.podName; } public static Builder builder() { return new Builder(); } public static ListPodRiskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentPage */ public Long getCurrentPage() { return this.currentPage; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return podName */ public String getPodName() { return this.podName; } public static final class Builder extends Request.Builder<ListPodRiskRequest, Builder> { private String appName; private String clusterId; private Long currentPage; private String namespace; private Long pageSize; private String podName; private Builder() { super(); } private Builder(ListPodRiskRequest request) { super(request); this.appName = request.appName; this.clusterId = request.clusterId; this.currentPage = request.currentPage; this.namespace = request.namespace; this.pageSize = request.pageSize; this.podName = request.podName; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>nginx1</p> */ public Builder appName(String appName) { this.putQueryParameter("AppName", appName); this.appName = appName; return this; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/182997.html">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c314aa5b2f208461dad821cdfed82****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Long currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The namespace of the Kubernetes cluster.</p> * * <strong>example:</strong> * <p>taas</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; 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(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the pod.</p> * * <strong>example:</strong> * <p>abcd-84898334227-p****</p> */ public Builder podName(String podName) { this.putQueryParameter("PodName", podName); this.podName = podName; return this; } @Override public ListPodRiskRequest build() { return new ListPodRiskRequest(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/ListPodRiskResponse.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 ListPodRiskResponse} extends {@link TeaModel} * * <p>ListPodRiskResponse</p> */ public class ListPodRiskResponse 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 ListPodRiskResponseBody body; private ListPodRiskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListPodRiskResponse 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 ListPodRiskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListPodRiskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListPodRiskResponseBody body); @Override ListPodRiskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListPodRiskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListPodRiskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListPodRiskResponse 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(ListPodRiskResponseBody body) { this.body = body; return this; } @Override public ListPodRiskResponse build() { return new ListPodRiskResponse(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/ListPodRiskResponseBody.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 ListPodRiskResponseBody} extends {@link TeaModel} * * <p>ListPodRiskResponseBody</p> */ public class ListPodRiskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("PodRiskList") private java.util.List<PodRiskList> podRiskList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListPodRiskResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.podRiskList = builder.podRiskList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListPodRiskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return podRiskList */ public java.util.List<PodRiskList> getPodRiskList() { return this.podRiskList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<PodRiskList> podRiskList; private String requestId; private Builder() { } private Builder(ListPodRiskResponseBody model) { this.pageInfo = model.pageInfo; this.podRiskList = model.podRiskList; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>An array that consists of the risks.</p> */ public Builder podRiskList(java.util.List<PodRiskList> podRiskList) { this.podRiskList = podRiskList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>94254AD7-5026-5847-833B-403C2326BD6E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListPodRiskResponseBody build() { return new ListPodRiskResponseBody(this); } } /** * * {@link ListPodRiskResponseBody} extends {@link TeaModel} * * <p>ListPodRiskResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>2-</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>29</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link ListPodRiskResponseBody} extends {@link TeaModel} * * <p>ListPodRiskResponseBody</p> */ public static class PodRiskList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlarmCount") private Integer alarmCount; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("HcCount") private Integer hcCount; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("Pod") private String pod; @com.aliyun.core.annotation.NameInMap("PodIp") private String podIp; @com.aliyun.core.annotation.NameInMap("VulCount") private Integer vulCount; private PodRiskList(Builder builder) { this.alarmCount = builder.alarmCount; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.createTime = builder.createTime; this.hcCount = builder.hcCount; this.instanceId = builder.instanceId; this.namespace = builder.namespace; this.nodeName = builder.nodeName; this.pod = builder.pod; this.podIp = builder.podIp; this.vulCount = builder.vulCount; } public static Builder builder() { return new Builder(); } public static PodRiskList create() { return builder().build(); } /** * @return alarmCount */ public Integer getAlarmCount() { return this.alarmCount; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return hcCount */ public Integer getHcCount() { return this.hcCount; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return pod */ public String getPod() { return this.pod; } /** * @return podIp */ public String getPodIp() { return this.podIp; } /** * @return vulCount */ public Integer getVulCount() { return this.vulCount; } public static final class Builder { private Integer alarmCount; private String clusterId; private String clusterName; private Long createTime; private Integer hcCount; private String instanceId; private String namespace; private String nodeName; private String pod; private String podIp; private Integer vulCount; private Builder() { } private Builder(PodRiskList model) { this.alarmCount = model.alarmCount; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.createTime = model.createTime; this.hcCount = model.hcCount; this.instanceId = model.instanceId; this.namespace = model.namespace; this.nodeName = model.nodeName; this.pod = model.pod; this.podIp = model.podIp; this.vulCount = model.vulCount; } /** * <p>The number of alerts that are generated for the pod.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder alarmCount(Integer alarmCount) { this.alarmCount = alarmCount; return this; } /** * <p>The ID of the container cluster.</p> * * <strong>example:</strong> * <p>c1d903a628af043659a043af59d89****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The name of the cluster.</p> * * <strong>example:</strong> * <p>test66</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The timestamp that indicates the time when the pod was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1644283112720</p> */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * <p>The number of baseline risk items that are detected in the pod.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder hcCount(Integer hcCount) { this.hcCount = hcCount; return this; } /** * <p>The instance ID of the node.</p> * * <strong>example:</strong> * <p>i-7yvdq597****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The namespace of the Kubernetes cluster.</p> * * <strong>example:</strong> * <p>kube-system</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>The name of the node.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The name of the pod.</p> * * <strong>example:</strong> * <p>expoit-xxx-b****</p> */ public Builder pod(String pod) { this.pod = pod; return this; } /** * <p>The IP address of the pod.</p> * * <strong>example:</strong> * <p>172.0.XXX.XXX</p> */ public Builder podIp(String podIp) { this.podIp = podIp; return this; } /** * <p>The number of vulnerabilities that are detected in the pod.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder vulCount(Integer vulCount) { this.vulCount = vulCount; return this; } public PodRiskList build() { return new PodRiskList(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/ListPrivateK8sRequest.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 ListPrivateK8sRequest} extends {@link RequestModel} * * <p>ListPrivateK8sRequest</p> */ public class ListPrivateK8sRequest extends Request { private ListPrivateK8sRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListPrivateK8sRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListPrivateK8sRequest, Builder> { private Builder() { super(); } private Builder(ListPrivateK8sRequest request) { super(request); } @Override public ListPrivateK8sRequest build() { return new ListPrivateK8sRequest(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/ListPrivateK8sResponse.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 ListPrivateK8sResponse} extends {@link TeaModel} * * <p>ListPrivateK8sResponse</p> */ public class ListPrivateK8sResponse 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 ListPrivateK8sResponseBody body; private ListPrivateK8sResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListPrivateK8sResponse 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 ListPrivateK8sResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListPrivateK8sResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListPrivateK8sResponseBody body); @Override ListPrivateK8sResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListPrivateK8sResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListPrivateK8sResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListPrivateK8sResponse 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(ListPrivateK8sResponseBody body) { this.body = body; return this; } @Override public ListPrivateK8sResponse build() { return new ListPrivateK8sResponse(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/ListPrivateK8sResponseBody.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 ListPrivateK8sResponseBody} extends {@link TeaModel} * * <p>ListPrivateK8sResponseBody</p> */ public class ListPrivateK8sResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PrivateK8sInfos") private java.util.List<PrivateK8sInfos> privateK8sInfos; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListPrivateK8sResponseBody(Builder builder) { this.privateK8sInfos = builder.privateK8sInfos; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListPrivateK8sResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return privateK8sInfos */ public java.util.List<PrivateK8sInfos> getPrivateK8sInfos() { return this.privateK8sInfos; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<PrivateK8sInfos> privateK8sInfos; private String requestId; private Builder() { } private Builder(ListPrivateK8sResponseBody model) { this.privateK8sInfos = model.privateK8sInfos; this.requestId = model.requestId; } /** * <p>The information about the self-managed Kubernetes clusters.</p> */ public Builder privateK8sInfos(java.util.List<PrivateK8sInfos> privateK8sInfos) { this.privateK8sInfos = privateK8sInfos; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>52870893-48A7-5A9E-9E05-6253E5B6****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListPrivateK8sResponseBody build() { return new ListPrivateK8sResponseBody(this); } } /** * * {@link ListPrivateK8sResponseBody} extends {@link TeaModel} * * <p>ListPrivateK8sResponseBody</p> */ public static class PrivateK8sInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("ApiServerIp") private String apiServerIp; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("K8sVersion") private String k8sVersion; @com.aliyun.core.annotation.NameInMap("KubeConfig") private String kubeConfig; @com.aliyun.core.annotation.NameInMap("NetType") private Long netType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private PrivateK8sInfos(Builder builder) { this.aliUid = builder.aliUid; this.apiServerIp = builder.apiServerIp; this.clusterName = builder.clusterName; this.id = builder.id; this.k8sVersion = builder.k8sVersion; this.kubeConfig = builder.kubeConfig; this.netType = builder.netType; this.regionId = builder.regionId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static PrivateK8sInfos create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return apiServerIp */ public String getApiServerIp() { return this.apiServerIp; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return id */ public Long getId() { return this.id; } /** * @return k8sVersion */ public String getK8sVersion() { return this.k8sVersion; } /** * @return kubeConfig */ public String getKubeConfig() { return this.kubeConfig; } /** * @return netType */ public Long getNetType() { return this.netType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private Long aliUid; private String apiServerIp; private String clusterName; private Long id; private String k8sVersion; private String kubeConfig; private Long netType; private String regionId; private String vpcId; private Builder() { } private Builder(PrivateK8sInfos model) { this.aliUid = model.aliUid; this.apiServerIp = model.apiServerIp; this.clusterName = model.clusterName; this.id = model.id; this.k8sVersion = model.k8sVersion; this.kubeConfig = model.kubeConfig; this.netType = model.netType; this.regionId = model.regionId; this.vpcId = model.vpcId; } /** * <p>The ID of the Alibaba Cloud account.</p> * * <strong>example:</strong> * <p>12345</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <p>The IP address of the API server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder apiServerIp(String apiServerIp) { this.apiServerIp = apiServerIp; return this; } /** * <p>The name of the cluster.</p> * * <strong>example:</strong> * <p>xxx</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The ID of the policy.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The version of Kubernetes.</p> * * <strong>example:</strong> * <p>1.18</p> */ public Builder k8sVersion(String k8sVersion) { this.k8sVersion = k8sVersion; return this; } /** * <p>The server configuration of Kubernetes.</p> * * <strong>example:</strong> * <p>xxx</p> */ public Builder kubeConfig(String kubeConfig) { this.kubeConfig = kubeConfig; return this; } /** * <p>The network type. Valid values:</p> * <ul> * <li><strong>1</strong>: Internet.</li> * <li><strong>2</strong>: VPC.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder netType(Long netType) { this.netType = netType; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The ID of the virtual private cloud (VPC).</p> * * <strong>example:</strong> * <p>vpc-2zet5l358k6z0gnz*****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public PrivateK8sInfos build() { return new PrivateK8sInfos(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/ListPrivateRegistryListRequest.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 ListPrivateRegistryListRequest} extends {@link RequestModel} * * <p>ListPrivateRegistryListRequest</p> */ public class ListPrivateRegistryListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegistryType") private String registryType; private ListPrivateRegistryListRequest(Builder builder) { super(builder); this.registryType = builder.registryType; } public static Builder builder() { return new Builder(); } public static ListPrivateRegistryListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return registryType */ public String getRegistryType() { return this.registryType; } public static final class Builder extends Request.Builder<ListPrivateRegistryListRequest, Builder> { private String registryType; private Builder() { super(); } private Builder(ListPrivateRegistryListRequest request) { super(request); this.registryType = request.registryType; } /** * <p>The type of the image repository. Valid values:</p> * <ul> * <li><strong>acr</strong>: Container Registry</li> * <li><strong>harbor</strong>: Harbor</li> * <li><strong>quay</strong>: Quay</li> * <li><strong>CI/CD</strong>: Jenkins</li> * </ul> * * <strong>example:</strong> * <p>harbor</p> */ public Builder registryType(String registryType) { this.putQueryParameter("RegistryType", registryType); this.registryType = registryType; return this; } @Override public ListPrivateRegistryListRequest build() { return new ListPrivateRegistryListRequest(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/ListPrivateRegistryListResponse.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 ListPrivateRegistryListResponse} extends {@link TeaModel} * * <p>ListPrivateRegistryListResponse</p> */ public class ListPrivateRegistryListResponse 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 ListPrivateRegistryListResponseBody body; private ListPrivateRegistryListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListPrivateRegistryListResponse 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 ListPrivateRegistryListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListPrivateRegistryListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListPrivateRegistryListResponseBody body); @Override ListPrivateRegistryListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListPrivateRegistryListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListPrivateRegistryListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListPrivateRegistryListResponse 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(ListPrivateRegistryListResponseBody body) { this.body = body; return this; } @Override public ListPrivateRegistryListResponse build() { return new ListPrivateRegistryListResponse(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/ListPrivateRegistryListResponseBody.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 ListPrivateRegistryListResponseBody} extends {@link TeaModel} * * <p>ListPrivateRegistryListResponseBody</p> */ public class ListPrivateRegistryListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ImageRegistryInfos") private java.util.List<ImageRegistryInfos> imageRegistryInfos; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListPrivateRegistryListResponseBody(Builder builder) { this.imageRegistryInfos = builder.imageRegistryInfos; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListPrivateRegistryListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return imageRegistryInfos */ public java.util.List<ImageRegistryInfos> getImageRegistryInfos() { return this.imageRegistryInfos; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ImageRegistryInfos> imageRegistryInfos; private String requestId; private Builder() { } private Builder(ListPrivateRegistryListResponseBody model) { this.imageRegistryInfos = model.imageRegistryInfos; this.requestId = model.requestId; } /** * <p>An array that consists of the image repositories.</p> */ public Builder imageRegistryInfos(java.util.List<ImageRegistryInfos> imageRegistryInfos) { this.imageRegistryInfos = imageRegistryInfos; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>BE120DAB-F4E7-4C53-ADC3-A97578AB****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListPrivateRegistryListResponseBody build() { return new ListPrivateRegistryListResponseBody(this); } } /** * * {@link ListPrivateRegistryListResponseBody} extends {@link TeaModel} * * <p>ListPrivateRegistryListResponseBody</p> */ public static class ImageRegistryInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("JenkinsEnv") private String jenkinsEnv; @com.aliyun.core.annotation.NameInMap("NetType") private Long netType; @com.aliyun.core.annotation.NameInMap("Password") private String password; @com.aliyun.core.annotation.NameInMap("PersistenceDay") private Long persistenceDay; @com.aliyun.core.annotation.NameInMap("ProtocolType") private Long protocolType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RegistryHostIp") private String registryHostIp; @com.aliyun.core.annotation.NameInMap("RegistryName") private String registryName; @com.aliyun.core.annotation.NameInMap("RegistryType") private String registryType; @com.aliyun.core.annotation.NameInMap("RegistryVersion") private String registryVersion; @com.aliyun.core.annotation.NameInMap("Token") private String token; @com.aliyun.core.annotation.NameInMap("TransPerHour") private Integer transPerHour; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("WhiteList") private String whiteList; private ImageRegistryInfos(Builder builder) { this.aliUid = builder.aliUid; this.domainName = builder.domainName; this.id = builder.id; this.jenkinsEnv = builder.jenkinsEnv; this.netType = builder.netType; this.password = builder.password; this.persistenceDay = builder.persistenceDay; this.protocolType = builder.protocolType; this.regionId = builder.regionId; this.registryHostIp = builder.registryHostIp; this.registryName = builder.registryName; this.registryType = builder.registryType; this.registryVersion = builder.registryVersion; this.token = builder.token; this.transPerHour = builder.transPerHour; this.userName = builder.userName; this.vpcId = builder.vpcId; this.whiteList = builder.whiteList; } public static Builder builder() { return new Builder(); } public static ImageRegistryInfos create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return id */ public Long getId() { return this.id; } /** * @return jenkinsEnv */ public String getJenkinsEnv() { return this.jenkinsEnv; } /** * @return netType */ public Long getNetType() { return this.netType; } /** * @return password */ public String getPassword() { return this.password; } /** * @return persistenceDay */ public Long getPersistenceDay() { return this.persistenceDay; } /** * @return protocolType */ public Long getProtocolType() { return this.protocolType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return registryHostIp */ public String getRegistryHostIp() { return this.registryHostIp; } /** * @return registryName */ public String getRegistryName() { return this.registryName; } /** * @return registryType */ public String getRegistryType() { return this.registryType; } /** * @return registryVersion */ public String getRegistryVersion() { return this.registryVersion; } /** * @return token */ public String getToken() { return this.token; } /** * @return transPerHour */ public Integer getTransPerHour() { return this.transPerHour; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return whiteList */ public String getWhiteList() { return this.whiteList; } public static final class Builder { private Long aliUid; private String domainName; private Long id; private String jenkinsEnv; private Long netType; private String password; private Long persistenceDay; private Long protocolType; private String regionId; private String registryHostIp; private String registryName; private String registryType; private String registryVersion; private String token; private Integer transPerHour; private String userName; private String vpcId; private String whiteList; private Builder() { } private Builder(ImageRegistryInfos model) { this.aliUid = model.aliUid; this.domainName = model.domainName; this.id = model.id; this.jenkinsEnv = model.jenkinsEnv; this.netType = model.netType; this.password = model.password; this.persistenceDay = model.persistenceDay; this.protocolType = model.protocolType; this.regionId = model.regionId; this.registryHostIp = model.registryHostIp; this.registryName = model.registryName; this.registryType = model.registryType; this.registryVersion = model.registryVersion; this.token = model.token; this.transPerHour = model.transPerHour; this.userName = model.userName; this.vpcId = model.vpcId; this.whiteList = model.whiteList; } /** * <p>The ID of the user.</p> * * <strong>example:</strong> * <p>1766185894******</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <p>The domain name of the image repository.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The ID of the image repository.</p> * * <strong>example:</strong> * <p>66485</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The information about the Jenkins environment.</p> * * <strong>example:</strong> * <p>JenkinsInfo</p> */ public Builder jenkinsEnv(String jenkinsEnv) { this.jenkinsEnv = jenkinsEnv; return this; } /** * <p>The network type. Valid values:</p> * <ul> * <li><strong>1</strong>: Internet</li> * <li><strong>2</strong>: VPC</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder netType(Long netType) { this.netType = netType; return this; } /** * <p>The password used to log on to the image repository.</p> * * <strong>example:</strong> * <p>Harbor******</p> */ public Builder password(String password) { this.password = password; return this; } /** * <p>The number of days during which assets can be retained.</p> * * <strong>example:</strong> * <p>90</p> */ public Builder persistenceDay(Long persistenceDay) { this.persistenceDay = persistenceDay; return this; } /** * <p>The type of the protocol. Valid values:</p> * <ul> * <li><strong>1</strong>: HTTP</li> * <li><strong>2</strong>: HTTPS</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder protocolType(Long protocolType) { this.protocolType = protocolType; 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 IP address of the image repository.</p> * * <strong>example:</strong> * <p>114.55.XXX.XXX</p> */ public Builder registryHostIp(String registryHostIp) { this.registryHostIp = registryHostIp; return this; } /** * <p>The alias of the image repository.</p> * * <strong>example:</strong> * <p>test1</p> */ public Builder registryName(String registryName) { this.registryName = registryName; return this; } /** * <p>The type of the image repository. Valid values:</p> * <ul> * <li><strong>acr</strong>: Container Registry</li> * <li><strong>harbor</strong>: Harbor</li> * <li><strong>quay</strong>: Quay</li> * <li><strong>CI/CD</strong>: Jenkins</li> * </ul> * * <strong>example:</strong> * <p>harbor</p> */ public Builder registryType(String registryType) { this.registryType = registryType; return this; } /** * <p>The version of the image repository. Valid values:</p> * <ul> * <li><strong>V1</strong>: V1.0</li> * <li><strong>V2</strong>: V2.0</li> * </ul> * * <strong>example:</strong> * <p>V1</p> */ public Builder registryVersion(String registryVersion) { this.registryVersion = registryVersion; return this; } /** * <p>The authentication token of the user.</p> * * <strong>example:</strong> * <p>0da12bce-cc36-4c48-b3e6-2215fc3a****</p> */ public Builder token(String token) { this.token = token; return this; } /** * <p>The number of images that can be scanned per hour.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder transPerHour(Integer transPerHour) { this.transPerHour = transPerHour; return this; } /** * <p>The username used to log on to the image repository.</p> * * <strong>example:</strong> * <p>RegistryUser</p> */ public Builder userName(String userName) { this.userName = userName; return this; } /** * <p>The ID of the virtual private cloud (VPC).</p> * * <strong>example:</strong> * <p>vpc-bp12897gqrex01zn0****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The whitelist of IP addresses.</p> * * <strong>example:</strong> * <p>100.104.XXX.XXX</p> */ public Builder whiteList(String whiteList) { this.whiteList = whiteList; return this; } public ImageRegistryInfos build() { return new ImageRegistryInfos(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/ListPrivateRegistryTypeRequest.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 ListPrivateRegistryTypeRequest} extends {@link RequestModel} * * <p>ListPrivateRegistryTypeRequest</p> */ public class ListPrivateRegistryTypeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private ListPrivateRegistryTypeRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static ListPrivateRegistryTypeRequest 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<ListPrivateRegistryTypeRequest, Builder> { private String lang; private Builder() { super(); } private Builder(ListPrivateRegistryTypeRequest 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 ListPrivateRegistryTypeRequest build() { return new ListPrivateRegistryTypeRequest(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/ListPrivateRegistryTypeResponse.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 ListPrivateRegistryTypeResponse} extends {@link TeaModel} * * <p>ListPrivateRegistryTypeResponse</p> */ public class ListPrivateRegistryTypeResponse 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 ListPrivateRegistryTypeResponseBody body; private ListPrivateRegistryTypeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListPrivateRegistryTypeResponse 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 ListPrivateRegistryTypeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListPrivateRegistryTypeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListPrivateRegistryTypeResponseBody body); @Override ListPrivateRegistryTypeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListPrivateRegistryTypeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListPrivateRegistryTypeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListPrivateRegistryTypeResponse 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(ListPrivateRegistryTypeResponseBody body) { this.body = body; return this; } @Override public ListPrivateRegistryTypeResponse build() { return new ListPrivateRegistryTypeResponse(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/ListPrivateRegistryTypeResponseBody.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 ListPrivateRegistryTypeResponseBody} extends {@link TeaModel} * * <p>ListPrivateRegistryTypeResponseBody</p> */ public class ListPrivateRegistryTypeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RegistryTypeInfos") private java.util.List<RegistryTypeInfos> registryTypeInfos; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListPrivateRegistryTypeResponseBody(Builder builder) { this.registryTypeInfos = builder.registryTypeInfos; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListPrivateRegistryTypeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return registryTypeInfos */ public java.util.List<RegistryTypeInfos> getRegistryTypeInfos() { return this.registryTypeInfos; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<RegistryTypeInfos> registryTypeInfos; private String requestId; private Builder() { } private Builder(ListPrivateRegistryTypeResponseBody model) { this.registryTypeInfos = model.registryTypeInfos; this.requestId = model.requestId; } /** * <p>An array that consists of image repository types.</p> */ public Builder registryTypeInfos(java.util.List<RegistryTypeInfos> registryTypeInfos) { this.registryTypeInfos = registryTypeInfos; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>24A20733-10A0-4AF6-BE6B-E3322413****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListPrivateRegistryTypeResponseBody build() { return new ListPrivateRegistryTypeResponseBody(this); } } /** * * {@link ListPrivateRegistryTypeResponseBody} extends {@link TeaModel} * * <p>ListPrivateRegistryTypeResponseBody</p> */ public static class RegistryTypeInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("RegistryType") private String registryType; private RegistryTypeInfos(Builder builder) { this.count = builder.count; this.registryType = builder.registryType; } public static Builder builder() { return new Builder(); } public static RegistryTypeInfos create() { return builder().build(); } /** * @return count */ public Long getCount() { return this.count; } /** * @return registryType */ public String getRegistryType() { return this.registryType; } public static final class Builder { private Long count; private String registryType; private Builder() { } private Builder(RegistryTypeInfos model) { this.count = model.count; this.registryType = model.registryType; } /** * <p>The number of image repositories.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>The name of the image repository type. Valid values:</p> * <ul> * <li><strong>acr</strong>: Container Registry</li> * <li><strong>harbor</strong>: Harbor</li> * <li><strong>quay</strong>: Quay</li> * <li><strong>CI/CD</strong>: Jenkins</li> * </ul> * * <strong>example:</strong> * <p>harbor</p> */ public Builder registryType(String registryType) { this.registryType = registryType; return this; } public RegistryTypeInfos build() { return new RegistryTypeInfos(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/ListPublishBatchRequest.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 ListPublishBatchRequest} extends {@link RequestModel} * * <p>ListPublishBatchRequest</p> */ public class ListPublishBatchRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BatchName") private String batchName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UpgradeVersion") @com.aliyun.core.annotation.Validation(required = true) private String upgradeVersion; private ListPublishBatchRequest(Builder builder) { super(builder); this.batchName = builder.batchName; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.upgradeVersion = builder.upgradeVersion; } public static Builder builder() { return new Builder(); } public static ListPublishBatchRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return batchName */ public String getBatchName() { return this.batchName; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return upgradeVersion */ public String getUpgradeVersion() { return this.upgradeVersion; } public static final class Builder extends Request.Builder<ListPublishBatchRequest, Builder> { private String batchName; private Integer currentPage; private Integer pageSize; private String upgradeVersion; private Builder() { super(); } private Builder(ListPublishBatchRequest request) { super(request); this.batchName = request.batchName; this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.upgradeVersion = request.upgradeVersion; } /** * <p>The name of the release batch.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder batchName(String batchName) { this.putQueryParameter("BatchName", batchName); this.batchName = batchName; return this; } /** * <p>The page number.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The destination version of the Security Center agent.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0.0.9</p> */ public Builder upgradeVersion(String upgradeVersion) { this.putQueryParameter("UpgradeVersion", upgradeVersion); this.upgradeVersion = upgradeVersion; return this; } @Override public ListPublishBatchRequest build() { return new ListPublishBatchRequest(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/ListPublishBatchResponse.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 ListPublishBatchResponse} extends {@link TeaModel} * * <p>ListPublishBatchResponse</p> */ public class ListPublishBatchResponse 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 ListPublishBatchResponseBody body; private ListPublishBatchResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListPublishBatchResponse 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 ListPublishBatchResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListPublishBatchResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListPublishBatchResponseBody body); @Override ListPublishBatchResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListPublishBatchResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListPublishBatchResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListPublishBatchResponse 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(ListPublishBatchResponseBody body) { this.body = body; return this; } @Override public ListPublishBatchResponse build() { return new ListPublishBatchResponse(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/ListPublishBatchResponseBody.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 ListPublishBatchResponseBody} extends {@link TeaModel} * * <p>ListPublishBatchResponseBody</p> */ public class ListPublishBatchResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchList") private java.util.List<BatchList> batchList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListPublishBatchResponseBody(Builder builder) { this.batchList = builder.batchList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListPublishBatchResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return batchList */ public java.util.List<BatchList> getBatchList() { return this.batchList; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<BatchList> batchList; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListPublishBatchResponseBody model) { this.batchList = model.batchList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The information about the release batches.</p> */ public Builder batchList(java.util.List<BatchList> batchList) { this.batchList = batchList; return this; } /** * <p>The page information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListPublishBatchResponseBody build() { return new ListPublishBatchResponseBody(this); } } /** * * {@link ListPublishBatchResponseBody} extends {@link TeaModel} * * <p>ListPublishBatchResponseBody</p> */ public static class BatchList extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchId") private Long batchId; @com.aliyun.core.annotation.NameInMap("BatchInterval") private Integer batchInterval; @com.aliyun.core.annotation.NameInMap("BatchName") private String batchName; @com.aliyun.core.annotation.NameInMap("BatchNo") private Integer batchNo; @com.aliyun.core.annotation.NameInMap("BatchProcess") private Integer batchProcess; @com.aliyun.core.annotation.NameInMap("BatchTotal") private Integer batchTotal; @com.aliyun.core.annotation.NameInMap("OperationBase") private Integer operationBase; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Version") private String version; private BatchList(Builder builder) { this.batchId = builder.batchId; this.batchInterval = builder.batchInterval; this.batchName = builder.batchName; this.batchNo = builder.batchNo; this.batchProcess = builder.batchProcess; this.batchTotal = builder.batchTotal; this.operationBase = builder.operationBase; this.status = builder.status; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static BatchList create() { return builder().build(); } /** * @return batchId */ public Long getBatchId() { return this.batchId; } /** * @return batchInterval */ public Integer getBatchInterval() { return this.batchInterval; } /** * @return batchName */ public String getBatchName() { return this.batchName; } /** * @return batchNo */ public Integer getBatchNo() { return this.batchNo; } /** * @return batchProcess */ public Integer getBatchProcess() { return this.batchProcess; } /** * @return batchTotal */ public Integer getBatchTotal() { return this.batchTotal; } /** * @return operationBase */ public Integer getOperationBase() { return this.operationBase; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private Long batchId; private Integer batchInterval; private String batchName; private Integer batchNo; private Integer batchProcess; private Integer batchTotal; private Integer operationBase; private Integer status; private String version; private Builder() { } private Builder(BatchList model) { this.batchId = model.batchId; this.batchInterval = model.batchInterval; this.batchName = model.batchName; this.batchNo = model.batchNo; this.batchProcess = model.batchProcess; this.batchTotal = model.batchTotal; this.operationBase = model.operationBase; this.status = model.status; this.version = model.version; } /** * <p>The ID of the release batch.</p> * * <strong>example:</strong> * <p>1371</p> */ public Builder batchId(Long batchId) { this.batchId = batchId; return this; } /** * <p>The interval between two release batches. Unit: hours.</p> * * <strong>example:</strong> * <p>12</p> */ public Builder batchInterval(Integer batchInterval) { this.batchInterval = batchInterval; return this; } /** * <p>The name of the release batch.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder batchName(String batchName) { this.batchName = batchName; return this; } /** * <p>The current batch number during a batch release.</p> * * <strong>example:</strong> * <p>2147483647</p> */ public Builder batchNo(Integer batchNo) { this.batchNo = batchNo; return this; } /** * <p>The progress of the release batch. This parameter indicates the number of servers that are upgraded in the release batch.</p> * * <strong>example:</strong> * <p>12</p> */ public Builder batchProcess(Integer batchProcess) { this.batchProcess = batchProcess; return this; } /** * <p>The total number of batches.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder batchTotal(Integer batchTotal) { this.batchTotal = batchTotal; return this; } /** * <p>The asset selection dimension. Valid values:</p> * <ul> * <li><strong>0</strong>: instance.</li> * <li><strong>1</strong>: machine group.</li> * <li><strong>2</strong>: Virtual Private Cloud (VPC) ID.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder operationBase(Integer operationBase) { this.operationBase = operationBase; return this; } /** * <p>The publish status of the Security Center agent. Valid values:</p> * <ul> * <li><strong>0</strong>: not started.</li> * <li><strong>1</strong>: publishing.</li> * <li><strong>2</strong>: published.</li> * <li><strong>3</strong>: publish suspended.</li> * <li><strong>4</strong>: forcibly upgrading.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The destination version of the Security Center agent.</p> * * <strong>example:</strong> * <p>0.0.9</p> */ public Builder version(String version) { this.version = version; return this; } public BatchList build() { return new BatchList(this); } } } /** * * {@link ListPublishBatchResponseBody} extends {@link TeaModel} * * <p>ListPublishBatchResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>25</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListRdDefaultSyncListRequest.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 ListRdDefaultSyncListRequest} extends {@link RequestModel} * * <p>ListRdDefaultSyncListRequest</p> */ public class ListRdDefaultSyncListRequest extends Request { private ListRdDefaultSyncListRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListRdDefaultSyncListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListRdDefaultSyncListRequest, Builder> { private Builder() { super(); } private Builder(ListRdDefaultSyncListRequest request) { super(request); } @Override public ListRdDefaultSyncListRequest build() { return new ListRdDefaultSyncListRequest(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/ListRdDefaultSyncListResponse.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 ListRdDefaultSyncListResponse} extends {@link TeaModel} * * <p>ListRdDefaultSyncListResponse</p> */ public class ListRdDefaultSyncListResponse 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 ListRdDefaultSyncListResponseBody body; private ListRdDefaultSyncListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListRdDefaultSyncListResponse 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 ListRdDefaultSyncListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListRdDefaultSyncListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListRdDefaultSyncListResponseBody body); @Override ListRdDefaultSyncListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListRdDefaultSyncListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListRdDefaultSyncListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListRdDefaultSyncListResponse 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(ListRdDefaultSyncListResponseBody body) { this.body = body; return this; } @Override public ListRdDefaultSyncListResponse build() { return new ListRdDefaultSyncListResponse(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/ListRdDefaultSyncListResponseBody.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 ListRdDefaultSyncListResponseBody} extends {@link TeaModel} * * <p>ListRdDefaultSyncListResponseBody</p> */ public class ListRdDefaultSyncListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListRdDefaultSyncListResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListRdDefaultSyncListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(ListRdDefaultSyncListResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The data returned if the call is successful.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListRdDefaultSyncListResponseBody build() { return new ListRdDefaultSyncListResponseBody(this); } } /** * * {@link ListRdDefaultSyncListResponseBody} extends {@link TeaModel} * * <p>ListRdDefaultSyncListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("FolderIds") private String folderIds; private Data(Builder builder) { this.folderIds = builder.folderIds; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return folderIds */ public String getFolderIds() { return this.folderIds; } public static final class Builder { private String folderIds; private Builder() { } private Builder(Data model) { this.folderIds = model.folderIds; } /** * <p>The IDs of the folders in the resource directory.</p> * * <strong>example:</strong> * <p>fd-BwoXuf****,fd-CFamY7****</p> */ public Builder folderIds(String folderIds) { this.folderIds = folderIds; 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/ListRuleTargetAllRequest.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 ListRuleTargetAllRequest} extends {@link RequestModel} * * <p>ListRuleTargetAllRequest</p> */ public class ListRuleTargetAllRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; private ListRuleTargetAllRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; } public static Builder builder() { return new Builder(); } public static ListRuleTargetAllRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } public static final class Builder extends Request.Builder<ListRuleTargetAllRequest, Builder> { private String clusterId; private Builder() { super(); } private Builder(ListRuleTargetAllRequest request) { super(request); this.clusterId = request.clusterId; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/182997.html">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cfa7e2fb8c221483ba59e098c34c6****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } @Override public ListRuleTargetAllRequest build() { return new ListRuleTargetAllRequest(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/ListRuleTargetAllResponse.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 ListRuleTargetAllResponse} extends {@link TeaModel} * * <p>ListRuleTargetAllResponse</p> */ public class ListRuleTargetAllResponse 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 ListRuleTargetAllResponseBody body; private ListRuleTargetAllResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListRuleTargetAllResponse 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 ListRuleTargetAllResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListRuleTargetAllResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListRuleTargetAllResponseBody body); @Override ListRuleTargetAllResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListRuleTargetAllResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListRuleTargetAllResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListRuleTargetAllResponse 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(ListRuleTargetAllResponseBody body) { this.body = body; return this; } @Override public ListRuleTargetAllResponse build() { return new ListRuleTargetAllResponse(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/ListRuleTargetAllResponseBody.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 ListRuleTargetAllResponseBody} extends {@link TeaModel} * * <p>ListRuleTargetAllResponseBody</p> */ public class ListRuleTargetAllResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RuleTargetList") private java.util.List<RuleTargetList> ruleTargetList; private ListRuleTargetAllResponseBody(Builder builder) { this.requestId = builder.requestId; this.ruleTargetList = builder.ruleTargetList; } public static Builder builder() { return new Builder(); } public static ListRuleTargetAllResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return ruleTargetList */ public java.util.List<RuleTargetList> getRuleTargetList() { return this.ruleTargetList; } public static final class Builder { private String requestId; private java.util.List<RuleTargetList> ruleTargetList; private Builder() { } private Builder(ListRuleTargetAllResponseBody model) { this.requestId = model.requestId; this.ruleTargetList = model.ruleTargetList; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>30CBF632-109F-596F-97F2-451C8B2A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the network objects.</p> */ public Builder ruleTargetList(java.util.List<RuleTargetList> ruleTargetList) { this.ruleTargetList = ruleTargetList; return this; } public ListRuleTargetAllResponseBody build() { return new ListRuleTargetAllResponseBody(this); } } /** * * {@link ListRuleTargetAllResponseBody} extends {@link TeaModel} * * <p>ListRuleTargetAllResponseBody</p> */ public static class RuleTargetList extends TeaModel { @com.aliyun.core.annotation.NameInMap("TargetId") private Long targetId; @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private RuleTargetList(Builder builder) { this.targetId = builder.targetId; this.targetName = builder.targetName; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static RuleTargetList create() { return builder().build(); } /** * @return targetId */ public Long getTargetId() { return this.targetId; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private Long targetId; private String targetName; private String targetType; private Builder() { } private Builder(RuleTargetList model) { this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; } /** * <p>The ID of the network object.</p> * * <strong>example:</strong> * <p>301944</p> */ public Builder targetId(Long targetId) { this.targetId = targetId; return this; } /** * <p>The name of the network object.</p> * * <strong>example:</strong> * <p>source-test-obj-xFKcx</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The type of the object. Valid values:</p> * <ul> * <li>IMAGE</li> * </ul> * * <strong>example:</strong> * <p>IMAGE</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public RuleTargetList build() { return new RuleTargetList(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/ListSasContainerWebDefenseRuleRequest.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 ListSasContainerWebDefenseRuleRequest} extends {@link RequestModel} * * <p>ListSasContainerWebDefenseRuleRequest</p> */ public class ListSasContainerWebDefenseRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Criteria") private String criteria; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LogicalExp") private String logicalExp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private ListSasContainerWebDefenseRuleRequest(Builder builder) { super(builder); this.criteria = builder.criteria; this.currentPage = builder.currentPage; this.logicalExp = builder.logicalExp; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListSasContainerWebDefenseRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return criteria */ public String getCriteria() { return this.criteria; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return logicalExp */ public String getLogicalExp() { return this.logicalExp; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<ListSasContainerWebDefenseRuleRequest, Builder> { private String criteria; private Integer currentPage; private String logicalExp; private Integer pageSize; private Builder() { super(); } private Builder(ListSasContainerWebDefenseRuleRequest request) { super(request); this.criteria = request.criteria; this.currentPage = request.currentPage; this.logicalExp = request.logicalExp; this.pageSize = request.pageSize; } /** * <p>The search conditions for assets. The value of this parameter is in the JSON format and contains the following fields:</p> * <ul> * <li><p><strong>name</strong>: the name of the search condition.</p> * </li> * <li><p><strong>value</strong>: the value of the search condition.</p> * </li> * <li><p><strong>logicalExp</strong>: the logical relation for multiple search conditions. Valid values:</p> * <ul> * <li><strong>OR</strong>: The search conditions use a logical <strong>OR</strong>.</li> * <li><strong>AND</strong>: The search conditions use a logical <strong>AND</strong>.</li> * </ul> * </li> * </ul> * * <strong>example:</strong> * <p>[{&quot;name&quot;:&quot;ruleName&quot;,&quot;value&quot;:&quot;test-1818&quot;,&quot;logicalExp&quot;:&quot;AND&quot;}]</p> */ public Builder criteria(String criteria) { this.putQueryParameter("Criteria", criteria); this.criteria = criteria; return this; } /** * <p>The page number. 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 logical relation for multiple search conditions. Valid values:</p> * <ul> * <li><strong>OR</strong>: The search conditions use a logical <strong>OR</strong>.</li> * <li><strong>AND</strong>: The search conditions use a logical <strong>AND</strong>.</li> * </ul> * * <strong>example:</strong> * <p>OR</p> */ public Builder logicalExp(String logicalExp) { this.putQueryParameter("LogicalExp", logicalExp); this.logicalExp = logicalExp; return this; } /** * <p>The number of entries per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public ListSasContainerWebDefenseRuleRequest build() { return new ListSasContainerWebDefenseRuleRequest(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/ListSasContainerWebDefenseRuleResponse.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 ListSasContainerWebDefenseRuleResponse} extends {@link TeaModel} * * <p>ListSasContainerWebDefenseRuleResponse</p> */ public class ListSasContainerWebDefenseRuleResponse 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 ListSasContainerWebDefenseRuleResponseBody body; private ListSasContainerWebDefenseRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSasContainerWebDefenseRuleResponse 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 ListSasContainerWebDefenseRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSasContainerWebDefenseRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSasContainerWebDefenseRuleResponseBody body); @Override ListSasContainerWebDefenseRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSasContainerWebDefenseRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSasContainerWebDefenseRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSasContainerWebDefenseRuleResponse 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(ListSasContainerWebDefenseRuleResponseBody body) { this.body = body; return this; } @Override public ListSasContainerWebDefenseRuleResponse build() { return new ListSasContainerWebDefenseRuleResponse(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/ListSasContainerWebDefenseRuleResponseBody.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 ListSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>ListSasContainerWebDefenseRuleResponseBody</p> */ public class ListSasContainerWebDefenseRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerWebDefenseRuleList") private java.util.List<ContainerWebDefenseRuleList> containerWebDefenseRuleList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListSasContainerWebDefenseRuleResponseBody(Builder builder) { this.containerWebDefenseRuleList = builder.containerWebDefenseRuleList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListSasContainerWebDefenseRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return containerWebDefenseRuleList */ public java.util.List<ContainerWebDefenseRuleList> getContainerWebDefenseRuleList() { return this.containerWebDefenseRuleList; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ContainerWebDefenseRuleList> containerWebDefenseRuleList; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListSasContainerWebDefenseRuleResponseBody model) { this.containerWebDefenseRuleList = model.containerWebDefenseRuleList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The rules for container tamper-proofing.</p> */ public Builder containerWebDefenseRuleList(java.util.List<ContainerWebDefenseRuleList> containerWebDefenseRuleList) { this.containerWebDefenseRuleList = containerWebDefenseRuleList; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID, which is used to query logs and troubleshoot issues.</p> * * <strong>example:</strong> * <p>8C376***AE74FB4</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListSasContainerWebDefenseRuleResponseBody build() { return new ListSasContainerWebDefenseRuleResponseBody(this); } } /** * * {@link ListSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>ListSasContainerWebDefenseRuleResponseBody</p> */ public static class PathConfDTOList extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupPath") private String backupPath; @com.aliyun.core.annotation.NameInMap("DefenseMode") private String defenseMode; @com.aliyun.core.annotation.NameInMap("DefensePath") private String defensePath; @com.aliyun.core.annotation.NameInMap("ExcludeFile") private String excludeFile; @com.aliyun.core.annotation.NameInMap("ExcludeFilePath") private String excludeFilePath; @com.aliyun.core.annotation.NameInMap("ExcludeFileType") private String excludeFileType; @com.aliyun.core.annotation.NameInMap("GuardType") private Integer guardType; @com.aliyun.core.annotation.NameInMap("IncludeFile") private String includeFile; @com.aliyun.core.annotation.NameInMap("IncludeFileType") private String includeFileType; @com.aliyun.core.annotation.NameInMap("ProcessPathList") private java.util.List<String> processPathList; private PathConfDTOList(Builder builder) { this.backupPath = builder.backupPath; this.defenseMode = builder.defenseMode; this.defensePath = builder.defensePath; this.excludeFile = builder.excludeFile; this.excludeFilePath = builder.excludeFilePath; this.excludeFileType = builder.excludeFileType; this.guardType = builder.guardType; this.includeFile = builder.includeFile; this.includeFileType = builder.includeFileType; this.processPathList = builder.processPathList; } public static Builder builder() { return new Builder(); } public static PathConfDTOList create() { return builder().build(); } /** * @return backupPath */ public String getBackupPath() { return this.backupPath; } /** * @return defenseMode */ public String getDefenseMode() { return this.defenseMode; } /** * @return defensePath */ public String getDefensePath() { return this.defensePath; } /** * @return excludeFile */ public String getExcludeFile() { return this.excludeFile; } /** * @return excludeFilePath */ public String getExcludeFilePath() { return this.excludeFilePath; } /** * @return excludeFileType */ public String getExcludeFileType() { return this.excludeFileType; } /** * @return guardType */ public Integer getGuardType() { return this.guardType; } /** * @return includeFile */ public String getIncludeFile() { return this.includeFile; } /** * @return includeFileType */ public String getIncludeFileType() { return this.includeFileType; } /** * @return processPathList */ public java.util.List<String> getProcessPathList() { return this.processPathList; } public static final class Builder { private String backupPath; private String defenseMode; private String defensePath; private String excludeFile; private String excludeFilePath; private String excludeFileType; private Integer guardType; private String includeFile; private String includeFileType; private java.util.List<String> processPathList; private Builder() { } private Builder(PathConfDTOList model) { this.backupPath = model.backupPath; this.defenseMode = model.defenseMode; this.defensePath = model.defensePath; this.excludeFile = model.excludeFile; this.excludeFilePath = model.excludeFilePath; this.excludeFileType = model.excludeFileType; this.guardType = model.guardType; this.includeFile = model.includeFile; this.includeFileType = model.includeFileType; this.processPathList = model.processPathList; } /** * <p>The backup paths.</p> * * <strong>example:</strong> * <p>/tmp/test</p> */ public Builder backupPath(String backupPath) { this.backupPath = backupPath; return this; } /** * <p>The prevention mode. Valid values:</p> * <ul> * <li><strong>block</strong></li> * <li><strong>audit</strong></li> * </ul> * * <strong>example:</strong> * <p>audit</p> */ public Builder defenseMode(String defenseMode) { this.defenseMode = defenseMode; return this; } /** * <p>The protected path.</p> * * <strong>example:</strong> * <p>/usr/test/</p> */ public Builder defensePath(String defensePath) { this.defensePath = defensePath; return this; } /** * <p>The file that is excluded.</p> * * <strong>example:</strong> * <p>php</p> */ public Builder excludeFile(String excludeFile) { this.excludeFile = excludeFile; return this; } /** * <p>The path to the file that is excluded.</p> * * <strong>example:</strong> * <p>/usr/tt</p> */ public Builder excludeFilePath(String excludeFilePath) { this.excludeFilePath = excludeFilePath; return this; } /** * <p>The type of the file that is excluded.</p> * * <strong>example:</strong> * <p>jsp</p> */ public Builder excludeFileType(String excludeFileType) { this.excludeFileType = excludeFileType; return this; } /** * <p>The protection mode. Valid values:</p> * <ul> * <li><strong>0</strong>: basic mode (whitelist)</li> * <li><strong>1</strong>: complex mode (blacklist)</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder guardType(Integer guardType) { this.guardType = guardType; return this; } /** * <p>The file that is included.</p> * * <strong>example:</strong> * <p>/usr/test</p> */ public Builder includeFile(String includeFile) { this.includeFile = includeFile; return this; } /** * <p>The type of the file that is included.</p> * * <strong>example:</strong> * <p>php</p> */ public Builder includeFileType(String includeFileType) { this.includeFileType = includeFileType; return this; } /** * <p>The processes that are added to the whitelist.</p> */ public Builder processPathList(java.util.List<String> processPathList) { this.processPathList = processPathList; return this; } public PathConfDTOList build() { return new PathConfDTOList(this); } } } /** * * {@link ListSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>ListSasContainerWebDefenseRuleResponseBody</p> */ public static class ContainerWebDefenseRuleList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("ApptotalCount") private Integer apptotalCount; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private Long gmtModified; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("PathConfDTOList") private java.util.List<PathConfDTOList> pathConfDTOList; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.NameInMap("RuleStatus") private Integer ruleStatus; private ContainerWebDefenseRuleList(Builder builder) { this.aliUid = builder.aliUid; this.apptotalCount = builder.apptotalCount; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.id = builder.id; this.pathConfDTOList = builder.pathConfDTOList; this.ruleName = builder.ruleName; this.ruleStatus = builder.ruleStatus; } public static Builder builder() { return new Builder(); } public static ContainerWebDefenseRuleList create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return apptotalCount */ public Integer getApptotalCount() { return this.apptotalCount; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return id */ public Long getId() { return this.id; } /** * @return pathConfDTOList */ public java.util.List<PathConfDTOList> getPathConfDTOList() { return this.pathConfDTOList; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleStatus */ public Integer getRuleStatus() { return this.ruleStatus; } public static final class Builder { private Long aliUid; private Integer apptotalCount; private Long gmtCreate; private Long gmtModified; private Long id; private java.util.List<PathConfDTOList> pathConfDTOList; private String ruleName; private Integer ruleStatus; private Builder() { } private Builder(ContainerWebDefenseRuleList model) { this.aliUid = model.aliUid; this.apptotalCount = model.apptotalCount; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.id = model.id; this.pathConfDTOList = model.pathConfDTOList; this.ruleName = model.ruleName; this.ruleStatus = model.ruleStatus; } /** * <p>The user ID.</p> * * <strong>example:</strong> * <p>1766185894104675</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <p>The number of the applications.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder apptotalCount(Integer apptotalCount) { this.apptotalCount = apptotalCount; return this; } /** * <p>The creation time. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1698978109000</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The timestamp when the alert event was last modified. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1678852686000</p> */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>420336648</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The paths that are protected.</p> */ public Builder pathConfDTOList(java.util.List<PathConfDTOList> pathConfDTOList) { this.pathConfDTOList = pathConfDTOList; return this; } /** * <p>The name of the rule.</p> * * <strong>example:</strong> * <p>test2</p> */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * <p>The status of the rule. Valid values:</p> * <ul> * <li><strong>1</strong>: enabled</li> * <li><strong>0</strong>: disabled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder ruleStatus(Integer ruleStatus) { this.ruleStatus = ruleStatus; return this; } public ContainerWebDefenseRuleList build() { return new ContainerWebDefenseRuleList(this); } } } /** * * {@link ListSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>ListSasContainerWebDefenseRuleResponseBody</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>4</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>42</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListSupportAttackPathAssetRequest.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 ListSupportAttackPathAssetRequest} extends {@link RequestModel} * * <p>ListSupportAttackPathAssetRequest</p> */ public class ListSupportAttackPathAssetRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PathName") private String pathName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PathType") private String pathType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SupportType") @com.aliyun.core.annotation.Validation(required = true) private String supportType; private ListSupportAttackPathAssetRequest(Builder builder) { super(builder); this.nodeType = builder.nodeType; this.pathName = builder.pathName; this.pathType = builder.pathType; this.supportType = builder.supportType; } public static Builder builder() { return new Builder(); } public static ListSupportAttackPathAssetRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return pathName */ public String getPathName() { return this.pathName; } /** * @return pathType */ public String getPathType() { return this.pathType; } /** * @return supportType */ public String getSupportType() { return this.supportType; } public static final class Builder extends Request.Builder<ListSupportAttackPathAssetRequest, Builder> { private String nodeType; private String pathName; private String pathType; private String supportType; private Builder() { super(); } private Builder(ListSupportAttackPathAssetRequest request) { super(request); this.nodeType = request.nodeType; this.pathName = request.pathName; this.pathType = request.pathType; this.supportType = request.supportType; } /** * <p>Node type, with values:</p> * <ul> * <li><strong>start</strong>: Start point.</li> * <li><strong>end</strong>: End point.</li> * </ul> * * <strong>example:</strong> * <p>end</p> */ public Builder nodeType(String nodeType) { this.putQueryParameter("NodeType", nodeType); this.nodeType = nodeType; return this; } /** * <p>Path name.</p> * <blockquote> * <p>You can call <a href="~~ListAvailableAttackPath~~">ListAvailableAttackPath</a> to query the path names.</p> * </blockquote> * * <strong>example:</strong> * <p>ecs_get_credential_by_create_login_profile</p> */ public Builder pathName(String pathName) { this.putQueryParameter("PathName", pathName); this.pathName = pathName; return this; } /** * <p>Path type.</p> * <blockquote> * <p>You can call <a href="~~ListAvailableAttackPath~~">ListAvailableAttackPath</a> to query the path types.</p> * </blockquote> * * <strong>example:</strong> * <p>role_escalation</p> */ public Builder pathType(String pathType) { this.putQueryParameter("PathType", pathType); this.pathType = pathType; return this; } /** * <p>Support type, with values:</p> * <ul> * <li><strong>event</strong>: Attack path alert event.</li> * <li><strong>whitelist</strong>: Attack path whitelist.</li> * <li><strong>sensitive</strong>: Sensitive assets in the attack path.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>event</p> */ public Builder supportType(String supportType) { this.putQueryParameter("SupportType", supportType); this.supportType = supportType; return this; } @Override public ListSupportAttackPathAssetRequest build() { return new ListSupportAttackPathAssetRequest(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/ListSupportAttackPathAssetResponse.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 ListSupportAttackPathAssetResponse} extends {@link TeaModel} * * <p>ListSupportAttackPathAssetResponse</p> */ public class ListSupportAttackPathAssetResponse 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 ListSupportAttackPathAssetResponseBody body; private ListSupportAttackPathAssetResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSupportAttackPathAssetResponse 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 ListSupportAttackPathAssetResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSupportAttackPathAssetResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSupportAttackPathAssetResponseBody body); @Override ListSupportAttackPathAssetResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSupportAttackPathAssetResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSupportAttackPathAssetResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSupportAttackPathAssetResponse 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(ListSupportAttackPathAssetResponseBody body) { this.body = body; return this; } @Override public ListSupportAttackPathAssetResponse build() { return new ListSupportAttackPathAssetResponse(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/ListSupportAttackPathAssetResponseBody.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 ListSupportAttackPathAssetResponseBody} extends {@link TeaModel} * * <p>ListSupportAttackPathAssetResponseBody</p> */ public class ListSupportAttackPathAssetResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AttackPathAssetTypeList") private java.util.List<AttackPathAssetTypeList> attackPathAssetTypeList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListSupportAttackPathAssetResponseBody(Builder builder) { this.attackPathAssetTypeList = builder.attackPathAssetTypeList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListSupportAttackPathAssetResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return attackPathAssetTypeList */ public java.util.List<AttackPathAssetTypeList> getAttackPathAssetTypeList() { return this.attackPathAssetTypeList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<AttackPathAssetTypeList> attackPathAssetTypeList; private String requestId; private Builder() { } private Builder(ListSupportAttackPathAssetResponseBody model) { this.attackPathAssetTypeList = model.attackPathAssetTypeList; this.requestId = model.requestId; } /** * <p>List of cloud product asset types for the attack path.</p> */ public Builder attackPathAssetTypeList(java.util.List<AttackPathAssetTypeList> attackPathAssetTypeList) { this.attackPathAssetTypeList = attackPathAssetTypeList; return this; } /** * <p>The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>3956048F-9D73-5EDB-834B-4827BB48***</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListSupportAttackPathAssetResponseBody build() { return new ListSupportAttackPathAssetResponseBody(this); } } /** * * {@link ListSupportAttackPathAssetResponseBody} extends {@link TeaModel} * * <p>ListSupportAttackPathAssetResponseBody</p> */ public static class AttackPathAssetTypeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssetSubType") private Long assetSubType; @com.aliyun.core.annotation.NameInMap("AssetType") private Long assetType; @com.aliyun.core.annotation.NameInMap("Vendor") private Long vendor; private AttackPathAssetTypeList(Builder builder) { this.assetSubType = builder.assetSubType; this.assetType = builder.assetType; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static AttackPathAssetTypeList create() { return builder().build(); } /** * @return assetSubType */ public Long getAssetSubType() { return this.assetSubType; } /** * @return assetType */ public Long getAssetType() { return this.assetType; } /** * @return vendor */ public Long getVendor() { return this.vendor; } public static final class Builder { private Long assetSubType; private Long assetType; private Long vendor; private Builder() { } private Builder(AttackPathAssetTypeList model) { this.assetSubType = model.assetSubType; this.assetType = model.assetType; this.vendor = model.vendor; } /** * <p>Subtype of the cloud product asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder assetSubType(Long assetSubType) { this.assetSubType = assetSubType; return this; } /** * <p>Type of the cloud product asset.</p> * * <strong>example:</strong> * <p>13</p> */ public Builder assetType(Long assetType) { this.assetType = assetType; return this; } /** * <p>Vendor of the cloud product asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Long vendor) { this.vendor = vendor; return this; } public AttackPathAssetTypeList build() { return new AttackPathAssetTypeList(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/ListSupportObjectSuffixRequest.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 ListSupportObjectSuffixRequest} extends {@link RequestModel} * * <p>ListSupportObjectSuffixRequest</p> */ public class ListSupportObjectSuffixRequest extends Request { private ListSupportObjectSuffixRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListSupportObjectSuffixRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListSupportObjectSuffixRequest, Builder> { private Builder() { super(); } private Builder(ListSupportObjectSuffixRequest request) { super(request); } @Override public ListSupportObjectSuffixRequest build() { return new ListSupportObjectSuffixRequest(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/ListSupportObjectSuffixResponse.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 ListSupportObjectSuffixResponse} extends {@link TeaModel} * * <p>ListSupportObjectSuffixResponse</p> */ public class ListSupportObjectSuffixResponse 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 ListSupportObjectSuffixResponseBody body; private ListSupportObjectSuffixResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSupportObjectSuffixResponse 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 ListSupportObjectSuffixResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSupportObjectSuffixResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSupportObjectSuffixResponseBody body); @Override ListSupportObjectSuffixResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSupportObjectSuffixResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSupportObjectSuffixResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSupportObjectSuffixResponse 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(ListSupportObjectSuffixResponseBody body) { this.body = body; return this; } @Override public ListSupportObjectSuffixResponse build() { return new ListSupportObjectSuffixResponse(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/ListSupportObjectSuffixResponseBody.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 ListSupportObjectSuffixResponseBody} extends {@link TeaModel} * * <p>ListSupportObjectSuffixResponseBody</p> */ public class ListSupportObjectSuffixResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<String> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListSupportObjectSuffixResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListSupportObjectSuffixResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<String> getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> data; private String requestId; private Builder() { } private Builder(ListSupportObjectSuffixResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder data(java.util.List<String> data) { this.data = data; 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; } public ListSupportObjectSuffixResponseBody build() { return new ListSupportObjectSuffixResponseBody(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/ListSystemAggregationRulesRequest.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 ListSystemAggregationRulesRequest} extends {@link RequestModel} * * <p>ListSystemAggregationRulesRequest</p> */ public class ListSystemAggregationRulesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AggregationIds") private java.util.List<Integer> aggregationIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true, maximum = 1000, minimum = 1) 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") @com.aliyun.core.annotation.Validation(required = true, maximum = 1000, minimum = 10) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleTypes") private java.util.List<Integer> ruleTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SystemType") private Integer systemType; private ListSystemAggregationRulesRequest(Builder builder) { super(builder); this.aggregationIds = builder.aggregationIds; this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.ruleName = builder.ruleName; this.ruleTypes = builder.ruleTypes; this.systemType = builder.systemType; } public static Builder builder() { return new Builder(); } public static ListSystemAggregationRulesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aggregationIds */ public java.util.List<Integer> getAggregationIds() { return this.aggregationIds; } /** * @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 ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleTypes */ public java.util.List<Integer> getRuleTypes() { return this.ruleTypes; } /** * @return systemType */ public Integer getSystemType() { return this.systemType; } public static final class Builder extends Request.Builder<ListSystemAggregationRulesRequest, Builder> { private java.util.List<Integer> aggregationIds; private Integer currentPage; private String lang; private Integer pageSize; private String ruleName; private java.util.List<Integer> ruleTypes; private Integer systemType; private Builder() { super(); } private Builder(ListSystemAggregationRulesRequest request) { super(request); this.aggregationIds = request.aggregationIds; this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.ruleName = request.ruleName; this.ruleTypes = request.ruleTypes; this.systemType = request.systemType; } /** * <p>The IDs of the aggregation types.</p> */ public Builder aggregationIds(java.util.List<Integer> aggregationIds) { this.putQueryParameter("AggregationIds", aggregationIds); this.aggregationIds = aggregationIds; return this; } /** * <p>The number of the page to return.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The 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.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the rule.</p> * * <strong>example:</strong> * <p>Rule****</p> */ public Builder ruleName(String ruleName) { this.putQueryParameter("RuleName", ruleName); this.ruleName = ruleName; return this; } /** * <p>The types of the rules.</p> */ public Builder ruleTypes(java.util.List<Integer> ruleTypes) { this.putQueryParameter("RuleTypes", ruleTypes); this.ruleTypes = ruleTypes; return this; } /** * <p>The type of the operating system. Valid values:</p> * <ul> * <li><strong>2</strong>: Windows</li> * <li><strong>1</strong>: Linux</li> * <li><strong>0</strong>: all</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder systemType(Integer systemType) { this.putQueryParameter("SystemType", systemType); this.systemType = systemType; return this; } @Override public ListSystemAggregationRulesRequest build() { return new ListSystemAggregationRulesRequest(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/ListSystemAggregationRulesResponse.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 ListSystemAggregationRulesResponse} extends {@link TeaModel} * * <p>ListSystemAggregationRulesResponse</p> */ public class ListSystemAggregationRulesResponse 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 ListSystemAggregationRulesResponseBody body; private ListSystemAggregationRulesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSystemAggregationRulesResponse 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 ListSystemAggregationRulesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSystemAggregationRulesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSystemAggregationRulesResponseBody body); @Override ListSystemAggregationRulesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSystemAggregationRulesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSystemAggregationRulesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSystemAggregationRulesResponse 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(ListSystemAggregationRulesResponseBody body) { this.body = body; return this; } @Override public ListSystemAggregationRulesResponse build() { return new ListSystemAggregationRulesResponse(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/ListSystemAggregationRulesResponseBody.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 ListSystemAggregationRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemAggregationRulesResponseBody</p> */ public class ListSystemAggregationRulesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AggregationList") private java.util.List<AggregationList> aggregationList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListSystemAggregationRulesResponseBody(Builder builder) { this.aggregationList = builder.aggregationList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListSystemAggregationRulesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aggregationList */ public java.util.List<AggregationList> getAggregationList() { return this.aggregationList; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<AggregationList> aggregationList; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListSystemAggregationRulesResponseBody model) { this.aggregationList = model.aggregationList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>An array that consists of the details about the aggregation types.</p> */ public Builder aggregationList(java.util.List<AggregationList> aggregationList) { this.aggregationList = aggregationList; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>6800B790-B10A-5C2F-BEB3-F1D5CE61****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListSystemAggregationRulesResponseBody build() { return new ListSystemAggregationRulesResponseBody(this); } } /** * * {@link ListSystemAggregationRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemAggregationRulesResponseBody</p> */ public static class AggregationList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private Integer id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RuleCount") private Integer ruleCount; private AggregationList(Builder builder) { this.id = builder.id; this.name = builder.name; this.ruleCount = builder.ruleCount; } public static Builder builder() { return new Builder(); } public static AggregationList create() { return builder().build(); } /** * @return id */ public Integer getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return ruleCount */ public Integer getRuleCount() { return this.ruleCount; } public static final class Builder { private Integer id; private String name; private Integer ruleCount; private Builder() { } private Builder(AggregationList model) { this.id = model.id; this.name = model.name; this.ruleCount = model.ruleCount; } /** * <p>The ID of the aggregation type.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(Integer id) { this.id = id; return this; } /** * <p>The name of the aggregation type.</p> * * <strong>example:</strong> * <p>Remote control****</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The number of rules that are of the aggregation type.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder ruleCount(Integer ruleCount) { this.ruleCount = ruleCount; return this; } public AggregationList build() { return new AggregationList(this); } } } /** * * {@link ListSystemAggregationRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemAggregationRulesResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>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>30</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListSystemClientRuleTypesRequest.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 ListSystemClientRuleTypesRequest} extends {@link RequestModel} * * <p>ListSystemClientRuleTypesRequest</p> */ public class ListSystemClientRuleTypesRequest extends Request { private ListSystemClientRuleTypesRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListSystemClientRuleTypesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListSystemClientRuleTypesRequest, Builder> { private Builder() { super(); } private Builder(ListSystemClientRuleTypesRequest request) { super(request); } @Override public ListSystemClientRuleTypesRequest build() { return new ListSystemClientRuleTypesRequest(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/ListSystemClientRuleTypesResponse.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 ListSystemClientRuleTypesResponse} extends {@link TeaModel} * * <p>ListSystemClientRuleTypesResponse</p> */ public class ListSystemClientRuleTypesResponse 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 ListSystemClientRuleTypesResponseBody body; private ListSystemClientRuleTypesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSystemClientRuleTypesResponse 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 ListSystemClientRuleTypesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSystemClientRuleTypesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSystemClientRuleTypesResponseBody body); @Override ListSystemClientRuleTypesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSystemClientRuleTypesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSystemClientRuleTypesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSystemClientRuleTypesResponse 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(ListSystemClientRuleTypesResponseBody body) { this.body = body; return this; } @Override public ListSystemClientRuleTypesResponse build() { return new ListSystemClientRuleTypesResponse(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/ListSystemClientRuleTypesResponseBody.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 ListSystemClientRuleTypesResponseBody} extends {@link TeaModel} * * <p>ListSystemClientRuleTypesResponseBody</p> */ public class ListSystemClientRuleTypesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RuleTypes") private java.util.List<String> ruleTypes; private ListSystemClientRuleTypesResponseBody(Builder builder) { this.requestId = builder.requestId; this.ruleTypes = builder.ruleTypes; } public static Builder builder() { return new Builder(); } public static ListSystemClientRuleTypesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return ruleTypes */ public java.util.List<String> getRuleTypes() { return this.ruleTypes; } public static final class Builder { private String requestId; private java.util.List<String> ruleTypes; private Builder() { } private Builder(ListSystemClientRuleTypesResponseBody model) { this.requestId = model.requestId; this.ruleTypes = model.ruleTypes; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>79CFF74D-E967-5407-8A78-EE03B925****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the rule types.</p> */ public Builder ruleTypes(java.util.List<String> ruleTypes) { this.ruleTypes = ruleTypes; return this; } public ListSystemClientRuleTypesResponseBody build() { return new ListSystemClientRuleTypesResponseBody(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/ListSystemClientRulesRequest.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 ListSystemClientRulesRequest} extends {@link RequestModel} * * <p>ListSystemClientRulesRequest</p> */ public class ListSystemClientRulesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AggregationIds") private java.util.List<Integer> aggregationIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true, maximum = 1000, minimum = 1) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsContainer") private Integer isContainer; @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") @com.aliyun.core.annotation.Validation(required = true, maximum = 1000, minimum = 10) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleTypes") private java.util.List<Integer> ruleTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SystemType") private Integer systemType; private ListSystemClientRulesRequest(Builder builder) { super(builder); this.aggregationIds = builder.aggregationIds; this.currentPage = builder.currentPage; this.isContainer = builder.isContainer; this.lang = builder.lang; this.pageSize = builder.pageSize; this.ruleName = builder.ruleName; this.ruleTypes = builder.ruleTypes; this.systemType = builder.systemType; } public static Builder builder() { return new Builder(); } public static ListSystemClientRulesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aggregationIds */ public java.util.List<Integer> getAggregationIds() { return this.aggregationIds; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return isContainer */ public Integer getIsContainer() { return this.isContainer; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleTypes */ public java.util.List<Integer> getRuleTypes() { return this.ruleTypes; } /** * @return systemType */ public Integer getSystemType() { return this.systemType; } public static final class Builder extends Request.Builder<ListSystemClientRulesRequest, Builder> { private java.util.List<Integer> aggregationIds; private Integer currentPage; private Integer isContainer; private String lang; private Integer pageSize; private String ruleName; private java.util.List<Integer> ruleTypes; private Integer systemType; private Builder() { super(); } private Builder(ListSystemClientRulesRequest request) { super(request); this.aggregationIds = request.aggregationIds; this.currentPage = request.currentPage; this.isContainer = request.isContainer; this.lang = request.lang; this.pageSize = request.pageSize; this.ruleName = request.ruleName; this.ruleTypes = request.ruleTypes; this.systemType = request.systemType; } /** * <p>The IDs of the aggregation types for rules.</p> */ public Builder aggregationIds(java.util.List<Integer> aggregationIds) { this.putQueryParameter("AggregationIds", aggregationIds); this.aggregationIds = aggregationIds; return this; } /** * <p>The number of the page to return.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether to query only container images. 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 isContainer(Integer isContainer) { this.putQueryParameter("IsContainer", isContainer); this.isContainer = isContainer; 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.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the system defense rule.</p> * * <strong>example:</strong> * <p>Rule****</p> */ public Builder ruleName(String ruleName) { this.putQueryParameter("RuleName", ruleName); this.ruleName = ruleName; return this; } /** * <p>The types of the system defense rules.</p> */ public Builder ruleTypes(java.util.List<Integer> ruleTypes) { this.putQueryParameter("RuleTypes", ruleTypes); this.ruleTypes = ruleTypes; return this; } /** * <p>The type of the OS. Valid values:</p> * <ul> * <li><strong>2</strong>: Windows</li> * <li><strong>1</strong>: Linux</li> * <li><strong>0</strong>: all types</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder systemType(Integer systemType) { this.putQueryParameter("SystemType", systemType); this.systemType = systemType; return this; } @Override public ListSystemClientRulesRequest build() { return new ListSystemClientRulesRequest(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/ListSystemClientRulesResponse.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 ListSystemClientRulesResponse} extends {@link TeaModel} * * <p>ListSystemClientRulesResponse</p> */ public class ListSystemClientRulesResponse 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 ListSystemClientRulesResponseBody body; private ListSystemClientRulesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSystemClientRulesResponse 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 ListSystemClientRulesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSystemClientRulesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSystemClientRulesResponseBody body); @Override ListSystemClientRulesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSystemClientRulesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSystemClientRulesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSystemClientRulesResponse 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(ListSystemClientRulesResponseBody body) { this.body = body; return this; } @Override public ListSystemClientRulesResponse build() { return new ListSystemClientRulesResponse(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/ListSystemClientRulesResponseBody.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 ListSystemClientRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemClientRulesResponseBody</p> */ public class ListSystemClientRulesResponseBody 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("RuleList") private java.util.List<RuleList> ruleList; private ListSystemClientRulesResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.ruleList = builder.ruleList; } public static Builder builder() { return new Builder(); } public static ListSystemClientRulesResponseBody 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 ruleList */ public java.util.List<RuleList> getRuleList() { return this.ruleList; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<RuleList> ruleList; private Builder() { } private Builder(ListSystemClientRulesResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.ruleList = model.ruleList; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>C43CA30F-EF67-51BB-8C95-F31B8303****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the system defense rules.</p> */ public Builder ruleList(java.util.List<RuleList> ruleList) { this.ruleList = ruleList; return this; } public ListSystemClientRulesResponseBody build() { return new ListSystemClientRulesResponseBody(this); } } /** * * {@link ListSystemClientRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemClientRulesResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>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>17</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link ListSystemClientRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemClientRulesResponseBody</p> */ public static class Policies extends TeaModel { @com.aliyun.core.annotation.NameInMap("PolicyKey") private String policyKey; @com.aliyun.core.annotation.NameInMap("PolicyName") private String policyName; private Policies(Builder builder) { this.policyKey = builder.policyKey; this.policyName = builder.policyName; } public static Builder builder() { return new Builder(); } public static Policies create() { return builder().build(); } /** * @return policyKey */ public String getPolicyKey() { return this.policyKey; } /** * @return policyName */ public String getPolicyName() { return this.policyName; } public static final class Builder { private String policyKey; private String policyName; private Builder() { } private Builder(Policies model) { this.policyKey = model.policyKey; this.policyName = model.policyName; } /** * <p>The policy key.</p> * * <strong>example:</strong> * <p>system_auto_****</p> */ public Builder policyKey(String policyKey) { this.policyKey = policyKey; return this; } /** * <p>The name of the policy.</p> * * <strong>example:</strong> * <p>System self-starting task****</p> */ public Builder policyName(String policyName) { this.policyName = policyName; return this; } public Policies build() { return new Policies(this); } } } /** * * {@link ListSystemClientRulesResponseBody} extends {@link TeaModel} * * <p>ListSystemClientRulesResponseBody</p> */ public static class RuleList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AggregationName") private String aggregationName; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Platform") private String platform; @com.aliyun.core.annotation.NameInMap("Policies") private java.util.List<Policies> policies; @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.NameInMap("RuleType") private Integer ruleType; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("SwitchEnable") private Boolean switchEnable; @com.aliyun.core.annotation.NameInMap("SwitchId") private String switchId; private RuleList(Builder builder) { this.aggregationName = builder.aggregationName; this.description = builder.description; this.platform = builder.platform; this.policies = builder.policies; this.ruleId = builder.ruleId; this.ruleName = builder.ruleName; this.ruleType = builder.ruleType; this.status = builder.status; this.switchEnable = builder.switchEnable; this.switchId = builder.switchId; } public static Builder builder() { return new Builder(); } public static RuleList create() { return builder().build(); } /** * @return aggregationName */ public String getAggregationName() { return this.aggregationName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return platform */ public String getPlatform() { return this.platform; } /** * @return policies */ public java.util.List<Policies> getPolicies() { return this.policies; } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleType */ public Integer getRuleType() { return this.ruleType; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return switchEnable */ public Boolean getSwitchEnable() { return this.switchEnable; } /** * @return switchId */ public String getSwitchId() { return this.switchId; } public static final class Builder { private String aggregationName; private String description; private String platform; private java.util.List<Policies> policies; private Long ruleId; private String ruleName; private Integer ruleType; private Integer status; private Boolean switchEnable; private String switchId; private Builder() { } private Builder(RuleList model) { this.aggregationName = model.aggregationName; this.description = model.description; this.platform = model.platform; this.policies = model.policies; this.ruleId = model.ruleId; this.ruleName = model.ruleName; this.ruleType = model.ruleType; this.status = model.status; this.switchEnable = model.switchEnable; this.switchId = model.switchId; } /** * <p>The name of the aggregation type for the system defense rule.</p> * * <strong>example:</strong> * <p>Initial entry</p> */ public Builder aggregationName(String aggregationName) { this.aggregationName = aggregationName; return this; } /** * <p>The description of the system defense rule.</p> * * <strong>example:</strong> * <p>Supports alerting or blocking of images that have high-risk vulnerabilities****</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The type of the OS. Valid values:</p> * <ul> * <li><strong>windows</strong>: Windows</li> * <li><strong>linux</strong>: Linux</li> * <li><strong>all</strong>: all types</li> * </ul> * * <strong>example:</strong> * <p>linux</p> */ public Builder platform(String platform) { this.platform = platform; return this; } /** * <p>An array that consists of policies.</p> */ public Builder policies(java.util.List<Policies> policies) { this.policies = policies; return this; } /** * <p>The ID of the system defense rule.</p> * * <strong>example:</strong> * <p>30****</p> */ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; return this; } /** * <p>The name of the system defense rule.</p> * * <strong>example:</strong> * <p>Rule****</p> */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * <p>The type of the system defense rule. Valid values:</p> * <ul> * <li><strong>1</strong>: alihips, process-specific defense</li> * <li><strong>2</strong>: alinet, network-specific defense</li> * </ul> * * <strong>example:</strong> * <p>alihips</p> */ public Builder ruleType(Integer ruleType) { this.ruleType = ruleType; return this; } /** * <p>The status of the system defense rule. Valid values:</p> * <ul> * <li><strong>online</strong>: enabled</li> * <li><strong>offline</strong>: disabled</li> * </ul> * * <strong>example:</strong> * <p>online</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>Whether the current rule switch takes effect. Valid values:</p> * <ul> * <li><strong>true</strong>: enabled</li> * <li><strong>false</strong>: disabled</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder switchEnable(Boolean switchEnable) { this.switchEnable = switchEnable; return this; } /** * <p>The switch ID of the system defense rule.</p> * * <strong>example:</strong> * <p>USER-ENABLE-SWITCH-TYPE_****</p> */ public Builder switchId(String switchId) { this.switchId = switchId; return this; } public RuleList build() { return new RuleList(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/ListSystemRuleAggregationTypesRequest.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 ListSystemRuleAggregationTypesRequest} extends {@link RequestModel} * * <p>ListSystemRuleAggregationTypesRequest</p> */ public class ListSystemRuleAggregationTypesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private ListSystemRuleAggregationTypesRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static ListSystemRuleAggregationTypesRequest 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<ListSystemRuleAggregationTypesRequest, Builder> { private String lang; private Builder() { super(); } private Builder(ListSystemRuleAggregationTypesRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the request and response. Default value: zh. 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 ListSystemRuleAggregationTypesRequest build() { return new ListSystemRuleAggregationTypesRequest(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/ListSystemRuleAggregationTypesResponse.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 ListSystemRuleAggregationTypesResponse} extends {@link TeaModel} * * <p>ListSystemRuleAggregationTypesResponse</p> */ public class ListSystemRuleAggregationTypesResponse 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 ListSystemRuleAggregationTypesResponseBody body; private ListSystemRuleAggregationTypesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListSystemRuleAggregationTypesResponse 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 ListSystemRuleAggregationTypesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListSystemRuleAggregationTypesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListSystemRuleAggregationTypesResponseBody body); @Override ListSystemRuleAggregationTypesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListSystemRuleAggregationTypesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListSystemRuleAggregationTypesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListSystemRuleAggregationTypesResponse 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(ListSystemRuleAggregationTypesResponseBody body) { this.body = body; return this; } @Override public ListSystemRuleAggregationTypesResponse build() { return new ListSystemRuleAggregationTypesResponse(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/ListSystemRuleAggregationTypesResponseBody.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 ListSystemRuleAggregationTypesResponseBody} extends {@link TeaModel} * * <p>ListSystemRuleAggregationTypesResponseBody</p> */ public class ListSystemRuleAggregationTypesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AggregationTypeList") private java.util.List<AggregationTypeList> aggregationTypeList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListSystemRuleAggregationTypesResponseBody(Builder builder) { this.aggregationTypeList = builder.aggregationTypeList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListSystemRuleAggregationTypesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aggregationTypeList */ public java.util.List<AggregationTypeList> getAggregationTypeList() { return this.aggregationTypeList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<AggregationTypeList> aggregationTypeList; private String requestId; private Builder() { } private Builder(ListSystemRuleAggregationTypesResponseBody model) { this.aggregationTypeList = model.aggregationTypeList; this.requestId = model.requestId; } /** * <p>An array that consists of the aggregation types.</p> */ public Builder aggregationTypeList(java.util.List<AggregationTypeList> aggregationTypeList) { this.aggregationTypeList = aggregationTypeList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>1427F3BE-8A7E-57F9-BD4E-590B00D2****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListSystemRuleAggregationTypesResponseBody build() { return new ListSystemRuleAggregationTypesResponseBody(this); } } /** * * {@link ListSystemRuleAggregationTypesResponseBody} extends {@link TeaModel} * * <p>ListSystemRuleAggregationTypesResponseBody</p> */ public static class AggregationTypeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private Integer id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private AggregationTypeList(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static AggregationTypeList create() { return builder().build(); } /** * @return id */ public Integer getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private Integer id; private String name; private Builder() { } private Builder(AggregationTypeList model) { this.id = model.id; this.name = model.name; } /** * <p>The ID of the aggregation type.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(Integer id) { this.id = id; return this; } /** * <p>The name of the aggregation type.</p> * * <strong>example:</strong> * <p>Remote control****</p> */ public Builder name(String name) { this.name = name; return this; } public AggregationTypeList build() { return new AggregationTypeList(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/ListTargetByBatchRequest.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 ListTargetByBatchRequest} extends {@link RequestModel} * * <p>ListTargetByBatchRequest</p> */ public class ListTargetByBatchRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BatchId") private Long batchId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperationBase") private Integer operationBase; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; private ListTargetByBatchRequest(Builder builder) { super(builder); this.batchId = builder.batchId; this.currentPage = builder.currentPage; this.operationBase = builder.operationBase; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListTargetByBatchRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return batchId */ public Long getBatchId() { return this.batchId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return operationBase */ public Integer getOperationBase() { return this.operationBase; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<ListTargetByBatchRequest, Builder> { private Long batchId; private Integer currentPage; private Integer operationBase; private Integer pageSize; private Builder() { super(); } private Builder(ListTargetByBatchRequest request) { super(request); this.batchId = request.batchId; this.currentPage = request.currentPage; this.operationBase = request.operationBase; this.pageSize = request.pageSize; } /** * <p>The ID of the release batch.</p> * * <strong>example:</strong> * <p>1371</p> */ public Builder batchId(Long batchId) { this.putQueryParameter("BatchId", batchId); this.batchId = batchId; return this; } /** * <p>The page number of the current page in a paginated query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Asset selection dimension. Values:</p> * <ul> * <li><strong>0</strong>: Machine instance</li> * <li><strong>1</strong>: Machine group</li> * <li><strong>2</strong>: VPC instance ID</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder operationBase(Integer operationBase) { this.putQueryParameter("OperationBase", operationBase); this.operationBase = operationBase; return this; } /** * <p>The maximum number of items to return per page in a paginated query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public ListTargetByBatchRequest build() { return new ListTargetByBatchRequest(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/ListTargetByBatchResponse.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 ListTargetByBatchResponse} extends {@link TeaModel} * * <p>ListTargetByBatchResponse</p> */ public class ListTargetByBatchResponse 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 ListTargetByBatchResponseBody body; private ListTargetByBatchResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListTargetByBatchResponse 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 ListTargetByBatchResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListTargetByBatchResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListTargetByBatchResponseBody body); @Override ListTargetByBatchResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListTargetByBatchResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListTargetByBatchResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListTargetByBatchResponse 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(ListTargetByBatchResponseBody body) { this.body = body; return this; } @Override public ListTargetByBatchResponse build() { return new ListTargetByBatchResponse(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/ListTargetByBatchResponseBody.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 ListTargetByBatchResponseBody} extends {@link TeaModel} * * <p>ListTargetByBatchResponseBody</p> */ public class ListTargetByBatchResponseBody 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("TargetList") private java.util.List<String> targetList; private ListTargetByBatchResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.targetList = builder.targetList; } public static Builder builder() { return new Builder(); } public static ListTargetByBatchResponseBody 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 targetList */ public java.util.List<String> getTargetList() { return this.targetList; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<String> targetList; private Builder() { } private Builder(ListTargetByBatchResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.targetList = model.targetList; } /** * <p>Pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>6EBB8614-746D-555D-AB69-C801AEC7DCE0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The returned list.</p> */ public Builder targetList(java.util.List<String> targetList) { this.targetList = targetList; return this; } public ListTargetByBatchResponseBody build() { return new ListTargetByBatchResponseBody(this); } } /** * * {@link ListTargetByBatchResponseBody} extends {@link TeaModel} * * <p>ListTargetByBatchResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number of the current page in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The maximum number of items to return per page in a paginated query.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of items found in the query.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListUnfinishedOnceTaskRequest.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 ListUnfinishedOnceTaskRequest} extends {@link RequestModel} * * <p>ListUnfinishedOnceTaskRequest</p> */ public class ListUnfinishedOnceTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") @com.aliyun.core.annotation.Validation(required = true) private String taskType; private ListUnfinishedOnceTaskRequest(Builder builder) { super(builder); this.target = builder.target; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static ListUnfinishedOnceTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return target */ public String getTarget() { return this.target; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<ListUnfinishedOnceTaskRequest, Builder> { private String target; private String taskType; private Builder() { super(); } private Builder(ListUnfinishedOnceTaskRequest request) { super(request); this.target = request.target; this.taskType = request.taskType; } /** * <p>The value of the object on which the task runs. If you set TaskType to IMAGE_SCAN, set this parameter to the UUID of the image that you want to scan. If you set TaskType to ASSETS_COLLECTION, set this parameter to the UUID of the server whose information you want to collect.</p> * * <strong>example:</strong> * <p>4fe8e1cd-3c37-4851-b9de-124da32c****</p> */ public Builder target(String target) { this.putQueryParameter("Target", target); this.target = target; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>ASSETS_COLLECTION</strong>: asset information collection task</li> * <li><strong>IMAGE_SCAN</strong>: image scan task</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>IMAGE_SCAN</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public ListUnfinishedOnceTaskRequest build() { return new ListUnfinishedOnceTaskRequest(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/ListUnfinishedOnceTaskResponse.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 ListUnfinishedOnceTaskResponse} extends {@link TeaModel} * * <p>ListUnfinishedOnceTaskResponse</p> */ public class ListUnfinishedOnceTaskResponse 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 ListUnfinishedOnceTaskResponseBody body; private ListUnfinishedOnceTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListUnfinishedOnceTaskResponse 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 ListUnfinishedOnceTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListUnfinishedOnceTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListUnfinishedOnceTaskResponseBody body); @Override ListUnfinishedOnceTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListUnfinishedOnceTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListUnfinishedOnceTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListUnfinishedOnceTaskResponse 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(ListUnfinishedOnceTaskResponseBody body) { this.body = body; return this; } @Override public ListUnfinishedOnceTaskResponse build() { return new ListUnfinishedOnceTaskResponse(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/ListUnfinishedOnceTaskResponseBody.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 ListUnfinishedOnceTaskResponseBody} extends {@link TeaModel} * * <p>ListUnfinishedOnceTaskResponseBody</p> */ public class ListUnfinishedOnceTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("OnceTasks") private java.util.List<OnceTasks> onceTasks; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListUnfinishedOnceTaskResponseBody(Builder builder) { this.onceTasks = builder.onceTasks; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListUnfinishedOnceTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return onceTasks */ public java.util.List<OnceTasks> getOnceTasks() { return this.onceTasks; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<OnceTasks> onceTasks; private String requestId; private Builder() { } private Builder(ListUnfinishedOnceTaskResponseBody model) { this.onceTasks = model.onceTasks; this.requestId = model.requestId; } /** * <p>The details of the tasks.</p> */ public Builder onceTasks(java.util.List<OnceTasks> onceTasks) { this.onceTasks = onceTasks; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F5CF78A7-30AA-59DB-847F-13EE3AE7****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListUnfinishedOnceTaskResponseBody build() { return new ListUnfinishedOnceTaskResponseBody(this); } } /** * * {@link ListUnfinishedOnceTaskResponseBody} extends {@link TeaModel} * * <p>ListUnfinishedOnceTaskResponseBody</p> */ public static class TaskImageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("Digest") private String digest; @com.aliyun.core.annotation.NameInMap("Image") private String image; @com.aliyun.core.annotation.NameInMap("NodeInstanceId") private String nodeInstanceId; @com.aliyun.core.annotation.NameInMap("NodeIp") private String nodeIp; @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("Pod") private String pod; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RepoId") private String repoId; @com.aliyun.core.annotation.NameInMap("RepoName") private String repoName; @com.aliyun.core.annotation.NameInMap("RepoNamespace") private String repoNamespace; @com.aliyun.core.annotation.NameInMap("RepoRegionId") private String repoRegionId; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; private TaskImageInfo(Builder builder) { this.appName = builder.appName; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.digest = builder.digest; this.image = builder.image; this.nodeInstanceId = builder.nodeInstanceId; this.nodeIp = builder.nodeIp; this.nodeName = builder.nodeName; this.pod = builder.pod; this.regionId = builder.regionId; this.repoId = builder.repoId; this.repoName = builder.repoName; this.repoNamespace = builder.repoNamespace; this.repoRegionId = builder.repoRegionId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static TaskImageInfo create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return digest */ public String getDigest() { return this.digest; } /** * @return image */ public String getImage() { return this.image; } /** * @return nodeInstanceId */ public String getNodeInstanceId() { return this.nodeInstanceId; } /** * @return nodeIp */ public String getNodeIp() { return this.nodeIp; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return pod */ public String getPod() { return this.pod; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return repoId */ public String getRepoId() { return this.repoId; } /** * @return repoName */ public String getRepoName() { return this.repoName; } /** * @return repoNamespace */ public String getRepoNamespace() { return this.repoNamespace; } /** * @return repoRegionId */ public String getRepoRegionId() { return this.repoRegionId; } /** * @return tag */ public String getTag() { return this.tag; } public static final class Builder { private String appName; private String clusterId; private String clusterName; private String digest; private String image; private String nodeInstanceId; private String nodeIp; private String nodeName; private String pod; private String regionId; private String repoId; private String repoName; private String repoNamespace; private String repoRegionId; private String tag; private Builder() { } private Builder(TaskImageInfo model) { this.appName = model.appName; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.digest = model.digest; this.image = model.image; this.nodeInstanceId = model.nodeInstanceId; this.nodeIp = model.nodeIp; this.nodeName = model.nodeName; this.pod = model.pod; this.regionId = model.regionId; this.repoId = model.repoId; this.repoName = model.repoName; this.repoNamespace = model.repoNamespace; this.repoRegionId = model.repoRegionId; this.tag = model.tag; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>ack-jenkins-****</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the cluster.</p> * * <strong>example:</strong> * <p>a765ba1435e7f9446065370e9a41****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The name of the cluster.</p> * * <strong>example:</strong> * <p>ACK-test-****</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The image digest.</p> * * <strong>example:</strong> * <p>default_digest</p> */ public Builder digest(String digest) { this.digest = digest; return this; } /** * <p>The container image.</p> * * <strong>example:</strong> * <p><em><strong>s.com/sas_test/baseli</strong></em></p> */ public Builder image(String image) { this.image = image; return this; } /** * <p>The instance ID of the node.</p> * * <strong>example:</strong> * <p>i-0xi5mxvtmfw9****</p> */ public Builder nodeInstanceId(String nodeInstanceId) { this.nodeInstanceId = nodeInstanceId; return this; } /** * <p>The IP address of the node.</p> * * <strong>example:</strong> * <p>172.18.XXX.XXX</p> */ public Builder nodeIp(String nodeIp) { this.nodeIp = nodeIp; return this; } /** * <p>The name of the node.</p> * * <strong>example:</strong> * <p>pztest****</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The pod of the image.</p> * * <strong>example:</strong> * <p>expoit-law-****</p> */ public Builder pod(String pod) { this.pod = pod; return this; } /** * <p>The region ID of the server image.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The ID of the image repository.</p> * * <strong>example:</strong> * <p>crr-r88w2vryp8m****</p> */ public Builder repoId(String repoId) { this.repoId = repoId; return this; } /** * <p>The name of the image repository.</p> * * <strong>example:</strong> * <p>testyyy</p> */ public Builder repoName(String repoName) { this.repoName = repoName; return this; } /** * <p>The namespace to which the image repository belongs.</p> * * <strong>example:</strong> * <p>bitn***</p> */ public Builder repoNamespace(String repoNamespace) { this.repoNamespace = repoNamespace; return this; } /** * <p>The region ID of the image repository.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder repoRegionId(String repoRegionId) { this.repoRegionId = repoRegionId; return this; } /** * <p>The image tag.</p> * * <strong>example:</strong> * <p>v1.20-002-a2*****</p> */ public Builder tag(String tag) { this.tag = tag; return this; } public TaskImageInfo build() { return new TaskImageInfo(this); } } } /** * * {@link ListUnfinishedOnceTaskResponseBody} extends {@link TeaModel} * * <p>ListUnfinishedOnceTaskResponseBody</p> */ public static class OnceTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("Finish") private Integer finish; @com.aliyun.core.annotation.NameInMap("FinishCount") private Integer finishCount; @com.aliyun.core.annotation.NameInMap("Progress") private Long progress; @com.aliyun.core.annotation.NameInMap("RealRunTime") private Long realRunTime; @com.aliyun.core.annotation.NameInMap("ResultInfo") private String resultInfo; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("StatusText") private String statusText; @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskImageInfo") private TaskImageInfo taskImageInfo; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private OnceTasks(Builder builder) { this.endTime = builder.endTime; this.finish = builder.finish; this.finishCount = builder.finishCount; this.progress = builder.progress; this.realRunTime = builder.realRunTime; this.resultInfo = builder.resultInfo; this.startTime = builder.startTime; this.status = builder.status; this.statusText = builder.statusText; this.target = builder.target; this.targetType = builder.targetType; this.taskId = builder.taskId; this.taskImageInfo = builder.taskImageInfo; this.taskName = builder.taskName; this.taskType = builder.taskType; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static OnceTasks create() { return builder().build(); } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return finish */ public Integer getFinish() { return this.finish; } /** * @return finishCount */ public Integer getFinishCount() { return this.finishCount; } /** * @return progress */ public Long getProgress() { return this.progress; } /** * @return realRunTime */ public Long getRealRunTime() { return this.realRunTime; } /** * @return resultInfo */ public String getResultInfo() { return this.resultInfo; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return statusText */ public String getStatusText() { return this.statusText; } /** * @return target */ public String getTarget() { return this.target; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskImageInfo */ public TaskImageInfo getTaskImageInfo() { return this.taskImageInfo; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Long endTime; private Integer finish; private Integer finishCount; private Long progress; private Long realRunTime; private String resultInfo; private Long startTime; private Integer status; private String statusText; private String target; private String targetType; private String taskId; private TaskImageInfo taskImageInfo; private String taskName; private String taskType; private Integer totalCount; private Builder() { } private Builder(OnceTasks model) { this.endTime = model.endTime; this.finish = model.finish; this.finishCount = model.finishCount; this.progress = model.progress; this.realRunTime = model.realRunTime; this.resultInfo = model.resultInfo; this.startTime = model.startTime; this.status = model.status; this.statusText = model.statusText; this.target = model.target; this.targetType = model.targetType; this.taskId = model.taskId; this.taskImageInfo = model.taskImageInfo; this.taskName = model.taskName; this.taskType = model.taskType; this.totalCount = model.totalCount; } /** * <p>The time when the task ends.</p> * * <strong>example:</strong> * <p>1670307567000</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>Indicates whether the task is complete. 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 finish(Integer finish) { this.finish = finish; return this; } /** * <p>The number of assets on which the task is complete.</p> * * <strong>example:</strong> * <p>67</p> */ public Builder finishCount(Integer finishCount) { this.finishCount = finishCount; return this; } /** * <p>The progress percentage of the task.</p> * * <strong>example:</strong> * <p>75</p> */ public Builder progress(Long progress) { this.progress = progress; return this; } /** * <p>The execution duration of the task.</p> * * <strong>example:</strong> * <p>1670307567000</p> */ public Builder realRunTime(Long realRunTime) { this.realRunTime = realRunTime; return this; } /** * <p>The execution result of the task.</p> * * <strong>example:</strong> * <p>TASK_NOT_SUPPORT_REGION</p> */ public Builder resultInfo(String resultInfo) { this.resultInfo = resultInfo; return this; } /** * <p>The time when the task is started.</p> * * <strong>example:</strong> * <p>1640102400000</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The status.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>INIT</strong>: The task is not started.</li> * <li><strong>START</strong>: The task is started.</li> * <li><strong>SUCCESS</strong>: The task is complete.</li> * <li><strong>TIMEOUT</strong>: The task timed out.</li> * </ul> * * <strong>example:</strong> * <p>SUCCESS</p> */ public Builder statusText(String statusText) { this.statusText = statusText; return this; } /** * <p>The objective of the task.</p> * * <strong>example:</strong> * <p>238cf050a7270dd6940602e70f1e5a11eeaf4e02035f445b7f613ff5e064****</p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The type of the assets that are scanned. Valid values:</p> * <ul> * <li><strong>IMAGE_REPO</strong>: image repository</li> * <li><strong>IMAGE</strong>: image</li> * </ul> * * <strong>example:</strong> * <p>IMAGE</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>9fb50f2af8bb67c9fdb684194c83****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The information about the image scan task.</p> */ public Builder taskImageInfo(TaskImageInfo taskImageInfo) { this.taskImageInfo = taskImageInfo; return this; } /** * <p>The name of the task.</p> * * <strong>example:</strong> * <p>IMAGE_SCAN</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The type of the task.</p> * * <strong>example:</strong> * <p>IMAGE_SCAN</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public OnceTasks build() { return new OnceTasks(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/ListUninstallAegisMachinesRequest.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 ListUninstallAegisMachinesRequest} extends {@link RequestModel} * * <p>ListUninstallAegisMachinesRequest</p> */ public class ListUninstallAegisMachinesRequest 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("Os") private String os; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionIdStr") private String regionIdStr; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionNo") private String regionNo; @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("Vendor") private Integer vendor; private ListUninstallAegisMachinesRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.os = builder.os; this.pageSize = builder.pageSize; this.regionIdStr = builder.regionIdStr; this.regionNo = builder.regionNo; this.remark = builder.remark; this.sourceIp = builder.sourceIp; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static ListUninstallAegisMachinesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return os */ public String getOs() { return this.os; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionIdStr */ public String getRegionIdStr() { return this.regionIdStr; } /** * @return regionNo */ public String getRegionNo() { return this.regionNo; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } public static final class Builder extends Request.Builder<ListUninstallAegisMachinesRequest, Builder> { private Integer currentPage; private String os; private Integer pageSize; private String regionIdStr; private String regionNo; private String remark; private String sourceIp; private Integer vendor; private Builder() { super(); } private Builder(ListUninstallAegisMachinesRequest request) { super(request); this.currentPage = request.currentPage; this.os = request.os; this.pageSize = request.pageSize; this.regionIdStr = request.regionIdStr; this.regionNo = request.regionNo; this.remark = request.remark; this.sourceIp = request.sourceIp; this.vendor = request.vendor; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The operating system of the server.</p> * <blockquote> * <p> The value of this parameter is the value of the Values parameter that is returned by calling the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation. If the value of the <strong>Name</strong> parameter in the response is <strong>osType</strong>, the value of the <strong>Values</strong> parameter indicates an operating system.</p> * </blockquote> * * <strong>example:</strong> * <p>linux</p> */ public Builder os(String os) { this.putQueryParameter("Os", os); this.os = os; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>5</strong>.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region in which the server resides.</p> * <blockquote> * <p> The value of this parameter is the value of the Values parameter that is returned by calling the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation. If the value of the <strong>Name</strong> parameter in the response is <strong>regionId</strong>, the value of the <strong>Values</strong> parameter indicates a region ID.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionIdStr(String regionIdStr) { this.putQueryParameter("RegionIdStr", regionIdStr); this.regionIdStr = regionIdStr; return this; } /** * <p>The region in which the server resides.</p> * <blockquote> * <p> The value of this parameter is the value of the Values parameter that is returned by calling the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation. If the value of the <strong>Name</strong> parameter in the response is <strong>regionId</strong>, the value of the <strong>Values</strong> parameter indicates a region ID.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionNo(String regionNo) { this.putQueryParameter("RegionNo", regionNo); this.regionNo = regionNo; return this; } /** * <p>The information about the server that you want to query. The value can be the name or the public IP address of the server.</p> * * <strong>example:</strong> * <p>172.20.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>180.113.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The source of the server. Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud.</li> * <li><strong>1</strong>: a third-party cloud server</li> * <li><strong>2</strong>: a server in a data center</li> * <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, and <strong>7</strong>: other cloud asset</li> * <li><strong>8</strong>: a lightweight asset</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Integer vendor) { this.putQueryParameter("Vendor", vendor); this.vendor = vendor; return this; } @Override public ListUninstallAegisMachinesRequest build() { return new ListUninstallAegisMachinesRequest(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/ListUninstallAegisMachinesResponse.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 ListUninstallAegisMachinesResponse} extends {@link TeaModel} * * <p>ListUninstallAegisMachinesResponse</p> */ public class ListUninstallAegisMachinesResponse 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 ListUninstallAegisMachinesResponseBody body; private ListUninstallAegisMachinesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListUninstallAegisMachinesResponse 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 ListUninstallAegisMachinesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListUninstallAegisMachinesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListUninstallAegisMachinesResponseBody body); @Override ListUninstallAegisMachinesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListUninstallAegisMachinesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListUninstallAegisMachinesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListUninstallAegisMachinesResponse 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(ListUninstallAegisMachinesResponseBody body) { this.body = body; return this; } @Override public ListUninstallAegisMachinesResponse build() { return new ListUninstallAegisMachinesResponse(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/ListUninstallAegisMachinesResponseBody.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 ListUninstallAegisMachinesResponseBody} extends {@link TeaModel} * * <p>ListUninstallAegisMachinesResponseBody</p> */ public class ListUninstallAegisMachinesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("MachineList") private java.util.List<MachineList> machineList; @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 ListUninstallAegisMachinesResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.machineList = builder.machineList; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListUninstallAegisMachinesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return machineList */ public java.util.List<MachineList> getMachineList() { return this.machineList; } /** * @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<MachineList> machineList; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(ListUninstallAegisMachinesResponseBody model) { this.currentPage = model.currentPage; this.machineList = model.machineList; 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 that consists of the information about servers.</p> */ public Builder machineList(java.util.List<MachineList> machineList) { this.machineList = machineList; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>5</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>151F6EB6-D5F3-417A-AF7B-4D84975DB586</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>44</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListUninstallAegisMachinesResponseBody build() { return new ListUninstallAegisMachinesResponseBody(this); } } /** * * {@link ListUninstallAegisMachinesResponseBody} extends {@link TeaModel} * * <p>ListUninstallAegisMachinesResponseBody</p> */ public static class MachineList extends TeaModel { @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("MachineRegion") private String machineRegion; @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; @com.aliyun.core.annotation.NameInMap("Vendor") private Integer vendor; @com.aliyun.core.annotation.NameInMap("VendorName") private String vendorName; private MachineList(Builder builder) { this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.machineRegion = builder.machineRegion; this.os = builder.os; this.regionId = builder.regionId; this.uuid = builder.uuid; this.vendor = builder.vendor; this.vendorName = builder.vendorName; } public static Builder builder() { return new Builder(); } public static MachineList create() { return builder().build(); } /** * @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 machineRegion */ public String getMachineRegion() { return this.machineRegion; } /** * @return os */ public String getOs() { return this.os; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } /** * @return vendorName */ public String getVendorName() { return this.vendorName; } public static final class Builder { private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String machineRegion; private String os; private String regionId; private String uuid; private Integer vendor; private String vendorName; private Builder() { } private Builder(MachineList model) { this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.machineRegion = model.machineRegion; this.os = model.os; this.regionId = model.regionId; this.uuid = model.uuid; this.vendor = model.vendor; this.vendorName = model.vendorName; } /** * <p>The ID of the server.</p> * * <strong>example:</strong> * <p>sas-bdrvxb4b****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</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 server.</p> * * <strong>example:</strong> * <p>120.79.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 region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder machineRegion(String machineRegion) { this.machineRegion = machineRegion; return this; } /** * <p>The operating system of the server. Valid values:</p> * <ul> * <li><strong>linux</strong></li> * <li><strong>windows</strong></li> * <li><strong>windows-2003</strong></li> * </ul> * * <strong>example:</strong> * <p>linux</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The ID of the region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>6d5b361f-958d-48a8-a9d2-d6e82c1****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>The source of the server. Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud</li> * <li><strong>1</strong>: a third-party cloud server</li> * <li><strong>2</strong>: a server in a data center</li> * <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, and <strong>7</strong>: other cloud asset</li> * <li><strong>8</strong>: a lightweight asset</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Integer vendor) { this.vendor = vendor; return this; } /** * <p>The name of the service provider (SP) for the server.</p> * <p>Valid values:</p> * <ul> * <li><strong>ALIYUN</strong>: Alibaba Cloud</li> * <li><strong>OUT</strong>: a third-party service provider</li> * <li><strong>IDC</strong>: a data center</li> * <li><strong>TENCENT</strong>: Tencent Cloud</li> * <li><strong>HUAWEICLOUD</strong>: Huawei Cloud</li> * <li><strong>Microsoft</strong>: Microsoft</li> * <li><strong>AWS</strong>: Amazon Web Services (AWS)</li> * <li><strong>TRIPARTITE</strong>: a lightweight server</li> * </ul> * * <strong>example:</strong> * <p>ALIYUN</p> */ public Builder vendorName(String vendorName) { this.vendorName = vendorName; return this; } public MachineList build() { return new MachineList(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/ListUserVpcRequest.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 ListUserVpcRequest} extends {@link RequestModel} * * <p>ListUserVpcRequest</p> */ public class ListUserVpcRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("K8sRegionId") @com.aliyun.core.annotation.Validation(required = true) private String k8sRegionId; private ListUserVpcRequest(Builder builder) { super(builder); this.k8sRegionId = builder.k8sRegionId; } public static Builder builder() { return new Builder(); } public static ListUserVpcRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return k8sRegionId */ public String getK8sRegionId() { return this.k8sRegionId; } public static final class Builder extends Request.Builder<ListUserVpcRequest, Builder> { private String k8sRegionId; private Builder() { super(); } private Builder(ListUserVpcRequest request) { super(request); this.k8sRegionId = request.k8sRegionId; } /** * <p>Region.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder k8sRegionId(String k8sRegionId) { this.putQueryParameter("K8sRegionId", k8sRegionId); this.k8sRegionId = k8sRegionId; return this; } @Override public ListUserVpcRequest build() { return new ListUserVpcRequest(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/ListUserVpcResponse.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 ListUserVpcResponse} extends {@link TeaModel} * * <p>ListUserVpcResponse</p> */ public class ListUserVpcResponse 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 ListUserVpcResponseBody body; private ListUserVpcResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListUserVpcResponse 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 ListUserVpcResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListUserVpcResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListUserVpcResponseBody body); @Override ListUserVpcResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListUserVpcResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListUserVpcResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListUserVpcResponse 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(ListUserVpcResponseBody body) { this.body = body; return this; } @Override public ListUserVpcResponse build() { return new ListUserVpcResponse(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/ListUserVpcResponseBody.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 ListUserVpcResponseBody} extends {@link TeaModel} * * <p>ListUserVpcResponseBody</p> */ public class ListUserVpcResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UserVpcInfos") private java.util.List<UserVpcInfos> userVpcInfos; private ListUserVpcResponseBody(Builder builder) { this.requestId = builder.requestId; this.userVpcInfos = builder.userVpcInfos; } public static Builder builder() { return new Builder(); } public static ListUserVpcResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return userVpcInfos */ public java.util.List<UserVpcInfos> getUserVpcInfos() { return this.userVpcInfos; } public static final class Builder { private String requestId; private java.util.List<UserVpcInfos> userVpcInfos; private Builder() { } private Builder(ListUserVpcResponseBody model) { this.requestId = model.requestId; this.userVpcInfos = model.userVpcInfos; } /** * <p>The ID of the request, which is a unique identifier generated by Alibaba Cloud for this request and can be used to troubleshoot and locate issues.</p> * * <strong>example:</strong> * <p>A3D7C47D-3F11-57BB-90E8-E5C20C619F37</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>List of VPC information.</p> */ public Builder userVpcInfos(java.util.List<UserVpcInfos> userVpcInfos) { this.userVpcInfos = userVpcInfos; return this; } public ListUserVpcResponseBody build() { return new ListUserVpcResponseBody(this); } } /** * * {@link ListUserVpcResponseBody} extends {@link TeaModel} * * <p>ListUserVpcResponseBody</p> */ public static class UserVpcInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("CidrBlock") private String cidrBlock; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Default") private Boolean _default; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ModifyTime") private String modifyTime; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("VRouterId") private String vRouterId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; private UserVpcInfos(Builder builder) { this.cidrBlock = builder.cidrBlock; this.creationTime = builder.creationTime; this._default = builder._default; this.description = builder.description; this.modifyTime = builder.modifyTime; this.regionId = builder.regionId; this.status = builder.status; this.vRouterId = builder.vRouterId; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; } public static Builder builder() { return new Builder(); } public static UserVpcInfos create() { return builder().build(); } /** * @return cidrBlock */ public String getCidrBlock() { return this.cidrBlock; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return _default */ public Boolean get_default() { return this._default; } /** * @return description */ public String getDescription() { return this.description; } /** * @return modifyTime */ public String getModifyTime() { return this.modifyTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return vRouterId */ public String getVRouterId() { return this.vRouterId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } public static final class Builder { private String cidrBlock; private String creationTime; private Boolean _default; private String description; private String modifyTime; private String regionId; private String status; private String vRouterId; private String vpcId; private String vpcName; private Builder() { } private Builder(UserVpcInfos model) { this.cidrBlock = model.cidrBlock; this.creationTime = model.creationTime; this._default = model._default; this.description = model.description; this.modifyTime = model.modifyTime; this.regionId = model.regionId; this.status = model.status; this.vRouterId = model.vRouterId; this.vpcId = model.vpcId; this.vpcName = model.vpcName; } /** * <p>IPv4 network segment of the VPC.</p> * * <strong>example:</strong> * <p>192.168.XXX.XXX/16</p> */ public Builder cidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; return this; } /** * <p>Creation time.</p> * * <strong>example:</strong> * <p>2023-03-30T07:16:02Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>Indicates whether it is the default VPC in the region. Values:</p> * <ul> * <li><strong>true</strong>: Yes - <strong>false</strong>: No</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder _default(Boolean _default) { this._default = _default; return this; } /** * <p>Description of the VPC.</p> * * <strong>example:</strong> * <p>This is my VPC.</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>Modification time.</p> * * <strong>example:</strong> * <p>2023-03-30T07:16:02Z</p> */ public Builder modifyTime(String modifyTime) { this.modifyTime = modifyTime; return this; } /** * <p>Region</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>Status of the VPC. Values:</p> * <ul> * <li><strong>Pending</strong>: Configuring</li> * <li><strong>Available</strong>: Available</li> * </ul> * * <strong>example:</strong> * <p>Available</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>ID of the VPC router.</p> * * <strong>example:</strong> * <p>vrt-bp1jcg5cmxjbl9xgc****</p> */ public Builder vRouterId(String vRouterId) { this.vRouterId = vRouterId; return this; } /** * <p>ID of the VPC.</p> * * <strong>example:</strong> * <p>vpc-bp1qpo0kug3a20qqe****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>Name of the VPC.</p> * * <strong>example:</strong> * <p>Vpc-1</p> */ public Builder vpcName(String vpcName) { this.vpcName = vpcName; return this; } public UserVpcInfos build() { return new UserVpcInfos(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/ListUuidsByAppIdRequest.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 ListUuidsByAppIdRequest} extends {@link RequestModel} * * <p>ListUuidsByAppIdRequest</p> */ public class ListUuidsByAppIdRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppRegionId") private String appRegionId; @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("ResourceDirectoryUid") private Long resourceDirectoryUid; private ListUuidsByAppIdRequest(Builder builder) { super(builder); this.appId = builder.appId; this.appRegionId = builder.appRegionId; this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.resourceDirectoryUid = builder.resourceDirectoryUid; } public static Builder builder() { return new Builder(); } public static ListUuidsByAppIdRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appRegionId */ public String getAppRegionId() { return this.appRegionId; } /** * @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 resourceDirectoryUid */ public Long getResourceDirectoryUid() { return this.resourceDirectoryUid; } public static final class Builder extends Request.Builder<ListUuidsByAppIdRequest, Builder> { private String appId; private String appRegionId; private Integer currentPage; private String lang; private Integer pageSize; private Long resourceDirectoryUid; private Builder() { super(); } private Builder(ListUuidsByAppIdRequest request) { super(request); this.appId = request.appId; this.appRegionId = request.appRegionId; this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.resourceDirectoryUid = request.resourceDirectoryUid; } /** * <p>SAE application ID.</p> * * <strong>example:</strong> * <p>5b41f4bf-349f-4263-89b1-9234c034****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>Region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder appRegionId(String appRegionId) { this.putQueryParameter("AppRegionId", appRegionId); this.appRegionId = appRegionId; return this; } /** * <p>The page number to display in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The language type for request and response, default is <strong>zh</strong>. Values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The number of items to display per page in a paginated query.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Resource associated directory UID.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder resourceDirectoryUid(Long resourceDirectoryUid) { this.putQueryParameter("ResourceDirectoryUid", resourceDirectoryUid); this.resourceDirectoryUid = resourceDirectoryUid; return this; } @Override public ListUuidsByAppIdRequest build() { return new ListUuidsByAppIdRequest(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/ListUuidsByAppIdResponse.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 ListUuidsByAppIdResponse} extends {@link TeaModel} * * <p>ListUuidsByAppIdResponse</p> */ public class ListUuidsByAppIdResponse 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 ListUuidsByAppIdResponseBody body; private ListUuidsByAppIdResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListUuidsByAppIdResponse 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 ListUuidsByAppIdResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListUuidsByAppIdResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListUuidsByAppIdResponseBody body); @Override ListUuidsByAppIdResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListUuidsByAppIdResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListUuidsByAppIdResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListUuidsByAppIdResponse 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(ListUuidsByAppIdResponseBody body) { this.body = body; return this; } @Override public ListUuidsByAppIdResponse build() { return new ListUuidsByAppIdResponse(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/ListUuidsByAppIdResponseBody.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 ListUuidsByAppIdResponseBody} extends {@link TeaModel} * * <p>ListUuidsByAppIdResponseBody</p> */ public class ListUuidsByAppIdResponseBody 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("Uuids") private java.util.List<String> uuids; private ListUuidsByAppIdResponseBody(Builder builder) { this.count = builder.count; this.requestId = builder.requestId; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static ListUuidsByAppIdResponseBody 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 uuids */ public java.util.List<String> getUuids() { return this.uuids; } public static final class Builder { private Integer count; private String requestId; private java.util.List<String> uuids; private Builder() { } private Builder(ListUuidsByAppIdResponseBody model) { this.count = model.count; this.requestId = model.requestId; this.uuids = model.uuids; } /** * <p>Total number of data entries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The ID of this call request, a unique identifier generated by Alibaba Cloud for the request, which can be used to troubleshoot and pinpoint issues.</p> * * <strong>example:</strong> * <p>1383B0DB-D5D6-4B0C-9E6B-75939C8E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>List of UUIDs.</p> */ public Builder uuids(java.util.List<String> uuids) { this.uuids = uuids; return this; } public ListUuidsByAppIdResponseBody build() { return new ListUuidsByAppIdResponseBody(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/ListUuidsByWebPathRequest.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 ListUuidsByWebPathRequest} extends {@link RequestModel} * * <p>ListUuidsByWebPathRequest</p> */ public class ListUuidsByWebPathRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WebPath") private String webPath; private ListUuidsByWebPathRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.type = builder.type; this.webPath = builder.webPath; } public static Builder builder() { return new Builder(); } public static ListUuidsByWebPathRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return type */ public String getType() { return this.type; } /** * @return webPath */ public String getWebPath() { return this.webPath; } public static final class Builder extends Request.Builder<ListUuidsByWebPathRequest, Builder> { private Integer currentPage; private Integer pageSize; private String type; private String webPath; private Builder() { super(); } private Builder(ListUuidsByWebPathRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.type = request.type; this.webPath = request.webPath; } /** * <p>The number of the page to return.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The path type of the web directory. Valid values:</p> * <ul> * <li><strong>def</strong>: automatically identified</li> * <li><strong>customize</strong>: manually added</li> * </ul> * * <strong>example:</strong> * <p>def</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The path to the web directory.</p> * * <strong>example:</strong> * <p>/root/www****</p> */ public Builder webPath(String webPath) { this.putQueryParameter("WebPath", webPath); this.webPath = webPath; return this; } @Override public ListUuidsByWebPathRequest build() { return new ListUuidsByWebPathRequest(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/ListUuidsByWebPathResponse.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 ListUuidsByWebPathResponse} extends {@link TeaModel} * * <p>ListUuidsByWebPathResponse</p> */ public class ListUuidsByWebPathResponse 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 ListUuidsByWebPathResponseBody body; private ListUuidsByWebPathResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListUuidsByWebPathResponse 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 ListUuidsByWebPathResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListUuidsByWebPathResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListUuidsByWebPathResponseBody body); @Override ListUuidsByWebPathResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListUuidsByWebPathResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListUuidsByWebPathResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListUuidsByWebPathResponse 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(ListUuidsByWebPathResponseBody body) { this.body = body; return this; } @Override public ListUuidsByWebPathResponse build() { return new ListUuidsByWebPathResponse(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/ListUuidsByWebPathResponseBody.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 ListUuidsByWebPathResponseBody} extends {@link TeaModel} * * <p>ListUuidsByWebPathResponseBody</p> */ public class ListUuidsByWebPathResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListUuidsByWebPathResponseBody(Builder builder) { this.list = builder.list; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListUuidsByWebPathResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<List> list; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListUuidsByWebPathResponseBody model) { this.list = model.list; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>An array that consists of the protected assets.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>A3C1240F-9DAC-5EE8-ADF5-2F930A95****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListUuidsByWebPathResponseBody build() { return new ListUuidsByWebPathResponseBody(this); } } /** * * {@link ListUuidsByWebPathResponseBody} extends {@link TeaModel} * * <p>ListUuidsByWebPathResponseBody</p> */ public static class List 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("MachineName") private String machineName; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private List(Builder builder) { this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.machineName = builder.machineName; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return machineName */ public String getMachineName() { return this.machineName; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String internetIp; private String intranetIp; private String machineName; private String uuid; private Builder() { } private Builder(List model) { this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.machineName = model.machineName; this.uuid = model.uuid; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>172.25.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>test****</p> */ public Builder machineName(String machineName) { this.machineName = machineName; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public List build() { return new List(this); } } } /** * * {@link ListUuidsByWebPathResponseBody} extends {@link TeaModel} * * <p>ListUuidsByWebPathResponseBody</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>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.</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>10</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListVirusScanMachineEventRequest.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 ListVirusScanMachineEventRequest} extends {@link RequestModel} * * <p>ListVirusScanMachineEventRequest</p> */ public class ListVirusScanMachineEventRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperateTaskId") private String operateTaskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ListVirusScanMachineEventRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.lang = builder.lang; this.operateTaskId = builder.operateTaskId; this.pageSize = builder.pageSize; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ListVirusScanMachineEventRequest 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 operateTaskId */ public String getOperateTaskId() { return this.operateTaskId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<ListVirusScanMachineEventRequest, Builder> { private Integer currentPage; private String lang; private String operateTaskId; private Integer pageSize; private String uuid; private Builder() { super(); } private Builder(ListVirusScanMachineEventRequest request) { super(request); this.currentPage = request.currentPage; this.lang = request.lang; this.operateTaskId = request.operateTaskId; this.pageSize = request.pageSize; this.uuid = request.uuid; } /** * <p>The page number.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The 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>en</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The task ID that is generated by the handling operation.</p> * <blockquote> * <p> You can call the <a href="~~OperateVirusEvents~~">OperateVirusEvents</a> operation to handle alerts. You can obtain the task ID from the response parameters.</p> * </blockquote> * * <strong>example:</strong> * <p>233886xx</p> */ public Builder operateTaskId(String operateTaskId) { this.putQueryParameter("OperateTaskId", operateTaskId); this.operateTaskId = operateTaskId; return this; } /** * <p>The number of entries per page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>a6931624-c43e-4323-9128-a6be6ffdxxxx</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public ListVirusScanMachineEventRequest build() { return new ListVirusScanMachineEventRequest(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/ListVirusScanMachineEventResponse.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 ListVirusScanMachineEventResponse} extends {@link TeaModel} * * <p>ListVirusScanMachineEventResponse</p> */ public class ListVirusScanMachineEventResponse 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 ListVirusScanMachineEventResponseBody body; private ListVirusScanMachineEventResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListVirusScanMachineEventResponse 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 ListVirusScanMachineEventResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListVirusScanMachineEventResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListVirusScanMachineEventResponseBody body); @Override ListVirusScanMachineEventResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListVirusScanMachineEventResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListVirusScanMachineEventResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListVirusScanMachineEventResponse 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(ListVirusScanMachineEventResponseBody body) { this.body = body; return this; } @Override public ListVirusScanMachineEventResponse build() { return new ListVirusScanMachineEventResponse(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/ListVirusScanMachineEventResponseBody.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 ListVirusScanMachineEventResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineEventResponseBody</p> */ public class ListVirusScanMachineEventResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListVirusScanMachineEventResponseBody(Builder builder) { this.data = builder.data; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListVirusScanMachineEventResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListVirusScanMachineEventResponseBody model) { this.data = model.data; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The details of the alert event.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2DAEF40F-8E1A-550D-8793-99C61C401DD0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListVirusScanMachineEventResponseBody build() { return new ListVirusScanMachineEventResponseBody(this); } } /** * * {@link ListVirusScanMachineEventResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineEventResponseBody</p> */ public static class Details extends TeaModel { @com.aliyun.core.annotation.NameInMap("InfoType") private String infoType; @com.aliyun.core.annotation.NameInMap("NameDisplay") private String nameDisplay; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("ValueDisplay") private String valueDisplay; private Details(Builder builder) { this.infoType = builder.infoType; this.nameDisplay = builder.nameDisplay; this.type = builder.type; this.valueDisplay = builder.valueDisplay; } public static Builder builder() { return new Builder(); } public static Details create() { return builder().build(); } /** * @return infoType */ public String getInfoType() { return this.infoType; } /** * @return nameDisplay */ public String getNameDisplay() { return this.nameDisplay; } /** * @return type */ public String getType() { return this.type; } /** * @return valueDisplay */ public String getValueDisplay() { return this.valueDisplay; } public static final class Builder { private String infoType; private String nameDisplay; private String type; private String valueDisplay; private Builder() { } private Builder(Details model) { this.infoType = model.infoType; this.nameDisplay = model.nameDisplay; this.type = model.type; this.valueDisplay = model.valueDisplay; } /** * <p>The display type of the value for ValueDisplay. Valid value:</p> * <ul> * <li><strong>download_url</strong>, which indicates a download URL.</li> * </ul> * * <strong>example:</strong> * <p>download_url</p> */ public Builder infoType(String infoType) { this.infoType = infoType; return this; } /** * <p>The display name of the alert event.</p> * * <strong>example:</strong> * <p>Trojan Path</p> */ public Builder nameDisplay(String nameDisplay) { this.nameDisplay = nameDisplay; return this; } /** * <p>The format in which the details of the exception are displayed.</p> * <p>Valid values:</p> * <ul> * <li><strong>text</strong></li> * <li><strong>html</strong></li> * </ul> * * <strong>example:</strong> * <p>html</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The attribute information about the exception. The information includes the logon time or location of an alert triggered by an unusual logon, and the trojan file path or trojan type of an alert.</p> * * <strong>example:</strong> * <p>getopt</p> */ public Builder valueDisplay(String valueDisplay) { this.valueDisplay = valueDisplay; return this; } public Details build() { return new Details(this); } } } /** * * {@link ListVirusScanMachineEventResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineEventResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Details") private java.util.List<Details> details; @com.aliyun.core.annotation.NameInMap("EventId") private Long eventId; @com.aliyun.core.annotation.NameInMap("EventName") private String eventName; @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("LastTimeStamp") private Long lastTimeStamp; @com.aliyun.core.annotation.NameInMap("Level") private String level; private Data(Builder builder) { this.details = builder.details; this.eventId = builder.eventId; this.eventName = builder.eventName; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.lastTimeStamp = builder.lastTimeStamp; this.level = builder.level; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return details */ public java.util.List<Details> getDetails() { return this.details; } /** * @return eventId */ public Long getEventId() { return this.eventId; } /** * @return eventName */ public String getEventName() { return this.eventName; } /** * @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 lastTimeStamp */ public Long getLastTimeStamp() { return this.lastTimeStamp; } /** * @return level */ public String getLevel() { return this.level; } public static final class Builder { private java.util.List<Details> details; private Long eventId; private String eventName; private String instanceName; private String internetIp; private String intranetIp; private Long lastTimeStamp; private String level; private Builder() { } private Builder(Data model) { this.details = model.details; this.eventId = model.eventId; this.eventName = model.eventName; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.lastTimeStamp = model.lastTimeStamp; this.level = model.level; } /** * <p>The details of the exception.</p> */ public Builder details(java.util.List<Details> details) { this.details = details; return this; } /** * <p>The ID of the alert event.</p> * * <strong>example:</strong> * <p>911273</p> */ public Builder eventId(Long eventId) { this.eventId = eventId; return this; } /** * <p>The name of the alert event. The value indicates a subtype.</p> * * <strong>example:</strong> * <p>Unusual Logon</p> */ public Builder eventName(String eventName) { this.eventName = eventName; return this; } /** * <p>The name of the instance.</p> * * <strong>example:</strong> * <p>i-wz92q7m5hsbgfhdss***</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address.</p> * * <strong>example:</strong> * <p>172.16.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address.</p> * * <strong>example:</strong> * <p>10.42.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The timestamp when the alert event was last generated. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1682046733628</p> */ public Builder lastTimeStamp(Long lastTimeStamp) { this.lastTimeStamp = lastTimeStamp; return this; } /** * <p>The risk level of the alert event. Valid values:</p> * <ul> * <li><strong>serious</strong></li> * <li><strong>suspicious</strong></li> * <li><strong>remind</strong></li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder level(String level) { this.level = level; return this; } public Data build() { return new Data(this); } } } /** * * {@link ListVirusScanMachineEventResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineEventResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>149</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListVirusScanMachineRequest.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 ListVirusScanMachineRequest} extends {@link RequestModel} * * <p>ListVirusScanMachineRequest</p> */ public class ListVirusScanMachineRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) 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("Uuid") private String uuid; private ListVirusScanMachineRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.remark = builder.remark; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ListVirusScanMachineRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<ListVirusScanMachineRequest, Builder> { private Integer currentPage; private Integer pageSize; private String remark; private String uuid; private Builder() { super(); } private Builder(ListVirusScanMachineRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.remark = request.remark; this.uuid = request.uuid; } /** * <p>The page number.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The information about the server that you want to query. The value can be the name or the IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.1****</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>7cc91747-2845-40d4-bb69-c077597f****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public ListVirusScanMachineRequest build() { return new ListVirusScanMachineRequest(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/ListVirusScanMachineResponse.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 ListVirusScanMachineResponse} extends {@link TeaModel} * * <p>ListVirusScanMachineResponse</p> */ public class ListVirusScanMachineResponse 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 ListVirusScanMachineResponseBody body; private ListVirusScanMachineResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListVirusScanMachineResponse 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 ListVirusScanMachineResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListVirusScanMachineResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListVirusScanMachineResponseBody body); @Override ListVirusScanMachineResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListVirusScanMachineResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListVirusScanMachineResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListVirusScanMachineResponse 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(ListVirusScanMachineResponseBody body) { this.body = body; return this; } @Override public ListVirusScanMachineResponse build() { return new ListVirusScanMachineResponse(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/ListVirusScanMachineResponseBody.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 ListVirusScanMachineResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineResponseBody</p> */ public class ListVirusScanMachineResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListVirusScanMachineResponseBody(Builder builder) { this.data = builder.data; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListVirusScanMachineResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListVirusScanMachineResponseBody model) { this.data = model.data; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A27C1C09-828B-5CB8-9203-F55423BE****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListVirusScanMachineResponseBody build() { return new ListVirusScanMachineResponseBody(this); } } /** * * {@link ListVirusScanMachineResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventCount") private Integer eventCount; @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("Uuid") private String uuid; private Data(Builder builder) { this.eventCount = builder.eventCount; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return eventCount */ public Integer getEventCount() { return this.eventCount; } /** * @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 uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Integer eventCount; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String uuid; private Builder() { } private Builder(Data model) { this.eventCount = model.eventCount; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.uuid = model.uuid; } /** * <p>The number of times that the alert is triggered.</p> * * <strong>example:</strong> * <p>28</p> */ public Builder eventCount(Integer eventCount) { this.eventCount = eventCount; return this; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>i-bp180bogui4fc0z4****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>centos****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the associated server.</p> * * <strong>example:</strong> * <p>172.16.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the associated server.</p> * * <strong>example:</strong> * <p>10.42.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>6690a46c-0edb-4663-a641-3629d1a9****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Data build() { return new Data(this); } } } /** * * {@link ListVirusScanMachineResponseBody} extends {@link TeaModel} * * <p>ListVirusScanMachineResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>168</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListVirusScanTaskRequest.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 ListVirusScanTaskRequest} extends {@link RequestModel} * * <p>ListVirusScanTaskRequest</p> */ public class ListVirusScanTaskRequest 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("EndTime") private Long endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @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("RootTask") private Boolean rootTask; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RootTaskId") private String rootTaskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScanType") private String scanType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatusList") private java.util.List<Integer> statusList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private ListVirusScanTaskRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.endTime = builder.endTime; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.lang = builder.lang; this.machineName = builder.machineName; this.pageSize = builder.pageSize; this.rootTask = builder.rootTask; this.rootTaskId = builder.rootTaskId; this.scanType = builder.scanType; this.startTime = builder.startTime; this.status = builder.status; this.statusList = builder.statusList; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static ListVirusScanTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @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 rootTask */ public Boolean getRootTask() { return this.rootTask; } /** * @return rootTaskId */ public String getRootTaskId() { return this.rootTaskId; } /** * @return scanType */ public String getScanType() { return this.scanType; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return statusList */ public java.util.List<Integer> getStatusList() { return this.statusList; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<ListVirusScanTaskRequest, Builder> { private Integer currentPage; private Long endTime; private String internetIp; private String intranetIp; private String lang; private String machineName; private Integer pageSize; private Boolean rootTask; private String rootTaskId; private String scanType; private Long startTime; private Integer status; private java.util.List<Integer> statusList; private String taskId; private Builder() { super(); } private Builder(ListVirusScanTaskRequest request) { super(request); this.currentPage = request.currentPage; this.endTime = request.endTime; this.internetIp = request.internetIp; this.intranetIp = request.intranetIp; this.lang = request.lang; this.machineName = request.machineName; this.pageSize = request.pageSize; this.rootTask = request.rootTask; this.rootTaskId = request.rootTaskId; this.scanType = request.scanType; this.startTime = request.startTime; this.status = request.status; this.statusList = request.statusList; this.taskId = request.taskId; } /** * <p>The page number. 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 timestamp when the virus scan task ended. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1680919232999</p> */ public Builder endTime(Long endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>120.27.XX.XX</p> */ public Builder internetIp(String internetIp) { this.putQueryParameter("InternetIp", internetIp); this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>172.26.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.putQueryParameter("IntranetIp", intranetIp); this.intranetIp = intranetIp; 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.</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>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Specifies whether the virus scan task is the root task.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder rootTask(Boolean rootTask) { this.putQueryParameter("RootTask", rootTask); this.rootTask = rootTask; return this; } /** * <p>The ID of the root task.</p> * <blockquote> * <p> You can call the <a href="~~GetVirusScanLatestTaskStatistic~~">GetVirusScanLatestTaskStatistic</a> operation to query the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>89f5d7813bd59dd237580a8664b3xxxx</p> */ public Builder rootTaskId(String rootTaskId) { this.putQueryParameter("RootTaskId", rootTaskId); this.rootTaskId = rootTaskId; return this; } /** * <p>The type of the virus scan task. Valid values:</p> * <ul> * <li><strong>system</strong>: automatic scan task</li> * <li><strong>user</strong>: custom scan task</li> * </ul> * * <strong>example:</strong> * <p>user</p> */ public Builder scanType(String scanType) { this.putQueryParameter("ScanType", scanType); this.scanType = scanType; return this; } /** * <p>The timestamp when the virus scan task started. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1680919232000</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The status of the virus scan task. Valid values:</p> * <ul> * <li><strong>1</strong>: running</li> * <li><strong>2</strong>: complete</li> * <li><strong>3</strong>: failed</li> * <li><strong>4</strong>: timed out</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The statuses of virus scan tasks.</p> */ public Builder statusList(java.util.List<Integer> statusList) { this.putQueryParameter("StatusList", statusList); this.statusList = statusList; return this; } /** * <p>The ID of the virus scan task.</p> * <blockquote> * <p> You can call the <a href="~~ListVirusScanTask~~">ListVirusScanTask</a> operation to query the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>1471d8ebb96795b41ede090b9758****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public ListVirusScanTaskRequest build() { return new ListVirusScanTaskRequest(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/ListVirusScanTaskResponse.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 ListVirusScanTaskResponse} extends {@link TeaModel} * * <p>ListVirusScanTaskResponse</p> */ public class ListVirusScanTaskResponse 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 ListVirusScanTaskResponseBody body; private ListVirusScanTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListVirusScanTaskResponse 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 ListVirusScanTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListVirusScanTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListVirusScanTaskResponseBody body); @Override ListVirusScanTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListVirusScanTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListVirusScanTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListVirusScanTaskResponse 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(ListVirusScanTaskResponseBody body) { this.body = body; return this; } @Override public ListVirusScanTaskResponse build() { return new ListVirusScanTaskResponse(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/ListVirusScanTaskResponseBody.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 ListVirusScanTaskResponseBody} extends {@link TeaModel} * * <p>ListVirusScanTaskResponseBody</p> */ public class ListVirusScanTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListVirusScanTaskResponseBody(Builder builder) { this.list = builder.list; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListVirusScanTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<List> list; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListVirusScanTaskResponseBody model) { this.list = model.list; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The returned virus scan tasks.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A4EB8B1C-1DEC-5E18-BCD0-D1BBB3936FA7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListVirusScanTaskResponseBody build() { return new ListVirusScanTaskResponseBody(this); } } /** * * {@link ListVirusScanTaskResponseBody} extends {@link TeaModel} * * <p>ListVirusScanTaskResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @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("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("ScanPath") private java.util.List<String> scanPath; @com.aliyun.core.annotation.NameInMap("ScanType") private String scanType; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private List(Builder builder) { this.endTime = builder.endTime; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.progress = builder.progress; this.scanPath = builder.scanPath; this.scanType = builder.scanType; this.startTime = builder.startTime; this.status = builder.status; this.taskId = builder.taskId; this.taskName = builder.taskName; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @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 progress */ public Integer getProgress() { return this.progress; } /** * @return scanPath */ public java.util.List<String> getScanPath() { return this.scanPath; } /** * @return scanType */ public String getScanType() { return this.scanType; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Long endTime; private String instanceName; private String internetIp; private String intranetIp; private Integer progress; private java.util.List<String> scanPath; private String scanType; private Long startTime; private Integer status; private String taskId; private String taskName; private String uuid; private Builder() { } private Builder(List model) { this.endTime = model.endTime; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.progress = model.progress; this.scanPath = model.scanPath; this.scanType = model.scanType; this.startTime = model.startTime; this.status = model.status; this.taskId = model.taskId; this.taskName = model.taskName; this.uuid = model.uuid; } /** * <p>The timestamp when the virus scan task ended. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1662343860051</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>sql-test-0****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>172.25.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The progress of the task in percentage.</p> * * <strong>example:</strong> * <p>62</p> */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * <p>The information about the file that is scanned.</p> */ public Builder scanPath(java.util.List<String> scanPath) { this.scanPath = scanPath; return this; } /** * <p>The type of the virus scan task. Valid values:</p> * <ul> * <li><strong>system</strong>: automatic scan task</li> * <li><strong>user</strong>: custom scan task</li> * </ul> * * <strong>example:</strong> * <p>system</p> */ public Builder scanType(String scanType) { this.scanType = scanType; return this; } /** * <p>The timestamp when the virus scan task started. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1651290987000</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The status of the virus scan task. Valid values:</p> * <ul> * <li><strong>1</strong>: running</li> * <li><strong>2</strong>: complete</li> * <li><strong>3</strong>: failed</li> * <li><strong>4</strong>: timed out</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The ID of the virus scan task.</p> * * <strong>example:</strong> * <p>2e75557bfa570381f5c516cad9b6xxxx</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The name of the virus scan task.</p> * <ul> * <li>The value is fixed as <strong>VIRUS_VUL_SCHEDULE_SCAN</strong>, which indicates a virus scan task.</li> * </ul> * * <strong>example:</strong> * <p>VIRUS_VUL_SCHEDULE_SCAN</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public List build() { return new List(this); } } } /** * * {@link ListVirusScanTaskResponseBody} extends {@link TeaModel} * * <p>ListVirusScanTaskResponseBody</p> */ public static class PageInfo 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("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { 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 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 currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; 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>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>224</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListVulAutoRepairConfigRequest.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 ListVulAutoRepairConfigRequest} extends {@link RequestModel} * * <p>ListVulAutoRepairConfigRequest</p> */ public class ListVulAutoRepairConfigRequest 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("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") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private ListVulAutoRepairConfigRequest(Builder builder) { super(builder); this.aliasName = builder.aliasName; this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static ListVulAutoRepairConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @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 type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<ListVulAutoRepairConfigRequest, Builder> { private String aliasName; private Integer currentPage; private String lang; private Integer pageSize; private String type; private Builder() { super(); } private Builder(ListVulAutoRepairConfigRequest request) { super(request); this.aliasName = request.aliasName; this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.type = request.type; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)</p> */ public Builder aliasName(String aliasName) { this.putQueryParameter("AliasName", aliasName); this.aliasName = aliasName; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The number of entries per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>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> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public ListVulAutoRepairConfigRequest build() { return new ListVulAutoRepairConfigRequest(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/ListVulAutoRepairConfigResponse.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 ListVulAutoRepairConfigResponse} extends {@link TeaModel} * * <p>ListVulAutoRepairConfigResponse</p> */ public class ListVulAutoRepairConfigResponse 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 ListVulAutoRepairConfigResponseBody body; private ListVulAutoRepairConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListVulAutoRepairConfigResponse 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 ListVulAutoRepairConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListVulAutoRepairConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListVulAutoRepairConfigResponseBody body); @Override ListVulAutoRepairConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListVulAutoRepairConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListVulAutoRepairConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListVulAutoRepairConfigResponse 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(ListVulAutoRepairConfigResponseBody body) { this.body = body; return this; } @Override public ListVulAutoRepairConfigResponse build() { return new ListVulAutoRepairConfigResponse(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/ListVulAutoRepairConfigResponseBody.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 ListVulAutoRepairConfigResponseBody} extends {@link TeaModel} * * <p>ListVulAutoRepairConfigResponseBody</p> */ public class ListVulAutoRepairConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("VulAutoRepairConfigList") private java.util.List<VulAutoRepairConfigList> vulAutoRepairConfigList; private ListVulAutoRepairConfigResponseBody(Builder builder) { this.code = builder.code; this.httpStatusCode = builder.httpStatusCode; this.message = builder.message; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.success = builder.success; this.vulAutoRepairConfigList = builder.vulAutoRepairConfigList; } public static Builder builder() { return new Builder(); } public static ListVulAutoRepairConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return vulAutoRepairConfigList */ public java.util.List<VulAutoRepairConfigList> getVulAutoRepairConfigList() { return this.vulAutoRepairConfigList; } public static final class Builder { private String code; private Integer httpStatusCode; private String message; private PageInfo pageInfo; private String requestId; private Boolean success; private java.util.List<VulAutoRepairConfigList> vulAutoRepairConfigList; private Builder() { } private Builder(ListVulAutoRepairConfigResponseBody model) { this.code = model.code; this.httpStatusCode = model.httpStatusCode; this.message = model.message; this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.success = model.success; this.vulAutoRepairConfigList = model.vulAutoRepairConfigList; } /** * <p>The status code returned. The status code <strong>200</strong> indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The HTTP status code returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>The error message returned.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>3B3F3A90-46A5-4023-A2D8-D68B14262F96</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The request was successful.</li> * <li><strong>false</strong>: The request failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>An array consisting of the existing configurations of vulnerabilities that can be automatically fixed.</p> */ public Builder vulAutoRepairConfigList(java.util.List<VulAutoRepairConfigList> vulAutoRepairConfigList) { this.vulAutoRepairConfigList = vulAutoRepairConfigList; return this; } public ListVulAutoRepairConfigResponseBody build() { return new ListVulAutoRepairConfigResponseBody(this); } } /** * * {@link ListVulAutoRepairConfigResponseBody} extends {@link TeaModel} * * <p>ListVulAutoRepairConfigResponseBody</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>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 total number of entries returned.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link ListVulAutoRepairConfigResponseBody} extends {@link TeaModel} * * <p>ListVulAutoRepairConfigResponseBody</p> */ public static class VulAutoRepairConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Reason") private String reason; @com.aliyun.core.annotation.NameInMap("Type") private String type; private VulAutoRepairConfigList(Builder builder) { this.aliasName = builder.aliasName; this.id = builder.id; this.name = builder.name; this.reason = builder.reason; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static VulAutoRepairConfigList create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return id */ public Long getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String aliasName; private Long id; private String name; private String reason; private String type; private Builder() { } private Builder(VulAutoRepairConfigList model) { this.aliasName = model.aliasName; this.id = model.id; this.name = model.name; this.reason = model.reason; this.type = model.type; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The configuration ID of the vulnerability.</p> * * <strong>example:</strong> * <p>37338</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>anolisos:8.4:ANSA-2022:0001</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The reason why the vulnerability can be automatically fixed.</p> * * <strong>example:</strong> * <p>The vulnerability fix is risk-free and can be configured to automate the fix.</p> */ public Builder reason(String reason) { this.reason = reason; 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> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } public VulAutoRepairConfigList build() { return new VulAutoRepairConfigList(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/ListVulGlobalConfigRequest.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 ListVulGlobalConfigRequest} extends {@link RequestModel} * * <p>ListVulGlobalConfigRequest</p> */ public class ListVulGlobalConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ConfigKey") private String configKey; private ListVulGlobalConfigRequest(Builder builder) { super(builder); this.configKey = builder.configKey; } public static Builder builder() { return new Builder(); } public static ListVulGlobalConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return configKey */ public String getConfigKey() { return this.configKey; } public static final class Builder extends Request.Builder<ListVulGlobalConfigRequest, Builder> { private String configKey; private Builder() { super(); } private Builder(ListVulGlobalConfigRequest request) { super(request); this.configKey = request.configKey; } /** * <p>The key of the configuration item. Valid values:</p> * <ul> * <li><strong>vul_scan_ip_list</strong>: The IP addresses that are detected.</li> * </ul> * * <strong>example:</strong> * <p>vul_scan_ip_list</p> */ public Builder configKey(String configKey) { this.putQueryParameter("ConfigKey", configKey); this.configKey = configKey; return this; } @Override public ListVulGlobalConfigRequest build() { return new ListVulGlobalConfigRequest(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/ListVulGlobalConfigResponse.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 ListVulGlobalConfigResponse} extends {@link TeaModel} * * <p>ListVulGlobalConfigResponse</p> */ public class ListVulGlobalConfigResponse 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 ListVulGlobalConfigResponseBody body; private ListVulGlobalConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListVulGlobalConfigResponse 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 ListVulGlobalConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListVulGlobalConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListVulGlobalConfigResponseBody body); @Override ListVulGlobalConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListVulGlobalConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListVulGlobalConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListVulGlobalConfigResponse 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(ListVulGlobalConfigResponseBody body) { this.body = body; return this; } @Override public ListVulGlobalConfigResponse build() { return new ListVulGlobalConfigResponse(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/ListVulGlobalConfigResponseBody.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 ListVulGlobalConfigResponseBody} extends {@link TeaModel} * * <p>ListVulGlobalConfigResponseBody</p> */ public class ListVulGlobalConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VulGlobalConfigList") private java.util.List<VulGlobalConfigList> vulGlobalConfigList; private ListVulGlobalConfigResponseBody(Builder builder) { this.requestId = builder.requestId; this.vulGlobalConfigList = builder.vulGlobalConfigList; } public static Builder builder() { return new Builder(); } public static ListVulGlobalConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vulGlobalConfigList */ public java.util.List<VulGlobalConfigList> getVulGlobalConfigList() { return this.vulGlobalConfigList; } public static final class Builder { private String requestId; private java.util.List<VulGlobalConfigList> vulGlobalConfigList; private Builder() { } private Builder(ListVulGlobalConfigResponseBody model) { this.requestId = model.requestId; this.vulGlobalConfigList = model.vulGlobalConfigList; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The configurations.</p> */ public Builder vulGlobalConfigList(java.util.List<VulGlobalConfigList> vulGlobalConfigList) { this.vulGlobalConfigList = vulGlobalConfigList; return this; } public ListVulGlobalConfigResponseBody build() { return new ListVulGlobalConfigResponseBody(this); } } /** * * {@link ListVulGlobalConfigResponseBody} extends {@link TeaModel} * * <p>ListVulGlobalConfigResponseBody</p> */ public static class VulGlobalConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigKey") private String configKey; @com.aliyun.core.annotation.NameInMap("ConfigValue") private String configValue; private VulGlobalConfigList(Builder builder) { this.configKey = builder.configKey; this.configValue = builder.configValue; } public static Builder builder() { return new Builder(); } public static VulGlobalConfigList create() { return builder().build(); } /** * @return configKey */ public String getConfigKey() { return this.configKey; } /** * @return configValue */ public String getConfigValue() { return this.configValue; } public static final class Builder { private String configKey; private String configValue; private Builder() { } private Builder(VulGlobalConfigList model) { this.configKey = model.configKey; this.configValue = model.configValue; } /** * <p>The key of the configuration item.</p> * * <strong>example:</strong> * <p>vul_scan_ip_list</p> */ public Builder configKey(String configKey) { this.configKey = configKey; return this; } /** * <p>The value of the configuration item.</p> * * <strong>example:</strong> * <p>127.0.<em>.</em>,127.0.<em>.</em></p> */ public Builder configValue(String configValue) { this.configValue = configValue; return this; } public VulGlobalConfigList build() { return new VulGlobalConfigList(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/MarkMonitorAccountsRequest.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 MarkMonitorAccountsRequest} extends {@link RequestModel} * * <p>MarkMonitorAccountsRequest</p> */ public class MarkMonitorAccountsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountIds") @com.aliyun.core.annotation.Validation(required = true) private String accountIds; private MarkMonitorAccountsRequest(Builder builder) { super(builder); this.accountIds = builder.accountIds; } public static Builder builder() { return new Builder(); } public static MarkMonitorAccountsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountIds */ public String getAccountIds() { return this.accountIds; } public static final class Builder extends Request.Builder<MarkMonitorAccountsRequest, Builder> { private String accountIds; private Builder() { super(); } private Builder(MarkMonitorAccountsRequest request) { super(request); this.accountIds = request.accountIds; } /** * <p>The IDs of the members.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>131331822340XXXX,140649175187XXXX</p> */ public Builder accountIds(String accountIds) { this.putQueryParameter("AccountIds", accountIds); this.accountIds = accountIds; return this; } @Override public MarkMonitorAccountsRequest build() { return new MarkMonitorAccountsRequest(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/MarkMonitorAccountsResponse.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 MarkMonitorAccountsResponse} extends {@link TeaModel} * * <p>MarkMonitorAccountsResponse</p> */ public class MarkMonitorAccountsResponse 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 MarkMonitorAccountsResponseBody body; private MarkMonitorAccountsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static MarkMonitorAccountsResponse 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 MarkMonitorAccountsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<MarkMonitorAccountsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(MarkMonitorAccountsResponseBody body); @Override MarkMonitorAccountsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<MarkMonitorAccountsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private MarkMonitorAccountsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(MarkMonitorAccountsResponse 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(MarkMonitorAccountsResponseBody body) { this.body = body; return this; } @Override public MarkMonitorAccountsResponse build() { return new MarkMonitorAccountsResponse(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/MarkMonitorAccountsResponseBody.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 MarkMonitorAccountsResponseBody} extends {@link TeaModel} * * <p>MarkMonitorAccountsResponseBody</p> */ public class MarkMonitorAccountsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private MarkMonitorAccountsResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static MarkMonitorAccountsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(MarkMonitorAccountsResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A4EB8B1C-1DEC-5E18-BCD0-D1BBB3936FA7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public MarkMonitorAccountsResponseBody build() { return new MarkMonitorAccountsResponseBody(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/ModifyAccessKeyLeakDealRequest.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 ModifyAccessKeyLeakDealRequest} extends {@link RequestModel} * * <p>ModifyAccessKeyLeakDealRequest</p> */ public class ModifyAccessKeyLeakDealRequest 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("IdList") private java.util.List<Long> idList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private ModifyAccessKeyLeakDealRequest(Builder builder) { super(builder); this.id = builder.id; this.idList = builder.idList; this.remark = builder.remark; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static ModifyAccessKeyLeakDealRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return id */ public Long getId() { return this.id; } /** * @return idList */ public java.util.List<Long> getIdList() { return this.idList; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<ModifyAccessKeyLeakDealRequest, Builder> { private Long id; private java.util.List<Long> idList; private String remark; private String type; private Builder() { super(); } private Builder(ModifyAccessKeyLeakDealRequest request) { super(request); this.id = request.id; this.idList = request.idList; this.remark = request.remark; this.type = request.type; } /** * <p>The ID of the AccessKey pair leak.</p> * <blockquote> * <p>You can call the <a href="~~DescribeAccesskeyLeakList~~">DescribeAccesskeyLeakList</a> operation to query the ID. You must specify at least one of the Id and <strong>IdList</strong> parameters.</p> * </blockquote> * * <strong>example:</strong> * <p>123</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } /** * <p>The IDs of AccessKey pair leaks.</p> */ public Builder idList(java.util.List<Long> idList) { this.putQueryParameter("IdList", idList); this.idList = idList; return this; } /** * <p>The remarks that are added.</p> * * <strong>example:</strong> * <p>disabled.</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The method to handle the AccessKey pair leak. Valid values:</p> * <ul> * <li><strong>manual</strong>: manually handle</li> * <li><strong>disable</strong>: disable</li> * <li><strong>add-whitelist</strong>: add to the whitelist</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>disable</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public ModifyAccessKeyLeakDealRequest build() { return new ModifyAccessKeyLeakDealRequest(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/ModifyAccessKeyLeakDealResponse.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 ModifyAccessKeyLeakDealResponse} extends {@link TeaModel} * * <p>ModifyAccessKeyLeakDealResponse</p> */ public class ModifyAccessKeyLeakDealResponse 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 ModifyAccessKeyLeakDealResponseBody body; private ModifyAccessKeyLeakDealResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ModifyAccessKeyLeakDealResponse 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 ModifyAccessKeyLeakDealResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ModifyAccessKeyLeakDealResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ModifyAccessKeyLeakDealResponseBody body); @Override ModifyAccessKeyLeakDealResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ModifyAccessKeyLeakDealResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ModifyAccessKeyLeakDealResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ModifyAccessKeyLeakDealResponse 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(ModifyAccessKeyLeakDealResponseBody body) { this.body = body; return this; } @Override public ModifyAccessKeyLeakDealResponse build() { return new ModifyAccessKeyLeakDealResponse(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/ModifyAccessKeyLeakDealResponseBody.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 ModifyAccessKeyLeakDealResponseBody} extends {@link TeaModel} * * <p>ModifyAccessKeyLeakDealResponseBody</p> */ public class ModifyAccessKeyLeakDealResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyAccessKeyLeakDealResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyAccessKeyLeakDealResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(ModifyAccessKeyLeakDealResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>DD4617B4-133A-53C8-ADAE-7B30FF89****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyAccessKeyLeakDealResponseBody build() { return new ModifyAccessKeyLeakDealResponseBody(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/ModifyAntiBruteForceRuleRequest.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 ModifyAntiBruteForceRuleRequest} extends {@link RequestModel} * * <p>ModifyAntiBruteForceRuleRequest</p> */ public class ModifyAntiBruteForceRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DefaultRule") private Boolean defaultRule; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FailCount") private Integer failCount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ForbiddenTime") private Integer forbiddenTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") @com.aliyun.core.annotation.Validation(required = true) private Long id; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProtocolType") private ProtocolType protocolType; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Span") private Integer span; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UuidList") private java.util.List<String> uuidList; private ModifyAntiBruteForceRuleRequest(Builder builder) { super(builder); this.defaultRule = builder.defaultRule; this.failCount = builder.failCount; this.forbiddenTime = builder.forbiddenTime; this.id = builder.id; this.name = builder.name; this.protocolType = builder.protocolType; this.resourceOwnerId = builder.resourceOwnerId; this.sourceIp = builder.sourceIp; this.span = builder.span; this.uuidList = builder.uuidList; } public static Builder builder() { return new Builder(); } public static ModifyAntiBruteForceRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return defaultRule */ public Boolean getDefaultRule() { return this.defaultRule; } /** * @return failCount */ public Integer getFailCount() { return this.failCount; } /** * @return forbiddenTime */ public Integer getForbiddenTime() { return this.forbiddenTime; } /** * @return id */ public Long getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return protocolType */ public ProtocolType getProtocolType() { return this.protocolType; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return span */ public Integer getSpan() { return this.span; } /** * @return uuidList */ public java.util.List<String> getUuidList() { return this.uuidList; } public static final class Builder extends Request.Builder<ModifyAntiBruteForceRuleRequest, Builder> { private Boolean defaultRule; private Integer failCount; private Integer forbiddenTime; private Long id; private String name; private ProtocolType protocolType; private Long resourceOwnerId; private String sourceIp; private Integer span; private java.util.List<String> uuidList; private Builder() { super(); } private Builder(ModifyAntiBruteForceRuleRequest request) { super(request); this.defaultRule = request.defaultRule; this.failCount = request.failCount; this.forbiddenTime = request.forbiddenTime; this.id = request.id; this.name = request.name; this.protocolType = request.protocolType; this.resourceOwnerId = request.resourceOwnerId; this.sourceIp = request.sourceIp; this.span = request.span; this.uuidList = request.uuidList; } /** * <p>Specifies whether to set the defense rule as the default rule. 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 defaultRule(Boolean defaultRule) { this.putQueryParameter("DefaultRule", defaultRule); this.defaultRule = defaultRule; return this; } /** * <p>The threshold of logon failures that you specify. Valid values:</p> * <ul> * <li><strong>2</strong></li> * <li><strong>3</strong></li> * <li><strong>4</strong></li> * <li><strong>5</strong></li> * <li><strong>10</strong></li> * <li><strong>50</strong></li> * <li><strong>80</strong></li> * <li><strong>100</strong></li> * </ul> * * <strong>example:</strong> * <p>10</p> */ public Builder failCount(Integer failCount) { this.putQueryParameter("FailCount", failCount); this.failCount = failCount; return this; } /** * <p>The period of time during which logons from an account are not allowed. Unit: minutes. Valid values:</p> * <ul> * <li><strong>5</strong></li> * <li><strong>15</strong></li> * <li><strong>30</strong></li> * <li><strong>60</strong></li> * <li><strong>120</strong></li> * <li><strong>360</strong></li> * <li><strong>720</strong></li> * <li><strong>1440</strong></li> * <li><strong>10080</strong></li> * <li><strong>52560000</strong>: permanent</li> * </ul> * * <strong>example:</strong> * <p>5</p> */ public Builder forbiddenTime(Integer forbiddenTime) { this.putQueryParameter("ForbiddenTime", forbiddenTime); this.forbiddenTime = forbiddenTime; return this; } /** * <p>The ID of the defense rule.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>65778</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } /** * <p>The name of the defense rule.</p> * * <strong>example:</strong> * <p>TestRule</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The protocol types supported by the anti-brute force rule for interception.</p> */ public Builder protocolType(ProtocolType protocolType) { String protocolTypeShrink = shrink(protocolType, "ProtocolType", "json"); this.putQueryParameter("ProtocolType", protocolTypeShrink); this.protocolType = protocolType; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; 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 period of time during which logon failures from an account are measured. Unit: minutes. Valid values:</p> * <ul> * <li><strong>1</strong></li> * <li><strong>2</strong></li> * <li><strong>5</strong></li> * <li><strong>10</strong></li> * <li><strong>15</strong></li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder span(Integer span) { this.putQueryParameter("Span", span); this.span = span; return this; } /** * <p>An array consisting of the UUIDs of the servers to which the defense rule is applied.</p> * * <strong>example:</strong> * <p>uuid-13213-dasda</p> */ public Builder uuidList(java.util.List<String> uuidList) { this.putQueryParameter("UuidList", uuidList); this.uuidList = uuidList; return this; } @Override public ModifyAntiBruteForceRuleRequest build() { return new ModifyAntiBruteForceRuleRequest(this); } } /** * * {@link ModifyAntiBruteForceRuleRequest} extends {@link TeaModel} * * <p>ModifyAntiBruteForceRuleRequest</p> */ public static class ProtocolType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Rdp") private String rdp; @com.aliyun.core.annotation.NameInMap("SqlServer") private String sqlServer; @com.aliyun.core.annotation.NameInMap("Ssh") private String ssh; private ProtocolType(Builder builder) { this.rdp = builder.rdp; this.sqlServer = builder.sqlServer; this.ssh = builder.ssh; } public static Builder builder() { return new Builder(); } public static ProtocolType create() { return builder().build(); } /** * @return rdp */ public String getRdp() { return this.rdp; } /** * @return sqlServer */ public String getSqlServer() { return this.sqlServer; } /** * @return ssh */ public String getSsh() { return this.ssh; } public static final class Builder { private String rdp; private String sqlServer; private String ssh; private Builder() { } private Builder(ProtocolType model) { this.rdp = model.rdp; this.sqlServer = model.sqlServer; this.ssh = model.ssh; } /** * <p>Whether to modify the RDP interception method, which is enabled by default. Values:</p> * <ul> * <li><strong>on</strong>: Enable</li> * <li><strong>off</strong>: Disable</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder rdp(String rdp) { this.rdp = rdp; return this; } /** * <p>Whether to modify the SQL Server interception method, which is disabled by default. Values:</p> * <ul> * <li><strong>on</strong>: Enable</li> * <li><strong>off</strong>: Disable</li> * </ul> * * <strong>example:</strong> * <p>off</p> */ public Builder sqlServer(String sqlServer) { this.sqlServer = sqlServer; return this; } /** * <p>Whether to modify the SSH interception method, which is enabled by default. Values:</p> * <ul> * <li><strong>on</strong>: Enable</li> * <li><strong>off</strong>: Disable</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder ssh(String ssh) { this.ssh = ssh; return this; } public ProtocolType build() { return new ProtocolType(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/ModifyAntiBruteForceRuleResponse.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 ModifyAntiBruteForceRuleResponse} extends {@link TeaModel} * * <p>ModifyAntiBruteForceRuleResponse</p> */ public class ModifyAntiBruteForceRuleResponse 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 ModifyAntiBruteForceRuleResponseBody body; private ModifyAntiBruteForceRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ModifyAntiBruteForceRuleResponse 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 ModifyAntiBruteForceRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ModifyAntiBruteForceRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ModifyAntiBruteForceRuleResponseBody body); @Override ModifyAntiBruteForceRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ModifyAntiBruteForceRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ModifyAntiBruteForceRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ModifyAntiBruteForceRuleResponse 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(ModifyAntiBruteForceRuleResponseBody body) { this.body = body; return this; } @Override public ModifyAntiBruteForceRuleResponse build() { return new ModifyAntiBruteForceRuleResponse(this); } } }