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/DescribeWebLockInclusiveFileTypeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockInclusiveFileTypeRequest} extends {@link RequestModel} * * <p>DescribeWebLockInclusiveFileTypeRequest</p> */ public class DescribeWebLockInclusiveFileTypeRequest extends Request { private DescribeWebLockInclusiveFileTypeRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeWebLockInclusiveFileTypeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeWebLockInclusiveFileTypeRequest, Builder> { private Builder() { super(); } private Builder(DescribeWebLockInclusiveFileTypeRequest request) { super(request); } @Override public DescribeWebLockInclusiveFileTypeRequest build() { return new DescribeWebLockInclusiveFileTypeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockInclusiveFileTypeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockInclusiveFileTypeResponse} extends {@link TeaModel} * * <p>DescribeWebLockInclusiveFileTypeResponse</p> */ public class DescribeWebLockInclusiveFileTypeResponse 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 DescribeWebLockInclusiveFileTypeResponseBody body; private DescribeWebLockInclusiveFileTypeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockInclusiveFileTypeResponse 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 DescribeWebLockInclusiveFileTypeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockInclusiveFileTypeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockInclusiveFileTypeResponseBody body); @Override DescribeWebLockInclusiveFileTypeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockInclusiveFileTypeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockInclusiveFileTypeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockInclusiveFileTypeResponse 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(DescribeWebLockInclusiveFileTypeResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockInclusiveFileTypeResponse build() { return new DescribeWebLockInclusiveFileTypeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockInclusiveFileTypeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockInclusiveFileTypeResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockInclusiveFileTypeResponseBody</p> */ public class DescribeWebLockInclusiveFileTypeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InclusiveFileType") private java.util.List<String> inclusiveFileType; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebLockInclusiveFileTypeResponseBody(Builder builder) { this.inclusiveFileType = builder.inclusiveFileType; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockInclusiveFileTypeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return inclusiveFileType */ public java.util.List<String> getInclusiveFileType() { return this.inclusiveFileType; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<String> inclusiveFileType; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockInclusiveFileTypeResponseBody model) { this.inclusiveFileType = model.inclusiveFileType; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>An array that consists of the types of files that can be protected by web tamper proofing.</p> */ public Builder inclusiveFileType(java.util.List<String> inclusiveFileType) { this.inclusiveFileType = inclusiveFileType; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>CE500770-42D3-442E-9DDD-156E0F9F3B45</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of the types of files that can be protected by web tamper proofing.</p> * * <strong>example:</strong> * <p>15</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockInclusiveFileTypeResponseBody build() { return new DescribeWebLockInclusiveFileTypeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockProcessBlockStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockProcessBlockStatisticsRequest} extends {@link RequestModel} * * <p>DescribeWebLockProcessBlockStatisticsRequest</p> */ public class DescribeWebLockProcessBlockStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private DescribeWebLockProcessBlockStatisticsRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeWebLockProcessBlockStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeWebLockProcessBlockStatisticsRequest, Builder> { private Integer currentPage; private Integer pageSize; private Builder() { super(); } private Builder(DescribeWebLockProcessBlockStatisticsRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; } /** * <p>The number of the page to return. 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 number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeWebLockProcessBlockStatisticsRequest build() { return new DescribeWebLockProcessBlockStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockProcessBlockStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockProcessBlockStatisticsResponse} extends {@link TeaModel} * * <p>DescribeWebLockProcessBlockStatisticsResponse</p> */ public class DescribeWebLockProcessBlockStatisticsResponse 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 DescribeWebLockProcessBlockStatisticsResponseBody body; private DescribeWebLockProcessBlockStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockProcessBlockStatisticsResponse 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 DescribeWebLockProcessBlockStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockProcessBlockStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockProcessBlockStatisticsResponseBody body); @Override DescribeWebLockProcessBlockStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockProcessBlockStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockProcessBlockStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockProcessBlockStatisticsResponse 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(DescribeWebLockProcessBlockStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockProcessBlockStatisticsResponse build() { return new DescribeWebLockProcessBlockStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockProcessBlockStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockProcessBlockStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockProcessBlockStatisticsResponseBody</p> */ public class DescribeWebLockProcessBlockStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebLockProcessBlockStatisticsResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.list = builder.list; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockProcessBlockStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private java.util.List<List> list; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockProcessBlockStatisticsResponseBody model) { this.currentPage = model.currentPage; this.list = model.list; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>An array consisting of the statistics on processes.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>BE120DAB-F4E7-4C53-ADC3-A97578ABF384</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of processes.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockProcessBlockStatisticsResponseBody build() { return new DescribeWebLockProcessBlockStatisticsResponseBody(this); } } /** * * {@link DescribeWebLockProcessBlockStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockProcessBlockStatisticsResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Process") private String process; private List(Builder builder) { this.count = builder.count; this.process = builder.process; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return process */ public String getProcess() { return this.process; } public static final class Builder { private Integer count; private String process; private Builder() { } private Builder(List model) { this.count = model.count; this.process = model.process; } /** * <p>The number of processes that are returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The process.</p> * * <strong>example:</strong> * <p>cron</p> */ public Builder process(String process) { this.process = process; return this; } public List build() { return new List(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockProcessListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockProcessListRequest} extends {@link RequestModel} * * <p>DescribeWebLockProcessListRequest</p> */ public class DescribeWebLockProcessListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessName") private String processName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private DescribeWebLockProcessListRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.processName = builder.processName; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DescribeWebLockProcessListRequest 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 processName */ public String getProcessName() { return this.processName; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder extends Request.Builder<DescribeWebLockProcessListRequest, Builder> { private Integer currentPage; private Integer pageSize; private String processName; private Integer status; private Builder() { super(); } private Builder(DescribeWebLockProcessListRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.processName = request.processName; this.status = request.status; } /** * <p>The number of the page to return. 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 number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p> * <blockquote> * <p>We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>cron</p> */ public Builder processName(String processName) { this.putQueryParameter("ProcessName", processName); this.processName = processName; return this; } /** * <p>Specifies whether the process is added to the process whitelist. Valid values:</p> * <ul> * <li><strong>1</strong>: The process is added to the process whitelist.</li> * <li><strong>0</strong>: The process is not added to the process whitelist.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public DescribeWebLockProcessListRequest build() { return new DescribeWebLockProcessListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockProcessListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockProcessListResponse} extends {@link TeaModel} * * <p>DescribeWebLockProcessListResponse</p> */ public class DescribeWebLockProcessListResponse 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 DescribeWebLockProcessListResponseBody body; private DescribeWebLockProcessListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockProcessListResponse 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 DescribeWebLockProcessListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockProcessListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockProcessListResponseBody body); @Override DescribeWebLockProcessListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockProcessListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockProcessListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockProcessListResponse 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(DescribeWebLockProcessListResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockProcessListResponse build() { return new DescribeWebLockProcessListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockProcessListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockProcessListResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockProcessListResponseBody</p> */ public class DescribeWebLockProcessListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebLockProcessListResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.list = builder.list; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockProcessListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private java.util.List<List> list; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebLockProcessListResponseBody model) { this.currentPage = model.currentPage; this.list = model.list; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>An array that consists of details about the process.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>028CF634-5268-5660-9575-48C9ED6BF880</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of processes.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockProcessListResponseBody build() { return new DescribeWebLockProcessListResponseBody(this); } } /** * * {@link DescribeWebLockProcessListResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockProcessListResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private String count; @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("ProcessName") private String processName; @com.aliyun.core.annotation.NameInMap("ProcessPath") private String processPath; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private List(Builder builder) { this.count = builder.count; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.processName = builder.processName; this.processPath = builder.processPath; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return count */ public String getCount() { return this.count; } /** * @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 processName */ public String getProcessName() { return this.processName; } /** * @return processPath */ public String getProcessPath() { return this.processPath; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String count; private String instanceName; private String internetIp; private String intranetIp; private String processName; private String processPath; private Integer status; private String uuid; private Builder() { } private Builder(List model) { this.count = model.count; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.processName = model.processName; this.processPath = model.processPath; this.status = model.status; this.uuid = model.uuid; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>33</p> */ public Builder count(String count) { this.count = count; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>test_ecs</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 name of the process.</p> * * <strong>example:</strong> * <p>cron</p> */ public Builder processName(String processName) { this.processName = processName; return this; } /** * <p>The path to the process.</p> * * <strong>example:</strong> * <p>/usr/sbin/cron</p> */ public Builder processPath(String processPath) { this.processPath = processPath; return this; } /** * <p>Indicates whether the process is added to the process whitelist. Valid values:</p> * <ul> * <li><strong>1</strong>: The process is added to the process whitelist.</li> * <li><strong>0</strong>: The process is not added to the process whitelist.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.status = status; 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); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockStatusRequest} extends {@link RequestModel} * * <p>DescribeWebLockStatusRequest</p> */ public class DescribeWebLockStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") private String from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeWebLockStatusRequest(Builder builder) { super(builder); this.from = builder.from; this.lang = builder.lang; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeWebLockStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return from */ public String getFrom() { return this.from; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeWebLockStatusRequest, Builder> { private String from; private String lang; private String sourceIp; private Builder() { super(); } private Builder(DescribeWebLockStatusRequest request) { super(request); this.from = request.from; this.lang = request.lang; this.sourceIp = request.sourceIp; } /** * <p>The ID of the request source. Set the value to sas.</p> * * <strong>example:</strong> * <p>sas</p> */ public Builder from(String from) { this.putQueryParameter("From", from); this.from = from; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>221.214.XXX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeWebLockStatusRequest build() { return new DescribeWebLockStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockStatusResponse} extends {@link TeaModel} * * <p>DescribeWebLockStatusResponse</p> */ public class DescribeWebLockStatusResponse 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 DescribeWebLockStatusResponseBody body; private DescribeWebLockStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockStatusResponse 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 DescribeWebLockStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockStatusResponseBody body); @Override DescribeWebLockStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockStatusResponse 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(DescribeWebLockStatusResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockStatusResponse build() { return new DescribeWebLockStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockStatusResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockStatusResponseBody</p> */ public class DescribeWebLockStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthCount") private Integer authCount; @com.aliyun.core.annotation.NameInMap("BindCount") private Integer bindCount; @com.aliyun.core.annotation.NameInMap("BlockCount") private Integer blockCount; @com.aliyun.core.annotation.NameInMap("DirCount") private Integer dirCount; @com.aliyun.core.annotation.NameInMap("ExpireTime") private Long expireTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("WhiteCount") private Integer whiteCount; private DescribeWebLockStatusResponseBody(Builder builder) { this.authCount = builder.authCount; this.bindCount = builder.bindCount; this.blockCount = builder.blockCount; this.dirCount = builder.dirCount; this.expireTime = builder.expireTime; this.requestId = builder.requestId; this.whiteCount = builder.whiteCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return authCount */ public Integer getAuthCount() { return this.authCount; } /** * @return bindCount */ public Integer getBindCount() { return this.bindCount; } /** * @return blockCount */ public Integer getBlockCount() { return this.blockCount; } /** * @return dirCount */ public Integer getDirCount() { return this.dirCount; } /** * @return expireTime */ public Long getExpireTime() { return this.expireTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return whiteCount */ public Integer getWhiteCount() { return this.whiteCount; } public static final class Builder { private Integer authCount; private Integer bindCount; private Integer blockCount; private Integer dirCount; private Long expireTime; private String requestId; private Integer whiteCount; private Builder() { } private Builder(DescribeWebLockStatusResponseBody model) { this.authCount = model.authCount; this.bindCount = model.bindCount; this.blockCount = model.blockCount; this.dirCount = model.dirCount; this.expireTime = model.expireTime; this.requestId = model.requestId; this.whiteCount = model.whiteCount; } /** * <p>The total quota that you purchase for web tamper proofing.</p> * * <strong>example:</strong> * <p>32</p> */ public Builder authCount(Integer authCount) { this.authCount = authCount; return this; } /** * <p>The associated tamper proofing quota.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder bindCount(Integer bindCount) { this.bindCount = bindCount; return this; } /** * <p>The number of blocked processes.</p> * * <strong>example:</strong> * <p>48</p> */ public Builder blockCount(Integer blockCount) { this.blockCount = blockCount; return this; } /** * <p>The number of protected directories.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder dirCount(Integer dirCount) { this.dirCount = dirCount; return this; } /** * <p>The timestamp generated when the quota for tamper proofing expires. Unit: millisecond.</p> * * <strong>example:</strong> * <p>1688090851000</p> */ public Builder expireTime(Long expireTime) { this.expireTime = expireTime; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>0B48AB3C-84FC-424D-A01D-B9270EF46038</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of processes in the whitelist.</p> * * <strong>example:</strong> * <p>6</p> */ public Builder whiteCount(Integer whiteCount) { this.whiteCount = whiteCount; return this; } public DescribeWebLockStatusResponseBody build() { return new DescribeWebLockStatusResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockTotalFileChangeCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockTotalFileChangeCountRequest} extends {@link RequestModel} * * <p>DescribeWebLockTotalFileChangeCountRequest</p> */ public class DescribeWebLockTotalFileChangeCountRequest extends Request { private DescribeWebLockTotalFileChangeCountRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeWebLockTotalFileChangeCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeWebLockTotalFileChangeCountRequest, Builder> { private Builder() { super(); } private Builder(DescribeWebLockTotalFileChangeCountRequest request) { super(request); } @Override public DescribeWebLockTotalFileChangeCountRequest build() { return new DescribeWebLockTotalFileChangeCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockTotalFileChangeCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockTotalFileChangeCountResponse} extends {@link TeaModel} * * <p>DescribeWebLockTotalFileChangeCountResponse</p> */ public class DescribeWebLockTotalFileChangeCountResponse 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 DescribeWebLockTotalFileChangeCountResponseBody body; private DescribeWebLockTotalFileChangeCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebLockTotalFileChangeCountResponse 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 DescribeWebLockTotalFileChangeCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebLockTotalFileChangeCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebLockTotalFileChangeCountResponseBody body); @Override DescribeWebLockTotalFileChangeCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebLockTotalFileChangeCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebLockTotalFileChangeCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebLockTotalFileChangeCountResponse 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(DescribeWebLockTotalFileChangeCountResponseBody body) { this.body = body; return this; } @Override public DescribeWebLockTotalFileChangeCountResponse build() { return new DescribeWebLockTotalFileChangeCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebLockTotalFileChangeCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebLockTotalFileChangeCountResponseBody} extends {@link TeaModel} * * <p>DescribeWebLockTotalFileChangeCountResponseBody</p> */ public class DescribeWebLockTotalFileChangeCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeWebLockTotalFileChangeCountResponseBody(Builder builder) { this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebLockTotalFileChangeCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private String requestId; private Long totalCount; private Builder() { } private Builder(DescribeWebLockTotalFileChangeCountResponseBody model) { this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>E70074C8-DFB4-44C5-96C7-909DD231D68A</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of times that the files protected by web tamper proofing are changed.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeWebLockTotalFileChangeCountResponseBody build() { return new DescribeWebLockTotalFileChangeCountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebPathRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebPathRequest} extends {@link RequestModel} * * <p>DescribeWebPathRequest</p> */ public class DescribeWebPathRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeWebPathRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeWebPathRequest 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; } public static final class Builder extends Request.Builder<DescribeWebPathRequest, Builder> { private Integer currentPage; private Integer pageSize; private String type; private Builder() { super(); } private Builder(DescribeWebPathRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.type = request.type; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The type of the alert configuration. Valid values:</p> * <ul> * <li><strong>web_path</strong></li> * </ul> * * <strong>example:</strong> * <p>web_path</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeWebPathRequest build() { return new DescribeWebPathRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebPathResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebPathResponse} extends {@link TeaModel} * * <p>DescribeWebPathResponse</p> */ public class DescribeWebPathResponse 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 DescribeWebPathResponseBody body; private DescribeWebPathResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebPathResponse 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 DescribeWebPathResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebPathResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWebPathResponseBody body); @Override DescribeWebPathResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebPathResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWebPathResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebPathResponse 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(DescribeWebPathResponseBody body) { this.body = body; return this; } @Override public DescribeWebPathResponse build() { return new DescribeWebPathResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWebPathResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebPathResponseBody} extends {@link TeaModel} * * <p>DescribeWebPathResponseBody</p> */ public class DescribeWebPathResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigList") private java.util.List<ConfigList> configList; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWebPathResponseBody(Builder builder) { this.configList = builder.configList; this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWebPathResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configList */ public java.util.List<ConfigList> getConfigList() { return this.configList; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<ConfigList> configList; private Integer count; private Integer currentPage; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWebPathResponseBody model) { this.configList = model.configList; this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>An array that consists of the paths to the web directories.</p> */ public Builder configList(java.util.List<ConfigList> configList) { this.configList = configList; return this; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>B37C9052-A73E-4707-A024-92477028****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWebPathResponseBody build() { return new DescribeWebPathResponseBody(this); } } /** * * {@link DescribeWebPathResponseBody} extends {@link TeaModel} * * <p>DescribeWebPathResponseBody</p> */ public static class TargetList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private TargetList(Builder builder) { this.target = builder.target; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static TargetList create() { return builder().build(); } /** * @return target */ public String getTarget() { return this.target; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String target; private String targetType; private Builder() { } private Builder(TargetList model) { this.target = model.target; this.targetType = model.targetType; } /** * <p>The object.</p> * * <strong>example:</strong> * <p>82048187-bb9b-4e19-8320-7b4ddb97****</p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The object type. Valid values:</p> * <ul> * <li><strong>uuid</strong></li> * </ul> * * <strong>example:</strong> * <p>uuid</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public TargetList build() { return new TargetList(this); } } } /** * * {@link DescribeWebPathResponseBody} extends {@link TeaModel} * * <p>DescribeWebPathResponseBody</p> */ public static class ConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("TargetList") private java.util.List<TargetList> targetList; @com.aliyun.core.annotation.NameInMap("WebPath") private String webPath; @com.aliyun.core.annotation.NameInMap("WebPathType") private String webPathType; private ConfigList(Builder builder) { this.targetList = builder.targetList; this.webPath = builder.webPath; this.webPathType = builder.webPathType; } public static Builder builder() { return new Builder(); } public static ConfigList create() { return builder().build(); } /** * @return targetList */ public java.util.List<TargetList> getTargetList() { return this.targetList; } /** * @return webPath */ public String getWebPath() { return this.webPath; } /** * @return webPathType */ public String getWebPathType() { return this.webPathType; } public static final class Builder { private java.util.List<TargetList> targetList; private String webPath; private String webPathType; private Builder() { } private Builder(ConfigList model) { this.targetList = model.targetList; this.webPath = model.webPath; this.webPathType = model.webPathType; } /** * <p>An array consisting of the servers on which the web directories are scanned.</p> */ public Builder targetList(java.util.List<TargetList> targetList) { this.targetList = targetList; return this; } /** * <p>The path to the web directory.</p> * * <strong>example:</strong> * <p>/root/www****</p> */ public Builder webPath(String webPath) { this.webPath = webPath; 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 webPathType(String webPathType) { this.webPathType = webPathType; return this; } public ConfigList build() { return new ConfigList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListAssetRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListAssetRequest} extends {@link RequestModel} * * <p>DescribeWhiteListAssetRequest</p> */ public class DescribeWhiteListAssetRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LastMaxId") private Long lastMaxId; @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("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private Integer type; private DescribeWhiteListAssetRequest(Builder builder) { super(builder); this.lang = builder.lang; this.lastMaxId = builder.lastMaxId; this.pageSize = builder.pageSize; this.sourceIp = builder.sourceIp; this.strategyId = builder.strategyId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListAssetRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return lastMaxId */ public Long getLastMaxId() { return this.lastMaxId; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return type */ public Integer getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeWhiteListAssetRequest, Builder> { private String lang; private Long lastMaxId; private Integer pageSize; private String sourceIp; private Long strategyId; private Integer type; private Builder() { super(); } private Builder(DescribeWhiteListAssetRequest request) { super(request); this.lang = request.lang; this.lastMaxId = request.lastMaxId; this.pageSize = request.pageSize; this.sourceIp = request.sourceIp; this.strategyId = request.strategyId; this.type = request.type; } /** * <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 maximum asset ID of the most recent query.</p> * * <strong>example:</strong> * <p>1001</p> */ public Builder lastMaxId(Long lastMaxId) { this.putQueryParameter("LastMaxId", lastMaxId); this.lastMaxId = lastMaxId; return this; } /** * <p>The number of entries per page. Maximum value: <strong>500</strong>. Default value: <strong>500</strong>. This value indicates that 500 entries are displayed 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 source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>180.119.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the policy.</p> * <blockquote> * <p> You can call the <a href="~~DescribeWhiteListStrategyList~~">DescribeWhiteListStrategyList</a> operation to obtain the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>2730</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } /** * <p>The policy type of the asset that you want to query. Valid values:</p> * <ul> * <li><strong>1</strong>: learning policy</li> * <li><strong>2</strong>: application policy</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder type(Integer type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeWhiteListAssetRequest build() { return new DescribeWhiteListAssetRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListAssetResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListAssetResponse} extends {@link TeaModel} * * <p>DescribeWhiteListAssetResponse</p> */ public class DescribeWhiteListAssetResponse 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 DescribeWhiteListAssetResponseBody body; private DescribeWhiteListAssetResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListAssetResponse 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 DescribeWhiteListAssetResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListAssetResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListAssetResponseBody body); @Override DescribeWhiteListAssetResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListAssetResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListAssetResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListAssetResponse 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(DescribeWhiteListAssetResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListAssetResponse build() { return new DescribeWhiteListAssetResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListAssetResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListAssetResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListAssetResponseBody</p> */ public class DescribeWhiteListAssetResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Assets") private java.util.List<Assets> assets; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeWhiteListAssetResponseBody(Builder builder) { this.assets = builder.assets; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListAssetResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return assets */ public java.util.List<Assets> getAssets() { return this.assets; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Assets> assets; private String requestId; private Builder() { } private Builder(DescribeWhiteListAssetResponseBody model) { this.assets = model.assets; this.requestId = model.requestId; } /** * <p>The information about the servers.</p> */ public Builder assets(java.util.List<Assets> assets) { this.assets = assets; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A3D7C47D-3F11-57BB-90E8-E5C20C61****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeWhiteListAssetResponseBody build() { return new DescribeWhiteListAssetResponseBody(this); } } /** * * {@link DescribeWhiteListAssetResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListAssetResponseBody</p> */ public static class Assets extends TeaModel { @com.aliyun.core.annotation.NameInMap("AllowSelected") private Integer allowSelected; @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("MachineIp") private String machineIp; @com.aliyun.core.annotation.NameInMap("MachineName") private String machineName; @com.aliyun.core.annotation.NameInMap("Selected") private Integer selected; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Assets(Builder builder) { this.allowSelected = builder.allowSelected; this.groupId = builder.groupId; this.id = builder.id; this.machineIp = builder.machineIp; this.machineName = builder.machineName; this.selected = builder.selected; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Assets create() { return builder().build(); } /** * @return allowSelected */ public Integer getAllowSelected() { return this.allowSelected; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return id */ public Long getId() { return this.id; } /** * @return machineIp */ public String getMachineIp() { return this.machineIp; } /** * @return machineName */ public String getMachineName() { return this.machineName; } /** * @return selected */ public Integer getSelected() { return this.selected; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Integer allowSelected; private Long groupId; private Long id; private String machineIp; private String machineName; private Integer selected; private String uuid; private Builder() { } private Builder(Assets model) { this.allowSelected = model.allowSelected; this.groupId = model.groupId; this.id = model.id; this.machineIp = model.machineIp; this.machineName = model.machineName; this.selected = model.selected; this.uuid = model.uuid; } /** * <p>Indicates whether the server can be selected. 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 allowSelected(Integer allowSelected) { this.allowSelected = allowSelected; return this; } /** * <p>The group ID of the server.</p> * * <strong>example:</strong> * <p>11028551</p> */ public Builder groupId(Long groupId) { this.groupId = groupId; return this; } /** * <p>The ID of the server.</p> * * <strong>example:</strong> * <p>1001</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The IP address of the server.</p> * * <strong>example:</strong> * <p>121.41.XX.XX</p> */ public Builder machineIp(String machineIp) { this.machineIp = machineIp; 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>Indicates whether the server is selected. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder selected(Integer selected) { this.selected = selected; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>5c081b02-f66a-47a4-bd2f-79ee3eaf806a</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Assets build() { return new Assets(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListAuthorizeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListAuthorizeRequest} extends {@link RequestModel} * * <p>DescribeWhiteListAuthorizeRequest</p> */ public class DescribeWhiteListAuthorizeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeWhiteListAuthorizeRequest(Builder builder) { super(builder); this.lang = builder.lang; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListAuthorizeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeWhiteListAuthorizeRequest, Builder> { private String lang; private String sourceIp; private Builder() { super(); } private Builder(DescribeWhiteListAuthorizeRequest request) { super(request); this.lang = request.lang; this.sourceIp = request.sourceIp; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>180.119.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeWhiteListAuthorizeRequest build() { return new DescribeWhiteListAuthorizeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListAuthorizeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListAuthorizeResponse} extends {@link TeaModel} * * <p>DescribeWhiteListAuthorizeResponse</p> */ public class DescribeWhiteListAuthorizeResponse 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 DescribeWhiteListAuthorizeResponseBody body; private DescribeWhiteListAuthorizeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListAuthorizeResponse 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 DescribeWhiteListAuthorizeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListAuthorizeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListAuthorizeResponseBody body); @Override DescribeWhiteListAuthorizeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListAuthorizeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListAuthorizeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListAuthorizeResponse 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(DescribeWhiteListAuthorizeResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListAuthorizeResponse build() { return new DescribeWhiteListAuthorizeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListAuthorizeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListAuthorizeResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListAuthorizeResponseBody</p> */ public class DescribeWhiteListAuthorizeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableAuthorizeNum") private Integer availableAuthorizeNum; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeWhiteListAuthorizeResponseBody(Builder builder) { this.availableAuthorizeNum = builder.availableAuthorizeNum; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListAuthorizeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return availableAuthorizeNum */ public Integer getAvailableAuthorizeNum() { return this.availableAuthorizeNum; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer availableAuthorizeNum; private String requestId; private Builder() { } private Builder(DescribeWhiteListAuthorizeResponseBody model) { this.availableAuthorizeNum = model.availableAuthorizeNum; this.requestId = model.requestId; } /** * <p>The available quota.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder availableAuthorizeNum(Integer availableAuthorizeNum) { this.availableAuthorizeNum = availableAuthorizeNum; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7BC55C8F-226E-5AF5-9A2C-2EC43864****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeWhiteListAuthorizeResponseBody build() { return new DescribeWhiteListAuthorizeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListEffectiveAssetsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListEffectiveAssetsRequest} extends {@link RequestModel} * * <p>DescribeWhiteListEffectiveAssetsRequest</p> */ public class DescribeWhiteListEffectiveAssetsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NeedStatistics") private Integer needStatistics; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; private DescribeWhiteListEffectiveAssetsRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.lang = builder.lang; this.needStatistics = builder.needStatistics; this.pageSize = builder.pageSize; this.remark = builder.remark; this.sourceIp = builder.sourceIp; this.strategyId = builder.strategyId; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListEffectiveAssetsRequest 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 needStatistics */ public Integer getNeedStatistics() { return this.needStatistics; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } public static final class Builder extends Request.Builder<DescribeWhiteListEffectiveAssetsRequest, Builder> { private Integer currentPage; private String lang; private Integer needStatistics; private Integer pageSize; private String remark; private String sourceIp; private Long strategyId; private Builder() { super(); } private Builder(DescribeWhiteListEffectiveAssetsRequest request) { super(request); this.currentPage = request.currentPage; this.lang = request.lang; this.needStatistics = request.needStatistics; this.pageSize = request.pageSize; this.remark = request.remark; this.sourceIp = request.sourceIp; this.strategyId = request.strategyId; } /** * <p>The page number. Default value: <strong>1</strong>. Pages start from page 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>Specifies whether to return the number of <strong>untrusted programs</strong>. Valid values:</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder needStatistics(Integer needStatistics) { this.putQueryParameter("NeedStatistics", needStatistics); this.needStatistics = needStatistics; return this; } /** * <p>The number of entries per page. Maximum value: <strong>1000</strong>. Default value: 20. If you leave this parameter empty, 20 data entries are returned per page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The condition that is used to query assets. You can enter an IP address, a public IP address, an private IP address, or an asset name for fuzzy match.</p> * * <strong>example:</strong> * <p>222.185.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. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>27.212.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the policy.</p> * <blockquote> * <p> You can call the <a href="~~DescribeWhiteListStrategyList~~">DescribeWhiteListStrategyList</a> operation to obtain the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>8437592</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } @Override public DescribeWhiteListEffectiveAssetsRequest build() { return new DescribeWhiteListEffectiveAssetsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListEffectiveAssetsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListEffectiveAssetsResponse} extends {@link TeaModel} * * <p>DescribeWhiteListEffectiveAssetsResponse</p> */ public class DescribeWhiteListEffectiveAssetsResponse 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 DescribeWhiteListEffectiveAssetsResponseBody body; private DescribeWhiteListEffectiveAssetsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListEffectiveAssetsResponse 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 DescribeWhiteListEffectiveAssetsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListEffectiveAssetsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListEffectiveAssetsResponseBody body); @Override DescribeWhiteListEffectiveAssetsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListEffectiveAssetsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListEffectiveAssetsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListEffectiveAssetsResponse 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(DescribeWhiteListEffectiveAssetsResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListEffectiveAssetsResponse build() { return new DescribeWhiteListEffectiveAssetsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListEffectiveAssetsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListEffectiveAssetsResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListEffectiveAssetsResponseBody</p> */ public class DescribeWhiteListEffectiveAssetsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Assets") private java.util.List<Assets> assets; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWhiteListEffectiveAssetsResponseBody(Builder builder) { this.assets = builder.assets; this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListEffectiveAssetsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return assets */ public java.util.List<Assets> getAssets() { return this.assets; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<Assets> assets; private Integer count; private Integer currentPage; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWhiteListEffectiveAssetsResponseBody model) { this.assets = model.assets; this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The servers on which the policy takes effect.</p> */ public Builder assets(java.util.List<Assets> assets) { this.assets = assets; return this; } /** * <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.</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 request ID.</p> * * <strong>example:</strong> * <p>A4EB8B1C-1DEC-5E18-BCD0-D1BBB39****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of the servers on which the policy takes effect.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWhiteListEffectiveAssetsResponseBody build() { return new DescribeWhiteListEffectiveAssetsResponseBody(this); } } /** * * {@link DescribeWhiteListEffectiveAssetsResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListEffectiveAssetsResponseBody</p> */ public static class Assets 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("ProcessMethod") private Integer processMethod; @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.NameInMap("StrategyName") private String strategyName; @com.aliyun.core.annotation.NameInMap("SuspiciousEventCount") private Integer suspiciousEventCount; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Assets(Builder builder) { this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.machineName = builder.machineName; this.processMethod = builder.processMethod; this.strategyId = builder.strategyId; this.strategyName = builder.strategyName; this.suspiciousEventCount = builder.suspiciousEventCount; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Assets 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 processMethod */ public Integer getProcessMethod() { return this.processMethod; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return strategyName */ public String getStrategyName() { return this.strategyName; } /** * @return suspiciousEventCount */ public Integer getSuspiciousEventCount() { return this.suspiciousEventCount; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String internetIp; private String intranetIp; private String machineName; private Integer processMethod; private Long strategyId; private String strategyName; private Integer suspiciousEventCount; private String uuid; private Builder() { } private Builder(Assets model) { this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.machineName = model.machineName; this.processMethod = model.processMethod; this.strategyId = model.strategyId; this.strategyName = model.strategyName; this.suspiciousEventCount = model.suspiciousEventCount; this.uuid = model.uuid; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>60.205.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address.</p> * * <strong>example:</strong> * <p>192.168.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 exception handling mode. Valid values:</p> * <ul> * <li><strong>0</strong>: unhandled</li> * <li><strong>1</strong>: alerted</li> * <li><strong>2</strong>: blocked</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder processMethod(Integer processMethod) { this.processMethod = processMethod; return this; } /** * <p>The ID of the policy.</p> * * <strong>example:</strong> * <p>35815387</p> */ public Builder strategyId(Long strategyId) { this.strategyId = strategyId; return this; } /** * <p>The name of the policy.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder strategyName(String strategyName) { this.strategyName = strategyName; return this; } /** * <p>The number of <strong>untrusted programs</strong> on the server.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder suspiciousEventCount(Integer suspiciousEventCount) { this.suspiciousEventCount = suspiciousEventCount; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>544900ff-1be7-4655-9719-6311cecb3****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Assets build() { return new Assets(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListProcessRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListProcessRequest} extends {@link RequestModel} * * <p>DescribeWhiteListProcessRequest</p> */ public class DescribeWhiteListProcessRequest 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("Desc") private Integer desc; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderBy") private Integer orderBy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessName") private String processName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessType") private Integer processType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") @com.aliyun.core.annotation.Validation(required = true) private Long strategyId; private DescribeWhiteListProcessRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.desc = builder.desc; this.lang = builder.lang; this.orderBy = builder.orderBy; this.pageSize = builder.pageSize; this.processName = builder.processName; this.processType = builder.processType; this.sourceIp = builder.sourceIp; this.strategyId = builder.strategyId; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListProcessRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return desc */ public Integer getDesc() { return this.desc; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return orderBy */ public Integer getOrderBy() { return this.orderBy; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return processName */ public String getProcessName() { return this.processName; } /** * @return processType */ public Integer getProcessType() { return this.processType; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } public static final class Builder extends Request.Builder<DescribeWhiteListProcessRequest, Builder> { private Integer currentPage; private Integer desc; private String lang; private Integer orderBy; private Integer pageSize; private String processName; private Integer processType; private String sourceIp; private Long strategyId; private Builder() { super(); } private Builder(DescribeWhiteListProcessRequest request) { super(request); this.currentPage = request.currentPage; this.desc = request.desc; this.lang = request.lang; this.orderBy = request.orderBy; this.pageSize = request.pageSize; this.processName = request.processName; this.processType = request.processType; this.sourceIp = request.sourceIp; this.strategyId = request.strategyId; } /** * <p>The page number. Default value: <strong>1</strong>. Pages start from page 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The sort order. Default value: descending order. Valid values:</p> * <ul> * <li><strong>1</strong>: ascending order</li> * <li><strong>2</strong>: descending order</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder desc(Integer desc) { this.putQueryParameter("Desc", desc); this.desc = desc; 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 item based on which you want to sort the returned results. Default value: <strong>process type</strong>. Valid values:</p> * <ul> * <li><strong>1</strong>: process type</li> * <li><strong>2</strong>: degree of trustability</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder orderBy(Integer orderBy) { this.putQueryParameter("OrderBy", orderBy); this.orderBy = orderBy; return this; } /** * <p>The number of entries per page. Maximum value: 1000. Default value: 20. If you leave this parameter empty, 20 data entries are returned per page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>JAVA</p> */ public Builder processName(String processName) { this.putQueryParameter("ProcessName", processName); this.processName = processName; return this; } /** * <p>The type of the process. Valid values:</p> * <ul> * <li><strong>1</strong>: trusted</li> * <li><strong>2</strong>: suspicious</li> * <li><strong>3</strong>: malicious</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder processType(Integer processType) { this.putQueryParameter("ProcessType", processType); this.processType = processType; return this; } /** * <p>The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>27.223.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the policy.</p> * <blockquote> * <p> You can call the <a href="~~DescribeWhiteListStrategyList~~">DescribeWhiteListStrategyList</a> operation to obtain the ID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8562</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } @Override public DescribeWhiteListProcessRequest build() { return new DescribeWhiteListProcessRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListProcessResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListProcessResponse} extends {@link TeaModel} * * <p>DescribeWhiteListProcessResponse</p> */ public class DescribeWhiteListProcessResponse 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 DescribeWhiteListProcessResponseBody body; private DescribeWhiteListProcessResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListProcessResponse 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 DescribeWhiteListProcessResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListProcessResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListProcessResponseBody body); @Override DescribeWhiteListProcessResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListProcessResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListProcessResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListProcessResponse 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(DescribeWhiteListProcessResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListProcessResponse build() { return new DescribeWhiteListProcessResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListProcessResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListProcessResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListProcessResponseBody</p> */ public class DescribeWhiteListProcessResponseBody 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("Processes") private java.util.List<Processes> processes; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWhiteListProcessResponseBody(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.processes = builder.processes; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListProcessResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return processes */ public java.util.List<Processes> getProcesses() { return this.processes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private java.util.List<Processes> processes; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeWhiteListProcessResponseBody model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.processes = model.processes; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>1</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>200</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The information about the processes.</p> */ public Builder processes(java.util.List<Processes> processes) { this.processes = processes; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>D81DD78E-E006-5C65-A171-C8CB09XXXXX</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 DescribeWhiteListProcessResponseBody build() { return new DescribeWhiteListProcessResponseBody(this); } } /** * * {@link DescribeWhiteListProcessResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListProcessResponseBody</p> */ public static class Processes extends TeaModel { @com.aliyun.core.annotation.NameInMap("FilePath") private String filePath; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Level") private Integer level; @com.aliyun.core.annotation.NameInMap("Md5") private String md5; @com.aliyun.core.annotation.NameInMap("ProcessId") private Integer processId; @com.aliyun.core.annotation.NameInMap("ProcessName") private String processName; @com.aliyun.core.annotation.NameInMap("ProcessType") private Integer processType; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private Processes(Builder builder) { this.filePath = builder.filePath; this.id = builder.id; this.level = builder.level; this.md5 = builder.md5; this.processId = builder.processId; this.processName = builder.processName; this.processType = builder.processType; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Processes create() { return builder().build(); } /** * @return filePath */ public String getFilePath() { return this.filePath; } /** * @return id */ public Long getId() { return this.id; } /** * @return level */ public Integer getLevel() { return this.level; } /** * @return md5 */ public String getMd5() { return this.md5; } /** * @return processId */ public Integer getProcessId() { return this.processId; } /** * @return processName */ public String getProcessName() { return this.processName; } /** * @return processType */ public Integer getProcessType() { return this.processType; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String filePath; private Long id; private Integer level; private String md5; private Integer processId; private String processName; private Integer processType; private Integer status; private Builder() { } private Builder(Processes model) { this.filePath = model.filePath; this.id = model.id; this.level = model.level; this.md5 = model.md5; this.processId = model.processId; this.processName = model.processName; this.processType = model.processType; this.status = model.status; } /** * <p>The path to the process startup file.</p> * * <strong>example:</strong> * <p>/root/bash1</p> */ public Builder filePath(String filePath) { this.filePath = filePath; return this; } /** * <p>The primary key of the process information.</p> * * <strong>example:</strong> * <p>2100019</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The trust score of the process.</p> * * <strong>example:</strong> * <p>99</p> */ public Builder level(Integer level) { this.level = level; return this; } /** * <p>The MD5 hash value of the process startup file.</p> * * <strong>example:</strong> * <p>a28e8eba54ece1f3748d80e57dc89400</p> */ public Builder md5(String md5) { this.md5 = md5; return this; } /** * <p>The ID of the process.</p> * * <strong>example:</strong> * <p>53090</p> */ public Builder processId(Integer processId) { this.processId = processId; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>vim</p> */ public Builder processName(String processName) { this.processName = processName; return this; } /** * <p>The type of the process. Valid values:</p> * <ul> * <li><strong>1</strong>: trusted</li> * <li><strong>2</strong>: suspicious</li> * <li><strong>3</strong>: malicious</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder processType(Integer processType) { this.processType = processType; return this; } /** * <p>Indicates whether the process is trusted. Valid values:</p> * <ul> * <li><strong>1</strong>: no</li> * <li><strong>2</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; 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/DescribeWhiteListStrategyListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyListRequest} extends {@link RequestModel} * * <p>DescribeWhiteListStrategyListRequest</p> */ public class DescribeWhiteListStrategyListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyIds") private String strategyIds; private DescribeWhiteListStrategyListRequest(Builder builder) { super(builder); this.lang = builder.lang; this.sourceIp = builder.sourceIp; this.strategyIds = builder.strategyIds; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListStrategyListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyIds */ public String getStrategyIds() { return this.strategyIds; } public static final class Builder extends Request.Builder<DescribeWhiteListStrategyListRequest, Builder> { private String lang; private String sourceIp; private String strategyIds; private Builder() { super(); } private Builder(DescribeWhiteListStrategyListRequest request) { super(request); this.lang = request.lang; this.sourceIp = request.sourceIp; this.strategyIds = request.strategyIds; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>116.88.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the policy. Separate multiple IDs with commas (,).</p> * * <strong>example:</strong> * <p>1,2</p> */ public Builder strategyIds(String strategyIds) { this.putQueryParameter("StrategyIds", strategyIds); this.strategyIds = strategyIds; return this; } @Override public DescribeWhiteListStrategyListRequest build() { return new DescribeWhiteListStrategyListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyListResponse} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyListResponse</p> */ public class DescribeWhiteListStrategyListResponse 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 DescribeWhiteListStrategyListResponseBody body; private DescribeWhiteListStrategyListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListStrategyListResponse 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 DescribeWhiteListStrategyListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListStrategyListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListStrategyListResponseBody body); @Override DescribeWhiteListStrategyListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListStrategyListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListStrategyListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListStrategyListResponse 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(DescribeWhiteListStrategyListResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListStrategyListResponse build() { return new DescribeWhiteListStrategyListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyListResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyListResponseBody</p> */ public class DescribeWhiteListStrategyListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Strategies") private java.util.List<Strategies> strategies; private DescribeWhiteListStrategyListResponseBody(Builder builder) { this.requestId = builder.requestId; this.strategies = builder.strategies; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListStrategyListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return strategies */ public java.util.List<Strategies> getStrategies() { return this.strategies; } public static final class Builder { private String requestId; private java.util.List<Strategies> strategies; private Builder() { } private Builder(DescribeWhiteListStrategyListResponseBody model) { this.requestId = model.requestId; this.strategies = model.strategies; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>571B2642-BF51-5BDD-906B-D2340DB9****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about the policies.</p> */ public Builder strategies(java.util.List<Strategies> strategies) { this.strategies = strategies; return this; } public DescribeWhiteListStrategyListResponseBody build() { return new DescribeWhiteListStrategyListResponseBody(this); } } /** * * {@link DescribeWhiteListStrategyListResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyListResponseBody</p> */ public static class Strategies extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.NameInMap("StrategyName") private String strategyName; @com.aliyun.core.annotation.NameInMap("StudyTime") private Integer studyTime; private Strategies(Builder builder) { this.status = builder.status; this.strategyId = builder.strategyId; this.strategyName = builder.strategyName; this.studyTime = builder.studyTime; } public static Builder builder() { return new Builder(); } public static Strategies create() { return builder().build(); } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return strategyName */ public String getStrategyName() { return this.strategyName; } /** * @return studyTime */ public Integer getStudyTime() { return this.studyTime; } public static final class Builder { private Integer status; private Long strategyId; private String strategyName; private Integer studyTime; private Builder() { } private Builder(Strategies model) { this.status = model.status; this.strategyId = model.strategyId; this.strategyName = model.strategyName; this.studyTime = model.studyTime; } /** * <p>The status of the policy. Valid values:</p> * <ul> * <li><strong>0</strong>: disabled</li> * <li><strong>1</strong>: learning</li> * <li><strong>2</strong>: paused</li> * <li><strong>3</strong>: learning completed</li> * <li><strong>4</strong>: enabled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The ID of the policy.</p> * * <strong>example:</strong> * <p>8795555</p> */ public Builder strategyId(Long strategyId) { this.strategyId = strategyId; return this; } /** * <p>The name of the policy.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder strategyName(String strategyName) { this.strategyName = strategyName; return this; } /** * <p>The intelligent learning duration. Unit: hour.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder studyTime(Integer studyTime) { this.studyTime = studyTime; return this; } public Strategies build() { return new Strategies(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyStatisticsRequest} extends {@link RequestModel} * * <p>DescribeWhiteListStrategyStatisticsRequest</p> */ public class DescribeWhiteListStrategyStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyIds") private String strategyIds; private DescribeWhiteListStrategyStatisticsRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.sourceIp = builder.sourceIp; this.strategyIds = builder.strategyIds; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListStrategyStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyIds */ public String getStrategyIds() { return this.strategyIds; } public static final class Builder extends Request.Builder<DescribeWhiteListStrategyStatisticsRequest, Builder> { private Integer currentPage; private String lang; private Integer pageSize; private String sourceIp; private String strategyIds; private Builder() { super(); } private Builder(DescribeWhiteListStrategyStatisticsRequest request) { super(request); this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.sourceIp = request.sourceIp; this.strategyIds = request.strategyIds; } /** * <p>The page number. Default value: <strong>1</strong>. Pages start from page 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The number of entries per page. Maximum value: 1000. Default value: 20. If you leave this parameter empty, 20 data entries are returned per page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>183.63.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the policy.</p> * <blockquote> * <p> You can call the <a href="~~DescribeWhiteListStrategyList~~">DescribeWhiteListStrategyList</a> operation to obtain the ID.</p> * </blockquote> * * <strong>example:</strong> * <p>3645</p> */ public Builder strategyIds(String strategyIds) { this.putQueryParameter("StrategyIds", strategyIds); this.strategyIds = strategyIds; return this; } @Override public DescribeWhiteListStrategyStatisticsRequest build() { return new DescribeWhiteListStrategyStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyStatisticsResponse} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyStatisticsResponse</p> */ public class DescribeWhiteListStrategyStatisticsResponse 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 DescribeWhiteListStrategyStatisticsResponseBody body; private DescribeWhiteListStrategyStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListStrategyStatisticsResponse 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 DescribeWhiteListStrategyStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListStrategyStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListStrategyStatisticsResponseBody body); @Override DescribeWhiteListStrategyStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListStrategyStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListStrategyStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListStrategyStatisticsResponse 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(DescribeWhiteListStrategyStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListStrategyStatisticsResponse build() { return new DescribeWhiteListStrategyStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyStatisticsResponseBody</p> */ public class DescribeWhiteListStrategyStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Strategies") private java.util.List<Strategies> strategies; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeWhiteListStrategyStatisticsResponseBody(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.strategies = builder.strategies; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListStrategyStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return strategies */ public java.util.List<Strategies> getStrategies() { return this.strategies; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private String requestId; private java.util.List<Strategies> strategies; private Integer totalCount; private Builder() { } private Builder(DescribeWhiteListStrategyStatisticsResponseBody model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.strategies = model.strategies; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>1</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 request ID.</p> * * <strong>example:</strong> * <p>571B2642-BF51-5BDD-906B-D2340DB9****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The statistics of the policies.</p> */ public Builder strategies(java.util.List<Strategies> strategies) { this.strategies = strategies; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeWhiteListStrategyStatisticsResponseBody build() { return new DescribeWhiteListStrategyStatisticsResponseBody(this); } } /** * * {@link DescribeWhiteListStrategyStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyStatisticsResponseBody</p> */ public static class Strategies extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssetCount") private Integer assetCount; @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.NameInMap("StrategyName") private String strategyName; @com.aliyun.core.annotation.NameInMap("StudyTime") private Integer studyTime; @com.aliyun.core.annotation.NameInMap("SuspiciousProcCount") private Integer suspiciousProcCount; @com.aliyun.core.annotation.NameInMap("TrustProcCount") private Integer trustProcCount; @com.aliyun.core.annotation.NameInMap("VirusProcCount") private Integer virusProcCount; private Strategies(Builder builder) { this.assetCount = builder.assetCount; this.progress = builder.progress; this.status = builder.status; this.strategyId = builder.strategyId; this.strategyName = builder.strategyName; this.studyTime = builder.studyTime; this.suspiciousProcCount = builder.suspiciousProcCount; this.trustProcCount = builder.trustProcCount; this.virusProcCount = builder.virusProcCount; } public static Builder builder() { return new Builder(); } public static Strategies create() { return builder().build(); } /** * @return assetCount */ public Integer getAssetCount() { return this.assetCount; } /** * @return progress */ public Integer getProgress() { return this.progress; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return strategyName */ public String getStrategyName() { return this.strategyName; } /** * @return studyTime */ public Integer getStudyTime() { return this.studyTime; } /** * @return suspiciousProcCount */ public Integer getSuspiciousProcCount() { return this.suspiciousProcCount; } /** * @return trustProcCount */ public Integer getTrustProcCount() { return this.trustProcCount; } /** * @return virusProcCount */ public Integer getVirusProcCount() { return this.virusProcCount; } public static final class Builder { private Integer assetCount; private Integer progress; private Integer status; private Long strategyId; private String strategyName; private Integer studyTime; private Integer suspiciousProcCount; private Integer trustProcCount; private Integer virusProcCount; private Builder() { } private Builder(Strategies model) { this.assetCount = model.assetCount; this.progress = model.progress; this.status = model.status; this.strategyId = model.strategyId; this.strategyName = model.strategyName; this.studyTime = model.studyTime; this.suspiciousProcCount = model.suspiciousProcCount; this.trustProcCount = model.trustProcCount; this.virusProcCount = model.virusProcCount; } /** * <p>The number of the servers on which the policy takes effect.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder assetCount(Integer assetCount) { this.assetCount = assetCount; return this; } /** * <p>The learning progress of the policy. Unit: percent (%).</p> * * <strong>example:</strong> * <p>80</p> */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * <p>The status of the policy. Valid values:</p> * <ul> * <li><strong>0</strong>: disabled</li> * <li><strong>1</strong>: learning</li> * <li><strong>2</strong>: paused</li> * <li><strong>3</strong>: learning completed</li> * <li><strong>4</strong>: enabled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The ID of the policy.</p> * * <strong>example:</strong> * <p>11906</p> */ public Builder strategyId(Long strategyId) { this.strategyId = strategyId; return this; } /** * <p>The name of the policy.</p> * * <strong>example:</strong> * <p>win</p> */ public Builder strategyName(String strategyName) { this.strategyName = strategyName; return this; } /** * <p>The intelligent learning duration. Unit: hour.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder studyTime(Integer studyTime) { this.studyTime = studyTime; return this; } /** * <p>The number of suspicious processes.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder suspiciousProcCount(Integer suspiciousProcCount) { this.suspiciousProcCount = suspiciousProcCount; return this; } /** * <p>The number of trusted processes.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder trustProcCount(Integer trustProcCount) { this.trustProcCount = trustProcCount; return this; } /** * <p>The number of malicious processes.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder virusProcCount(Integer virusProcCount) { this.virusProcCount = virusProcCount; return this; } public Strategies build() { return new Strategies(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyUuidCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyUuidCountRequest} extends {@link RequestModel} * * <p>DescribeWhiteListStrategyUuidCountRequest</p> */ public class DescribeWhiteListStrategyUuidCountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") @com.aliyun.core.annotation.Validation(required = true) private Long strategyId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private Integer type; private DescribeWhiteListStrategyUuidCountRequest(Builder builder) { super(builder); this.lang = builder.lang; this.sourceIp = builder.sourceIp; this.strategyId = builder.strategyId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListStrategyUuidCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return type */ public Integer getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeWhiteListStrategyUuidCountRequest, Builder> { private String lang; private String sourceIp; private Long strategyId; private Integer type; private Builder() { super(); } private Builder(DescribeWhiteListStrategyUuidCountRequest request) { super(request); this.lang = request.lang; this.sourceIp = request.sourceIp; this.strategyId = request.strategyId; this.type = request.type; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.</p> * * <strong>example:</strong> * <p>42.120.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the policy.</p> * <blockquote> * <p> You can call the <a href="~~DescribeWhiteListStrategyStatistics~~">DescribeWhiteListStrategyStatistics</a> operation to obtain the ID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8516</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } /** * <p>The type of the policy. Valid values:</p> * <ul> * <li><strong>1</strong>: learning policy</li> * <li><strong>2</strong>: application policy</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder type(Integer type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeWhiteListStrategyUuidCountRequest build() { return new DescribeWhiteListStrategyUuidCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyUuidCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyUuidCountResponse} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyUuidCountResponse</p> */ public class DescribeWhiteListStrategyUuidCountResponse 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 DescribeWhiteListStrategyUuidCountResponseBody body; private DescribeWhiteListStrategyUuidCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWhiteListStrategyUuidCountResponse 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 DescribeWhiteListStrategyUuidCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWhiteListStrategyUuidCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeWhiteListStrategyUuidCountResponseBody body); @Override DescribeWhiteListStrategyUuidCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWhiteListStrategyUuidCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeWhiteListStrategyUuidCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWhiteListStrategyUuidCountResponse 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(DescribeWhiteListStrategyUuidCountResponseBody body) { this.body = body; return this; } @Override public DescribeWhiteListStrategyUuidCountResponse build() { return new DescribeWhiteListStrategyUuidCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeWhiteListStrategyUuidCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWhiteListStrategyUuidCountResponseBody} extends {@link TeaModel} * * <p>DescribeWhiteListStrategyUuidCountResponseBody</p> */ public class DescribeWhiteListStrategyUuidCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UuidCount") private Integer uuidCount; private DescribeWhiteListStrategyUuidCountResponseBody(Builder builder) { this.requestId = builder.requestId; this.uuidCount = builder.uuidCount; } public static Builder builder() { return new Builder(); } public static DescribeWhiteListStrategyUuidCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return uuidCount */ public Integer getUuidCount() { return this.uuidCount; } public static final class Builder { private String requestId; private Integer uuidCount; private Builder() { } private Builder(DescribeWhiteListStrategyUuidCountResponseBody model) { this.requestId = model.requestId; this.uuidCount = model.uuidCount; } /** * <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; } /** * <p>The number of the servers on which the application whitelist policy takes effect.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder uuidCount(Integer uuidCount) { this.uuidCount = uuidCount; return this; } public DescribeWhiteListStrategyUuidCountResponseBody build() { return new DescribeWhiteListStrategyUuidCountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DingTalkOnlineTestRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DingTalkOnlineTestRequest} extends {@link RequestModel} * * <p>DingTalkOnlineTestRequest</p> */ public class DingTalkOnlineTestRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") @com.aliyun.core.annotation.Validation(required = true) private Long id; private DingTalkOnlineTestRequest(Builder builder) { super(builder); this.id = builder.id; } public static Builder builder() { return new Builder(); } public static DingTalkOnlineTestRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return id */ public Long getId() { return this.id; } public static final class Builder extends Request.Builder<DingTalkOnlineTestRequest, Builder> { private Long id; private Builder() { super(); } private Builder(DingTalkOnlineTestRequest request) { super(request); this.id = request.id; } /** * <p>The ID of the DingTalk notification configuration.</p> * <blockquote> * <p>You can call the <a href="~~DescribeDingTalk~~">DescribeDingTalk</a> operation to obtain the ID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2373</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } @Override public DingTalkOnlineTestRequest build() { return new DingTalkOnlineTestRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DingTalkOnlineTestResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DingTalkOnlineTestResponse} extends {@link TeaModel} * * <p>DingTalkOnlineTestResponse</p> */ public class DingTalkOnlineTestResponse 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 DingTalkOnlineTestResponseBody body; private DingTalkOnlineTestResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DingTalkOnlineTestResponse 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 DingTalkOnlineTestResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DingTalkOnlineTestResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DingTalkOnlineTestResponseBody body); @Override DingTalkOnlineTestResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DingTalkOnlineTestResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DingTalkOnlineTestResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DingTalkOnlineTestResponse 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(DingTalkOnlineTestResponseBody body) { this.body = body; return this; } @Override public DingTalkOnlineTestResponse build() { return new DingTalkOnlineTestResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DingTalkOnlineTestResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DingTalkOnlineTestResponseBody} extends {@link TeaModel} * * <p>DingTalkOnlineTestResponseBody</p> */ public class DingTalkOnlineTestResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DingTalkOnlineTestResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DingTalkOnlineTestResponseBody 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(DingTalkOnlineTestResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>2E96F605-1BE3-5954-83A5-AE96C617****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DingTalkOnlineTestResponseBody build() { return new DingTalkOnlineTestResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DisableBruteForceRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableBruteForceRecordRequest} extends {@link RequestModel} * * <p>DisableBruteForceRecordRequest</p> */ public class DisableBruteForceRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BlockIp") @com.aliyun.core.annotation.Validation(required = true) private String blockIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bound") private String bound; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private DisableBruteForceRecordRequest(Builder builder) { super(builder); this.blockIp = builder.blockIp; this.bound = builder.bound; this.id = builder.id; this.port = builder.port; this.resourceOwnerId = builder.resourceOwnerId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DisableBruteForceRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return blockIp */ public String getBlockIp() { return this.blockIp; } /** * @return bound */ public String getBound() { return this.bound; } /** * @return id */ public Long getId() { return this.id; } /** * @return port */ public String getPort() { return this.port; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DisableBruteForceRecordRequest, Builder> { private String blockIp; private String bound; private Long id; private String port; private Long resourceOwnerId; private String uuid; private Builder() { super(); } private Builder(DisableBruteForceRecordRequest request) { super(request); this.blockIp = request.blockIp; this.bound = request.bound; this.id = request.id; this.port = request.port; this.resourceOwnerId = request.resourceOwnerId; this.uuid = request.uuid; } /** * <p>The IP address that you want to specify in the policy.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder blockIp(String blockIp) { this.putQueryParameter("BlockIp", blockIp); this.blockIp = blockIp; return this; } /** * <p>The traffic direction that you want to specify in the policy. Valid values:</p> * <ul> * <li><strong>in</strong>: inbound</li> * <li><strong>out</strong>: outbound</li> * </ul> * * <strong>example:</strong> * <p>in</p> */ public Builder bound(String bound) { this.putQueryParameter("Bound", bound); this.bound = bound; return this; } /** * <p>The ID of the IP address blocking policy.</p> * <blockquote> * <p>You can call the <a href="~~DescribeBruteForceRecords~~">DescribeBruteForceRecords</a> operation to query the policy ID.</p> * </blockquote> * * <strong>example:</strong> * <p>114166XX</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } /** * <p>The port number.</p> */ public Builder port(String port) { this.putQueryParameter("Port", port); this.port = port; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The UUID of the server.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cbb9aa80-a8d1-443c-9ff0-2c36cd39****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DisableBruteForceRecordRequest build() { return new DisableBruteForceRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DisableBruteForceRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableBruteForceRecordResponse} extends {@link TeaModel} * * <p>DisableBruteForceRecordResponse</p> */ public class DisableBruteForceRecordResponse 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 DisableBruteForceRecordResponseBody body; private DisableBruteForceRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DisableBruteForceRecordResponse 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 DisableBruteForceRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DisableBruteForceRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DisableBruteForceRecordResponseBody body); @Override DisableBruteForceRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DisableBruteForceRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DisableBruteForceRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DisableBruteForceRecordResponse 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(DisableBruteForceRecordResponseBody body) { this.body = body; return this; } @Override public DisableBruteForceRecordResponse build() { return new DisableBruteForceRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DisableBruteForceRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableBruteForceRecordResponseBody} extends {@link TeaModel} * * <p>DisableBruteForceRecordResponseBody</p> */ public class DisableBruteForceRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DisableBruteForceRecordResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DisableBruteForceRecordResponseBody 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(DisableBruteForceRecordResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>5EFF53F7-9B2A-58B5-AD06-6B07ACE17133</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DisableBruteForceRecordResponseBody build() { return new DisableBruteForceRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DisableCustomBlockRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableCustomBlockRecordRequest} extends {@link RequestModel} * * <p>DisableCustomBlockRecordRequest</p> */ public class DisableCustomBlockRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BlockIp") @com.aliyun.core.annotation.Validation(required = true) private String blockIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bound") @com.aliyun.core.annotation.Validation(required = true) private String bound; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DisableCustomBlockRecordRequest(Builder builder) { super(builder); this.blockIp = builder.blockIp; this.bound = builder.bound; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DisableCustomBlockRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return blockIp */ public String getBlockIp() { return this.blockIp; } /** * @return bound */ public String getBound() { return this.bound; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DisableCustomBlockRecordRequest, Builder> { private String blockIp; private String bound; private Long resourceOwnerId; private Builder() { super(); } private Builder(DisableCustomBlockRecordRequest request) { super(request); this.blockIp = request.blockIp; this.bound = request.bound; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The IP address that is specified in the policy.</p> * <blockquote> * <p>You can call the <a href="~~DescribeCustomBlockRecords~~">DescribeCustomBlockRecords</a> operation to query the IP address.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>62.233.XX.XX</p> */ public Builder blockIp(String blockIp) { this.putQueryParameter("BlockIp", blockIp); this.blockIp = blockIp; return this; } /** * <p>The traffic direction that is specified in the policy. Valid values:</p> * <ul> * <li><strong>in</strong>: inbound</li> * <li><strong>out</strong>: outbound</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>in</p> */ public Builder bound(String bound) { this.putQueryParameter("Bound", bound); this.bound = bound; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DisableCustomBlockRecordRequest build() { return new DisableCustomBlockRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DisableCustomBlockRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableCustomBlockRecordResponse} extends {@link TeaModel} * * <p>DisableCustomBlockRecordResponse</p> */ public class DisableCustomBlockRecordResponse 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 DisableCustomBlockRecordResponseBody body; private DisableCustomBlockRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DisableCustomBlockRecordResponse 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 DisableCustomBlockRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DisableCustomBlockRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DisableCustomBlockRecordResponseBody body); @Override DisableCustomBlockRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DisableCustomBlockRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DisableCustomBlockRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DisableCustomBlockRecordResponse 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(DisableCustomBlockRecordResponseBody body) { this.body = body; return this; } @Override public DisableCustomBlockRecordResponse build() { return new DisableCustomBlockRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DisableCustomBlockRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableCustomBlockRecordResponseBody} extends {@link TeaModel} * * <p>DisableCustomBlockRecordResponseBody</p> */ public class DisableCustomBlockRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DisableCustomBlockRecordResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DisableCustomBlockRecordResponseBody 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(DisableCustomBlockRecordResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F749D54C-3CA0-5F68-835C-AD35A2BD29EA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DisableCustomBlockRecordResponseBody build() { return new DisableCustomBlockRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableBruteForceRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableBruteForceRecordRequest} extends {@link RequestModel} * * <p>EnableBruteForceRecordRequest</p> */ public class EnableBruteForceRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BlockIp") @com.aliyun.core.annotation.Validation(required = true) private String blockIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bound") private String bound; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private EnableBruteForceRecordRequest(Builder builder) { super(builder); this.blockIp = builder.blockIp; this.bound = builder.bound; this.id = builder.id; this.port = builder.port; this.resourceOwnerId = builder.resourceOwnerId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static EnableBruteForceRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return blockIp */ public String getBlockIp() { return this.blockIp; } /** * @return bound */ public String getBound() { return this.bound; } /** * @return id */ public Long getId() { return this.id; } /** * @return port */ public String getPort() { return this.port; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<EnableBruteForceRecordRequest, Builder> { private String blockIp; private String bound; private Long id; private String port; private Long resourceOwnerId; private String uuid; private Builder() { super(); } private Builder(EnableBruteForceRecordRequest request) { super(request); this.blockIp = request.blockIp; this.bound = request.bound; this.id = request.id; this.port = request.port; this.resourceOwnerId = request.resourceOwnerId; this.uuid = request.uuid; } /** * <p>The IP address that is specified in the policy.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>61.155.XX.XX</p> */ public Builder blockIp(String blockIp) { this.putQueryParameter("BlockIp", blockIp); this.blockIp = blockIp; return this; } /** * <p>The traffic direction that is specified in the policy. Valid values:</p> * <ul> * <li><strong>in</strong>: inbound</li> * <li><strong>out</strong>: outbound</li> * </ul> * * <strong>example:</strong> * <p>in</p> */ public Builder bound(String bound) { this.putQueryParameter("Bound", bound); this.bound = bound; return this; } /** * <p>The ID of the policy that you want to enable.</p> * <blockquote> * <p>You can call the <a href="~~DescribeBruteForceRecords~~">DescribeBruteForceRecords</a> operation to query the IDs of policies.</p> * </blockquote> * * <strong>example:</strong> * <p>116602XX</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } /** * <p>The port number.</p> * * <strong>example:</strong> * <p>22/22</p> */ public Builder port(String port) { this.putQueryParameter("Port", port); this.port = port; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The UUID of the server.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>71046acb-8bff-4c3b-9163-24deb007****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public EnableBruteForceRecordRequest build() { return new EnableBruteForceRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableBruteForceRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableBruteForceRecordResponse} extends {@link TeaModel} * * <p>EnableBruteForceRecordResponse</p> */ public class EnableBruteForceRecordResponse 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 EnableBruteForceRecordResponseBody body; private EnableBruteForceRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static EnableBruteForceRecordResponse 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 EnableBruteForceRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<EnableBruteForceRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(EnableBruteForceRecordResponseBody body); @Override EnableBruteForceRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<EnableBruteForceRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private EnableBruteForceRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(EnableBruteForceRecordResponse 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(EnableBruteForceRecordResponseBody body) { this.body = body; return this; } @Override public EnableBruteForceRecordResponse build() { return new EnableBruteForceRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableBruteForceRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableBruteForceRecordResponseBody} extends {@link TeaModel} * * <p>EnableBruteForceRecordResponseBody</p> */ public class EnableBruteForceRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private EnableBruteForceRecordResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static EnableBruteForceRecordResponseBody 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(EnableBruteForceRecordResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>DFAECA37-4660-5EB6-9A18-8FDF56B3****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public EnableBruteForceRecordResponseBody build() { return new EnableBruteForceRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableCustomBlockRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableCustomBlockRecordRequest} extends {@link RequestModel} * * <p>EnableCustomBlockRecordRequest</p> */ public class EnableCustomBlockRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BlockIp") @com.aliyun.core.annotation.Validation(required = true) private String blockIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bound") @com.aliyun.core.annotation.Validation(required = true) private String bound; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private EnableCustomBlockRecordRequest(Builder builder) { super(builder); this.blockIp = builder.blockIp; this.bound = builder.bound; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static EnableCustomBlockRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return blockIp */ public String getBlockIp() { return this.blockIp; } /** * @return bound */ public String getBound() { return this.bound; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<EnableCustomBlockRecordRequest, Builder> { private String blockIp; private String bound; private Long resourceOwnerId; private Builder() { super(); } private Builder(EnableCustomBlockRecordRequest request) { super(request); this.blockIp = request.blockIp; this.bound = request.bound; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The IP address that is specified in the policy.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>43.248.XX.XX</p> */ public Builder blockIp(String blockIp) { this.putQueryParameter("BlockIp", blockIp); this.blockIp = blockIp; return this; } /** * <p>The traffic direction that is specified in the policy. Valid values:</p> * <ul> * <li><strong>in</strong>: inbound</li> * <li><strong>out</strong>: outbound</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>in</p> */ public Builder bound(String bound) { this.putQueryParameter("Bound", bound); this.bound = bound; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public EnableCustomBlockRecordRequest build() { return new EnableCustomBlockRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableCustomBlockRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableCustomBlockRecordResponse} extends {@link TeaModel} * * <p>EnableCustomBlockRecordResponse</p> */ public class EnableCustomBlockRecordResponse 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 EnableCustomBlockRecordResponseBody body; private EnableCustomBlockRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static EnableCustomBlockRecordResponse 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 EnableCustomBlockRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<EnableCustomBlockRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(EnableCustomBlockRecordResponseBody body); @Override EnableCustomBlockRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<EnableCustomBlockRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private EnableCustomBlockRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(EnableCustomBlockRecordResponse 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(EnableCustomBlockRecordResponseBody body) { this.body = body; return this; } @Override public EnableCustomBlockRecordResponse build() { return new EnableCustomBlockRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableCustomBlockRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableCustomBlockRecordResponseBody} extends {@link TeaModel} * * <p>EnableCustomBlockRecordResponseBody</p> */ public class EnableCustomBlockRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private EnableCustomBlockRecordResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static EnableCustomBlockRecordResponseBody 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(EnableCustomBlockRecordResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F02D5F26-70B9-53BD-9CDF-A316FD11****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public EnableCustomBlockRecordResponseBody build() { return new EnableCustomBlockRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableCustomInstanceBlockRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableCustomInstanceBlockRecordRequest} extends {@link RequestModel} * * <p>EnableCustomInstanceBlockRecordRequest</p> */ public class EnableCustomInstanceBlockRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BlockIp") @com.aliyun.core.annotation.Validation(required = true) private String blockIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bound") private String bound; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private EnableCustomInstanceBlockRecordRequest(Builder builder) { super(builder); this.blockIp = builder.blockIp; this.bound = builder.bound; this.resourceOwnerId = builder.resourceOwnerId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static EnableCustomInstanceBlockRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return blockIp */ public String getBlockIp() { return this.blockIp; } /** * @return bound */ public String getBound() { return this.bound; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<EnableCustomInstanceBlockRecordRequest, Builder> { private String blockIp; private String bound; private Long resourceOwnerId; private String uuid; private Builder() { super(); } private Builder(EnableCustomInstanceBlockRecordRequest request) { super(request); this.blockIp = request.blockIp; this.bound = request.bound; this.resourceOwnerId = request.resourceOwnerId; this.uuid = request.uuid; } /** * <p>The IP address that you want to block.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>192.168.xx.xx</p> */ public Builder blockIp(String blockIp) { this.putQueryParameter("BlockIp", blockIp); this.blockIp = blockIp; return this; } /** * <p>The traffic direction from the IP address that you want to block. Valid value:</p> * <ul> * <li><strong>in</strong></li> * <li><strong>out</strong></li> * </ul> * * <strong>example:</strong> * <p>in</p> */ public Builder bound(String bound) { this.putQueryParameter("Bound", bound); this.bound = bound; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The UUID of the server.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>50d213b4-3a35-427a-b8a5-04b0c7e1****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public EnableCustomInstanceBlockRecordRequest build() { return new EnableCustomInstanceBlockRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableCustomInstanceBlockRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableCustomInstanceBlockRecordResponse} extends {@link TeaModel} * * <p>EnableCustomInstanceBlockRecordResponse</p> */ public class EnableCustomInstanceBlockRecordResponse 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 EnableCustomInstanceBlockRecordResponseBody body; private EnableCustomInstanceBlockRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static EnableCustomInstanceBlockRecordResponse 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 EnableCustomInstanceBlockRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<EnableCustomInstanceBlockRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(EnableCustomInstanceBlockRecordResponseBody body); @Override EnableCustomInstanceBlockRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<EnableCustomInstanceBlockRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private EnableCustomInstanceBlockRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(EnableCustomInstanceBlockRecordResponse 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(EnableCustomInstanceBlockRecordResponseBody body) { this.body = body; return this; } @Override public EnableCustomInstanceBlockRecordResponse build() { return new EnableCustomInstanceBlockRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableCustomInstanceBlockRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableCustomInstanceBlockRecordResponseBody} extends {@link TeaModel} * * <p>EnableCustomInstanceBlockRecordResponseBody</p> */ public class EnableCustomInstanceBlockRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private EnableCustomInstanceBlockRecordResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static EnableCustomInstanceBlockRecordResponseBody 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(EnableCustomInstanceBlockRecordResponseBody model) { this.requestId = model.requestId; } /** * <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 EnableCustomInstanceBlockRecordResponseBody build() { return new EnableCustomInstanceBlockRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableServiceAccessResourceDirectoryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableServiceAccessResourceDirectoryRequest} extends {@link RequestModel} * * <p>EnableServiceAccessResourceDirectoryRequest</p> */ public class EnableServiceAccessResourceDirectoryRequest extends Request { private EnableServiceAccessResourceDirectoryRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static EnableServiceAccessResourceDirectoryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<EnableServiceAccessResourceDirectoryRequest, Builder> { private Builder() { super(); } private Builder(EnableServiceAccessResourceDirectoryRequest request) { super(request); } @Override public EnableServiceAccessResourceDirectoryRequest build() { return new EnableServiceAccessResourceDirectoryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableServiceAccessResourceDirectoryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableServiceAccessResourceDirectoryResponse} extends {@link TeaModel} * * <p>EnableServiceAccessResourceDirectoryResponse</p> */ public class EnableServiceAccessResourceDirectoryResponse 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 EnableServiceAccessResourceDirectoryResponseBody body; private EnableServiceAccessResourceDirectoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static EnableServiceAccessResourceDirectoryResponse 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 EnableServiceAccessResourceDirectoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<EnableServiceAccessResourceDirectoryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(EnableServiceAccessResourceDirectoryResponseBody body); @Override EnableServiceAccessResourceDirectoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<EnableServiceAccessResourceDirectoryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private EnableServiceAccessResourceDirectoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(EnableServiceAccessResourceDirectoryResponse 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(EnableServiceAccessResourceDirectoryResponseBody body) { this.body = body; return this; } @Override public EnableServiceAccessResourceDirectoryResponse build() { return new EnableServiceAccessResourceDirectoryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/EnableServiceAccessResourceDirectoryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableServiceAccessResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>EnableServiceAccessResourceDirectoryResponseBody</p> */ public class EnableServiceAccessResourceDirectoryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private EnableServiceAccessResourceDirectoryResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static EnableServiceAccessResourceDirectoryResponseBody 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(EnableServiceAccessResourceDirectoryResponseBody model) { this.requestId = model.requestId; } /** * <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 EnableServiceAccessResourceDirectoryResponseBody build() { return new EnableServiceAccessResourceDirectoryResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExecStrategyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecStrategyRequest} extends {@link RequestModel} * * <p>ExecStrategyRequest</p> */ public class ExecStrategyRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExecAction") private String execAction; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Integer strategyId; private ExecStrategyRequest(Builder builder) { super(builder); this.execAction = builder.execAction; this.lang = builder.lang; this.strategyId = builder.strategyId; } public static Builder builder() { return new Builder(); } public static ExecStrategyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return execAction */ public String getExecAction() { return this.execAction; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return strategyId */ public Integer getStrategyId() { return this.strategyId; } public static final class Builder extends Request.Builder<ExecStrategyRequest, Builder> { private String execAction; private String lang; private Integer strategyId; private Builder() { super(); } private Builder(ExecStrategyRequest request) { super(request); this.execAction = request.execAction; this.lang = request.lang; this.strategyId = request.strategyId; } /** * ExecAction. */ public Builder execAction(String execAction) { this.putQueryParameter("ExecAction", execAction); this.execAction = execAction; 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 ID of the baseline check policy.</p> * <blockquote> * <p> You can call the <a href="~~DescribeStrategy~~">DescribeStrategy</a> operation to query the IDs of baseline check policies.</p> * </blockquote> * * <strong>example:</strong> * <p>215421</p> */ public Builder strategyId(Integer strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } @Override public ExecStrategyRequest build() { return new ExecStrategyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExecStrategyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecStrategyResponse} extends {@link TeaModel} * * <p>ExecStrategyResponse</p> */ public class ExecStrategyResponse 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 ExecStrategyResponseBody body; private ExecStrategyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExecStrategyResponse 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 ExecStrategyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExecStrategyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExecStrategyResponseBody body); @Override ExecStrategyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExecStrategyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExecStrategyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExecStrategyResponse 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(ExecStrategyResponseBody body) { this.body = body; return this; } @Override public ExecStrategyResponse build() { return new ExecStrategyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExecStrategyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecStrategyResponseBody} extends {@link TeaModel} * * <p>ExecStrategyResponseBody</p> */ public class ExecStrategyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ExecStrategyResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ExecStrategyResponseBody 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(ExecStrategyResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7F84EBCA-86F8-5AA0-BF74-A0276ECB****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ExecStrategyResponseBody build() { return new ExecStrategyResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportCustomizeReportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportCustomizeReportRequest} extends {@link RequestModel} * * <p>ExportCustomizeReportRequest</p> */ public class ExportCustomizeReportRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportType") private String exportType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ReportId") @com.aliyun.core.annotation.Validation(required = true) private Long reportId; private ExportCustomizeReportRequest(Builder builder) { super(builder); this.exportType = builder.exportType; this.reportId = builder.reportId; } public static Builder builder() { return new Builder(); } public static ExportCustomizeReportRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return exportType */ public String getExportType() { return this.exportType; } /** * @return reportId */ public Long getReportId() { return this.reportId; } public static final class Builder extends Request.Builder<ExportCustomizeReportRequest, Builder> { private String exportType; private Long reportId; private Builder() { super(); } private Builder(ExportCustomizeReportRequest request) { super(request); this.exportType = request.exportType; this.reportId = request.reportId; } /** * <p>The type of the security report that you want to export. Valid values:</p> * <ul> * <li><strong>HTML</strong></li> * <li><strong>PDF</strong></li> * </ul> * <blockquote> * <p> The default value is HTML. PDF is supported only for security reports in version 2.0.0.</p> * </blockquote> * * <strong>example:</strong> * <p>HTML</p> */ public Builder exportType(String exportType) { this.putQueryParameter("ExportType", exportType); this.exportType = exportType; return this; } /** * <p>The ID of the security report.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCustomizeReportList~~">DescribeCustomizeReportList</a> operation to query the ID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder reportId(Long reportId) { this.putQueryParameter("ReportId", reportId); this.reportId = reportId; return this; } @Override public ExportCustomizeReportRequest build() { return new ExportCustomizeReportRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportCustomizeReportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportCustomizeReportResponse} extends {@link TeaModel} * * <p>ExportCustomizeReportResponse</p> */ public class ExportCustomizeReportResponse 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 ExportCustomizeReportResponseBody body; private ExportCustomizeReportResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExportCustomizeReportResponse 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 ExportCustomizeReportResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExportCustomizeReportResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExportCustomizeReportResponseBody body); @Override ExportCustomizeReportResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExportCustomizeReportResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExportCustomizeReportResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExportCustomizeReportResponse 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(ExportCustomizeReportResponseBody body) { this.body = body; return this; } @Override public ExportCustomizeReportResponse build() { return new ExportCustomizeReportResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportCustomizeReportResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportCustomizeReportResponseBody} extends {@link TeaModel} * * <p>ExportCustomizeReportResponseBody</p> */ public class ExportCustomizeReportResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DownloadUrl") private String downloadUrl; @com.aliyun.core.annotation.NameInMap("ExportDate") private String exportDate; @com.aliyun.core.annotation.NameInMap("ExportId") private Long exportId; @com.aliyun.core.annotation.NameInMap("ExportStatus") private String exportStatus; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("ReportId") private Long reportId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UrlExpiredTime") private Long urlExpiredTime; private ExportCustomizeReportResponseBody(Builder builder) { this.downloadUrl = builder.downloadUrl; this.exportDate = builder.exportDate; this.exportId = builder.exportId; this.exportStatus = builder.exportStatus; this.fileName = builder.fileName; this.reportId = builder.reportId; this.requestId = builder.requestId; this.urlExpiredTime = builder.urlExpiredTime; } public static Builder builder() { return new Builder(); } public static ExportCustomizeReportResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return downloadUrl */ public String getDownloadUrl() { return this.downloadUrl; } /** * @return exportDate */ public String getExportDate() { return this.exportDate; } /** * @return exportId */ public Long getExportId() { return this.exportId; } /** * @return exportStatus */ public String getExportStatus() { return this.exportStatus; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return reportId */ public Long getReportId() { return this.reportId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return urlExpiredTime */ public Long getUrlExpiredTime() { return this.urlExpiredTime; } public static final class Builder { private String downloadUrl; private String exportDate; private Long exportId; private String exportStatus; private String fileName; private Long reportId; private String requestId; private Long urlExpiredTime; private Builder() { } private Builder(ExportCustomizeReportResponseBody model) { this.downloadUrl = model.downloadUrl; this.exportDate = model.exportDate; this.exportId = model.exportId; this.exportStatus = model.exportStatus; this.fileName = model.fileName; this.reportId = model.reportId; this.requestId = model.requestId; this.urlExpiredTime = model.urlExpiredTime; } /** * <p>The download URL of the security report.</p> * * <strong>example:</strong> * <p><a href="https://xxxxxxxx.oss-cn-hangzhou-1.aliyuncs.com/xxxxx/xxxxxxxxxxxxxx?Expires=1671448125&OSSAccessKeyId=xxx">https://xxxxxxxx.oss-cn-hangzhou-1.aliyuncs.com/xxxxx/xxxxxxxxxxxxxx?Expires=1671448125&amp;OSSAccessKeyId=xxx</a></p> */ public Builder downloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; return this; } /** * <p>The time when the security report was exported.</p> * * <strong>example:</strong> * <p>2023-01-10</p> */ public Builder exportDate(String exportDate) { this.exportDate = exportDate; return this; } /** * <p>The ID of the export task.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder exportId(Long exportId) { this.exportId = exportId; return this; } /** * <p>The status of the export task. Valid values:</p> * <ul> * <li><strong>fail</strong>: The export task fails.</li> * <li><strong>exporting</strong>: The export task is being executed.</li> * <li><strong>success</strong>: The export task is successful.</li> * </ul> * * <strong>example:</strong> * <p>exporting</p> */ public Builder exportStatus(String exportStatus) { this.exportStatus = exportStatus; return this; } /** * <p>The name of the report file that is exported.</p> * * <strong>example:</strong> * <p>test_xxxx.html</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the security report.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder reportId(Long reportId) { this.reportId = reportId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>FFDFCEB3-A5EE-590A-8E70-283EBC5D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The timestamp when the download URL expires. Unit: seconds.</p> * * <strong>example:</strong> * <p>1673335497000</p> */ public Builder urlExpiredTime(Long urlExpiredTime) { this.urlExpiredTime = urlExpiredTime; return this; } public ExportCustomizeReportResponseBody build() { return new ExportCustomizeReportResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportRecordRequest} extends {@link RequestModel} * * <p>ExportRecordRequest</p> */ public class ExportRecordRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportFileType") private String exportFileType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportType") @com.aliyun.core.annotation.Validation(required = true) private String exportType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Params") private String params; private ExportRecordRequest(Builder builder) { super(builder); this.exportFileType = builder.exportFileType; this.exportType = builder.exportType; this.lang = builder.lang; this.params = builder.params; } public static Builder builder() { return new Builder(); } public static ExportRecordRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return exportFileType */ public String getExportFileType() { return this.exportFileType; } /** * @return exportType */ public String getExportType() { return this.exportType; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return params */ public String getParams() { return this.params; } public static final class Builder extends Request.Builder<ExportRecordRequest, Builder> { private String exportFileType; private String exportType; private String lang; private String params; private Builder() { super(); } private Builder(ExportRecordRequest request) { super(request); this.exportFileType = request.exportFileType; this.exportType = request.exportType; this.lang = request.lang; this.params = request.params; } /** * <p>The type of the file to export. Valid values:</p> * <ul> * <li><strong>virusScanExport</strong>: The details of the virus scan tasks are exported. This parameter is available and required when ExportType is set to virusScanExport.</li> * </ul> * * <strong>example:</strong> * <p>virusScanExport</p> */ public Builder exportFileType(String exportFileType) { this.putQueryParameter("ExportFileType", exportFileType); this.exportFileType = exportFileType; return this; } /** * <p>The type of detection result list to be exported. Values:</p> * <ul> * <li><strong>assetInstance</strong>: List of servers in the asset center </li> * <li><strong>user</strong>: List of asset fingerprints for accounts </li> * <li><strong>port</strong>: List of asset fingerprints for ports </li> * <li><strong>process</strong>: List of asset fingerprints for processes </li> * <li><strong>sca</strong>: List of asset fingerprints for middleware </li> * <li><strong>database</strong>: List of asset fingerprints for databases </li> * <li><strong>web</strong>: List of asset fingerprints for web services </li> * <li><strong>software</strong>: List of asset fingerprints for software </li> * <li><strong>cron</strong>: List of asset fingerprints for scheduled tasks </li> * <li><strong>autorun</strong>: List of asset fingerprints for startup items </li> * <li><strong>lkm</strong>: List of asset fingerprints for kernel modules </li> * <li><strong>webserver</strong>: List of asset fingerprints for web sites </li> * <li><strong>virusScanExport</strong>: List of details for virus scan tasks </li> * <li><strong>imageVulExport</strong>: List of system vulnerabilities in images </li> * <li><strong>imageBaseLineExport</strong>: List of baseline check results in images </li> * <li><strong>imageAffectedMaliciousExport</strong>: List of malicious sample check results in images </li> * <li><strong>baselineCspm</strong>: List of detection results for cloud platform configuration checks </li> * <li><strong>attack</strong>: List of alert events for attack analysis </li> * <li><strong>accessKey</strong>: List of alert events for AK leak detection </li> * <li><strong>exportObjectScanEvents</strong>: List of alert events for malicious file detection </li> * <li><strong>domainDetail</strong>: Website assets </li> * <li><strong>assetsPropertyScaProcessDetail</strong>: RASP protection process for application protection </li> * <li><strong>exportHcWarning</strong>: List of system baseline risks </li> * <li><strong>raspAttackAlert</strong>: List of attack alerts for Application Protection</li> * <li><strong>raspApplicationConfiguration</strong>: List of application configurations for Application Protection</li> * <li><strong>raspWeaknessDetection</strong>: List of weakness detections for Application Protection</li> * <li><strong>raspInMemoryWebshellDetection</strong>: List of in-memory webshell detection alerts for Application Protection</li> * <li><strong>raspInMemoryWebshellInsertion</strong>: List of in-memory webshell insertion alerts for Application Protection</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>database</p> */ public Builder exportType(String exportType) { this.putQueryParameter("ExportType", exportType); this.exportType = exportType; 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 conditions that are used to filter check results.</p> * <blockquote> * <p>This operation is a common export operation for multiple features of Security Center. The available configuration fields of this parameter vary based on the features. We recommend that you do not specify this parameter when you call the operation. You can export an information list without specifying this parameter, and then filter data in the exported Excel file.</p> * </blockquote> * * <strong>example:</strong> * <p>{&quot;extend&quot;:&quot;1&quot;,&quot;currentPage&quot;:1,&quot;pageSize&quot;:10}</p> */ public Builder params(String params) { this.putQueryParameter("Params", params); this.params = params; return this; } @Override public ExportRecordRequest build() { return new ExportRecordRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportRecordResponse} extends {@link TeaModel} * * <p>ExportRecordResponse</p> */ public class ExportRecordResponse 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 ExportRecordResponseBody body; private ExportRecordResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExportRecordResponse 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 ExportRecordResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExportRecordResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExportRecordResponseBody body); @Override ExportRecordResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExportRecordResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExportRecordResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExportRecordResponse 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(ExportRecordResponseBody body) { this.body = body; return this; } @Override public ExportRecordResponse build() { return new ExportRecordResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportRecordResponseBody} extends {@link TeaModel} * * <p>ExportRecordResponseBody</p> */ public class ExportRecordResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ExportRecordResponseBody(Builder builder) { this.fileName = builder.fileName; this.id = builder.id; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ExportRecordResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return id */ public Long getId() { return this.id; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String fileName; private Long id; private String requestId; private Builder() { } private Builder(ExportRecordResponseBody model) { this.fileName = model.fileName; this.id = model.id; this.requestId = model.requestId; } /** * <p>The name of the exported file.</p> * * <strong>example:</strong> * <p>cms_20171101.xlsx</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the exported file.</p> * * <strong>example:</strong> * <p>131231</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>6673D49C-A9AB-40DD-B4A2-B92306701AE7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ExportRecordResponseBody build() { return new ExportRecordResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportSuspEventsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportSuspEventsRequest} extends {@link RequestModel} * * <p>ExportSuspEventsRequest</p> */ public class ExportSuspEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AssetsTypeList") private java.util.List<String> assetsTypeList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerFieldName") private String containerFieldName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerFieldValue") private String containerFieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private String currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") private String from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Levels") private String levels; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperateErrorCodeList") private java.util.List<String> operateErrorCodeList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ParentEventTypes") private String parentEventTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TimeEnd") private String timeEnd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TimeStart") private String timeStart; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UniqueInfo") private String uniqueInfo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ExportSuspEventsRequest(Builder builder) { super(builder); this.assetsTypeList = builder.assetsTypeList; this.clusterId = builder.clusterId; this.containerFieldName = builder.containerFieldName; this.containerFieldValue = builder.containerFieldValue; this.currentPage = builder.currentPage; this.dealed = builder.dealed; this.from = builder.from; this.groupId = builder.groupId; this.id = builder.id; this.lang = builder.lang; this.levels = builder.levels; this.name = builder.name; this.operateErrorCodeList = builder.operateErrorCodeList; this.pageSize = builder.pageSize; this.parentEventTypes = builder.parentEventTypes; this.remark = builder.remark; this.sourceIp = builder.sourceIp; this.status = builder.status; this.targetType = builder.targetType; this.timeEnd = builder.timeEnd; this.timeStart = builder.timeStart; this.uniqueInfo = builder.uniqueInfo; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ExportSuspEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return assetsTypeList */ public java.util.List<String> getAssetsTypeList() { return this.assetsTypeList; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return containerFieldName */ public String getContainerFieldName() { return this.containerFieldName; } /** * @return containerFieldValue */ public String getContainerFieldValue() { return this.containerFieldValue; } /** * @return currentPage */ public String getCurrentPage() { return this.currentPage; } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return from */ public String getFrom() { return this.from; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return id */ public Long getId() { return this.id; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return levels */ public String getLevels() { return this.levels; } /** * @return name */ public String getName() { return this.name; } /** * @return operateErrorCodeList */ public java.util.List<String> getOperateErrorCodeList() { return this.operateErrorCodeList; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return parentEventTypes */ public String getParentEventTypes() { return this.parentEventTypes; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return status */ public String getStatus() { return this.status; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return timeEnd */ public String getTimeEnd() { return this.timeEnd; } /** * @return timeStart */ public String getTimeStart() { return this.timeStart; } /** * @return uniqueInfo */ public String getUniqueInfo() { return this.uniqueInfo; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<ExportSuspEventsRequest, Builder> { private java.util.List<String> assetsTypeList; private String clusterId; private String containerFieldName; private String containerFieldValue; private String currentPage; private String dealed; private String from; private Long groupId; private Long id; private String lang; private String levels; private String name; private java.util.List<String> operateErrorCodeList; private String pageSize; private String parentEventTypes; private String remark; private String sourceIp; private String status; private String targetType; private String timeEnd; private String timeStart; private String uniqueInfo; private String uuid; private Builder() { super(); } private Builder(ExportSuspEventsRequest request) { super(request); this.assetsTypeList = request.assetsTypeList; this.clusterId = request.clusterId; this.containerFieldName = request.containerFieldName; this.containerFieldValue = request.containerFieldValue; this.currentPage = request.currentPage; this.dealed = request.dealed; this.from = request.from; this.groupId = request.groupId; this.id = request.id; this.lang = request.lang; this.levels = request.levels; this.name = request.name; this.operateErrorCodeList = request.operateErrorCodeList; this.pageSize = request.pageSize; this.parentEventTypes = request.parentEventTypes; this.remark = request.remark; this.sourceIp = request.sourceIp; this.status = request.status; this.targetType = request.targetType; this.timeEnd = request.timeEnd; this.timeStart = request.timeStart; this.uniqueInfo = request.uniqueInfo; this.uuid = request.uuid; } /** * <p>The types of assets.</p> */ public Builder assetsTypeList(java.util.List<String> assetsTypeList) { this.putQueryParameter("AssetsTypeList", assetsTypeList); this.assetsTypeList = assetsTypeList; return this; } /** * <p>The ID of the cluster that you want to query.</p> * <blockquote> * <p>You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c4af4fdf38a98496a9b63c2be5dae****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The key of the condition that is used to query alert events on containers. Valid values:</p> * <ul> * <li><strong>instanceId</strong>: the ID of the asset</li> * <li><strong>appName</strong>: the name of the application</li> * <li><strong>clusterId</strong>: the ID of the cluster</li> * <li><strong>regionId</strong>: the ID of the region</li> * <li><strong>nodeName</strong>: the name of the node</li> * <li><strong>namespace</strong>: the namespace</li> * <li><strong>clusterName</strong>: the name of the cluster</li> * <li><strong>image</strong>: the name of the image</li> * <li><strong>imageRepoName</strong>: the name of the image repository</li> * <li><strong>imageRepoNamespace</strong>: the namespace to which the image repository belongs</li> * <li><strong>imageRepoTag</strong>: the tag that is added to the image</li> * <li><strong>imageDigest</strong>: the digest of the image</li> * </ul> * * <strong>example:</strong> * <p>clusterId</p> */ public Builder containerFieldName(String containerFieldName) { this.putQueryParameter("ContainerFieldName", containerFieldName); this.containerFieldName = containerFieldName; return this; } /** * <p>The value of the condition that is used to query alert events on containers.</p> * * <strong>example:</strong> * <p>c819391d2d520485fa3e81e2dc2ea****</p> */ public Builder containerFieldValue(String containerFieldValue) { this.putQueryParameter("ContainerFieldValue", containerFieldValue); this.containerFieldValue = containerFieldValue; return this; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(String currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The status of the alert event. Valid values:</p> * <ul> * <li><strong>N</strong>: unhandled</li> * <li><strong>Y</strong>: handled</li> * </ul> * * <strong>example:</strong> * <p>Y</p> */ public Builder dealed(String dealed) { this.putQueryParameter("Dealed", dealed); this.dealed = dealed; return this; } /** * <p>The data source of the exception. Set the value to sas.</p> * * <strong>example:</strong> * <p>sas</p> */ public Builder from(String from) { this.putQueryParameter("From", from); this.from = from; return this; } /** * <p>The ID of the asset group.</p> * * <strong>example:</strong> * <p>8076980</p> */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The unique ID of the alert event.</p> * * <strong>example:</strong> * <p>17821</p> */ public Builder id(Long id) { this.putQueryParameter("Id", id); this.id = id; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The severity of the alert event. Separate multiple severities with commas (,). Valid values:</p> * <ul> * <li><strong>serious</strong></li> * <li><strong>suspicious</strong></li> * <li><strong>remind</strong></li> * </ul> * * <strong>example:</strong> * <p>serious,suspicious,remind</p> */ public Builder levels(String levels) { this.putQueryParameter("Levels", levels); this.levels = levels; return this; } /** * <p>The complete name of the exception.</p> * * <strong>example:</strong> * <p>WEBSHELL</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The status codes of alert events.</p> */ public Builder operateErrorCodeList(java.util.List<String> operateErrorCodeList) { this.putQueryParameter("OperateErrorCodeList", operateErrorCodeList); this.operateErrorCodeList = operateErrorCodeList; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The alert type of the alert event. Valid values:</p> * <ul> * <li><strong>Suspicious process</strong></li> * <li><strong>Webshell</strong></li> * <li><strong>Unusual logon</strong></li> * <li><strong>Exception</strong></li> * <li><strong>Sensitive file tampering</strong></li> * <li><strong>Malicious process (cloud threat detection)</strong></li> * <li><strong>Suspicious network connection</strong></li> * <li><strong>Suspicious account</strong></li> * <li><strong>Application intrusion event</strong></li> * <li><strong>Cloud threat detection</strong></li> * <li><strong>Precise defense</strong></li> * <li><strong>Application whitelist</strong></li> * <li><strong>Persistent webshell</strong></li> * <li><strong>Web application threat detection</strong></li> * <li><strong>Malicious script</strong></li> * <li><strong>Threat intelligence</strong></li> * <li><strong>Malicious network activity</strong></li> * <li><strong>Cluster exception</strong></li> * <li><strong>Webshell (on-premises threat detection)</strong></li> * <li><strong>Vulnerability exploitation</strong></li> * <li><strong>Malicious process (on-premises threat detection)</strong></li> * <li><strong>Trusted exception</strong></li> * <li><strong>Others</strong></li> * </ul> * * <strong>example:</strong> * <p>WEBSHELL</p> */ public Builder parentEventTypes(String parentEventTypes) { this.putQueryParameter("ParentEventTypes", parentEventTypes); this.parentEventTypes = parentEventTypes; return this; } /** * <p>The remarks.</p> * * <strong>example:</strong> * <p>remark</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The source IP address of the request. The value of this parameter is specified by the system.</p> * * <strong>example:</strong> * <p>127.0.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The handling status of the exception. Valid values:</p> * <ul> * <li><strong>0</strong>: all status</li> * <li><strong>1</strong>: pending handling</li> * <li><strong>2</strong>: ignored</li> * <li><strong>4</strong>: confirmed</li> * <li><strong>8</strong>: marked as false positive</li> * <li><strong>16</strong>: handling</li> * <li><strong>32</strong>: handled</li> * <li><strong>64</strong>: expired</li> * <li><strong>128</strong>: deleted</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The dimension from which you want to configure the feature. Valid values:</p> * <ul> * <li><strong>uuid</strong>: the UUID of the asset</li> * <li><strong>image_repo</strong>: the ID of the image repository</li> * <li><strong>Cluster</strong>: the ID of the cluster</li> * </ul> * * <strong>example:</strong> * <p>uuid</p> */ public Builder targetType(String targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } /** * <p>The end of the time range during which the exception is detected.</p> * * <strong>example:</strong> * <p>2022-12-05 00:00:00</p> */ public Builder timeEnd(String timeEnd) { this.putQueryParameter("TimeEnd", timeEnd); this.timeEnd = timeEnd; return this; } /** * <p>The beginning of the time range during which the exception is detected.</p> * * <strong>example:</strong> * <p>2022-10-01 00:00:00</p> */ public Builder timeStart(String timeStart) { this.putQueryParameter("TimeStart", timeStart); this.timeStart = timeStart; return this; } /** * <p>The unique key of the alert event.</p> * * <strong>example:</strong> * <p>1fbe8d16727f61d1478a674d6fa0****</p> */ public Builder uniqueInfo(String uniqueInfo) { this.putQueryParameter("UniqueInfo", uniqueInfo); this.uniqueInfo = uniqueInfo; return this; } /** * <p>The unique ID of the associated instance.</p> * * <strong>example:</strong> * <p>18b7336e-d469-473b-af83-8e5420f9****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public ExportSuspEventsRequest build() { return new ExportSuspEventsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportSuspEventsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportSuspEventsResponse} extends {@link TeaModel} * * <p>ExportSuspEventsResponse</p> */ public class ExportSuspEventsResponse 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 ExportSuspEventsResponseBody body; private ExportSuspEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExportSuspEventsResponse 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 ExportSuspEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExportSuspEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExportSuspEventsResponseBody body); @Override ExportSuspEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExportSuspEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExportSuspEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExportSuspEventsResponse 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(ExportSuspEventsResponseBody body) { this.body = body; return this; } @Override public ExportSuspEventsResponse build() { return new ExportSuspEventsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportSuspEventsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportSuspEventsResponseBody} extends {@link TeaModel} * * <p>ExportSuspEventsResponseBody</p> */ public class ExportSuspEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Id") private Integer id; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ExportSuspEventsResponseBody(Builder builder) { this.fileName = builder.fileName; this.id = builder.id; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ExportSuspEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return id */ public Integer getId() { return this.id; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String fileName; private Integer id; private String requestId; private Builder() { } private Builder(ExportSuspEventsResponseBody model) { this.fileName = model.fileName; this.id = model.id; this.requestId = model.requestId; } /** * <p>The name of the exported file.</p> * * <strong>example:</strong> * <p>suspicious_event_20221209</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the export record of the anomalous event.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(Integer id) { this.id = id; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>EF145C20-6A19-529A-8BDD-0671DXXXXXX</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ExportSuspEventsResponseBody build() { return new ExportSuspEventsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportVulRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportVulRequest} extends {@link RequestModel} * * <p>ExportVulRequest</p> */ public class ExportVulRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AttachTypes") private String attachTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerName") private String containerName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CreateTsEnd") private Long createTsEnd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CreateTsStart") private Long createTsStart; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CveId") private String cveId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Necessity") private String necessity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RaspDefend") private Integer raspDefend; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchTags") private String searchTags; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcInstanceIds") private String vpcInstanceIds; private ExportVulRequest(Builder builder) { super(builder); this.aliasName = builder.aliasName; this.attachTypes = builder.attachTypes; this.containerName = builder.containerName; this.createTsEnd = builder.createTsEnd; this.createTsStart = builder.createTsStart; this.cveId = builder.cveId; this.dealed = builder.dealed; this.groupId = builder.groupId; this.imageName = builder.imageName; this.lang = builder.lang; this.necessity = builder.necessity; this.path = builder.path; this.raspDefend = builder.raspDefend; this.searchTags = builder.searchTags; this.type = builder.type; this.uuids = builder.uuids; this.vpcInstanceIds = builder.vpcInstanceIds; } public static Builder builder() { return new Builder(); } public static ExportVulRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return attachTypes */ public String getAttachTypes() { return this.attachTypes; } /** * @return containerName */ public String getContainerName() { return this.containerName; } /** * @return createTsEnd */ public Long getCreateTsEnd() { return this.createTsEnd; } /** * @return createTsStart */ public Long getCreateTsStart() { return this.createTsStart; } /** * @return cveId */ public String getCveId() { return this.cveId; } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return path */ public String getPath() { return this.path; } /** * @return raspDefend */ public Integer getRaspDefend() { return this.raspDefend; } /** * @return searchTags */ public String getSearchTags() { return this.searchTags; } /** * @return type */ public String getType() { return this.type; } /** * @return uuids */ public String getUuids() { return this.uuids; } /** * @return vpcInstanceIds */ public String getVpcInstanceIds() { return this.vpcInstanceIds; } public static final class Builder extends Request.Builder<ExportVulRequest, Builder> { private String aliasName; private String attachTypes; private String containerName; private Long createTsEnd; private Long createTsStart; private String cveId; private String dealed; private String groupId; private String imageName; private String lang; private String necessity; private String path; private Integer raspDefend; private String searchTags; private String type; private String uuids; private String vpcInstanceIds; private Builder() { super(); } private Builder(ExportVulRequest request) { super(request); this.aliasName = request.aliasName; this.attachTypes = request.attachTypes; this.containerName = request.containerName; this.createTsEnd = request.createTsEnd; this.createTsStart = request.createTsStart; this.cveId = request.cveId; this.dealed = request.dealed; this.groupId = request.groupId; this.imageName = request.imageName; this.lang = request.lang; this.necessity = request.necessity; this.path = request.path; this.raspDefend = request.raspDefend; this.searchTags = request.searchTags; this.type = request.type; this.uuids = request.uuids; this.vpcInstanceIds = request.vpcInstanceIds; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2019:3197-Important: sudo security update</p> */ public Builder aliasName(String aliasName) { this.putQueryParameter("AliasName", aliasName); this.aliasName = aliasName; return this; } /** * <p>The additional type of the vulnerabilities. You need to specify this parameter when you query application vulnerabilities. If you set the Type parameter to app, you must specify this parameter. Set the value to <strong>sca</strong>.</p> * <blockquote> * <p>If this parameter is set to <strong>sca</strong>, <strong>application vulnerabilities</strong> and the <strong>vulnerabilities that are detected based on software component analysis</strong> are queried. If you do not specify this parameter, only application vulnerabilities are queried.</p> * </blockquote> * * <strong>example:</strong> * <p>sca</p> */ public Builder attachTypes(String attachTypes) { this.putQueryParameter("AttachTypes", attachTypes); this.attachTypes = attachTypes; return this; } /** * <p>The name of the container that is affected by the vulnerability.</p> * * <strong>example:</strong> * <p>xxljob-7b87597b99-mcskr</p> */ public Builder containerName(String containerName) { this.putQueryParameter("ContainerName", containerName); this.containerName = containerName; return this; } /** * <p>The end time of the first scan.</p> * <blockquote> * <p> This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * </blockquote> * * <strong>example:</strong> * <p>1696186800000</p> */ public Builder createTsEnd(Long createTsEnd) { this.putQueryParameter("CreateTsEnd", createTsEnd); this.createTsEnd = createTsEnd; return this; } /** * <p>The start time of the first scan.</p> * <blockquote> * <p> This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * </blockquote> * * <strong>example:</strong> * <p>1696128144000</p> */ public Builder createTsStart(Long createTsStart) { this.putQueryParameter("CreateTsStart", createTsStart); this.createTsStart = createTsStart; return this; } /** * <p>The Common Vulnerabilities and Exposures (CVE) ID of the vulnerability.</p> * * <strong>example:</strong> * <p>CVE-2022-44702</p> */ public Builder cveId(String cveId) { this.putQueryParameter("CveId", cveId); this.cveId = cveId; return this; } /** * <p>Specifies whether the vulnerability is fixed. Valid values:</p> * <ul> * <li><strong>y</strong>: The vulnerability is fixed.</li> * <li><strong>n</strong>: The vulnerability is not fixed.</li> * </ul> * * <strong>example:</strong> * <p>n</p> */ public Builder dealed(String dealed) { this.putQueryParameter("Dealed", dealed); this.dealed = dealed; return this; } /** * <p>The server group ID of the server on which the vulnerabilities are detected.</p> * <blockquote> * <p>You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of server groups.</p> * </blockquote> * * <strong>example:</strong> * <p>8834224</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The name of the image that is affected by the vulnerability.</p> * * <strong>example:</strong> * <p>container-<em><strong>:</strong></em>*</p> */ public Builder imageName(String imageName) { this.putQueryParameter("ImageName", imageName); this.imageName = imageName; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li>zh: Chinese</li> * <li>en: 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 priority to fix the vulnerability. Separate multiple priorities with commas (,). Valid values:</p> * <ul> * <li><strong>asap</strong>: high</li> * <li><strong>later</strong>: medium</li> * <li><strong>nntf</strong>: low</li> * </ul> * * <strong>example:</strong> * <p>asap</p> */ public Builder necessity(String necessity) { this.putQueryParameter("Necessity", necessity); this.necessity = necessity; return this; } /** * <p>The path of the process that is affected by the vulnerability.</p> * * <strong>example:</strong> * <p>/etc/test</p> */ public Builder path(String path) { this.putQueryParameter("Path", path); this.path = path; return this; } /** * RaspDefend. */ public Builder raspDefend(Integer raspDefend) { this.putQueryParameter("RaspDefend", raspDefend); this.raspDefend = raspDefend; return this; } /** * <p>The tag that is used to search for the vulnerabilities. Valid values:</p> * <ul> * <li>Restart required</li> * <li>Remote exploitation</li> * <li>Exploit exists</li> * <li>Exploitable</li> * <li>Privilege escalation</li> * <li>Code execution</li> * </ul> * * <strong>example:</strong> * <p>Restart required</p> */ public Builder searchTags(String searchTags) { this.putQueryParameter("SearchTags", searchTags); this.searchTags = searchTags; return this; } /** * <p>The type of the vulnerability that you want to export. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerability</li> * <li><strong>sys</strong>: Windows system vulnerability</li> * <li><strong>cms</strong>: Web-CMS vulnerability</li> * <li><strong>app</strong>: application vulnerability</li> * <li><strong>emg</strong>: urgent vulnerability</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>app</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUID of the server on which the vulnerabilities are detected. Separate multiple UUIDs with commas (,).</p> * * <strong>example:</strong> * <p>1587bedb-fdb4-48c4-9330-****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } /** * <p>The ID of the virtual private cloud (VPC) in which the vulnerabilities are detected. Separate multiple IDs with commas (,).</p> * <blockquote> * <p>You can call the <a href="~~DescribeVpcList~~">DescribeVpcList</a> operation to query the IDs of VPCs.</p> * </blockquote> * * <strong>example:</strong> * <p>ins-133****,ins-5414****</p> */ public Builder vpcInstanceIds(String vpcInstanceIds) { this.putQueryParameter("VpcInstanceIds", vpcInstanceIds); this.vpcInstanceIds = vpcInstanceIds; return this; } @Override public ExportVulRequest build() { return new ExportVulRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportVulResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportVulResponse} extends {@link TeaModel} * * <p>ExportVulResponse</p> */ public class ExportVulResponse 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 ExportVulResponseBody body; private ExportVulResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExportVulResponse 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 ExportVulResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExportVulResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExportVulResponseBody body); @Override ExportVulResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExportVulResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExportVulResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExportVulResponse 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(ExportVulResponseBody body) { this.body = body; return this; } @Override public ExportVulResponse build() { return new ExportVulResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportVulResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportVulResponseBody} extends {@link TeaModel} * * <p>ExportVulResponseBody</p> */ public class ExportVulResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ExportVulResponseBody(Builder builder) { this.fileName = builder.fileName; this.id = builder.id; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ExportVulResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return id */ public Long getId() { return this.id; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String fileName; private Long id; private String requestId; private Builder() { } private Builder(ExportVulResponseBody model) { this.fileName = model.fileName; this.id = model.id; this.requestId = model.requestId; } /** * <p>The name of the exported file.</p> * * <strong>example:</strong> * <p>app_20211101</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the exported file.</p> * * <strong>example:</strong> * <p>81634</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>E1FAB2B8-DF4D-55DF-BC3D-5C3CA6FD5B13</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ExportVulResponseBody build() { return new ExportVulResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportWarningRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportWarningRequest} extends {@link RequestModel} * * <p>ExportWarningRequest</p> */ public class ExportWarningRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExportType") private String exportType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsCleartextPwd") private Integer isCleartextPwd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsSummaryExport") private Integer isSummaryExport; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskIds") private String riskIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskLevels") private String riskLevels; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskName") private String riskName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatusList") private String statusList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubTypeNames") private String subTypeNames; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TypeName") private String typeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TypeNames") private String typeNames; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; private ExportWarningRequest(Builder builder) { super(builder); this.dealed = builder.dealed; this.exportType = builder.exportType; this.groupId = builder.groupId; this.isCleartextPwd = builder.isCleartextPwd; this.isSummaryExport = builder.isSummaryExport; this.lang = builder.lang; this.riskIds = builder.riskIds; this.riskLevels = builder.riskLevels; this.riskName = builder.riskName; this.sourceIp = builder.sourceIp; this.statusList = builder.statusList; this.strategyId = builder.strategyId; this.subTypeNames = builder.subTypeNames; this.typeName = builder.typeName; this.typeNames = builder.typeNames; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static ExportWarningRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return exportType */ public String getExportType() { return this.exportType; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return isCleartextPwd */ public Integer getIsCleartextPwd() { return this.isCleartextPwd; } /** * @return isSummaryExport */ public Integer getIsSummaryExport() { return this.isSummaryExport; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return riskIds */ public String getRiskIds() { return this.riskIds; } /** * @return riskLevels */ public String getRiskLevels() { return this.riskLevels; } /** * @return riskName */ public String getRiskName() { return this.riskName; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return statusList */ public String getStatusList() { return this.statusList; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return subTypeNames */ public String getSubTypeNames() { return this.subTypeNames; } /** * @return typeName */ public String getTypeName() { return this.typeName; } /** * @return typeNames */ public String getTypeNames() { return this.typeNames; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<ExportWarningRequest, Builder> { private String dealed; private String exportType; private Long groupId; private Integer isCleartextPwd; private Integer isSummaryExport; private String lang; private String riskIds; private String riskLevels; private String riskName; private String sourceIp; private String statusList; private Long strategyId; private String subTypeNames; private String typeName; private String typeNames; private String uuids; private Builder() { super(); } private Builder(ExportWarningRequest request) { super(request); this.dealed = request.dealed; this.exportType = request.exportType; this.groupId = request.groupId; this.isCleartextPwd = request.isCleartextPwd; this.isSummaryExport = request.isSummaryExport; this.lang = request.lang; this.riskIds = request.riskIds; this.riskLevels = request.riskLevels; this.riskName = request.riskName; this.sourceIp = request.sourceIp; this.statusList = request.statusList; this.strategyId = request.strategyId; this.subTypeNames = request.subTypeNames; this.typeName = request.typeName; this.typeNames = request.typeNames; this.uuids = request.uuids; } /** * <p>Specifies whether the baseline risks are handled. Valid values:</p> * <ul> * <li><strong>Y</strong>: yes</li> * <li><strong>N</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>N</p> */ public Builder dealed(String dealed) { this.putQueryParameter("Dealed", dealed); this.dealed = dealed; return this; } /** * <p>The type of the export task. Set the value to <strong>hc_check_warning</strong>, which indicates tasks to export baseline check results.</p> * * <strong>example:</strong> * <p>hc_check_warning</p> */ public Builder exportType(String exportType) { this.putQueryParameter("ExportType", exportType); this.exportType = exportType; return this; } /** * <p>The ID of the server group.</p> * <blockquote> * <p> You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of server groups.</p> * </blockquote> * * <strong>example:</strong> * <p>13007754</p> */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The export method of the results for the weak password baseline check. Valid values:</p> * <ul> * <li><strong>0</strong>: exports the check results after it is masked.</li> * <li><strong>1</strong>: exports the check results in plaintext.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder isCleartextPwd(Integer isCleartextPwd) { this.putQueryParameter("IsCleartextPwd", isCleartextPwd); this.isCleartextPwd = isCleartextPwd; return this; } /** * <p>Specifies whether the baseline check results are aggregated and exported. 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 isSummaryExport(Integer isSummaryExport) { this.putQueryParameter("IsSummaryExport", isSummaryExport); this.isSummaryExport = isSummaryExport; 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 ID of the risk item in the baseline check results. Separate multiple IDs with commas (,).</p> * * <strong>example:</strong> * <p>123,124</p> */ public Builder riskIds(String riskIds) { this.putQueryParameter("RiskIds", riskIds); this.riskIds = riskIds; return this; } /** * <p>The severity of the baseline check item. Separate multiple severities with commas (,). Valid values:</p> * <ul> * <li><strong>high</strong></li> * <li><strong>medium</strong></li> * <li><strong>low</strong></li> * </ul> * * <strong>example:</strong> * <p>high,medium</p> */ public Builder riskLevels(String riskLevels) { this.putQueryParameter("RiskLevels", riskLevels); this.riskLevels = riskLevels; return this; } /** * <p>The name of the baseline.</p> * * <strong>example:</strong> * <p>Alibaba Cloud Standard - Windows 2016/2019 Security Baseline</p> */ public Builder riskName(String riskName) { this.putQueryParameter("RiskName", riskName); this.riskName = riskName; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>192.0.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The status of the check item in the baseline check results. Separate multiple statuses with commas (,). Valid values:</p> * <ul> * <li><strong>3</strong>: passed</li> * <li><strong>1</strong>: failed</li> * </ul> * * <strong>example:</strong> * <p>1,3</p> */ public Builder statusList(String statusList) { this.putQueryParameter("StatusList", statusList); this.statusList = statusList; return this; } /** * <p>The ID of the baseline check policy.</p> * * <strong>example:</strong> * <p>12</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } /** * <p>The subtypes of the baselines based on which baseline checks are performed. Separate multiple subtypes with commas (,).</p> * <blockquote> * <p>You must set the value of this parameter to the value of the <strong>TypeName</strong> parameter that is contained in the <strong>SubTypes</strong> parameter. You can call the <a href="~~DescribeRiskType~~">DescribeRiskType</a> operation to obtain the value of the TypeName parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>hc_middleware_ack_master</p> */ public Builder subTypeNames(String subTypeNames) { this.putQueryParameter("SubTypeNames", subTypeNames); this.subTypeNames = subTypeNames; return this; } /** * <p>The type of the baseline based on which baseline checks are performed.</p> * <blockquote> * <p>You must set the value of this parameter to the value of the <strong>TypeName</strong> parameter that is returned by calling the <a href="~~DescribeRiskType~~">DescribeRiskType</a> operation. If both the <strong>TypeName</strong> and <strong>TypeNames</strong> parameters are specified, only the <strong>TypeName</strong> parameter takes effect.</p> * </blockquote> * * <strong>example:</strong> * <p>hc_container</p> */ public Builder typeName(String typeName) { this.putQueryParameter("TypeName", typeName); this.typeName = typeName; return this; } /** * <p>The types of the baselines based on which baseline checks are performed. Separate multiple types with commas (,).</p> * <blockquote> * <p>You must set the value of this parameter to the value of the <strong>TypeName</strong> parameter that is returned by calling the <a href="~~DescribeRiskType~~">DescribeRiskType</a> operation. If both the <strong>TypeName</strong> and <strong>TypeNames</strong> parameters are specified, only the <strong>TypeName</strong> parameter takes effect.</p> * </blockquote> * * <strong>example:</strong> * <p>hc_container,cis</p> */ public Builder typeNames(String typeNames) { this.putQueryParameter("TypeNames", typeNames); this.typeNames = typeNames; return this; } /** * <p>The UUID of the server whose baseline check results you want to export. Separate multiple UUIDs with commas (,).</p> * * <strong>example:</strong> * <p>inet-7c676676-06fa-442e-90fb-b802e****,inet-7c676676-06fa-442e-90fb-b****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public ExportWarningRequest build() { return new ExportWarningRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportWarningResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportWarningResponse} extends {@link TeaModel} * * <p>ExportWarningResponse</p> */ public class ExportWarningResponse 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 ExportWarningResponseBody body; private ExportWarningResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExportWarningResponse 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 ExportWarningResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExportWarningResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExportWarningResponseBody body); @Override ExportWarningResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExportWarningResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExportWarningResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExportWarningResponse 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(ExportWarningResponseBody body) { this.body = body; return this; } @Override public ExportWarningResponse build() { return new ExportWarningResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ExportWarningResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExportWarningResponseBody} extends {@link TeaModel} * * <p>ExportWarningResponseBody</p> */ public class ExportWarningResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ExportWarningResponseBody(Builder builder) { this.fileName = builder.fileName; this.id = builder.id; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ExportWarningResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return id */ public Long getId() { return this.id; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String fileName; private Long id; private String requestId; private Builder() { } private Builder(ExportWarningResponseBody model) { this.fileName = model.fileName; this.id = model.id; this.requestId = model.requestId; } /** * <p>The name of the file that contains exported baseline check results.</p> * * <strong>example:</strong> * <p>health_check_export_20220407</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The ID of the task to export baseline check results.</p> * <blockquote> * <p>You can call use the value of this parameter to call the <a href="~~DescribeHcExportInfo~~">DescribeHcExportInfo</a> operation to query the export progress.</p> * </blockquote> * * <strong>example:</strong> * <p>439316</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>A7FC828B-C242-1005-9736-C7CC5DC09FF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ExportWarningResponseBody build() { return new ExportWarningResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FindContainerNetworkConnectRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FindContainerNetworkConnectRequest} extends {@link RequestModel} * * <p>FindContainerNetworkConnectRequest</p> */ public class FindContainerNetworkConnectRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CriteriaType") private String criteriaType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Long currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DstNode") private DstNode dstNode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SrcNode") private SrcNode srcNode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; private FindContainerNetworkConnectRequest(Builder builder) { super(builder); this.criteriaType = builder.criteriaType; this.currentPage = builder.currentPage; this.dstNode = builder.dstNode; this.endTime = builder.endTime; this.pageSize = builder.pageSize; this.srcNode = builder.srcNode; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static FindContainerNetworkConnectRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return criteriaType */ public String getCriteriaType() { return this.criteriaType; } /** * @return currentPage */ public Long getCurrentPage() { return this.currentPage; } /** * @return dstNode */ public DstNode getDstNode() { return this.dstNode; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return srcNode */ public SrcNode getSrcNode() { return this.srcNode; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<FindContainerNetworkConnectRequest, Builder> { private String criteriaType; private Long currentPage; private DstNode dstNode; private Long endTime; private Long pageSize; private SrcNode srcNode; private Long startTime; private Builder() { super(); } private Builder(FindContainerNetworkConnectRequest request) { super(request); this.criteriaType = request.criteriaType; this.currentPage = request.currentPage; this.dstNode = request.dstNode; this.endTime = request.endTime; this.pageSize = request.pageSize; this.srcNode = request.srcNode; this.startTime = request.startTime; } /** * <p>The type of the information that you want to query. Valid values:</p> * <ul> * <li><strong>EDGE</strong>: connection information</li> * </ul> * * <strong>example:</strong> * <p>EDGE</p> */ public Builder criteriaType(String criteriaType) { this.putQueryParameter("CriteriaType", criteriaType); this.criteriaType = criteriaType; 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(Long currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The information about the destination node.</p> */ public Builder dstNode(DstNode dstNode) { String dstNodeShrink = shrink(dstNode, "DstNode", "json"); this.putQueryParameter("DstNode", dstNodeShrink); this.dstNode = dstNode; return this; } /** * <p>The end time of the network connection.</p> * * <strong>example:</strong> * <p>1649260799999</p> */ public Builder endTime(Long endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p> * <blockquote> * <p>We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The information about the source node.</p> */ public Builder srcNode(SrcNode srcNode) { String srcNodeShrink = shrink(srcNode, "SrcNode", "json"); this.putQueryParameter("SrcNode", srcNodeShrink); this.srcNode = srcNode; return this; } /** * <p>The start time of the network connection.</p> * * <strong>example:</strong> * <p>1666886400000</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public FindContainerNetworkConnectRequest build() { return new FindContainerNetworkConnectRequest(this); } } /** * * {@link FindContainerNetworkConnectRequest} extends {@link TeaModel} * * <p>FindContainerNetworkConnectRequest</p> */ public static class DstNode 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("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("NodeIds") private java.util.List<String> nodeIds; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("PodName") private String podName; private DstNode(Builder builder) { this.appName = builder.appName; this.clusterId = builder.clusterId; this.namespace = builder.namespace; this.nodeIds = builder.nodeIds; this.nodeType = builder.nodeType; this.podName = builder.podName; } public static Builder builder() { return new Builder(); } public static DstNode create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return nodeIds */ public java.util.List<String> getNodeIds() { return this.nodeIds; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return podName */ public String getPodName() { return this.podName; } public static final class Builder { private String appName; private String clusterId; private String namespace; private java.util.List<String> nodeIds; private String nodeType; private String podName; private Builder() { } private Builder(DstNode model) { this.appName = model.appName; this.clusterId = model.clusterId; this.namespace = model.namespace; this.nodeIds = model.nodeIds; this.nodeType = model.nodeType; this.podName = model.podName; } /** * <p>The name of the container application.</p> * * <strong>example:</strong> * <p>nginx-ingress-controller</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p>You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>f5x833820xx</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The namespace of the cluster.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>The node IDs.</p> */ public Builder nodeIds(java.util.List<String> nodeIds) { this.nodeIds = nodeIds; return this; } /** * <p>The type of the node. Valid values:</p> * <ul> * <li><strong>app</strong>: application, which indicates that the node type is application.</li> * </ul> * * <strong>example:</strong> * <p>app</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>The name of the pod.</p> * * <strong>example:</strong> * <p>abc-deployment-yacs-31144-39265-1384966-7f8c8cd578-h6mhb</p> */ public Builder podName(String podName) { this.podName = podName; return this; } public DstNode build() { return new DstNode(this); } } } /** * * {@link FindContainerNetworkConnectRequest} extends {@link TeaModel} * * <p>FindContainerNetworkConnectRequest</p> */ public static class SrcNode 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("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("NodeIds") private java.util.List<String> nodeIds; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("PodName") private String podName; private SrcNode(Builder builder) { this.appName = builder.appName; this.clusterId = builder.clusterId; this.namespace = builder.namespace; this.nodeIds = builder.nodeIds; this.nodeType = builder.nodeType; this.podName = builder.podName; } public static Builder builder() { return new Builder(); } public static SrcNode create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return nodeIds */ public java.util.List<String> getNodeIds() { return this.nodeIds; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return podName */ public String getPodName() { return this.podName; } public static final class Builder { private String appName; private String clusterId; private String namespace; private java.util.List<String> nodeIds; private String nodeType; private String podName; private Builder() { } private Builder(SrcNode model) { this.appName = model.appName; this.clusterId = model.clusterId; this.namespace = model.namespace; this.nodeIds = model.nodeIds; this.nodeType = model.nodeType; this.podName = model.podName; } /** * <p>The name of the container application.</p> * * <strong>example:</strong> * <p>arms-prometheus-ack-arms-prometheus</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p>You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c56xxx1775dea0</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The namespace of the cluster.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>The node IDs.</p> */ public Builder nodeIds(java.util.List<String> nodeIds) { this.nodeIds = nodeIds; return this; } /** * <p>The type of the node. Valid values:</p> * <ul> * <li><strong>app</strong>: application, which indicates that the node type is application.</li> * </ul> * * <strong>example:</strong> * <p>app</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>The name of the pod.</p> * * <strong>example:</strong> * <p>abc-deployment-yacs-31144-39265-1384966-7f8c8cd578-h6mhb</p> */ public Builder podName(String podName) { this.podName = podName; return this; } public SrcNode build() { return new SrcNode(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FindContainerNetworkConnectResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FindContainerNetworkConnectResponse} extends {@link TeaModel} * * <p>FindContainerNetworkConnectResponse</p> */ public class FindContainerNetworkConnectResponse 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 FindContainerNetworkConnectResponseBody body; private FindContainerNetworkConnectResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static FindContainerNetworkConnectResponse 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 FindContainerNetworkConnectResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<FindContainerNetworkConnectResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(FindContainerNetworkConnectResponseBody body); @Override FindContainerNetworkConnectResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<FindContainerNetworkConnectResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private FindContainerNetworkConnectResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(FindContainerNetworkConnectResponse 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(FindContainerNetworkConnectResponseBody body) { this.body = body; return this; } @Override public FindContainerNetworkConnectResponse build() { return new FindContainerNetworkConnectResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FindContainerNetworkConnectResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FindContainerNetworkConnectResponseBody} extends {@link TeaModel} * * <p>FindContainerNetworkConnectResponseBody</p> */ public class FindContainerNetworkConnectResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Connects") private java.util.List<Connects> connects; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private FindContainerNetworkConnectResponseBody(Builder builder) { this.connects = builder.connects; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static FindContainerNetworkConnectResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return connects */ public java.util.List<Connects> getConnects() { return this.connects; } /** * @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<Connects> connects; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(FindContainerNetworkConnectResponseBody model) { this.connects = model.connects; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The information about the network connections.</p> */ public Builder connects(java.util.List<Connects> connects) { this.connects = connects; 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>8686CE6E-9BFA-5436-A9D9-77B984AEE7F8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public FindContainerNetworkConnectResponseBody build() { return new FindContainerNetworkConnectResponseBody(this); } } /** * * {@link FindContainerNetworkConnectResponseBody} extends {@link TeaModel} * * <p>FindContainerNetworkConnectResponseBody</p> */ public static class DstContainer extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerId") private String containerId; private DstContainer(Builder builder) { this.containerId = builder.containerId; } public static Builder builder() { return new Builder(); } public static DstContainer create() { return builder().build(); } /** * @return containerId */ public String getContainerId() { return this.containerId; } public static final class Builder { private String containerId; private Builder() { } private Builder(DstContainer model) { this.containerId = model.containerId; } /** * <p>The ID of the destination container.</p> * * <strong>example:</strong> * <p>48a6dxxx9d5a5866</p> */ public Builder containerId(String containerId) { this.containerId = containerId; return this; } public DstContainer build() { return new DstContainer(this); } } } /** * * {@link FindContainerNetworkConnectResponseBody} extends {@link TeaModel} * * <p>FindContainerNetworkConnectResponseBody</p> */ public static class SrcContainer extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerId") private String containerId; private SrcContainer(Builder builder) { this.containerId = builder.containerId; } public static Builder builder() { return new Builder(); } public static SrcContainer create() { return builder().build(); } /** * @return containerId */ public String getContainerId() { return this.containerId; } public static final class Builder { private String containerId; private Builder() { } private Builder(SrcContainer model) { this.containerId = model.containerId; } /** * <p>The ID of the source container.</p> * * <strong>example:</strong> * <p>48a6xxx5709d5a5866</p> */ public Builder containerId(String containerId) { this.containerId = containerId; return this; } public SrcContainer build() { return new SrcContainer(this); } } } /** * * {@link FindContainerNetworkConnectResponseBody} extends {@link TeaModel} * * <p>FindContainerNetworkConnectResponseBody</p> */ public static class Connects extends TeaModel { @com.aliyun.core.annotation.NameInMap("DstContainer") private DstContainer dstContainer; @com.aliyun.core.annotation.NameInMap("DstIp") private String dstIp; @com.aliyun.core.annotation.NameInMap("DstPort") private String dstPort; @com.aliyun.core.annotation.NameInMap("FirstTime") private Long firstTime; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("LastTime") private Long lastTime; @com.aliyun.core.annotation.NameInMap("SrcContainer") private SrcContainer srcContainer; @com.aliyun.core.annotation.NameInMap("SrcIp") private String srcIp; @com.aliyun.core.annotation.NameInMap("SrcPort") private String srcPort; private Connects(Builder builder) { this.dstContainer = builder.dstContainer; this.dstIp = builder.dstIp; this.dstPort = builder.dstPort; this.firstTime = builder.firstTime; this.id = builder.id; this.lastTime = builder.lastTime; this.srcContainer = builder.srcContainer; this.srcIp = builder.srcIp; this.srcPort = builder.srcPort; } public static Builder builder() { return new Builder(); } public static Connects create() { return builder().build(); } /** * @return dstContainer */ public DstContainer getDstContainer() { return this.dstContainer; } /** * @return dstIp */ public String getDstIp() { return this.dstIp; } /** * @return dstPort */ public String getDstPort() { return this.dstPort; } /** * @return firstTime */ public Long getFirstTime() { return this.firstTime; } /** * @return id */ public Long getId() { return this.id; } /** * @return lastTime */ public Long getLastTime() { return this.lastTime; } /** * @return srcContainer */ public SrcContainer getSrcContainer() { return this.srcContainer; } /** * @return srcIp */ public String getSrcIp() { return this.srcIp; } /** * @return srcPort */ public String getSrcPort() { return this.srcPort; } public static final class Builder { private DstContainer dstContainer; private String dstIp; private String dstPort; private Long firstTime; private Long id; private Long lastTime; private SrcContainer srcContainer; private String srcIp; private String srcPort; private Builder() { } private Builder(Connects model) { this.dstContainer = model.dstContainer; this.dstIp = model.dstIp; this.dstPort = model.dstPort; this.firstTime = model.firstTime; this.id = model.id; this.lastTime = model.lastTime; this.srcContainer = model.srcContainer; this.srcIp = model.srcIp; this.srcPort = model.srcPort; } /** * <p>The information about the destination container.</p> * <blockquote> * <p>This parameter is not supported.</p> * </blockquote> */ public Builder dstContainer(DstContainer dstContainer) { this.dstContainer = dstContainer; return this; } /** * <p>The destination IP address.</p> * * <strong>example:</strong> * <p>172.20.62.176</p> */ public Builder dstIp(String dstIp) { this.dstIp = dstIp; return this; } /** * <p>The destination port.</p> * * <strong>example:</strong> * <p>443</p> */ public Builder dstPort(String dstPort) { this.dstPort = dstPort; return this; } /** * <p>The timestamp when the connection was first established.</p> * * <strong>example:</strong> * <p>2022-11-11 20:54:32</p> */ public Builder firstTime(Long firstTime) { this.firstTime = firstTime; return this; } /** * <p>The ID of the network connection.</p> * * <strong>example:</strong> * <p>1458</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The timestamp when the connection was last established.</p> * * <strong>example:</strong> * <p>2022-11-24 10:26:00</p> */ public Builder lastTime(Long lastTime) { this.lastTime = lastTime; return this; } /** * <p>The information about the source container.</p> * <blockquote> * <p>This parameter is not supported.</p> * </blockquote> */ public Builder srcContainer(SrcContainer srcContainer) { this.srcContainer = srcContainer; return this; } /** * <p>The source IP address.</p> * * <strong>example:</strong> * <p>35.233.62.116</p> */ public Builder srcIp(String srcIp) { this.srcIp = srcIp; return this; } /** * <p>The source port.</p> * * <strong>example:</strong> * <p>10240</p> */ public Builder srcPort(String srcPort) { this.srcPort = srcPort; return this; } public Connects build() { return new Connects(this); } } } /** * * {@link FindContainerNetworkConnectResponseBody} extends {@link TeaModel} * * <p>FindContainerNetworkConnectResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Long currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long 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 Long getCount() { return this.count; } /** * @return currentPage */ public Long getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Long count; private Long currentPage; private Long pageSize; private Long 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(Long count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Long currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>12</p> */ public Builder totalCount(Long 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/FinishGuidTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FinishGuidTaskRequest} extends {@link RequestModel} * * <p>FinishGuidTaskRequest</p> */ public class FinishGuidTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskTypeName") @com.aliyun.core.annotation.Validation(required = true) private String taskTypeName; private FinishGuidTaskRequest(Builder builder) { super(builder); this.taskTypeName = builder.taskTypeName; } public static Builder builder() { return new Builder(); } public static FinishGuidTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return taskTypeName */ public String getTaskTypeName() { return this.taskTypeName; } public static final class Builder extends Request.Builder<FinishGuidTaskRequest, Builder> { private String taskTypeName; private Builder() { super(); } private Builder(FinishGuidTaskRequest request) { super(request); this.taskTypeName = request.taskTypeName; } /** * <p>The name of the task type.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>guide_sub_task_config_add_collection</p> */ public Builder taskTypeName(String taskTypeName) { this.putQueryParameter("TaskTypeName", taskTypeName); this.taskTypeName = taskTypeName; return this; } @Override public FinishGuidTaskRequest build() { return new FinishGuidTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FinishGuidTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FinishGuidTaskResponse} extends {@link TeaModel} * * <p>FinishGuidTaskResponse</p> */ public class FinishGuidTaskResponse 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 FinishGuidTaskResponseBody body; private FinishGuidTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static FinishGuidTaskResponse 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 FinishGuidTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<FinishGuidTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(FinishGuidTaskResponseBody body); @Override FinishGuidTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<FinishGuidTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private FinishGuidTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(FinishGuidTaskResponse 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(FinishGuidTaskResponseBody body) { this.body = body; return this; } @Override public FinishGuidTaskResponse build() { return new FinishGuidTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FinishGuidTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FinishGuidTaskResponseBody} extends {@link TeaModel} * * <p>FinishGuidTaskResponseBody</p> */ public class FinishGuidTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private FinishGuidTaskResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static FinishGuidTaskResponseBody 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(FinishGuidTaskResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>08DCAABC-82E7-5EF5-A9E7-A82DC07C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public FinishGuidTaskResponseBody build() { return new FinishGuidTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FixCheckWarningsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FixCheckWarningsRequest} extends {@link RequestModel} * * <p>FixCheckWarningsRequest</p> */ public class FixCheckWarningsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CheckParams") @com.aliyun.core.annotation.Validation(required = true) private String checkParams; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RetentionDays") private Integer retentionDays; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskId") private Long riskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SnapshotName") private String snapshotName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; private FixCheckWarningsRequest(Builder builder) { super(builder); this.checkParams = builder.checkParams; this.lang = builder.lang; this.retentionDays = builder.retentionDays; this.riskId = builder.riskId; this.snapshotName = builder.snapshotName; this.sourceIp = builder.sourceIp; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static FixCheckWarningsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return checkParams */ public String getCheckParams() { return this.checkParams; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return retentionDays */ public Integer getRetentionDays() { return this.retentionDays; } /** * @return riskId */ public Long getRiskId() { return this.riskId; } /** * @return snapshotName */ public String getSnapshotName() { return this.snapshotName; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<FixCheckWarningsRequest, Builder> { private String checkParams; private String lang; private Integer retentionDays; private Long riskId; private String snapshotName; private String sourceIp; private String uuids; private Builder() { super(); } private Builder(FixCheckWarningsRequest request) { super(request); this.checkParams = request.checkParams; this.lang = request.lang; this.retentionDays = request.retentionDays; this.riskId = request.riskId; this.snapshotName = request.snapshotName; this.sourceIp = request.sourceIp; this.uuids = request.uuids; } /** * <p>The parameters for the baseline risk item that you want to fix.</p> * <ul> * <li><p><strong>checkId</strong>: the ID of the check item that corresponds to the baseline risk item.</p> * </li> * <li><p><strong>rules</strong>: an array that consists of the rules applied to fixes.</p> * <ul> * <li><strong>value</strong>: specifies whether a fix method is selected. Valid values: <strong>0</strong> and <strong>1</strong>. The value 0 indicates that no fix method is selected and the value 1 indicates that a fix method is selected.</li> * <li><strong>ruleId</strong>: the ID of the fix method.</li> * <li><strong>paramList</strong>: an array that consists of the details about the fix method.<br>• <strong>paramName</strong>: the name of the fix method.<br>• <strong>value</strong>: the value of the fix method.</li> * </ul> * </li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[{&quot;checkId&quot;:8,&quot;rules&quot;:[{&quot;ruleId&quot;:&quot;rule.ssh_Idle.interval&quot;,&quot;value&quot;:1,&quot;paramList&quot;:[{&quot;paramName&quot;:&quot;range_val&quot;,&quot;value&quot;:&quot;600&quot;},{&quot;paramName&quot;:&quot;range_val&quot;,&quot;value&quot;:&quot;600&quot;}]},{&quot;ruleId&quot;:&quot;rule.ssh_Idle.count&quot;,&quot;value&quot;:1,&quot;paramList&quot;:[{&quot;paramName&quot;:&quot;range_val&quot;,&quot;value&quot;:&quot;3&quot;}]}]}]</p> */ public Builder checkParams(String checkParams) { this.putQueryParameter("CheckParams", checkParams); this.checkParams = checkParams; return this; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The retention period of the snapshot that is created when you fix the baseline risk. Valid values: 1 to 365. Unit: days.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder retentionDays(Integer retentionDays) { this.putQueryParameter("RetentionDays", retentionDays); this.retentionDays = retentionDays; return this; } /** * <p>The ID of the risk item.</p> * <blockquote> * <p> To query the information about the risk items and check items of a server, you must specify the IDs of the risk items. You can call the <a href="~~DescribeCheckWarningSummary~~">DescribeCheckWarningSummary</a> operation to query the IDs of risk items.</p> * </blockquote> * * <strong>example:</strong> * <p>10354</p> */ public Builder riskId(Long riskId) { this.putQueryParameter("RiskId", riskId); this.riskId = riskId; return this; } /** * <p>The name of the snapshot that is created when you fix the baseline risk.</p> * * <strong>example:</strong> * <p>sas_fix_2024-12-04</p> */ public Builder snapshotName(String snapshotName) { this.putQueryParameter("SnapshotName", snapshotName); this.snapshotName = snapshotName; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>165.225.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The UUID of the asset for which you want to fix the baseline risk item. You can call the <a href="~~DescribeWarningMachines~~">DescribeWarningMachines</a> operation to query the UUIDs of assets.</p> * * <strong>example:</strong> * <p>75a417dda5f25edb5bed8f208a9a****,c7e10fd794262a1510d5648f9e5d****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public FixCheckWarningsRequest build() { return new FixCheckWarningsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FixCheckWarningsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FixCheckWarningsResponse} extends {@link TeaModel} * * <p>FixCheckWarningsResponse</p> */ public class FixCheckWarningsResponse 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 FixCheckWarningsResponseBody body; private FixCheckWarningsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static FixCheckWarningsResponse 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 FixCheckWarningsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<FixCheckWarningsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(FixCheckWarningsResponseBody body); @Override FixCheckWarningsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<FixCheckWarningsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private FixCheckWarningsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(FixCheckWarningsResponse 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(FixCheckWarningsResponseBody body) { this.body = body; return this; } @Override public FixCheckWarningsResponse build() { return new FixCheckWarningsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/FixCheckWarningsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link FixCheckWarningsResponseBody} extends {@link TeaModel} * * <p>FixCheckWarningsResponseBody</p> */ public class FixCheckWarningsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchId") private Long batchId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private FixCheckWarningsResponseBody(Builder builder) { this.batchId = builder.batchId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static FixCheckWarningsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return batchId */ public Long getBatchId() { return this.batchId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Long batchId; private String requestId; private Builder() { } private Builder(FixCheckWarningsResponseBody model) { this.batchId = model.batchId; this.requestId = model.requestId; } /** * <p>The ID of the baseline risk item that has been fixed by using the Batch Repair feature.</p> * * <strong>example:</strong> * <p>52370</p> */ public Builder batchId(Long batchId) { this.batchId = batchId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>76C1D7FD-DB1E-45EA-B804-3FBD9A1DD9C0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public FixCheckWarningsResponseBody build() { return new FixCheckWarningsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateDynamicDictRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateDynamicDictRequest} extends {@link RequestModel} * * <p>GenerateDynamicDictRequest</p> */ public class GenerateDynamicDictRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ArgKeywords") private String argKeywords; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Domains") private String domains; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Names") private String names; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private GenerateDynamicDictRequest(Builder builder) { super(builder); this.argKeywords = builder.argKeywords; this.domains = builder.domains; this.names = builder.names; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static GenerateDynamicDictRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return argKeywords */ public String getArgKeywords() { return this.argKeywords; } /** * @return domains */ public String getDomains() { return this.domains; } /** * @return names */ public String getNames() { return this.names; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<GenerateDynamicDictRequest, Builder> { private String argKeywords; private String domains; private String names; private String sourceIp; private Builder() { super(); } private Builder(GenerateDynamicDictRequest request) { super(request); this.argKeywords = request.argKeywords; this.domains = request.domains; this.names = request.names; this.sourceIp = request.sourceIp; } /** * <p>The keyword of the dictionary.</p> * * <strong>example:</strong> * <p>keyword</p> */ public Builder argKeywords(String argKeywords) { this.putQueryParameter("ArgKeywords", argKeywords); this.argKeywords = argKeywords; return this; } /** * <p>The domain name for custom weak passwords.</p> * * <strong>example:</strong> * <p><a href="https://www.aliyun.com">https://www.aliyun.com</a></p> */ public Builder domains(String domains) { this.putQueryParameter("Domains", domains); this.domains = domains; return this; } /** * <p>The company name for custom weak passwords.</p> * * <strong>example:</strong> * <p>Alibaba</p> */ public Builder names(String names) { this.putQueryParameter("Names", names); this.names = names; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>58.248.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public GenerateDynamicDictRequest build() { return new GenerateDynamicDictRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateDynamicDictResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateDynamicDictResponse} extends {@link TeaModel} * * <p>GenerateDynamicDictResponse</p> */ public class GenerateDynamicDictResponse 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 GenerateDynamicDictResponseBody body; private GenerateDynamicDictResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GenerateDynamicDictResponse 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 GenerateDynamicDictResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GenerateDynamicDictResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GenerateDynamicDictResponseBody body); @Override GenerateDynamicDictResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GenerateDynamicDictResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GenerateDynamicDictResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GenerateDynamicDictResponse 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(GenerateDynamicDictResponseBody body) { this.body = body; return this; } @Override public GenerateDynamicDictResponse build() { return new GenerateDynamicDictResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateDynamicDictResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateDynamicDictResponseBody} extends {@link TeaModel} * * <p>GenerateDynamicDictResponseBody</p> */ public class GenerateDynamicDictResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("KeywordList") private java.util.List<String> keywordList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GenerateDynamicDictResponseBody(Builder builder) { this.keywordList = builder.keywordList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GenerateDynamicDictResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return keywordList */ public java.util.List<String> getKeywordList() { return this.keywordList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> keywordList; private String requestId; private Builder() { } private Builder(GenerateDynamicDictResponseBody model) { this.keywordList = model.keywordList; this.requestId = model.requestId; } /** * <p>The custom weak passwords.</p> */ public Builder keywordList(java.util.List<String> keywordList) { this.keywordList = keywordList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>00E9B912-6066-5E4E-9F24-35EA09F2****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GenerateDynamicDictResponseBody build() { return new GenerateDynamicDictResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateK8sAccessInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateK8sAccessInfoRequest} extends {@link RequestModel} * * <p>GenerateK8sAccessInfoRequest</p> */ public class GenerateK8sAccessInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AliyunYundunGatewayApiName") private String aliyunYundunGatewayApiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AliyunYundunGatewayPopName") private String aliyunYundunGatewayPopName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AliyunYundunGatewayProjectName") private String aliyunYundunGatewayProjectName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AuditLogStore") private String auditLogStore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AuditProject") private String auditProject; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AuditRegionId") private String auditRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") @com.aliyun.core.annotation.Validation(required = true) private String clusterName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CpuArch") private String cpuArch; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExpireDate") @com.aliyun.core.annotation.Validation(required = true) private Long expireDate; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Vendor") @com.aliyun.core.annotation.Validation(required = true) private String vendor; private GenerateK8sAccessInfoRequest(Builder builder) { super(builder); this.aliyunYundunGatewayApiName = builder.aliyunYundunGatewayApiName; this.aliyunYundunGatewayPopName = builder.aliyunYundunGatewayPopName; this.aliyunYundunGatewayProjectName = builder.aliyunYundunGatewayProjectName; this.auditLogStore = builder.auditLogStore; this.auditProject = builder.auditProject; this.auditRegionId = builder.auditRegionId; this.clusterName = builder.clusterName; this.cpuArch = builder.cpuArch; this.expireDate = builder.expireDate; this.groupId = builder.groupId; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static GenerateK8sAccessInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliyunYundunGatewayApiName */ public String getAliyunYundunGatewayApiName() { return this.aliyunYundunGatewayApiName; } /** * @return aliyunYundunGatewayPopName */ public String getAliyunYundunGatewayPopName() { return this.aliyunYundunGatewayPopName; } /** * @return aliyunYundunGatewayProjectName */ public String getAliyunYundunGatewayProjectName() { return this.aliyunYundunGatewayProjectName; } /** * @return auditLogStore */ public String getAuditLogStore() { return this.auditLogStore; } /** * @return auditProject */ public String getAuditProject() { return this.auditProject; } /** * @return auditRegionId */ public String getAuditRegionId() { return this.auditRegionId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return cpuArch */ public String getCpuArch() { return this.cpuArch; } /** * @return expireDate */ public Long getExpireDate() { return this.expireDate; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return vendor */ public String getVendor() { return this.vendor; } public static final class Builder extends Request.Builder<GenerateK8sAccessInfoRequest, Builder> { private String aliyunYundunGatewayApiName; private String aliyunYundunGatewayPopName; private String aliyunYundunGatewayProjectName; private String auditLogStore; private String auditProject; private String auditRegionId; private String clusterName; private String cpuArch; private Long expireDate; private Long groupId; private String vendor; private Builder() { super(); } private Builder(GenerateK8sAccessInfoRequest request) { super(request); this.aliyunYundunGatewayApiName = request.aliyunYundunGatewayApiName; this.aliyunYundunGatewayPopName = request.aliyunYundunGatewayPopName; this.aliyunYundunGatewayProjectName = request.aliyunYundunGatewayProjectName; this.auditLogStore = request.auditLogStore; this.auditProject = request.auditProject; this.auditRegionId = request.auditRegionId; this.clusterName = request.clusterName; this.cpuArch = request.cpuArch; this.expireDate = request.expireDate; this.groupId = request.groupId; this.vendor = request.vendor; } /** * <p>This parameter is deprecated.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder aliyunYundunGatewayApiName(String aliyunYundunGatewayApiName) { this.putQueryParameter("AliyunYundunGatewayApiName", aliyunYundunGatewayApiName); this.aliyunYundunGatewayApiName = aliyunYundunGatewayApiName; return this; } /** * <p>This parameter is deprecated.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder aliyunYundunGatewayPopName(String aliyunYundunGatewayPopName) { this.putQueryParameter("AliyunYundunGatewayPopName", aliyunYundunGatewayPopName); this.aliyunYundunGatewayPopName = aliyunYundunGatewayPopName; return this; } /** * <p>This parameter is deprecated.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder aliyunYundunGatewayProjectName(String aliyunYundunGatewayProjectName) { this.putQueryParameter("AliyunYundunGatewayProjectName", aliyunYundunGatewayProjectName); this.aliyunYundunGatewayProjectName = aliyunYundunGatewayProjectName; return this; } /** * <p>The Simple Log Service Logstore that is used to store the audit logs.</p> * * <strong>example:</strong> * <p>audit-cf6baf6afa106eca665296fdf68b65bf</p> */ public Builder auditLogStore(String auditLogStore) { this.putQueryParameter("AuditLogStore", auditLogStore); this.auditLogStore = auditLogStore; return this; } /** * <p>The Simple Log Service project that is used to store the audit logs.</p> * * <strong>example:</strong> * <p>k8s-log-custom-huxintest1018-2</p> */ public Builder auditProject(String auditProject) { this.putQueryParameter("AuditProject", auditProject); this.auditProject = auditProject; return this; } /** * <p>The ID of the region in which the audit logs are stored.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder auditRegionId(String auditRegionId) { this.putQueryParameter("AuditRegionId", auditRegionId); this.auditRegionId = auditRegionId; return this; } /** * <p>The name of the Kubernetes cluster.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } /** * CpuArch. */ public Builder cpuArch(String cpuArch) { this.putQueryParameter("CpuArch", cpuArch); this.cpuArch = cpuArch; return this; } /** * <p>The time at which the container ends to be added.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1711951508388</p> */ public Builder expireDate(Long expireDate) { this.putQueryParameter("ExpireDate", expireDate); this.expireDate = expireDate; return this; } /** * <p>The group ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>11341690</p> */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The service provider of the cloud asset. Valid values:</p> * <ul> * <li><strong>Tencent</strong></li> * <li><strong>HUAWEICLOUD</strong></li> * <li><strong>Azure</strong></li> * <li><strong>AWS</strong></li> * <li><strong>Others</strong></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Tencent</p> */ public Builder vendor(String vendor) { this.putQueryParameter("Vendor", vendor); this.vendor = vendor; return this; } @Override public GenerateK8sAccessInfoRequest build() { return new GenerateK8sAccessInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateK8sAccessInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateK8sAccessInfoResponse} extends {@link TeaModel} * * <p>GenerateK8sAccessInfoResponse</p> */ public class GenerateK8sAccessInfoResponse 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 GenerateK8sAccessInfoResponseBody body; private GenerateK8sAccessInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GenerateK8sAccessInfoResponse 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 GenerateK8sAccessInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GenerateK8sAccessInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GenerateK8sAccessInfoResponseBody body); @Override GenerateK8sAccessInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GenerateK8sAccessInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GenerateK8sAccessInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GenerateK8sAccessInfoResponse 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(GenerateK8sAccessInfoResponseBody body) { this.body = body; return this; } @Override public GenerateK8sAccessInfoResponse build() { return new GenerateK8sAccessInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateK8sAccessInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateK8sAccessInfoResponseBody} extends {@link TeaModel} * * <p>GenerateK8sAccessInfoResponseBody</p> */ public class GenerateK8sAccessInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GenerateK8sAccessInfoResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GenerateK8sAccessInfoResponseBody 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(GenerateK8sAccessInfoResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The data returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>061955B2-BC40-589F-AF63-C40A901EE279</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GenerateK8sAccessInfoResponseBody build() { return new GenerateK8sAccessInfoResponseBody(this); } } /** * * {@link GenerateK8sAccessInfoResponseBody} extends {@link TeaModel} * * <p>GenerateK8sAccessInfoResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("AuditLogStore") private String auditLogStore; @com.aliyun.core.annotation.NameInMap("AuditProject") private String auditProject; @com.aliyun.core.annotation.NameInMap("AuditRegionId") private String auditRegionId; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("CpuArch") private String cpuArch; @com.aliyun.core.annotation.NameInMap("ExpireDate") private Long expireDate; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("InstallKey") private String installKey; private Data(Builder builder) { this.aliUid = builder.aliUid; this.auditLogStore = builder.auditLogStore; this.auditProject = builder.auditProject; this.auditRegionId = builder.auditRegionId; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.cpuArch = builder.cpuArch; this.expireDate = builder.expireDate; this.groupId = builder.groupId; this.installKey = builder.installKey; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return auditLogStore */ public String getAuditLogStore() { return this.auditLogStore; } /** * @return auditProject */ public String getAuditProject() { return this.auditProject; } /** * @return auditRegionId */ public String getAuditRegionId() { return this.auditRegionId; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return cpuArch */ public String getCpuArch() { return this.cpuArch; } /** * @return expireDate */ public Long getExpireDate() { return this.expireDate; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return installKey */ public String getInstallKey() { return this.installKey; } public static final class Builder { private Long aliUid; private String auditLogStore; private String auditProject; private String auditRegionId; private String clusterId; private String clusterName; private String cpuArch; private Long expireDate; private String groupId; private String installKey; private Builder() { } private Builder(Data model) { this.aliUid = model.aliUid; this.auditLogStore = model.auditLogStore; this.auditProject = model.auditProject; this.auditRegionId = model.auditRegionId; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.cpuArch = model.cpuArch; this.expireDate = model.expireDate; this.groupId = model.groupId; this.installKey = model.installKey; } /** * <p>The ID of the Alibaba Cloud account.</p> * * <strong>example:</strong> * <p>1766185894104***</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <p>The Simple Log Service Logstore that is used to store the audit logs.</p> * * <strong>example:</strong> * <p>audit-cf6baf6afa106eca665296fdf68b65bf</p> */ public Builder auditLogStore(String auditLogStore) { this.auditLogStore = auditLogStore; return this; } /** * <p>The Simple Log Service project that is used to store the audit logs.</p> * * <strong>example:</strong> * <p>k8s-log-custom-your-project-sd89ehaaa</p> */ public Builder auditProject(String auditProject) { this.auditProject = auditProject; return this; } /** * <p>The ID of the region in which the server is deployed.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder auditRegionId(String auditRegionId) { this.auditRegionId = auditRegionId; return this; } /** * <p>The cluster ID.</p> * * <strong>example:</strong> * <p>c8ca91e0907d94efaba7fb0827eb9****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The cluster name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * CpuArch. */ public Builder cpuArch(String cpuArch) { this.cpuArch = cpuArch; return this; } /** * <p>The expiration time. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1804230578566</p> */ public Builder expireDate(Long expireDate) { this.expireDate = expireDate; return this; } /** * <p>The server group ID.</p> * * <strong>example:</strong> * <p>11618788</p> */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * <p>The installation key of the server.</p> * * <strong>example:</strong> * <p>BC66185***</p> */ public Builder installKey(String installKey) { this.installKey = installKey; 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/GenerateOnceTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateOnceTaskRequest} extends {@link RequestModel} * * <p>GenerateOnceTaskRequest</p> */ public class GenerateOnceTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Param") @com.aliyun.core.annotation.Validation(required = true) private String param; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskName") @com.aliyun.core.annotation.Validation(required = true) private String taskName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") @com.aliyun.core.annotation.Validation(required = true) private String taskType; private GenerateOnceTaskRequest(Builder builder) { super(builder); this.param = builder.param; this.source = builder.source; this.taskName = builder.taskName; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static GenerateOnceTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return param */ public String getParam() { return this.param; } /** * @return source */ public String getSource() { return this.source; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<GenerateOnceTaskRequest, Builder> { private String param; private String source; private String taskName; private String taskType; private Builder() { super(); } private Builder(GenerateOnceTaskRequest request) { super(request); this.param = request.param; this.source = request.source; this.taskName = request.taskName; this.taskType = request.taskType; } /** * <p>The additional information.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>{&quot;mode&quot;:1,&quot;problemType&quot;:&quot;offline&quot;,&quot;uuids&quot;:&quot;inet-795dcad1-360f-49d2-b01e-b7da7f1c****&quot;}</p> */ public Builder param(String param) { this.putQueryParameter("Param", param); this.param = param; return this; } /** * <p>The source of the scan task.</p> * * <strong>example:</strong> * <p>Manual</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The name of the scan task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: a client diagnosis task</li> * <li><strong>CLIENT_DEV_OPS</strong>: an O&amp;M task of Cloud Assistant</li> * <li><strong>ASSET_SECURITY_CHECK</strong>: a task of asset information collection</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>CLIENT_PROBLEM_CHECK</p> */ public Builder taskName(String taskName) { this.putQueryParameter("TaskName", taskName); this.taskName = taskName; return this; } /** * <p>The type of the scan task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: a client diagnosis task</li> * <li><strong>CLIENT_DEV_OPS</strong>: an O&amp;M task of Cloud Assistant</li> * <li><strong>ASSET_SECURITY_CHECK</strong>: a task of asset information collection</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>CLIENT_PROBLEM_CHECK</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public GenerateOnceTaskRequest build() { return new GenerateOnceTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateOnceTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateOnceTaskResponse} extends {@link TeaModel} * * <p>GenerateOnceTaskResponse</p> */ public class GenerateOnceTaskResponse 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 GenerateOnceTaskResponseBody body; private GenerateOnceTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GenerateOnceTaskResponse 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 GenerateOnceTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GenerateOnceTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GenerateOnceTaskResponseBody body); @Override GenerateOnceTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GenerateOnceTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GenerateOnceTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GenerateOnceTaskResponse 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(GenerateOnceTaskResponseBody body) { this.body = body; return this; } @Override public GenerateOnceTaskResponse build() { return new GenerateOnceTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GenerateOnceTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GenerateOnceTaskResponseBody} extends {@link TeaModel} * * <p>GenerateOnceTaskResponseBody</p> */ public class GenerateOnceTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CanCreate") private Boolean canCreate; @com.aliyun.core.annotation.NameInMap("CollectTime") private Long collectTime; @com.aliyun.core.annotation.NameInMap("FinishCount") private Integer finishCount; @com.aliyun.core.annotation.NameInMap("LastTask") private String lastTask; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private GenerateOnceTaskResponseBody(Builder builder) { this.canCreate = builder.canCreate; this.collectTime = builder.collectTime; this.finishCount = builder.finishCount; this.lastTask = builder.lastTask; this.requestId = builder.requestId; this.taskId = builder.taskId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static GenerateOnceTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return canCreate */ public Boolean getCanCreate() { return this.canCreate; } /** * @return collectTime */ public Long getCollectTime() { return this.collectTime; } /** * @return finishCount */ public Integer getFinishCount() { return this.finishCount; } /** * @return lastTask */ public String getLastTask() { return this.lastTask; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Boolean canCreate; private Long collectTime; private Integer finishCount; private String lastTask; private String requestId; private String taskId; private Integer totalCount; private Builder() { } private Builder(GenerateOnceTaskResponseBody model) { this.canCreate = model.canCreate; this.collectTime = model.collectTime; this.finishCount = model.finishCount; this.lastTask = model.lastTask; this.requestId = model.requestId; this.taskId = model.taskId; this.totalCount = model.totalCount; } /** * <p>Indicates whether you can create more scan tasks. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * <blockquote> * <p>By default, a maximum of 10 scan tasks can be running at the same time. If 10 image scan tasks are running, you cannot create a scan task by calling this operation. You must wait for at least one of the 10 existing scan tasks to complete before you can create a scan task.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder canCreate(Boolean canCreate) { this.canCreate = canCreate; return this; } /** * <p>The collection time.</p> * * <strong>example:</strong> * <p>1670307567000</p> */ public Builder collectTime(Long collectTime) { this.collectTime = collectTime; return this; } /** * <p>The number of scan tasks that are complete.</p> * * <strong>example:</strong> * <p>61</p> */ public Builder finishCount(Integer finishCount) { this.finishCount = finishCount; return this; } /** * <p>The ID of the last scan task.</p> * * <strong>example:</strong> * <p>38730bb078f4a1461d4ed283994c****</p> */ public Builder lastTask(String lastTask) { this.lastTask = lastTask; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>8BB6B8FA-39E8-5654-A309-8EED13B1****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The ID of the scan task.</p> * * <strong>example:</strong> * <p>38730bb078f4a1461d4ed283994c****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The total number of scan tasks.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public GenerateOnceTaskResponseBody build() { return new GenerateOnceTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetAccountLabelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAccountLabelRequest} extends {@link RequestModel} * * <p>GetAccountLabelRequest</p> */ public class GetAccountLabelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LabelList") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> labelList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private GetAccountLabelRequest(Builder builder) { super(builder); this.labelList = builder.labelList; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static GetAccountLabelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return labelList */ public java.util.List<String> getLabelList() { return this.labelList; } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<GetAccountLabelRequest, Builder> { private java.util.List<String> labelList; private String lang; private Builder() { super(); } private Builder(GetAccountLabelRequest request) { super(request); this.labelList = request.labelList; this.lang = request.lang; } /** * <p>The tags.</p> * <p>This parameter is required.</p> */ public Builder labelList(java.util.List<String> labelList) { this.putQueryParameter("LabelList", labelList); this.labelList = labelList; 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; } @Override public GetAccountLabelRequest build() { return new GetAccountLabelRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetAccountLabelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAccountLabelResponse} extends {@link TeaModel} * * <p>GetAccountLabelResponse</p> */ public class GetAccountLabelResponse 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 GetAccountLabelResponseBody body; private GetAccountLabelResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetAccountLabelResponse 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 GetAccountLabelResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetAccountLabelResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetAccountLabelResponseBody body); @Override GetAccountLabelResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetAccountLabelResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetAccountLabelResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetAccountLabelResponse 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(GetAccountLabelResponseBody body) { this.body = body; return this; } @Override public GetAccountLabelResponse build() { return new GetAccountLabelResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetAccountLabelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAccountLabelResponseBody} extends {@link TeaModel} * * <p>GetAccountLabelResponseBody</p> */ public class GetAccountLabelResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountLabelList") private java.util.List<AccountLabelList> accountLabelList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetAccountLabelResponseBody(Builder builder) { this.accountLabelList = builder.accountLabelList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetAccountLabelResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accountLabelList */ public java.util.List<AccountLabelList> getAccountLabelList() { return this.accountLabelList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<AccountLabelList> accountLabelList; private String requestId; private Builder() { } private Builder(GetAccountLabelResponseBody model) { this.accountLabelList = model.accountLabelList; this.requestId = model.requestId; } /** * <p>The tag list.</p> */ public Builder accountLabelList(java.util.List<AccountLabelList> accountLabelList) { this.accountLabelList = accountLabelList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7BC55C8F-226E-5AF5-9A2C-2EC43864****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetAccountLabelResponseBody build() { return new GetAccountLabelResponseBody(this); } } /** * * {@link GetAccountLabelResponseBody} extends {@link TeaModel} * * <p>GetAccountLabelResponseBody</p> */ public static class AccountLabelList extends TeaModel { @com.aliyun.core.annotation.NameInMap("LabelSeries") private String labelSeries; @com.aliyun.core.annotation.NameInMap("LabelStatus") private Boolean labelStatus; private AccountLabelList(Builder builder) { this.labelSeries = builder.labelSeries; this.labelStatus = builder.labelStatus; } public static Builder builder() { return new Builder(); } public static AccountLabelList create() { return builder().build(); } /** * @return labelSeries */ public String getLabelSeries() { return this.labelSeries; } /** * @return labelStatus */ public Boolean getLabelStatus() { return this.labelStatus; } public static final class Builder { private String labelSeries; private Boolean labelStatus; private Builder() { } private Builder(AccountLabelList model) { this.labelSeries = model.labelSeries; this.labelStatus = model.labelStatus; } /** * <p>The tag information.</p> * * <strong>example:</strong> * <p>SasStep</p> */ public Builder labelSeries(String labelSeries) { this.labelSeries = labelSeries; return this; } /** * <p>Indicates whether the tag is valid.</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder labelStatus(Boolean labelStatus) { this.labelStatus = labelStatus; return this; } public AccountLabelList build() { return new AccountLabelList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetAegisContainerPluginRuleCriteriaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAegisContainerPluginRuleCriteriaRequest} extends {@link RequestModel} * * <p>GetAegisContainerPluginRuleCriteriaRequest</p> */ public class GetAegisContainerPluginRuleCriteriaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Value") private String value; private GetAegisContainerPluginRuleCriteriaRequest(Builder builder) { super(builder); this.lang = builder.lang; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static GetAegisContainerPluginRuleCriteriaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder extends Request.Builder<GetAegisContainerPluginRuleCriteriaRequest, Builder> { private String lang; private String value; private Builder() { super(); } private Builder(GetAegisContainerPluginRuleCriteriaRequest request) { super(request); this.lang = request.lang; this.value = request.value; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The value of the search condition.</p> * * <strong>example:</strong> * <p>ss</p> */ public Builder value(String value) { this.putQueryParameter("Value", value); this.value = value; return this; } @Override public GetAegisContainerPluginRuleCriteriaRequest build() { return new GetAegisContainerPluginRuleCriteriaRequest(this); } } }