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/DescribeInstallCodeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstallCodeResponseBody} extends {@link TeaModel} * * <p>DescribeInstallCodeResponseBody</p> */ public class DescribeInstallCodeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeInstallCodeResponseBody(Builder builder) { this.code = builder.code; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeInstallCodeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String code; private String requestId; private Builder() { } private Builder(DescribeInstallCodeResponseBody model) { this.code = model.code; this.requestId = model.requestId; } /** * <p>The status code returned. The status code <strong>200</strong> indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>A4EB8B1C-1DEC-5E18-BCD0-D1BBB393****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeInstallCodeResponseBody build() { return new DescribeInstallCodeResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstallCodesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstallCodesRequest} extends {@link RequestModel} * * <p>DescribeInstallCodesRequest</p> */ public class DescribeInstallCodesRequest extends Request { private DescribeInstallCodesRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeInstallCodesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeInstallCodesRequest, Builder> { private Builder() { super(); } private Builder(DescribeInstallCodesRequest request) { super(request); } @Override public DescribeInstallCodesRequest build() { return new DescribeInstallCodesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstallCodesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstallCodesResponse} extends {@link TeaModel} * * <p>DescribeInstallCodesResponse</p> */ public class DescribeInstallCodesResponse 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 DescribeInstallCodesResponseBody body; private DescribeInstallCodesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstallCodesResponse 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 DescribeInstallCodesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstallCodesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstallCodesResponseBody body); @Override DescribeInstallCodesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstallCodesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstallCodesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstallCodesResponse 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(DescribeInstallCodesResponseBody body) { this.body = body; return this; } @Override public DescribeInstallCodesResponse build() { return new DescribeInstallCodesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstallCodesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstallCodesResponseBody} extends {@link TeaModel} * * <p>DescribeInstallCodesResponseBody</p> */ public class DescribeInstallCodesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstallCodes") private java.util.List<InstallCodes> installCodes; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeInstallCodesResponseBody(Builder builder) { this.installCodes = builder.installCodes; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeInstallCodesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return installCodes */ public java.util.List<InstallCodes> getInstallCodes() { return this.installCodes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<InstallCodes> installCodes; private String requestId; private Builder() { } private Builder(DescribeInstallCodesResponseBody model) { this.installCodes = model.installCodes; this.requestId = model.requestId; } /** * <p>The information about the installation commands.</p> */ public Builder installCodes(java.util.List<InstallCodes> installCodes) { this.installCodes = installCodes; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>C0D6119F-92EE-1276-B8B6-C81A7F9D57F5</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeInstallCodesResponseBody build() { return new DescribeInstallCodesResponseBody(this); } } /** * * {@link DescribeInstallCodesResponseBody} extends {@link TeaModel} * * <p>DescribeInstallCodesResponseBody</p> */ public static class InstallCodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("CaptchaCode") private String captchaCode; @com.aliyun.core.annotation.NameInMap("ExpiredDate") private Long expiredDate; @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("OnlyImage") private Boolean onlyImage; @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("PrivateLinkEndpointId") private Long privateLinkEndpointId; @com.aliyun.core.annotation.NameInMap("ProxyCluster") private String proxyCluster; @com.aliyun.core.annotation.NameInMap("VendorName") private String vendorName; private InstallCodes(Builder builder) { this.captchaCode = builder.captchaCode; this.expiredDate = builder.expiredDate; this.groupId = builder.groupId; this.groupName = builder.groupName; this.onlyImage = builder.onlyImage; this.os = builder.os; this.privateLinkEndpointId = builder.privateLinkEndpointId; this.proxyCluster = builder.proxyCluster; this.vendorName = builder.vendorName; } public static Builder builder() { return new Builder(); } public static InstallCodes create() { return builder().build(); } /** * @return captchaCode */ public String getCaptchaCode() { return this.captchaCode; } /** * @return expiredDate */ public Long getExpiredDate() { return this.expiredDate; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return onlyImage */ public Boolean getOnlyImage() { return this.onlyImage; } /** * @return os */ public String getOs() { return this.os; } /** * @return privateLinkEndpointId */ public Long getPrivateLinkEndpointId() { return this.privateLinkEndpointId; } /** * @return proxyCluster */ public String getProxyCluster() { return this.proxyCluster; } /** * @return vendorName */ public String getVendorName() { return this.vendorName; } public static final class Builder { private String captchaCode; private Long expiredDate; private Long groupId; private String groupName; private Boolean onlyImage; private String os; private Long privateLinkEndpointId; private String proxyCluster; private String vendorName; private Builder() { } private Builder(InstallCodes model) { this.captchaCode = model.captchaCode; this.expiredDate = model.expiredDate; this.groupId = model.groupId; this.groupName = model.groupName; this.onlyImage = model.onlyImage; this.os = model.os; this.privateLinkEndpointId = model.privateLinkEndpointId; this.proxyCluster = model.proxyCluster; this.vendorName = model.vendorName; } /** * <p>The verification code for you to manually install the Security Center agent.</p> * * <strong>example:</strong> * <p>15v02r</p> */ public Builder captchaCode(String captchaCode) { this.captchaCode = captchaCode; return this; } /** * <p>The timestamp generated when the commands used to install the Security Center agent expire. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1637810007000</p> */ public Builder expiredDate(Long expiredDate) { this.expiredDate = expiredDate; return this; } /** * <p>The ID of the server group to which the server belongs.</p> * * <strong>example:</strong> * <p>9165712</p> */ public Builder groupId(Long groupId) { this.groupId = groupId; return this; } /** * <p>The name of the server group to which the server belongs.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * <p>Indicates whether an image is used to install the Security Center agent. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder onlyImage(Boolean onlyImage) { this.onlyImage = onlyImage; return this; } /** * <p>The operating system of the server. Valid values:</p> * <ul> * <li><strong>linux</strong></li> * <li><strong>windows</strong></li> * </ul> * * <strong>example:</strong> * <p>linux</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The ID of the PrivateLink endpoint.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder privateLinkEndpointId(Long privateLinkEndpointId) { this.privateLinkEndpointId = privateLinkEndpointId; return this; } /** * <p>The name of the proxy cluster.</p> * * <strong>example:</strong> * <p>proxy_test</p> */ public Builder proxyCluster(String proxyCluster) { this.proxyCluster = proxyCluster; return this; } /** * <p>The name of the server provider.</p> * * <strong>example:</strong> * <p>ALIYUN</p> */ public Builder vendorName(String vendorName) { this.vendorName = vendorName; return this; } public InstallCodes build() { return new InstallCodes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceAntiBruteForceRulesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAntiBruteForceRulesRequest} extends {@link RequestModel} * * <p>DescribeInstanceAntiBruteForceRulesRequest</p> */ public class DescribeInstanceAntiBruteForceRulesRequest 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("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UuidList") private java.util.List<String> uuidList; private DescribeInstanceAntiBruteForceRulesRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.resourceOwnerId = builder.resourceOwnerId; this.sourceIp = builder.sourceIp; this.uuidList = builder.uuidList; } public static Builder builder() { return new Builder(); } public static DescribeInstanceAntiBruteForceRulesRequest 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 resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return uuidList */ public java.util.List<String> getUuidList() { return this.uuidList; } public static final class Builder extends Request.Builder<DescribeInstanceAntiBruteForceRulesRequest, Builder> { private Integer currentPage; private Integer pageSize; private Long resourceOwnerId; private String sourceIp; private java.util.List<String> uuidList; private Builder() { super(); } private Builder(DescribeInstanceAntiBruteForceRulesRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.resourceOwnerId = request.resourceOwnerId; this.sourceIp = request.sourceIp; this.uuidList = request.uuidList; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10000</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>115.238.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The UUIDs of the servers.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> */ public Builder uuidList(java.util.List<String> uuidList) { this.putQueryParameter("UuidList", uuidList); this.uuidList = uuidList; return this; } @Override public DescribeInstanceAntiBruteForceRulesRequest build() { return new DescribeInstanceAntiBruteForceRulesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceAntiBruteForceRulesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAntiBruteForceRulesResponse} extends {@link TeaModel} * * <p>DescribeInstanceAntiBruteForceRulesResponse</p> */ public class DescribeInstanceAntiBruteForceRulesResponse 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 DescribeInstanceAntiBruteForceRulesResponseBody body; private DescribeInstanceAntiBruteForceRulesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceAntiBruteForceRulesResponse 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 DescribeInstanceAntiBruteForceRulesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceAntiBruteForceRulesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceAntiBruteForceRulesResponseBody body); @Override DescribeInstanceAntiBruteForceRulesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceAntiBruteForceRulesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceAntiBruteForceRulesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceAntiBruteForceRulesResponse 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(DescribeInstanceAntiBruteForceRulesResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceAntiBruteForceRulesResponse build() { return new DescribeInstanceAntiBruteForceRulesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceAntiBruteForceRulesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceAntiBruteForceRulesResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAntiBruteForceRulesResponseBody</p> */ public class DescribeInstanceAntiBruteForceRulesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Rules") private java.util.List<Rules> rules; private DescribeInstanceAntiBruteForceRulesResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.rules = builder.rules; } public static Builder builder() { return new Builder(); } public static DescribeInstanceAntiBruteForceRulesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return rules */ public java.util.List<Rules> getRules() { return this.rules; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<Rules> rules; private Builder() { } private Builder(DescribeInstanceAntiBruteForceRulesResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.rules = model.rules; } /** * <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>97286A-4A6B-4A4-95FA-EC7E3E2451</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array consisting of the servers to which a defense rule is applied.</p> */ public Builder rules(java.util.List<Rules> rules) { this.rules = rules; return this; } public DescribeInstanceAntiBruteForceRulesResponseBody build() { return new DescribeInstanceAntiBruteForceRulesResponseBody(this); } } /** * * {@link DescribeInstanceAntiBruteForceRulesResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAntiBruteForceRulesResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of servers returned on the current page.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of servers returned.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribeInstanceAntiBruteForceRulesResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAntiBruteForceRulesResponseBody</p> */ public static class Rules extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Rules(Builder builder) { this.id = builder.id; this.name = builder.name; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Rules create() { return builder().build(); } /** * @return id */ public Long getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Long id; private String name; private String uuid; private Builder() { } private Builder(Rules model) { this.id = model.id; this.name = model.name; this.uuid = model.uuid; } /** * <p>The ID of the defense rule.</p> * * <strong>example:</strong> * <p>215779601</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the defense rule.</p> * * <strong>example:</strong> * <p>TestRule</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The UUID of the server to which the defense rule is applied.</p> * * <strong>example:</strong> * <p>4fe8e1cd-3c37-4851-b9de-124da32c****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Rules build() { return new Rules(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceRebootStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceRebootStatusRequest} extends {@link RequestModel} * * <p>DescribeInstanceRebootStatusRequest</p> */ public class DescribeInstanceRebootStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") @com.aliyun.core.annotation.Validation(required = true) private String uuids; private DescribeInstanceRebootStatusRequest(Builder builder) { super(builder); this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static DescribeInstanceRebootStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<DescribeInstanceRebootStatusRequest, Builder> { private String uuids; private Builder() { super(); } private Builder(DescribeInstanceRebootStatusRequest request) { super(request); this.uuids = request.uuids; } /** * <p>The UUIDs of the servers that you restart. Separate multiple UUIDs with commas (,).</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>d77f7802-4f0a-4221-ab02-4d999e****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public DescribeInstanceRebootStatusRequest build() { return new DescribeInstanceRebootStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceRebootStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceRebootStatusResponse} extends {@link TeaModel} * * <p>DescribeInstanceRebootStatusResponse</p> */ public class DescribeInstanceRebootStatusResponse 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 DescribeInstanceRebootStatusResponseBody body; private DescribeInstanceRebootStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceRebootStatusResponse 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 DescribeInstanceRebootStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceRebootStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceRebootStatusResponseBody body); @Override DescribeInstanceRebootStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceRebootStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceRebootStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceRebootStatusResponse 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(DescribeInstanceRebootStatusResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceRebootStatusResponse build() { return new DescribeInstanceRebootStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceRebootStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceRebootStatusResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceRebootStatusResponseBody</p> */ public class DescribeInstanceRebootStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RebootStatuses") private java.util.List<RebootStatuses> rebootStatuses; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeInstanceRebootStatusResponseBody(Builder builder) { this.rebootStatuses = builder.rebootStatuses; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeInstanceRebootStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return rebootStatuses */ public java.util.List<RebootStatuses> getRebootStatuses() { return this.rebootStatuses; } /** * @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<RebootStatuses> rebootStatuses; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeInstanceRebootStatusResponseBody model) { this.rebootStatuses = model.rebootStatuses; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>An array that consists of the status information about the servers that you restart.</p> */ public Builder rebootStatuses(java.util.List<RebootStatuses> rebootStatuses) { this.rebootStatuses = rebootStatuses; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>5BD95679-D63A-4151-97D0-188432F4A57</p> */ public Builder requestId(String requestId) { this.requestId = requestId; 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 DescribeInstanceRebootStatusResponseBody build() { return new DescribeInstanceRebootStatusResponseBody(this); } } /** * * {@link DescribeInstanceRebootStatusResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceRebootStatusResponseBody</p> */ public static class RebootStatuses extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Msg") private String msg; @com.aliyun.core.annotation.NameInMap("RebootStatus") private Integer rebootStatus; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private RebootStatuses(Builder builder) { this.code = builder.code; this.msg = builder.msg; this.rebootStatus = builder.rebootStatus; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static RebootStatuses create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return msg */ public String getMsg() { return this.msg; } /** * @return rebootStatus */ public Integer getRebootStatus() { return this.rebootStatus; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String code; private String msg; private Integer rebootStatus; private String uuid; private Builder() { } private Builder(RebootStatuses model) { this.code = model.code; this.msg = model.msg; this.rebootStatus = model.rebootStatus; this.uuid = model.uuid; } /** * <p>The error code that is returned when the server failed to be restarted. Valid values:</p> * <ul> * <li><strong>10001</strong>: The restart command failed to be sent.</li> * <li><strong>10002</strong>: The restart operation failed.</li> * <li><strong>10003</strong>: A timeout error occurs.</li> * </ul> * * <strong>example:</strong> * <p>10001</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The message that is returned when the server failed to be restarted.</p> * * <strong>example:</strong> * <p>push failed</p> */ public Builder msg(String msg) { this.msg = msg; return this; } /** * <p>The status of the server. Valid values:</p> * <ul> * <li><strong>0</strong>: The server is being restarted.</li> * <li><strong>1</strong>: The server is restarted.</li> * <li><strong>2</strong>: The server failed to be restarted.</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder rebootStatus(Integer rebootStatus) { this.rebootStatus = rebootStatus; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>9b59c2d6-0967-46e3-ad7b-152227c****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public RebootStatuses build() { return new RebootStatuses(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceStatisticsRequest} extends {@link RequestModel} * * <p>DescribeInstanceStatisticsRequest</p> */ public class DescribeInstanceStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") @com.aliyun.core.annotation.Validation(required = true) private String from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private DescribeInstanceStatisticsRequest(Builder builder) { super(builder); this.from = builder.from; this.lang = builder.lang; this.sourceIp = builder.sourceIp; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeInstanceStatisticsRequest 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; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeInstanceStatisticsRequest, Builder> { private String from; private String lang; private String sourceIp; private String uuid; private Builder() { super(); } private Builder(DescribeInstanceStatisticsRequest request) { super(request); this.from = request.from; this.lang = request.lang; this.sourceIp = request.sourceIp; this.uuid = request.uuid; } /** * <p>The source of the request. Set the value to <strong>sas</strong>, which indicates that the request is sent from Security Center.</p> * <p>This parameter is required.</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>1.2.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The UUIDs of the assets to query. Separate multiple UUIDs with commas (,). You can call the <a href="https://help.aliyun.com/document_detail/141932.html">DescribeCloudCenterInstances</a> operation to query the UUIDs of assets.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>6690a46c-0edb-4663-a641-3629d1a9****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeInstanceStatisticsRequest build() { return new DescribeInstanceStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceStatisticsResponse} extends {@link TeaModel} * * <p>DescribeInstanceStatisticsResponse</p> */ public class DescribeInstanceStatisticsResponse 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 DescribeInstanceStatisticsResponseBody body; private DescribeInstanceStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceStatisticsResponse 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 DescribeInstanceStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceStatisticsResponseBody body); @Override DescribeInstanceStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceStatisticsResponse 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(DescribeInstanceStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceStatisticsResponse build() { return new DescribeInstanceStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceStatisticsResponseBody</p> */ public class DescribeInstanceStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeInstanceStatisticsResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private String requestId; private Builder() { } private Builder(DescribeInstanceStatisticsResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The risk information about assets.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>8F035A9D-D19F-5430-8CA5-1497991B7C61</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeInstanceStatisticsResponseBody build() { return new DescribeInstanceStatisticsResponseBody(this); } } /** * * {@link DescribeInstanceStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceStatisticsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private Integer account; @com.aliyun.core.annotation.NameInMap("AgentlessAll") private Integer agentlessAll; @com.aliyun.core.annotation.NameInMap("AgentlessBaseline") private Integer agentlessBaseline; @com.aliyun.core.annotation.NameInMap("AgentlessMalicious") private Integer agentlessMalicious; @com.aliyun.core.annotation.NameInMap("AgentlessSensitiveFile") private Integer agentlessSensitiveFile; @com.aliyun.core.annotation.NameInMap("AgentlessVulCve") private Integer agentlessVulCve; @com.aliyun.core.annotation.NameInMap("AgentlessVulSca") private Integer agentlessVulSca; @com.aliyun.core.annotation.NameInMap("AgentlessVulSys") private Integer agentlessVulSys; @com.aliyun.core.annotation.NameInMap("AppNum") private Integer appNum; @com.aliyun.core.annotation.NameInMap("CmsNum") private Integer cmsNum; @com.aliyun.core.annotation.NameInMap("CspmHighRiskNum") private String cspmHighRiskNum; @com.aliyun.core.annotation.NameInMap("CspmNum") private Integer cspmNum; @com.aliyun.core.annotation.NameInMap("CveNum") private Integer cveNum; @com.aliyun.core.annotation.NameInMap("EmgNum") private Integer emgNum; @com.aliyun.core.annotation.NameInMap("Health") private Integer health; @com.aliyun.core.annotation.NameInMap("RemindSuspiciousNum") private String remindSuspiciousNum; @com.aliyun.core.annotation.NameInMap("ScaNum") private Integer scaNum; @com.aliyun.core.annotation.NameInMap("SeriousSuspiciousNum") private String seriousSuspiciousNum; @com.aliyun.core.annotation.NameInMap("SuspectSuspiciousNum") private String suspectSuspiciousNum; @com.aliyun.core.annotation.NameInMap("Suspicious") private Integer suspicious; @com.aliyun.core.annotation.NameInMap("SysAsapVulCount") private String sysAsapVulCount; @com.aliyun.core.annotation.NameInMap("SysNum") private Integer sysNum; @com.aliyun.core.annotation.NameInMap("Trojan") private Integer trojan; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("Vul") private Integer vul; @com.aliyun.core.annotation.NameInMap("WeakPWNum") private Integer weakPWNum; private Data(Builder builder) { this.account = builder.account; this.agentlessAll = builder.agentlessAll; this.agentlessBaseline = builder.agentlessBaseline; this.agentlessMalicious = builder.agentlessMalicious; this.agentlessSensitiveFile = builder.agentlessSensitiveFile; this.agentlessVulCve = builder.agentlessVulCve; this.agentlessVulSca = builder.agentlessVulSca; this.agentlessVulSys = builder.agentlessVulSys; this.appNum = builder.appNum; this.cmsNum = builder.cmsNum; this.cspmHighRiskNum = builder.cspmHighRiskNum; this.cspmNum = builder.cspmNum; this.cveNum = builder.cveNum; this.emgNum = builder.emgNum; this.health = builder.health; this.remindSuspiciousNum = builder.remindSuspiciousNum; this.scaNum = builder.scaNum; this.seriousSuspiciousNum = builder.seriousSuspiciousNum; this.suspectSuspiciousNum = builder.suspectSuspiciousNum; this.suspicious = builder.suspicious; this.sysAsapVulCount = builder.sysAsapVulCount; this.sysNum = builder.sysNum; this.trojan = builder.trojan; this.uuid = builder.uuid; this.vul = builder.vul; this.weakPWNum = builder.weakPWNum; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return account */ public Integer getAccount() { return this.account; } /** * @return agentlessAll */ public Integer getAgentlessAll() { return this.agentlessAll; } /** * @return agentlessBaseline */ public Integer getAgentlessBaseline() { return this.agentlessBaseline; } /** * @return agentlessMalicious */ public Integer getAgentlessMalicious() { return this.agentlessMalicious; } /** * @return agentlessSensitiveFile */ public Integer getAgentlessSensitiveFile() { return this.agentlessSensitiveFile; } /** * @return agentlessVulCve */ public Integer getAgentlessVulCve() { return this.agentlessVulCve; } /** * @return agentlessVulSca */ public Integer getAgentlessVulSca() { return this.agentlessVulSca; } /** * @return agentlessVulSys */ public Integer getAgentlessVulSys() { return this.agentlessVulSys; } /** * @return appNum */ public Integer getAppNum() { return this.appNum; } /** * @return cmsNum */ public Integer getCmsNum() { return this.cmsNum; } /** * @return cspmHighRiskNum */ public String getCspmHighRiskNum() { return this.cspmHighRiskNum; } /** * @return cspmNum */ public Integer getCspmNum() { return this.cspmNum; } /** * @return cveNum */ public Integer getCveNum() { return this.cveNum; } /** * @return emgNum */ public Integer getEmgNum() { return this.emgNum; } /** * @return health */ public Integer getHealth() { return this.health; } /** * @return remindSuspiciousNum */ public String getRemindSuspiciousNum() { return this.remindSuspiciousNum; } /** * @return scaNum */ public Integer getScaNum() { return this.scaNum; } /** * @return seriousSuspiciousNum */ public String getSeriousSuspiciousNum() { return this.seriousSuspiciousNum; } /** * @return suspectSuspiciousNum */ public String getSuspectSuspiciousNum() { return this.suspectSuspiciousNum; } /** * @return suspicious */ public Integer getSuspicious() { return this.suspicious; } /** * @return sysAsapVulCount */ public String getSysAsapVulCount() { return this.sysAsapVulCount; } /** * @return sysNum */ public Integer getSysNum() { return this.sysNum; } /** * @return trojan */ public Integer getTrojan() { return this.trojan; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return vul */ public Integer getVul() { return this.vul; } /** * @return weakPWNum */ public Integer getWeakPWNum() { return this.weakPWNum; } public static final class Builder { private Integer account; private Integer agentlessAll; private Integer agentlessBaseline; private Integer agentlessMalicious; private Integer agentlessSensitiveFile; private Integer agentlessVulCve; private Integer agentlessVulSca; private Integer agentlessVulSys; private Integer appNum; private Integer cmsNum; private String cspmHighRiskNum; private Integer cspmNum; private Integer cveNum; private Integer emgNum; private Integer health; private String remindSuspiciousNum; private Integer scaNum; private String seriousSuspiciousNum; private String suspectSuspiciousNum; private Integer suspicious; private String sysAsapVulCount; private Integer sysNum; private Integer trojan; private String uuid; private Integer vul; private Integer weakPWNum; private Builder() { } private Builder(Data model) { this.account = model.account; this.agentlessAll = model.agentlessAll; this.agentlessBaseline = model.agentlessBaseline; this.agentlessMalicious = model.agentlessMalicious; this.agentlessSensitiveFile = model.agentlessSensitiveFile; this.agentlessVulCve = model.agentlessVulCve; this.agentlessVulSca = model.agentlessVulSca; this.agentlessVulSys = model.agentlessVulSys; this.appNum = model.appNum; this.cmsNum = model.cmsNum; this.cspmHighRiskNum = model.cspmHighRiskNum; this.cspmNum = model.cspmNum; this.cveNum = model.cveNum; this.emgNum = model.emgNum; this.health = model.health; this.remindSuspiciousNum = model.remindSuspiciousNum; this.scaNum = model.scaNum; this.seriousSuspiciousNum = model.seriousSuspiciousNum; this.suspectSuspiciousNum = model.suspectSuspiciousNum; this.suspicious = model.suspicious; this.sysAsapVulCount = model.sysAsapVulCount; this.sysNum = model.sysNum; this.trojan = model.trojan; this.uuid = model.uuid; this.vul = model.vul; this.weakPWNum = model.weakPWNum; } /** * <p>The number of unusual logons to the asset.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder account(Integer account) { this.account = account; return this; } /** * <p>The number of alerts generated by the agentless detection feature.</p> * * <strong>example:</strong> * <p>13</p> */ public Builder agentlessAll(Integer agentlessAll) { this.agentlessAll = agentlessAll; return this; } /** * <p>The number of baseline risks detected by the agentless detection feature.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder agentlessBaseline(Integer agentlessBaseline) { this.agentlessBaseline = agentlessBaseline; return this; } /** * <p>The number of malicious samples detected by the agentless detection feature.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder agentlessMalicious(Integer agentlessMalicious) { this.agentlessMalicious = agentlessMalicious; return this; } /** * <p>The number of sensitive file alerts generated by the agentless detection feature.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder agentlessSensitiveFile(Integer agentlessSensitiveFile) { this.agentlessSensitiveFile = agentlessSensitiveFile; return this; } /** * <p>The number of system vulnerabilities detected by the agentless detection feature.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder agentlessVulCve(Integer agentlessVulCve) { this.agentlessVulCve = agentlessVulCve; return this; } /** * <p>The number of application vulnerabilities detected by the agentless detection feature.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder agentlessVulSca(Integer agentlessVulSca) { this.agentlessVulSca = agentlessVulSca; return this; } /** * <p>The number of Windows vulnerabilities detected by using agentless detection.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder agentlessVulSys(Integer agentlessVulSys) { this.agentlessVulSys = agentlessVulSys; return this; } /** * <p>The number of application vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder appNum(Integer appNum) { this.appNum = appNum; return this; } /** * <p>The number of Web-CMS vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder cmsNum(Integer cmsNum) { this.cmsNum = cmsNum; return this; } /** * <p>Number of high-risk CSPM issues in the system</p> * * <strong>example:</strong> * <p>1</p> */ public Builder cspmHighRiskNum(String cspmHighRiskNum) { this.cspmHighRiskNum = cspmHighRiskNum; return this; } /** * <p>The number of configuration risks detected on the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder cspmNum(Integer cspmNum) { this.cspmNum = cspmNum; return this; } /** * <p>The number of common vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder cveNum(Integer cveNum) { this.cveNum = cveNum; return this; } /** * <p>The number of urgent vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>6</p> */ public Builder emgNum(Integer emgNum) { this.emgNum = emgNum; return this; } /** * <p>The number of baseline risks detected on the asset.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder health(Integer health) { this.health = health; return this; } /** * <p>Number of security alerts for asset existence reminders.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder remindSuspiciousNum(String remindSuspiciousNum) { this.remindSuspiciousNum = remindSuspiciousNum; return this; } /** * <p>The number of middleware vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder scaNum(Integer scaNum) { this.scaNum = scaNum; return this; } /** * <p>Number of high-risk security alerts for the asset.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder seriousSuspiciousNum(String seriousSuspiciousNum) { this.seriousSuspiciousNum = seriousSuspiciousNum; return this; } /** * <p>Number of suspicious security alerts for the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder suspectSuspiciousNum(String suspectSuspiciousNum) { this.suspectSuspiciousNum = suspectSuspiciousNum; return this; } /** * <p>The number of alerts generated for the asset.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder suspicious(Integer suspicious) { this.suspicious = suspicious; return this; } /** * <p>Number of system vulnerabilities in the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder sysAsapVulCount(String sysAsapVulCount) { this.sysAsapVulCount = sysAsapVulCount; return this; } /** * <p>The number of Windows system vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder sysNum(Integer sysNum) { this.sysNum = sysNum; return this; } /** * <p>The number of trojans detected on the asset.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder trojan(Integer trojan) { this.trojan = trojan; return this; } /** * <p>The UUID of the asset.</p> * * <strong>example:</strong> * <p>6690a46c-0edb-4663-a641-3629d1a9****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>The total number of vulnerabilities detected on the asset.</p> * * <strong>example:</strong> * <p>17</p> */ public Builder vul(Integer vul) { this.vul = vul; return this; } /** * <p>The number of weak passwords.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder weakPWNum(Integer weakPWNum) { this.weakPWNum = weakPWNum; 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/DescribeInstanceVulStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceVulStatisticsRequest} extends {@link RequestModel} * * <p>DescribeInstanceVulStatisticsRequest</p> */ public class DescribeInstanceVulStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Types") private String types; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") @com.aliyun.core.annotation.Validation(required = true) private String uuid; private DescribeInstanceVulStatisticsRequest(Builder builder) { super(builder); this.types = builder.types; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeInstanceVulStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return types */ public String getTypes() { return this.types; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeInstanceVulStatisticsRequest, Builder> { private String types; private String uuid; private Builder() { super(); } private Builder(DescribeInstanceVulStatisticsRequest request) { super(request); this.types = request.types; this.uuid = request.uuid; } /** * <p>The vulnerability type of the serverless instance. Valid values:</p> * <ul> * <li><strong>sca</strong>: middleware vulnerabilities</li> * <li><strong>app</strong>: application vulnerabilities detected by using a scanner</li> * </ul> * <blockquote> * <p> Serverless instances allow you to detect only application vulnerabilities by using a scanner.</p> * </blockquote> * * <strong>example:</strong> * <p>sca,app</p> */ public Builder types(String types) { this.putQueryParameter("Types", types); this.types = types; return this; } /** * <p>The UUID of the instance to query.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUID of the instance.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5b268326-273e-44fc-a0e3-9482435c****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeInstanceVulStatisticsRequest build() { return new DescribeInstanceVulStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceVulStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceVulStatisticsResponse} extends {@link TeaModel} * * <p>DescribeInstanceVulStatisticsResponse</p> */ public class DescribeInstanceVulStatisticsResponse 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 DescribeInstanceVulStatisticsResponseBody body; private DescribeInstanceVulStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceVulStatisticsResponse 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 DescribeInstanceVulStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceVulStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceVulStatisticsResponseBody body); @Override DescribeInstanceVulStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceVulStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceVulStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceVulStatisticsResponse 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(DescribeInstanceVulStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceVulStatisticsResponse build() { return new DescribeInstanceVulStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeInstanceVulStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeInstanceVulStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceVulStatisticsResponseBody</p> */ public class DescribeInstanceVulStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VulStat") private VulStat vulStat; private DescribeInstanceVulStatisticsResponseBody(Builder builder) { this.requestId = builder.requestId; this.vulStat = builder.vulStat; } public static Builder builder() { return new Builder(); } public static DescribeInstanceVulStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vulStat */ public VulStat getVulStat() { return this.vulStat; } public static final class Builder { private String requestId; private VulStat vulStat; private Builder() { } private Builder(DescribeInstanceVulStatisticsResponseBody model) { this.requestId = model.requestId; this.vulStat = model.vulStat; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>1EE7B150-D67E-53FD-A52D-3E8E669A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The statistics of the vulnerabilities.</p> */ public Builder vulStat(VulStat vulStat) { this.vulStat = vulStat; return this; } public DescribeInstanceVulStatisticsResponseBody build() { return new DescribeInstanceVulStatisticsResponseBody(this); } } /** * * {@link DescribeInstanceVulStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceVulStatisticsResponseBody</p> */ public static class VulStat extends TeaModel { @com.aliyun.core.annotation.NameInMap("AsapCount") private String asapCount; @com.aliyun.core.annotation.NameInMap("LaterCount") private String laterCount; @com.aliyun.core.annotation.NameInMap("NntfCount") private String nntfCount; private VulStat(Builder builder) { this.asapCount = builder.asapCount; this.laterCount = builder.laterCount; this.nntfCount = builder.nntfCount; } public static Builder builder() { return new Builder(); } public static VulStat create() { return builder().build(); } /** * @return asapCount */ public String getAsapCount() { return this.asapCount; } /** * @return laterCount */ public String getLaterCount() { return this.laterCount; } /** * @return nntfCount */ public String getNntfCount() { return this.nntfCount; } public static final class Builder { private String asapCount; private String laterCount; private String nntfCount; private Builder() { } private Builder(VulStat model) { this.asapCount = model.asapCount; this.laterCount = model.laterCount; this.nntfCount = model.nntfCount; } /** * <p>The number of high-risk vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder asapCount(String asapCount) { this.asapCount = asapCount; return this; } /** * <p>The number of medium-risk vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder laterCount(String laterCount) { this.laterCount = laterCount; return this; } /** * <p>The number of low-risk vulnerabilities.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder nntfCount(String nntfCount) { this.nntfCount = nntfCount; return this; } public VulStat build() { return new VulStat(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLatestScanTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLatestScanTaskRequest} extends {@link RequestModel} * * <p>DescribeLatestScanTaskRequest</p> */ public class DescribeLatestScanTaskRequest extends Request { private DescribeLatestScanTaskRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeLatestScanTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeLatestScanTaskRequest, Builder> { private Builder() { super(); } private Builder(DescribeLatestScanTaskRequest request) { super(request); } @Override public DescribeLatestScanTaskRequest build() { return new DescribeLatestScanTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLatestScanTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLatestScanTaskResponse} extends {@link TeaModel} * * <p>DescribeLatestScanTaskResponse</p> */ public class DescribeLatestScanTaskResponse 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 DescribeLatestScanTaskResponseBody body; private DescribeLatestScanTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLatestScanTaskResponse 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 DescribeLatestScanTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLatestScanTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLatestScanTaskResponseBody body); @Override DescribeLatestScanTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLatestScanTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLatestScanTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLatestScanTaskResponse 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(DescribeLatestScanTaskResponseBody body) { this.body = body; return this; } @Override public DescribeLatestScanTaskResponse build() { return new DescribeLatestScanTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLatestScanTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLatestScanTaskResponseBody} extends {@link TeaModel} * * <p>DescribeLatestScanTaskResponseBody</p> */ public class DescribeLatestScanTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LastCheckTime") private Long lastCheckTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RiskNum") private Integer riskNum; @com.aliyun.core.annotation.NameInMap("TargetInfo") private String targetInfo; @com.aliyun.core.annotation.NameInMap("Uuids") private java.util.List<String> uuids; private DescribeLatestScanTaskResponseBody(Builder builder) { this.lastCheckTime = builder.lastCheckTime; this.requestId = builder.requestId; this.riskNum = builder.riskNum; this.targetInfo = builder.targetInfo; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static DescribeLatestScanTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return lastCheckTime */ public Long getLastCheckTime() { return this.lastCheckTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return riskNum */ public Integer getRiskNum() { return this.riskNum; } /** * @return targetInfo */ public String getTargetInfo() { return this.targetInfo; } /** * @return uuids */ public java.util.List<String> getUuids() { return this.uuids; } public static final class Builder { private Long lastCheckTime; private String requestId; private Integer riskNum; private String targetInfo; private java.util.List<String> uuids; private Builder() { } private Builder(DescribeLatestScanTaskResponseBody model) { this.lastCheckTime = model.lastCheckTime; this.requestId = model.requestId; this.riskNum = model.riskNum; this.targetInfo = model.targetInfo; this.uuids = model.uuids; } /** * <p>The timestamp when the last check was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1671610264000</p> */ public Builder lastCheckTime(Long lastCheckTime) { this.lastCheckTime = lastCheckTime; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42XXXXXXXX</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of virus detection risks on the server.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder riskNum(Integer riskNum) { this.riskNum = riskNum; return this; } /** * <p>The applicable scope of the whitelist. The value of this parameter is in the JSON format and contains the following fields:</p> * <ul> * <li><p><strong>type</strong>: the type of the applicable scope. Valid values:</p> * <ul> * <li><strong>GroupId</strong>: the ID of a server group</li> * <li><strong>Uuid</strong>: the UUID of a server</li> * </ul> * </li> * <li><p><strong>uuids</strong>: the UUIDs of servers</p> * </li> * <li><p><strong>groupIds</strong>: the IDs of server groups</p> * </li> * </ul> * <blockquote> * <p> If you leave this parameter empty, all servers are added to the whitelist. If you set the <strong>type</strong> field to <strong>GroupId</strong>, you must also specify the <strong>groupIds</strong> field. If you set the <strong>type</strong> field to <strong>Uuid</strong>, you must also specify the <strong>uuids</strong> field.</p> * </blockquote> * * <strong>example:</strong> * <p>[{&quot;type&quot;:&quot;uuid&quot;,&quot;name&quot;:&quot;Host001&quot;,&quot;target&quot;:&quot;503201a7-14c6-4280-801b-1169ed42****&quot;}]</p> */ public Builder targetInfo(String targetInfo) { this.targetInfo = targetInfo; return this; } /** * <p>The UUIDs of the assets.</p> */ public Builder uuids(java.util.List<String> uuids) { this.uuids = uuids; return this; } public DescribeLatestScanTaskResponseBody build() { return new DescribeLatestScanTaskResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogMetaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogMetaRequest} extends {@link RequestModel} * * <p>DescribeLogMetaRequest</p> */ public class DescribeLogMetaRequest 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("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeLogMetaRequest(Builder builder) { super(builder); this.from = builder.from; this.lang = builder.lang; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeLogMetaRequest 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 resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeLogMetaRequest, Builder> { private String from; private String lang; private Long resourceDirectoryAccountId; private String sourceIp; private Builder() { super(); } private Builder(DescribeLogMetaRequest request) { super(request); this.from = request.from; this.lang = request.lang; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.sourceIp = request.sourceIp; } /** * <p>The ID of the request source. Default value: <strong>aegis</strong>. Valid values:</p> * <ul> * <li><strong>aegis</strong>: Server Guard</li> * <li><strong>sas</strong>: Security Center</li> * </ul> * <blockquote> * <p> If you use Server Guard, set the value to <strong>aegis</strong>. If you use Security Center, set the value to <strong>sas</strong>.</p> * </blockquote> * * <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 Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the IDs.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>123.168.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeLogMetaRequest build() { return new DescribeLogMetaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogMetaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogMetaResponse} extends {@link TeaModel} * * <p>DescribeLogMetaResponse</p> */ public class DescribeLogMetaResponse 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 DescribeLogMetaResponseBody body; private DescribeLogMetaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLogMetaResponse 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 DescribeLogMetaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLogMetaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLogMetaResponseBody body); @Override DescribeLogMetaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLogMetaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLogMetaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLogMetaResponse 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(DescribeLogMetaResponseBody body) { this.body = body; return this; } @Override public DescribeLogMetaResponse build() { return new DescribeLogMetaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogMetaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogMetaResponseBody} extends {@link TeaModel} * * <p>DescribeLogMetaResponseBody</p> */ public class DescribeLogMetaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogMetaList") private java.util.List<LogMetaList> logMetaList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeLogMetaResponseBody(Builder builder) { this.logMetaList = builder.logMetaList; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeLogMetaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logMetaList */ public java.util.List<LogMetaList> getLogMetaList() { return this.logMetaList; } /** * @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<LogMetaList> logMetaList; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeLogMetaResponseBody model) { this.logMetaList = model.logMetaList; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>An array that consists of the configurations of the log analysis feature.</p> */ public Builder logMetaList(java.util.List<LogMetaList> logMetaList) { this.logMetaList = logMetaList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>D0D6E6E4-CB8C-4897-B852-46AEFDA04B21</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <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 DescribeLogMetaResponseBody build() { return new DescribeLogMetaResponseBody(this); } } /** * * {@link DescribeLogMetaResponseBody} extends {@link TeaModel} * * <p>DescribeLogMetaResponseBody</p> */ public static class LogMetaList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("HotTtl") private Integer hotTtl; @com.aliyun.core.annotation.NameInMap("LogDesc") private String logDesc; @com.aliyun.core.annotation.NameInMap("LogStore") private String logStore; @com.aliyun.core.annotation.NameInMap("Project") private String project; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Topic") private String topic; @com.aliyun.core.annotation.NameInMap("Ttl") private Integer ttl; @com.aliyun.core.annotation.NameInMap("UserLogStore") private String userLogStore; @com.aliyun.core.annotation.NameInMap("UserProject") private String userProject; @com.aliyun.core.annotation.NameInMap("UserRegion") private String userRegion; private LogMetaList(Builder builder) { this.category = builder.category; this.hotTtl = builder.hotTtl; this.logDesc = builder.logDesc; this.logStore = builder.logStore; this.project = builder.project; this.status = builder.status; this.topic = builder.topic; this.ttl = builder.ttl; this.userLogStore = builder.userLogStore; this.userProject = builder.userProject; this.userRegion = builder.userRegion; } public static Builder builder() { return new Builder(); } public static LogMetaList create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return hotTtl */ public Integer getHotTtl() { return this.hotTtl; } /** * @return logDesc */ public String getLogDesc() { return this.logDesc; } /** * @return logStore */ public String getLogStore() { return this.logStore; } /** * @return project */ public String getProject() { return this.project; } /** * @return status */ public String getStatus() { return this.status; } /** * @return topic */ public String getTopic() { return this.topic; } /** * @return ttl */ public Integer getTtl() { return this.ttl; } /** * @return userLogStore */ public String getUserLogStore() { return this.userLogStore; } /** * @return userProject */ public String getUserProject() { return this.userProject; } /** * @return userRegion */ public String getUserRegion() { return this.userRegion; } public static final class Builder { private String category; private Integer hotTtl; private String logDesc; private String logStore; private String project; private String status; private String topic; private Integer ttl; private String userLogStore; private String userProject; private String userRegion; private Builder() { } private Builder(LogMetaList model) { this.category = model.category; this.hotTtl = model.hotTtl; this.logDesc = model.logDesc; this.logStore = model.logStore; this.project = model.project; this.status = model.status; this.topic = model.topic; this.ttl = model.ttl; this.userLogStore = model.userLogStore; this.userProject = model.userProject; this.userRegion = model.userRegion; } /** * <p>The category of logs. Valid values:</p> * <ul> * <li><strong>host</strong></li> * <li><strong>network</strong></li> * <li><strong>security</strong></li> * </ul> * * <strong>example:</strong> * <p>host</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The time period after which logs in hot storage are moved to cold storage. Unit: days.</p> * <blockquote> * <p> If the value is -1, logs that are stored in hot storage are not moved to cold storage.</p> * </blockquote> * * <strong>example:</strong> * <p>-1</p> */ public Builder hotTtl(Integer hotTtl) { this.hotTtl = hotTtl; return this; } /** * <p>The name of the log type.</p> * * <strong>example:</strong> * <p>Login</p> */ public Builder logDesc(String logDesc) { this.logDesc = logDesc; return this; } /** * <p>The name of the dedicated Logstore in which logs are stored.</p> * * <strong>example:</strong> * <p>aegis-log-login</p> */ public Builder logStore(String logStore) { this.logStore = logStore; return this; } /** * <p>The name of the project.</p> * * <strong>example:</strong> * <p>aegis-log</p> */ public Builder project(String project) { this.project = project; return this; } /** * <p>The status of the log analysis feature. Valid values:</p> * <ul> * <li><strong>disabled</strong></li> * <li><strong>enabled</strong></li> * </ul> * * <strong>example:</strong> * <p>enabled</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The topic of logs that are delivered.</p> * * <strong>example:</strong> * <p>aegis-log-login</p> */ public Builder topic(String topic) { this.topic = topic; return this; } /** * <p>The number of days during which logs can be retained.</p> * * <strong>example:</strong> * <p>180</p> */ public Builder ttl(Integer ttl) { this.ttl = ttl; return this; } /** * <p>The name of the dedicated Logstore in which user logs are stored.</p> * * <strong>example:</strong> * <p>aegis-log-network</p> */ public Builder userLogStore(String userLogStore) { this.userLogStore = userLogStore; return this; } /** * <p>The name of the dedicated project in which logs are stored.</p> * * <strong>example:</strong> * <p>sasnew-log-XXXX-cn-hangzhou</p> */ public Builder userProject(String userProject) { this.userProject = userProject; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder userRegion(String userRegion) { this.userRegion = userRegion; return this; } public LogMetaList build() { return new LogMetaList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogShipperStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogShipperStatusRequest} extends {@link RequestModel} * * <p>DescribeLogShipperStatusRequest</p> */ public class DescribeLogShipperStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") private String from; private DescribeLogShipperStatusRequest(Builder builder) { super(builder); this.from = builder.from; } public static Builder builder() { return new Builder(); } public static DescribeLogShipperStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return from */ public String getFrom() { return this.from; } public static final class Builder extends Request.Builder<DescribeLogShipperStatusRequest, Builder> { private String from; private Builder() { super(); } private Builder(DescribeLogShipperStatusRequest request) { super(request); this.from = request.from; } /** * <p>The ID of the request source. Set the value to <strong>sas</strong>.</p> * * <strong>example:</strong> * <p>sas</p> */ public Builder from(String from) { this.putQueryParameter("From", from); this.from = from; return this; } @Override public DescribeLogShipperStatusRequest build() { return new DescribeLogShipperStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogShipperStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogShipperStatusResponse} extends {@link TeaModel} * * <p>DescribeLogShipperStatusResponse</p> */ public class DescribeLogShipperStatusResponse 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 DescribeLogShipperStatusResponseBody body; private DescribeLogShipperStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLogShipperStatusResponse 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 DescribeLogShipperStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLogShipperStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLogShipperStatusResponseBody body); @Override DescribeLogShipperStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLogShipperStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLogShipperStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLogShipperStatusResponse 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(DescribeLogShipperStatusResponseBody body) { this.body = body; return this; } @Override public DescribeLogShipperStatusResponse build() { return new DescribeLogShipperStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogShipperStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogShipperStatusResponseBody} extends {@link TeaModel} * * <p>DescribeLogShipperStatusResponseBody</p> */ public class DescribeLogShipperStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogShipperStatus") private LogShipperStatus logShipperStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeLogShipperStatusResponseBody(Builder builder) { this.logShipperStatus = builder.logShipperStatus; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeLogShipperStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logShipperStatus */ public LogShipperStatus getLogShipperStatus() { return this.logShipperStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private LogShipperStatus logShipperStatus; private String requestId; private Builder() { } private Builder(DescribeLogShipperStatusResponseBody model) { this.logShipperStatus = model.logShipperStatus; this.requestId = model.requestId; } /** * <p>The status information.</p> */ public Builder logShipperStatus(LogShipperStatus logShipperStatus) { this.logShipperStatus = logShipperStatus; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>24A20733-10A0-4AF6-BE6B-E3322413****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeLogShipperStatusResponseBody build() { return new DescribeLogShipperStatusResponseBody(this); } } /** * * {@link DescribeLogShipperStatusResponseBody} extends {@link TeaModel} * * <p>DescribeLogShipperStatusResponseBody</p> */ public static class LogShipperStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthStatus") private String authStatus; @com.aliyun.core.annotation.NameInMap("BuyStatus") private String buyStatus; @com.aliyun.core.annotation.NameInMap("EtlMetaVersion") private String etlMetaVersion; @com.aliyun.core.annotation.NameInMap("OpenStatus") private String openStatus; @com.aliyun.core.annotation.NameInMap("PostPaidOpenStatus") private String postPaidOpenStatus; @com.aliyun.core.annotation.NameInMap("PostPaidSupportStatus") private String postPaidSupportStatus; @com.aliyun.core.annotation.NameInMap("SlsProjectStatus") private String slsProjectStatus; @com.aliyun.core.annotation.NameInMap("SlsServiceStatus") private String slsServiceStatus; private LogShipperStatus(Builder builder) { this.authStatus = builder.authStatus; this.buyStatus = builder.buyStatus; this.etlMetaVersion = builder.etlMetaVersion; this.openStatus = builder.openStatus; this.postPaidOpenStatus = builder.postPaidOpenStatus; this.postPaidSupportStatus = builder.postPaidSupportStatus; this.slsProjectStatus = builder.slsProjectStatus; this.slsServiceStatus = builder.slsServiceStatus; } public static Builder builder() { return new Builder(); } public static LogShipperStatus create() { return builder().build(); } /** * @return authStatus */ public String getAuthStatus() { return this.authStatus; } /** * @return buyStatus */ public String getBuyStatus() { return this.buyStatus; } /** * @return etlMetaVersion */ public String getEtlMetaVersion() { return this.etlMetaVersion; } /** * @return openStatus */ public String getOpenStatus() { return this.openStatus; } /** * @return postPaidOpenStatus */ public String getPostPaidOpenStatus() { return this.postPaidOpenStatus; } /** * @return postPaidSupportStatus */ public String getPostPaidSupportStatus() { return this.postPaidSupportStatus; } /** * @return slsProjectStatus */ public String getSlsProjectStatus() { return this.slsProjectStatus; } /** * @return slsServiceStatus */ public String getSlsServiceStatus() { return this.slsServiceStatus; } public static final class Builder { private String authStatus; private String buyStatus; private String etlMetaVersion; private String openStatus; private String postPaidOpenStatus; private String postPaidSupportStatus; private String slsProjectStatus; private String slsServiceStatus; private Builder() { } private Builder(LogShipperStatus model) { this.authStatus = model.authStatus; this.buyStatus = model.buyStatus; this.etlMetaVersion = model.etlMetaVersion; this.openStatus = model.openStatus; this.postPaidOpenStatus = model.postPaidOpenStatus; this.postPaidSupportStatus = model.postPaidSupportStatus; this.slsProjectStatus = model.slsProjectStatus; this.slsServiceStatus = model.slsServiceStatus; } /** * <p>Indicates whether Security Center is authorized to access Log Service. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>yes</p> */ public Builder authStatus(String authStatus) { this.authStatus = authStatus; return this; } /** * <p>Indicates whether the log analysis feature is purchased. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>yes</p> */ public Builder buyStatus(String buyStatus) { this.buyStatus = buyStatus; return this; } /** * <p>The version of the log analysis field. Valid values:</p> * <ul> * <li>SAS_V1</li> * <li>SAS_V2</li> * </ul> * * <strong>example:</strong> * <p>SAS_V1</p> */ public Builder etlMetaVersion(String etlMetaVersion) { this.etlMetaVersion = etlMetaVersion; return this; } /** * <p>The status of the log analysis feature. Valid values:</p> * <ul> * <li><strong>yes</strong>: enabled</li> * <li><strong>no</strong>: disabled</li> * </ul> * * <strong>example:</strong> * <p>yes</p> */ public Builder openStatus(String openStatus) { this.openStatus = openStatus; return this; } /** * <p>Indicates whether the pay-as-you-go billing method is used. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>no</p> */ public Builder postPaidOpenStatus(String postPaidOpenStatus) { this.postPaidOpenStatus = postPaidOpenStatus; return this; } /** * <p>Indicates whether the log analysis feature supports the pay-as-you-go billing method. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>yes</p> */ public Builder postPaidSupportStatus(String postPaidSupportStatus) { this.postPaidSupportStatus = postPaidSupportStatus; return this; } /** * <p>The status of the dedicated Log Service project. Valid values:</p> * <ul> * <li><strong>Normal</strong>: normal</li> * <li><strong>Disable</strong>: disabled</li> * </ul> * * <strong>example:</strong> * <p>Normal</p> */ public Builder slsProjectStatus(String slsProjectStatus) { this.slsProjectStatus = slsProjectStatus; return this; } /** * <p>Indicates whether Log Service is activated. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>yes</p> */ public Builder slsServiceStatus(String slsServiceStatus) { this.slsServiceStatus = slsServiceStatus; return this; } public LogShipperStatus build() { return new LogShipperStatus(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLoginBaseConfigsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLoginBaseConfigsRequest} extends {@link RequestModel} * * <p>DescribeLoginBaseConfigsRequest</p> */ public class DescribeLoginBaseConfigsRequest 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("Target") private String target; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private DescribeLoginBaseConfigsRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.target = builder.target; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeLoginBaseConfigsRequest 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 target */ public String getTarget() { return this.target; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeLoginBaseConfigsRequest, Builder> { private Integer currentPage; private Integer pageSize; private String target; private String type; private Builder() { super(); } private Builder(DescribeLoginBaseConfigsRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.target = request.target; this.type = request.type; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>5</strong>.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The server to which the configuration is applied. The value of this parameter is in the JSON format and contains the following fields:</p> * <ul> * <li><strong>Target</strong>: the UUID or group ID of the server to add or delete.</li> * </ul> * <blockquote> * <p>If targetType is set to uuid, the value of Target is the UUID of the server. If targetType is set to groupId, the value of Target is the group ID of the server. If targetType is set to global, the value of Target is a hyphen (-).</p> * </blockquote> * <ul> * <li><p><strong>targetType</strong>: the type of the server to which the configuration is applied. Valid values:</p> * <ul> * <li><strong>uuid</strong>: a server</li> * <li><strong>groupId</strong>: a server group</li> * <li><strong>global</strong>: all servers</li> * </ul> * </li> * </ul> * * <strong>example:</strong> * <p>[ {&quot;target&quot;: &quot;inet-7c676676-06fa-442e-90fb-b802e5d6****&quot;, &quot;targetType&quot;: &quot;uuid&quot; } ]</p> */ public Builder target(String target) { this.putQueryParameter("Target", target); this.target = target; return this; } /** * <p>The logon type of the configuration to query. Valid values:</p> * <ul> * <li><strong>login_common_location</strong>: common logon location</li> * <li><strong>login_common_ip</strong>: common logon IP address</li> * <li><strong>login_common_time</strong>: common logon time range</li> * <li><strong>login_common_account</strong>: common logon account</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>login_common_location</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeLoginBaseConfigsRequest build() { return new DescribeLoginBaseConfigsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLoginBaseConfigsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLoginBaseConfigsResponse} extends {@link TeaModel} * * <p>DescribeLoginBaseConfigsResponse</p> */ public class DescribeLoginBaseConfigsResponse 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 DescribeLoginBaseConfigsResponseBody body; private DescribeLoginBaseConfigsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLoginBaseConfigsResponse 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 DescribeLoginBaseConfigsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLoginBaseConfigsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLoginBaseConfigsResponseBody body); @Override DescribeLoginBaseConfigsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLoginBaseConfigsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLoginBaseConfigsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLoginBaseConfigsResponse 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(DescribeLoginBaseConfigsResponseBody body) { this.body = body; return this; } @Override public DescribeLoginBaseConfigsResponse build() { return new DescribeLoginBaseConfigsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLoginBaseConfigsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLoginBaseConfigsResponseBody} extends {@link TeaModel} * * <p>DescribeLoginBaseConfigsResponseBody</p> */ public class DescribeLoginBaseConfigsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BaseConfigs") private java.util.List<BaseConfigs> baseConfigs; @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 DescribeLoginBaseConfigsResponseBody(Builder builder) { this.baseConfigs = builder.baseConfigs; 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 DescribeLoginBaseConfigsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return baseConfigs */ public java.util.List<BaseConfigs> getBaseConfigs() { return this.baseConfigs; } /** * @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<BaseConfigs> baseConfigs; private Integer currentPage; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeLoginBaseConfigsResponseBody model) { this.baseConfigs = model.baseConfigs; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The description of the configuration.</p> */ public Builder baseConfigs(java.util.List<BaseConfigs> baseConfigs) { this.baseConfigs = baseConfigs; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>2C2D4B3C-0524-17B1-93D2-DA50119F4E1E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeLoginBaseConfigsResponseBody build() { return new DescribeLoginBaseConfigsResponseBody(this); } } /** * * {@link DescribeLoginBaseConfigsResponseBody} extends {@link TeaModel} * * <p>DescribeLoginBaseConfigsResponseBody</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 UUID or group ID of the server.</p> * * <strong>example:</strong> * <p>0011ea53-738c-4bff-93be-ce6a1cc9****</p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The type of the server to which the configuration is applied. Valid values:</p> * <ul> * <li><strong>uuid</strong>: a server</li> * <li><strong>groupId</strong>: a server group</li> * <li><strong>global</strong>: all servers</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 DescribeLoginBaseConfigsResponseBody} extends {@link TeaModel} * * <p>DescribeLoginBaseConfigsResponseBody</p> */ public static class BaseConfigs extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private String account; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Location") private String location; @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("TargetList") private java.util.List<TargetList> targetList; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; @com.aliyun.core.annotation.NameInMap("UuidCount") private Integer uuidCount; private BaseConfigs(Builder builder) { this.account = builder.account; this.endTime = builder.endTime; this.ip = builder.ip; this.location = builder.location; this.remark = builder.remark; this.startTime = builder.startTime; this.targetList = builder.targetList; this.totalCount = builder.totalCount; this.uuidCount = builder.uuidCount; } public static Builder builder() { return new Builder(); } public static BaseConfigs create() { return builder().build(); } /** * @return account */ public String getAccount() { return this.account; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return location */ public String getLocation() { return this.location; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return targetList */ public java.util.List<TargetList> getTargetList() { return this.targetList; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return uuidCount */ public Integer getUuidCount() { return this.uuidCount; } public static final class Builder { private String account; private String endTime; private String ip; private String location; private String remark; private String startTime; private java.util.List<TargetList> targetList; private Integer totalCount; private Integer uuidCount; private Builder() { } private Builder(BaseConfigs model) { this.account = model.account; this.endTime = model.endTime; this.ip = model.ip; this.location = model.location; this.remark = model.remark; this.startTime = model.startTime; this.targetList = model.targetList; this.totalCount = model.totalCount; this.uuidCount = model.uuidCount; } /** * <p>The common logon account.</p> * * <strong>example:</strong> * <p>1582318****</p> */ public Builder account(String account) { this.account = account; return this; } /** * <p>The end time of the common logon time range.</p> * * <strong>example:</strong> * <p>07:00</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The common logon IP address.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The common logon location.</p> * * <strong>example:</strong> * <p>Montenegro</p> */ public Builder location(String location) { this.location = location; return this; } /** * <p>Corresponding configuration remark information.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder remark(String remark) { this.remark = remark; return this; } /** * <p>The start time of the common logon time range.</p> * * <strong>example:</strong> * <p>08:00</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The details of the servers to which the configuration is applied.</p> */ public Builder targetList(java.util.List<TargetList> targetList) { this.targetList = targetList; return this; } /** * <p>The total number of servers.</p> * * <strong>example:</strong> * <p>172</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * <p>The number of servers to which the configuration is applied.</p> * * <strong>example:</strong> * <p>13</p> */ public Builder uuidCount(Integer uuidCount) { this.uuidCount = uuidCount; return this; } public BaseConfigs build() { return new BaseConfigs(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLoginSwitchConfigsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLoginSwitchConfigsRequest} extends {@link RequestModel} * * <p>DescribeLoginSwitchConfigsRequest</p> */ public class DescribeLoginSwitchConfigsRequest extends Request { private DescribeLoginSwitchConfigsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeLoginSwitchConfigsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeLoginSwitchConfigsRequest, Builder> { private Builder() { super(); } private Builder(DescribeLoginSwitchConfigsRequest request) { super(request); } @Override public DescribeLoginSwitchConfigsRequest build() { return new DescribeLoginSwitchConfigsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLoginSwitchConfigsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLoginSwitchConfigsResponse} extends {@link TeaModel} * * <p>DescribeLoginSwitchConfigsResponse</p> */ public class DescribeLoginSwitchConfigsResponse 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 DescribeLoginSwitchConfigsResponseBody body; private DescribeLoginSwitchConfigsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLoginSwitchConfigsResponse 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 DescribeLoginSwitchConfigsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLoginSwitchConfigsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLoginSwitchConfigsResponseBody body); @Override DescribeLoginSwitchConfigsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLoginSwitchConfigsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLoginSwitchConfigsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLoginSwitchConfigsResponse 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(DescribeLoginSwitchConfigsResponseBody body) { this.body = body; return this; } @Override public DescribeLoginSwitchConfigsResponse build() { return new DescribeLoginSwitchConfigsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLoginSwitchConfigsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLoginSwitchConfigsResponseBody} extends {@link TeaModel} * * <p>DescribeLoginSwitchConfigsResponseBody</p> */ public class DescribeLoginSwitchConfigsResponseBody 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("RequestId") private String requestId; private DescribeLoginSwitchConfigsResponseBody(Builder builder) { this.configList = builder.configList; this.count = builder.count; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeLoginSwitchConfigsResponseBody 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 requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ConfigList> configList; private Integer count; private String requestId; private Builder() { } private Builder(DescribeLoginSwitchConfigsResponseBody model) { this.configList = model.configList; this.count = model.count; this.requestId = model.requestId; } /** * <p>The configuration item returned.</p> */ public Builder configList(java.util.List<ConfigList> configList) { this.configList = configList; return this; } /** * <p>The number of returned configuration items.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>0B48AB3C-84FC-424D-A01D-B9270EF4****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeLoginSwitchConfigsResponseBody build() { return new DescribeLoginSwitchConfigsResponseBody(this); } } /** * * {@link DescribeLoginSwitchConfigsResponseBody} extends {@link TeaModel} * * <p>DescribeLoginSwitchConfigsResponseBody</p> */ public static class ConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private String item; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private ConfigList(Builder builder) { this.item = builder.item; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ConfigList create() { return builder().build(); } /** * @return item */ public String getItem() { return this.item; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String item; private Integer status; private Builder() { } private Builder(ConfigList model) { this.item = model.item; this.status = model.status; } /** * <p>The type of the alert that you enabled or disabled. Valid values:</p> * <ul> * <li><strong>login_common_ip</strong>: alerts for unapproved logon IP addresses</li> * <li><strong>login_common_time</strong>: alerts for unapproved logon time ranges</li> * <li><strong>login_common_account</strong>: alerts for unapproved logon accounts</li> * </ul> * * <strong>example:</strong> * <p>login_common_ip</p> */ public Builder item(String item) { this.item = item; return this; } /** * <p>The status of the Log Service feature. Valid values:</p> * <ul> * <li><strong>0</strong>: The feature is disabled.</li> * <li><strong>1</strong>: The feature is enabled.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.status = status; 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/DescribeLogstoreStorageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogstoreStorageRequest} extends {@link RequestModel} * * <p>DescribeLogstoreStorageRequest</p> */ public class DescribeLogstoreStorageRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("From") @com.aliyun.core.annotation.Validation(required = true) private String from; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribeLogstoreStorageRequest(Builder builder) { super(builder); this.from = builder.from; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribeLogstoreStorageRequest 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; } public static final class Builder extends Request.Builder<DescribeLogstoreStorageRequest, Builder> { private String from; private String lang; private Builder() { super(); } private Builder(DescribeLogstoreStorageRequest request) { super(request); this.from = request.from; this.lang = request.lang; } /** * <p>The ID of the request source. Set the value to <strong>sas</strong>.</p> * <p>This parameter is required.</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; } @Override public DescribeLogstoreStorageRequest build() { return new DescribeLogstoreStorageRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogstoreStorageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogstoreStorageResponse} extends {@link TeaModel} * * <p>DescribeLogstoreStorageResponse</p> */ public class DescribeLogstoreStorageResponse 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 DescribeLogstoreStorageResponseBody body; private DescribeLogstoreStorageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLogstoreStorageResponse 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 DescribeLogstoreStorageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLogstoreStorageResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLogstoreStorageResponseBody body); @Override DescribeLogstoreStorageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLogstoreStorageResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLogstoreStorageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLogstoreStorageResponse 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(DescribeLogstoreStorageResponseBody body) { this.body = body; return this; } @Override public DescribeLogstoreStorageResponse build() { return new DescribeLogstoreStorageResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeLogstoreStorageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLogstoreStorageResponseBody} extends {@link TeaModel} * * <p>DescribeLogstoreStorageResponseBody</p> */ public class DescribeLogstoreStorageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Logstore") private String logstore; @com.aliyun.core.annotation.NameInMap("Preserve") private Long preserve; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Ttl") private Integer ttl; @com.aliyun.core.annotation.NameInMap("Used") private Long used; @com.aliyun.core.annotation.NameInMap("UserProject") private String userProject; private DescribeLogstoreStorageResponseBody(Builder builder) { this.logstore = builder.logstore; this.preserve = builder.preserve; this.requestId = builder.requestId; this.ttl = builder.ttl; this.used = builder.used; this.userProject = builder.userProject; } public static Builder builder() { return new Builder(); } public static DescribeLogstoreStorageResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logstore */ public String getLogstore() { return this.logstore; } /** * @return preserve */ public Long getPreserve() { return this.preserve; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return ttl */ public Integer getTtl() { return this.ttl; } /** * @return used */ public Long getUsed() { return this.used; } /** * @return userProject */ public String getUserProject() { return this.userProject; } public static final class Builder { private String logstore; private Long preserve; private String requestId; private Integer ttl; private Long used; private String userProject; private Builder() { } private Builder(DescribeLogstoreStorageResponseBody model) { this.logstore = model.logstore; this.preserve = model.preserve; this.requestId = model.requestId; this.ttl = model.ttl; this.used = model.used; this.userProject = model.userProject; } /** * <p>The name of the dedicated Logstore that is used to store full logs of Security Center. The value is fixed as <strong>sas-log</strong>.</p> * * <strong>example:</strong> * <p>sas-log</p> */ public Builder logstore(String logstore) { this.logstore = logstore; return this; } /** * <p>The purchased log storage capacity, in GB.</p> * * <strong>example:</strong> * <p>12240</p> */ public Builder preserve(Long preserve) { this.preserve = preserve; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>25EC270F-5783-4416-AD7C-1EDF063A039C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of days during which logs can be retained. The value is fixed as <strong>180</strong>, which indicates that logs can be retained for 180 days.</p> * <blockquote> * <p> You are not allowed to change the value of this parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>180</p> */ public Builder ttl(Integer ttl) { this.ttl = ttl; return this; } /** * <p>The used log storage capacity, in GB.</p> * * <strong>example:</strong> * <p>335</p> */ public Builder used(Long used) { this.used = used; return this; } /** * <p>The name of the dedicated Project that is used to store full logs of Security Center.</p> * * <strong>example:</strong> * <p>sas-log-XXXX-cn-hangzhou</p> */ public Builder userProject(String userProject) { this.userProject = userProject; return this; } public DescribeLogstoreStorageResponseBody build() { return new DescribeLogstoreStorageResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMachineCanRebootRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMachineCanRebootRequest} extends {@link RequestModel} * * <p>DescribeMachineCanRebootRequest</p> */ public class DescribeMachineCanRebootRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribeMachineCanRebootRequest(Builder builder) { super(builder); this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribeMachineCanRebootRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribeMachineCanRebootRequest, Builder> { private String type; private String uuid; private Builder() { super(); } private Builder(DescribeMachineCanRebootRequest request) { super(request); this.type = request.type; this.uuid = request.uuid; } /** * <p>The type of the vulnerabilities. Valid values:</p> * <ul> * <li>cve: Linux software vulnerabilities</li> * <li>sys: Windows system vulnerabilities</li> * </ul> * * <strong>example:</strong> * <p>sys</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>5b268326-273e-44fc-a0e3-9482435c****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribeMachineCanRebootRequest build() { return new DescribeMachineCanRebootRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMachineCanRebootResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMachineCanRebootResponse} extends {@link TeaModel} * * <p>DescribeMachineCanRebootResponse</p> */ public class DescribeMachineCanRebootResponse 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 DescribeMachineCanRebootResponseBody body; private DescribeMachineCanRebootResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMachineCanRebootResponse 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 DescribeMachineCanRebootResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMachineCanRebootResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMachineCanRebootResponseBody body); @Override DescribeMachineCanRebootResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMachineCanRebootResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMachineCanRebootResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMachineCanRebootResponse 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(DescribeMachineCanRebootResponseBody body) { this.body = body; return this; } @Override public DescribeMachineCanRebootResponse build() { return new DescribeMachineCanRebootResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMachineCanRebootResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMachineCanRebootResponseBody} extends {@link TeaModel} * * <p>DescribeMachineCanRebootResponseBody</p> */ public class DescribeMachineCanRebootResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CanReboot") private Boolean canReboot; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMachineCanRebootResponseBody(Builder builder) { this.canReboot = builder.canReboot; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMachineCanRebootResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return canReboot */ public Boolean getCanReboot() { return this.canReboot; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Boolean canReboot; private String requestId; private Builder() { } private Builder(DescribeMachineCanRebootResponseBody model) { this.canReboot = model.canReboot; this.requestId = model.requestId; } /** * <p>Indicates whether the server can be restarted. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder canReboot(Boolean canReboot) { this.canReboot = canReboot; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>79CFF74D-E967-5407-8A78-EE03B925FDAA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMachineCanRebootResponseBody build() { return new DescribeMachineCanRebootResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMatchedMaliciousNamesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMatchedMaliciousNamesRequest} extends {@link RequestModel} * * <p>DescribeMatchedMaliciousNamesRequest</p> */ public class DescribeMatchedMaliciousNamesRequest 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("Levels") private String levels; private DescribeMatchedMaliciousNamesRequest(Builder builder) { super(builder); this.lang = builder.lang; this.levels = builder.levels; } public static Builder builder() { return new Builder(); } public static DescribeMatchedMaliciousNamesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return levels */ public String getLevels() { return this.levels; } public static final class Builder extends Request.Builder<DescribeMatchedMaliciousNamesRequest, Builder> { private String lang; private String levels; private Builder() { super(); } private Builder(DescribeMatchedMaliciousNamesRequest request) { super(request); this.lang = request.lang; this.levels = request.levels; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The severity of the malicious image sample that you want to query. You can enter multiple severities. Separate the severities with commas (,). Valid values:</p> * <ul> * <li><strong>serious</strong></li> * <li><strong>suspicious</strong></li> * <li><strong>remind</strong></li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder levels(String levels) { this.putQueryParameter("Levels", levels); this.levels = levels; return this; } @Override public DescribeMatchedMaliciousNamesRequest build() { return new DescribeMatchedMaliciousNamesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMatchedMaliciousNamesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMatchedMaliciousNamesResponse} extends {@link TeaModel} * * <p>DescribeMatchedMaliciousNamesResponse</p> */ public class DescribeMatchedMaliciousNamesResponse 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 DescribeMatchedMaliciousNamesResponseBody body; private DescribeMatchedMaliciousNamesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMatchedMaliciousNamesResponse 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 DescribeMatchedMaliciousNamesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMatchedMaliciousNamesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMatchedMaliciousNamesResponseBody body); @Override DescribeMatchedMaliciousNamesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMatchedMaliciousNamesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMatchedMaliciousNamesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMatchedMaliciousNamesResponse 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(DescribeMatchedMaliciousNamesResponseBody body) { this.body = body; return this; } @Override public DescribeMatchedMaliciousNamesResponse build() { return new DescribeMatchedMaliciousNamesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMatchedMaliciousNamesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMatchedMaliciousNamesResponseBody} extends {@link TeaModel} * * <p>DescribeMatchedMaliciousNamesResponseBody</p> */ public class DescribeMatchedMaliciousNamesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMatchedMaliciousNamesResponseBody(Builder builder) { this.count = builder.count; this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMatchedMaliciousNamesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer count; private java.util.List<Data> data; private String requestId; private Builder() { } private Builder(DescribeMatchedMaliciousNamesResponseBody model) { this.count = model.count; this.data = model.data; this.requestId = model.requestId; } /** * <p>The number of entries on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The response parameters.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C7CD1BE6-97A2-5524-A529-B55C63E55D59</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMatchedMaliciousNamesResponseBody build() { return new DescribeMatchedMaliciousNamesResponseBody(this); } } /** * * {@link DescribeMatchedMaliciousNamesResponseBody} extends {@link TeaModel} * * <p>DescribeMatchedMaliciousNamesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("Key") private String key; private Data(Builder builder) { this.displayName = builder.displayName; this.key = builder.key; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return key */ public String getKey() { return this.key; } public static final class Builder { private String displayName; private String key; private Builder() { } private Builder(Data model) { this.displayName = model.displayName; this.key = model.key; } /** * <p>The display name of the malicious image sample type.</p> * * <strong>example:</strong> * <p>displayname</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The key of the malicious image sample type.</p> * * <strong>example:</strong> * <p>key</p> */ public Builder key(String key) { this.key = key; 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/DescribeModuleConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModuleConfigRequest} extends {@link RequestModel} * * <p>DescribeModuleConfigRequest</p> */ public class DescribeModuleConfigRequest extends Request { private DescribeModuleConfigRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeModuleConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeModuleConfigRequest, Builder> { private Builder() { super(); } private Builder(DescribeModuleConfigRequest request) { super(request); } @Override public DescribeModuleConfigRequest build() { return new DescribeModuleConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeModuleConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModuleConfigResponse} extends {@link TeaModel} * * <p>DescribeModuleConfigResponse</p> */ public class DescribeModuleConfigResponse 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 DescribeModuleConfigResponseBody body; private DescribeModuleConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeModuleConfigResponse 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 DescribeModuleConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeModuleConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeModuleConfigResponseBody body); @Override DescribeModuleConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeModuleConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeModuleConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeModuleConfigResponse 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(DescribeModuleConfigResponseBody body) { this.body = body; return this; } @Override public DescribeModuleConfigResponse build() { return new DescribeModuleConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeModuleConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModuleConfigResponseBody} extends {@link TeaModel} * * <p>DescribeModuleConfigResponseBody</p> */ public class DescribeModuleConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("ModuleConfigList") private java.util.List<ModuleConfigList> moduleConfigList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeModuleConfigResponseBody(Builder builder) { this.count = builder.count; this.httpStatusCode = builder.httpStatusCode; this.moduleConfigList = builder.moduleConfigList; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeModuleConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return moduleConfigList */ public java.util.List<ModuleConfigList> getModuleConfigList() { return this.moduleConfigList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer count; private Integer httpStatusCode; private java.util.List<ModuleConfigList> moduleConfigList; private String requestId; private Boolean success; private Builder() { } private Builder(DescribeModuleConfigResponseBody model) { this.count = model.count; this.httpStatusCode = model.httpStatusCode; this.moduleConfigList = model.moduleConfigList; this.requestId = model.requestId; this.success = model.success; } /** * <p>The number of configurations for the module.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>An array that consists of the configurations of the module.</p> */ public Builder moduleConfigList(java.util.List<ModuleConfigList> moduleConfigList) { this.moduleConfigList = moduleConfigList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public DescribeModuleConfigResponseBody build() { return new DescribeModuleConfigResponseBody(this); } } /** * * {@link DescribeModuleConfigResponseBody} extends {@link TeaModel} * * <p>DescribeModuleConfigResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupId") private Integer groupId; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Items(Builder builder) { this.groupId = builder.groupId; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.ip = builder.ip; this.region = builder.region; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return groupId */ public Integer getGroupId() { return this.groupId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return region */ public String getRegion() { return this.region; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Integer groupId; private String instanceId; private String instanceName; private String ip; private String region; private String uuid; private Builder() { } private Builder(Items model) { this.groupId = model.groupId; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.ip = model.ip; this.region = model.region; this.uuid = model.uuid; } /** * <p>The ID of the server group.</p> * * <strong>example:</strong> * <p>173</p> */ public Builder groupId(Integer groupId) { this.groupId = groupId; return this; } /** * <p>The ID of the server.</p> * * <strong>example:</strong> * <p>i-uf6435dn4t59b9av****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>inStanceName****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The IP address of the server.</p> * * <strong>example:</strong> * <p>31.13.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder region(String region) { this.region = region; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>a47e3713-ed22-4015-93a3-d88ebe6****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Items build() { return new Items(this); } } } /** * * {@link DescribeModuleConfigResponseBody} extends {@link TeaModel} * * <p>DescribeModuleConfigResponseBody</p> */ public static class ModuleConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigName") private String configName; @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @com.aliyun.core.annotation.NameInMap("ModuleName") private String moduleName; private ModuleConfigList(Builder builder) { this.configName = builder.configName; this.items = builder.items; this.moduleName = builder.moduleName; } public static Builder builder() { return new Builder(); } public static ModuleConfigList create() { return builder().build(); } /** * @return configName */ public String getConfigName() { return this.configName; } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } public static final class Builder { private String configName; private java.util.List<Items> items; private String moduleName; private Builder() { } private Builder(ModuleConfigList model) { this.configName = model.configName; this.items = model.items; this.moduleName = model.moduleName; } /** * <p>The name of the configuration.</p> * * <strong>example:</strong> * <p>timescan</p> */ public Builder configName(String configName) { this.configName = configName; return this; } /** * <p>An array that consists of the configuration items.</p> */ public Builder items(java.util.List<Items> items) { this.items = items; return this; } /** * <p>The name of the module.</p> * * <strong>example:</strong> * <p>alihids</p> */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } public ModuleConfigList build() { return new ModuleConfigList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMonitorAccountsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMonitorAccountsRequest} extends {@link RequestModel} * * <p>DescribeMonitorAccountsRequest</p> */ public class DescribeMonitorAccountsRequest extends Request { private DescribeMonitorAccountsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeMonitorAccountsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeMonitorAccountsRequest, Builder> { private Builder() { super(); } private Builder(DescribeMonitorAccountsRequest request) { super(request); } @Override public DescribeMonitorAccountsRequest build() { return new DescribeMonitorAccountsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMonitorAccountsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMonitorAccountsResponse} extends {@link TeaModel} * * <p>DescribeMonitorAccountsResponse</p> */ public class DescribeMonitorAccountsResponse 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 DescribeMonitorAccountsResponseBody body; private DescribeMonitorAccountsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMonitorAccountsResponse 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 DescribeMonitorAccountsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMonitorAccountsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMonitorAccountsResponseBody body); @Override DescribeMonitorAccountsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMonitorAccountsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMonitorAccountsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMonitorAccountsResponse 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(DescribeMonitorAccountsResponseBody body) { this.body = body; return this; } @Override public DescribeMonitorAccountsResponse build() { return new DescribeMonitorAccountsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeMonitorAccountsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMonitorAccountsResponseBody} extends {@link TeaModel} * * <p>DescribeMonitorAccountsResponseBody</p> */ public class DescribeMonitorAccountsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountIds") private java.util.List<String> accountIds; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMonitorAccountsResponseBody(Builder builder) { this.accountIds = builder.accountIds; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMonitorAccountsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accountIds */ public java.util.List<String> getAccountIds() { return this.accountIds; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> accountIds; private String requestId; private Builder() { } private Builder(DescribeMonitorAccountsResponseBody model) { this.accountIds = model.accountIds; this.requestId = model.requestId; } /** * <p>The IDs of the members.</p> */ public Builder accountIds(java.util.List<String> accountIds) { this.accountIds = accountIds; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>028CF634-5268-5660-9575-48C9ED6BF880</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMonitorAccountsResponseBody build() { return new DescribeMonitorAccountsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNeedAsyncQueryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNeedAsyncQueryRequest} extends {@link RequestModel} * * <p>DescribeNeedAsyncQueryRequest</p> */ public class DescribeNeedAsyncQueryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private DescribeNeedAsyncQueryRequest(Builder builder) { super(builder); this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeNeedAsyncQueryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeNeedAsyncQueryRequest, Builder> { private String type; private Builder() { super(); } private Builder(DescribeNeedAsyncQueryRequest request) { super(request); this.type = request.type; } /** * <p>The type of the query. Valid values:</p> * <ul> * <li><strong>suspicious</strong>: alerts</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>suspicious</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeNeedAsyncQueryRequest build() { return new DescribeNeedAsyncQueryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNeedAsyncQueryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNeedAsyncQueryResponse} extends {@link TeaModel} * * <p>DescribeNeedAsyncQueryResponse</p> */ public class DescribeNeedAsyncQueryResponse 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 DescribeNeedAsyncQueryResponseBody body; private DescribeNeedAsyncQueryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNeedAsyncQueryResponse 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 DescribeNeedAsyncQueryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNeedAsyncQueryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeNeedAsyncQueryResponseBody body); @Override DescribeNeedAsyncQueryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNeedAsyncQueryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeNeedAsyncQueryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNeedAsyncQueryResponse 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(DescribeNeedAsyncQueryResponseBody body) { this.body = body; return this; } @Override public DescribeNeedAsyncQueryResponse build() { return new DescribeNeedAsyncQueryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNeedAsyncQueryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNeedAsyncQueryResponseBody} extends {@link TeaModel} * * <p>DescribeNeedAsyncQueryResponseBody</p> */ public class DescribeNeedAsyncQueryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Boolean data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNeedAsyncQueryResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNeedAsyncQueryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Boolean getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Boolean data; private String requestId; private Builder() { } private Builder(DescribeNeedAsyncQueryResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>Indicates whether the result is returned. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder data(Boolean data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>5DFD6277-CC36-57F7-ACE6-F5952XXXXXXXX</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNeedAsyncQueryResponseBody build() { return new DescribeNeedAsyncQueryResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNoticeConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNoticeConfigRequest} extends {@link RequestModel} * * <p>DescribeNoticeConfigRequest</p> */ public class DescribeNoticeConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private DescribeNoticeConfigRequest(Builder builder) { super(builder); this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static DescribeNoticeConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<DescribeNoticeConfigRequest, Builder> { private String sourceIp; private Builder() { super(); } private Builder(DescribeNoticeConfigRequest request) { super(request); this.sourceIp = request.sourceIp; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>60.191.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public DescribeNoticeConfigRequest build() { return new DescribeNoticeConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNoticeConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNoticeConfigResponse} extends {@link TeaModel} * * <p>DescribeNoticeConfigResponse</p> */ public class DescribeNoticeConfigResponse 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 DescribeNoticeConfigResponseBody body; private DescribeNoticeConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNoticeConfigResponse 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 DescribeNoticeConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNoticeConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeNoticeConfigResponseBody body); @Override DescribeNoticeConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNoticeConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeNoticeConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNoticeConfigResponse 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(DescribeNoticeConfigResponseBody body) { this.body = body; return this; } @Override public DescribeNoticeConfigResponse build() { return new DescribeNoticeConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNoticeConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNoticeConfigResponseBody} extends {@link TeaModel} * * <p>DescribeNoticeConfigResponseBody</p> */ public class DescribeNoticeConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("NoticeConfigList") private java.util.List<NoticeConfigList> noticeConfigList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNoticeConfigResponseBody(Builder builder) { this.noticeConfigList = builder.noticeConfigList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNoticeConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return noticeConfigList */ public java.util.List<NoticeConfigList> getNoticeConfigList() { return this.noticeConfigList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<NoticeConfigList> noticeConfigList; private String requestId; private Builder() { } private Builder(DescribeNoticeConfigResponseBody model) { this.noticeConfigList = model.noticeConfigList; this.requestId = model.requestId; } /** * <p>An array that consists of the notification settings.</p> */ public Builder noticeConfigList(java.util.List<NoticeConfigList> noticeConfigList) { this.noticeConfigList = noticeConfigList; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>D185B7FF-E24C-422D-83D3-C2A25C7A2727</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNoticeConfigResponseBody build() { return new DescribeNoticeConfigResponseBody(this); } } /** * * {@link DescribeNoticeConfigResponseBody} extends {@link TeaModel} * * <p>DescribeNoticeConfigResponseBody</p> */ public static class NoticeConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("Project") private String project; @com.aliyun.core.annotation.NameInMap("Route") private Integer route; @com.aliyun.core.annotation.NameInMap("TimeLimit") private Integer timeLimit; private NoticeConfigList(Builder builder) { this.aliUid = builder.aliUid; this.currentPage = builder.currentPage; this.project = builder.project; this.route = builder.route; this.timeLimit = builder.timeLimit; } public static Builder builder() { return new Builder(); } public static NoticeConfigList create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return project */ public String getProject() { return this.project; } /** * @return route */ public Integer getRoute() { return this.route; } /** * @return timeLimit */ public Integer getTimeLimit() { return this.timeLimit; } public static final class Builder { private Long aliUid; private Integer currentPage; private String project; private Integer route; private Integer timeLimit; private Builder() { } private Builder(NoticeConfigList model) { this.aliUid = model.aliUid; this.currentPage = model.currentPage; this.project = model.project; this.route = model.route; this.timeLimit = model.timeLimit; } /** * <p>The ID of the user.</p> * * <strong>example:</strong> * <p>12123414****</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; 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 identifier of the notification item. Valid values:</p> * <ul> * <li><strong>yundun_security_Weekreport</strong>: notification for vulnerabilities</li> * <li><strong>yundun_sas_antiransomware_task</strong>: notification for results of restoration tasks</li> * <li><strong>sas_healthcheck</strong>: notification for baseline checks</li> * <li><strong>sas_suspicious</strong>: notification for alerts generated by Security Center</li> * <li><strong>yundun_aegis_AV_true</strong>: notification for precision defense</li> * <li><strong>yundun_sas_ak_leakage</strong>: notification for AccessKey pair leaks</li> * <li><strong>yundun_sas_config_alert</strong>: notification for configuration assessment</li> * <li><strong>yundun_sas_vul_Emergency</strong>: notification for urgent vulnerabilities</li> * <li><strong>yundun_webguard_event</strong>: notification for web tamper proofing</li> * <li><strong>yundun_sas_cloud_native_firewall</strong>: notification for alerts generated by the container firewall feature</li> * <li><strong>yundun_sas_cloud_native_firewall_Defense</strong>: notification for proactive defense implemented by the container firewall feature</li> * <li><strong>yundun_IP_Blocking</strong>: notification for blocked brute-force attacks initiated from malicious IP addresses</li> * <li><strong>yundun_sas_anti_virus_config</strong>: notification for virus scan</li> * <li><strong>yundun_sas_log</strong>: notification for excess logs</li> * <li><strong>yundun_honeypot_alarm</strong>: notification for alerts generated by the honeypot feature</li> * <li><strong>aliyun_rasp_alarm</strong>: notification for alerts generated by the application security feature</li> * <li><strong>virusScheduleTask</strong>: notification for completion of scheduled virus scans</li> * <li><strong>yundun_anti_Virus</strong>: notification that no security checks are performed</li> * <li><strong>sas_vulnerability</strong>: notification for vulnerabilities</li> * <li><strong>weeklyreport</strong>: notification for weekly reports</li> * <li><strong>agent</strong>: notification that the Security Center agent is offline</li> * <li><strong>bruteforcesuccess</strong>: notification for protection against brute-force attacks</li> * <li><strong>webshell</strong>: notification for webshells</li> * <li><strong>suspicious</strong>: notification for alerts generated by Server Guard</li> * <li><strong>patch</strong>: deprecated</li> * <li><strong>remotelogin</strong>: notification for remote logons</li> * <li><strong>health</strong>: notification for security checks</li> * <li><strong>yundun_sas_cloudsiem_log</strong>: notifications of insufficient threat analysis log capacity</li> * </ul> * <blockquote> * <p>If the value is <strong>yundun_security_Weekreport</strong>, weekly reports are sent to notify you of unhandled vulnerabilities.</p> * </blockquote> * * <strong>example:</strong> * <p>sas_suspicious</p> */ public Builder project(String project) { this.project = project; return this; } /** * <p>The notification method. Valid values:</p> * <ul> * <li><strong>1</strong>: text message</li> * <li><strong>2</strong>: email</li> * <li><strong>4</strong>: internal message</li> * <li><strong>3</strong>: text message and email</li> * <li><strong>5</strong>: text message and internal message</li> * <li><strong>6</strong>: email and internal message</li> * <li><strong>7</strong>: text message, email, and internal message</li> * </ul> * * <strong>example:</strong> * <p>7</p> */ public Builder route(Integer route) { this.route = route; return this; } /** * <p>The time period during which Security Center sends notifications. Valid values:</p> * <ul> * <li><strong>0</strong>: any time</li> * <li><strong>1</strong>: 08:00 to 22:00</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder timeLimit(Integer timeLimit) { this.timeLimit = timeLimit; return this; } public NoticeConfigList build() { return new NoticeConfigList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNsasSuspEventTypeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNsasSuspEventTypeRequest} extends {@link RequestModel} * * <p>DescribeNsasSuspEventTypeRequest</p> */ public class DescribeNsasSuspEventTypeRequest extends Request { @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("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("MultiAccountActionType") private Integer multiAccountActionType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @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("Uuids") private String uuids; private DescribeNsasSuspEventTypeRequest(Builder builder) { super(builder); this.containerFieldName = builder.containerFieldName; this.containerFieldValue = builder.containerFieldValue; this.from = builder.from; this.lang = builder.lang; this.multiAccountActionType = builder.multiAccountActionType; this.name = builder.name; this.remark = builder.remark; this.sourceIp = builder.sourceIp; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static DescribeNsasSuspEventTypeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return containerFieldName */ public String getContainerFieldName() { return this.containerFieldName; } /** * @return containerFieldValue */ public String getContainerFieldValue() { return this.containerFieldValue; } /** * @return from */ public String getFrom() { return this.from; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return multiAccountActionType */ public Integer getMultiAccountActionType() { return this.multiAccountActionType; } /** * @return name */ public String getName() { return this.name; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<DescribeNsasSuspEventTypeRequest, Builder> { private String containerFieldName; private String containerFieldValue; private String from; private String lang; private Integer multiAccountActionType; private String name; private String remark; private String sourceIp; private String uuids; private Builder() { super(); } private Builder(DescribeNsasSuspEventTypeRequest request) { super(request); this.containerFieldName = request.containerFieldName; this.containerFieldValue = request.containerFieldValue; this.from = request.from; this.lang = request.lang; this.multiAccountActionType = request.multiAccountActionType; this.name = request.name; this.remark = request.remark; this.sourceIp = request.sourceIp; this.uuids = request.uuids; } /** * <p>The name of the container field. Valid values:</p> * <ul> * <li><strong>clusterId</strong>: the ID of the cluster</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 container field.</p> * * <strong>example:</strong> * <p>ca3108551c83c4d949106e1ab9e1e****</p> */ public Builder containerFieldValue(String containerFieldValue) { this.putQueryParameter("ContainerFieldValue", containerFieldValue); this.containerFieldValue = containerFieldValue; return this; } /** * <p>The ID of the request source. Set the value to <strong>sas</strong>, which indicates that the request is sent from Security Center.</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 type of the accounts that you want to query. Default value: <strong>0</strong>. Valid values:</p> * <ul> * <li><strong>0</strong>: the current account.</li> * <li><strong>1</strong>: all accounts.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder multiAccountActionType(Integer multiAccountActionType) { this.putQueryParameter("MultiAccountActionType", multiAccountActionType); this.multiAccountActionType = multiAccountActionType; return this; } /** * <p>The name of the alert type.</p> * * <strong>example:</strong> * <p>Unusual Logon</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>testECS</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>180.212.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The UUIDs of servers. Separate multiple UUIDs with commas (,).</p> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/141932.html">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> * * <strong>example:</strong> * <p>f56406cb-916d-42db-b6f7-2ff79e34****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public DescribeNsasSuspEventTypeRequest build() { return new DescribeNsasSuspEventTypeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNsasSuspEventTypeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNsasSuspEventTypeResponse} extends {@link TeaModel} * * <p>DescribeNsasSuspEventTypeResponse</p> */ public class DescribeNsasSuspEventTypeResponse 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 DescribeNsasSuspEventTypeResponseBody body; private DescribeNsasSuspEventTypeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNsasSuspEventTypeResponse 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 DescribeNsasSuspEventTypeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNsasSuspEventTypeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeNsasSuspEventTypeResponseBody body); @Override DescribeNsasSuspEventTypeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNsasSuspEventTypeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeNsasSuspEventTypeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNsasSuspEventTypeResponse 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(DescribeNsasSuspEventTypeResponseBody body) { this.body = body; return this; } @Override public DescribeNsasSuspEventTypeResponse build() { return new DescribeNsasSuspEventTypeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeNsasSuspEventTypeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNsasSuspEventTypeResponseBody} extends {@link TeaModel} * * <p>DescribeNsasSuspEventTypeResponseBody</p> */ public class DescribeNsasSuspEventTypeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventTypes") private java.util.List<EventTypes> eventTypes; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNsasSuspEventTypeResponseBody(Builder builder) { this.eventTypes = builder.eventTypes; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNsasSuspEventTypeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return eventTypes */ public java.util.List<EventTypes> getEventTypes() { return this.eventTypes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<EventTypes> eventTypes; private String requestId; private Builder() { } private Builder(DescribeNsasSuspEventTypeResponseBody model) { this.eventTypes = model.eventTypes; this.requestId = model.requestId; } /** * <p>An array that consists of the information about the alert type.</p> */ public Builder eventTypes(java.util.List<EventTypes> eventTypes) { this.eventTypes = eventTypes; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>9FBC6E47-7508-58C9-9E76-528E118CB1CC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNsasSuspEventTypeResponseBody build() { return new DescribeNsasSuspEventTypeResponseBody(this); } } /** * * {@link DescribeNsasSuspEventTypeResponseBody} extends {@link TeaModel} * * <p>DescribeNsasSuspEventTypeResponseBody</p> */ public static class EventTypes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("SuspEventCount") private Integer suspEventCount; @com.aliyun.core.annotation.NameInMap("Type") private String type; private EventTypes(Builder builder) { this.name = builder.name; this.suspEventCount = builder.suspEventCount; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static EventTypes create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return suspEventCount */ public Integer getSuspEventCount() { return this.suspEventCount; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String name; private Integer suspEventCount; private String type; private Builder() { } private Builder(EventTypes model) { this.name = model.name; this.suspEventCount = model.suspEventCount; this.type = model.type; } /** * <p>The name of the alert type.</p> * * <strong>example:</strong> * <p>Unusual Logon</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The number of assets for which an alert of the type is generated.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder suspEventCount(Integer suspEventCount) { this.suspEventCount = suspEventCount; return this; } /** * <p>The alert type.</p> * * <strong>example:</strong> * <p>Unusual Logon</p> */ public Builder type(String type) { this.type = type; return this; } public EventTypes build() { return new EventTypes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOfflineMachinesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOfflineMachinesRequest} extends {@link RequestModel} * * <p>DescribeOfflineMachinesRequest</p> */ public class DescribeOfflineMachinesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionIdStr") private String regionIdStr; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionNo") private String regionNo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Vendor") private Integer vendor; private DescribeOfflineMachinesRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.os = builder.os; this.pageSize = builder.pageSize; this.regionIdStr = builder.regionIdStr; this.regionNo = builder.regionNo; this.remark = builder.remark; this.sourceIp = builder.sourceIp; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static DescribeOfflineMachinesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return os */ public String getOs() { return this.os; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionIdStr */ public String getRegionIdStr() { return this.regionIdStr; } /** * @return regionNo */ public String getRegionNo() { return this.regionNo; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } public static final class Builder extends Request.Builder<DescribeOfflineMachinesRequest, Builder> { private Integer currentPage; private String os; private Integer pageSize; private String regionIdStr; private String regionNo; private String remark; private String sourceIp; private Integer vendor; private Builder() { super(); } private Builder(DescribeOfflineMachinesRequest request) { super(request); this.currentPage = request.currentPage; this.os = request.os; this.pageSize = request.pageSize; this.regionIdStr = request.regionIdStr; this.regionNo = request.regionNo; this.remark = request.remark; this.sourceIp = request.sourceIp; this.vendor = request.vendor; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The operating system of the server.</p> * <blockquote> * <p> The value of this parameter is the value of the Values parameter that is returned by calling the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation. If the value of the <strong>Name</strong> parameter in the response is <strong>osType</strong>, the value of the <strong>Values</strong> parameter indicates an operating system.</p> * </blockquote> * * <strong>example:</strong> * <p>linux</p> */ public Builder os(String os) { this.putQueryParameter("Os", os); this.os = os; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>5</strong>.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region in which the server resides.</p> * <blockquote> * <p> The value of this parameter is the value of the Values parameter that is returned by calling the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation. If the value of the <strong>Name</strong> parameter in the response is <strong>regionId</strong>, the value of the <strong>Values</strong> parameter indicates a region ID.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionIdStr(String regionIdStr) { this.putQueryParameter("RegionIdStr", regionIdStr); this.regionIdStr = regionIdStr; return this; } /** * <p>The region in which the server resides.</p> * <blockquote> * <p> The value of this parameter is the value of the Values parameter that is returned by calling the <a href="~~DescribeCriteria~~">DescribeCriteria</a> operation. If the value of the <strong>Name</strong> parameter in the response is <strong>regionId</strong>, the value of the <strong>Values</strong> parameter indicates a region ID.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionNo(String regionNo) { this.putQueryParameter("RegionNo", regionNo); this.regionNo = regionNo; return this; } /** * <p>The information about the server that you want to query. The value can be the name or the public IP address of the server.</p> * * <strong>example:</strong> * <p>172.20.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>180.113.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The source of the server. Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud.</li> * <li><strong>1</strong>: a third-party cloud server</li> * <li><strong>2</strong>: a server in a data center</li> * <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, and <strong>7</strong>: other cloud asset</li> * <li><strong>8</strong>: a lightweight asset</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Integer vendor) { this.putQueryParameter("Vendor", vendor); this.vendor = vendor; return this; } @Override public DescribeOfflineMachinesRequest build() { return new DescribeOfflineMachinesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOfflineMachinesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOfflineMachinesResponse} extends {@link TeaModel} * * <p>DescribeOfflineMachinesResponse</p> */ public class DescribeOfflineMachinesResponse 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 DescribeOfflineMachinesResponseBody body; private DescribeOfflineMachinesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeOfflineMachinesResponse 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 DescribeOfflineMachinesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeOfflineMachinesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeOfflineMachinesResponseBody body); @Override DescribeOfflineMachinesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeOfflineMachinesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeOfflineMachinesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeOfflineMachinesResponse 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(DescribeOfflineMachinesResponseBody body) { this.body = body; return this; } @Override public DescribeOfflineMachinesResponse build() { return new DescribeOfflineMachinesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOfflineMachinesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOfflineMachinesResponseBody} extends {@link TeaModel} * * <p>DescribeOfflineMachinesResponseBody</p> */ public class DescribeOfflineMachinesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("MachineList") private java.util.List<MachineList> machineList; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeOfflineMachinesResponseBody(Builder builder) { this.currentPage = builder.currentPage; this.machineList = builder.machineList; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeOfflineMachinesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return machineList */ public java.util.List<MachineList> getMachineList() { return this.machineList; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private java.util.List<MachineList> machineList; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeOfflineMachinesResponseBody model) { this.currentPage = model.currentPage; this.machineList = model.machineList; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>An array that consists of the information about servers.</p> */ public Builder machineList(java.util.List<MachineList> machineList) { this.machineList = machineList; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</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 DescribeOfflineMachinesResponseBody build() { return new DescribeOfflineMachinesResponseBody(this); } } /** * * {@link DescribeOfflineMachinesResponseBody} extends {@link TeaModel} * * <p>DescribeOfflineMachinesResponseBody</p> */ public static class MachineList extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("MachineRegion") private String machineRegion; @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("Vendor") private Integer vendor; @com.aliyun.core.annotation.NameInMap("VendorName") private String vendorName; private MachineList(Builder builder) { this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.machineRegion = builder.machineRegion; this.os = builder.os; this.regionId = builder.regionId; this.uuid = builder.uuid; this.vendor = builder.vendor; this.vendorName = builder.vendorName; } public static Builder builder() { return new Builder(); } public static MachineList create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return machineRegion */ public String getMachineRegion() { return this.machineRegion; } /** * @return os */ public String getOs() { return this.os; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return vendor */ public Integer getVendor() { return this.vendor; } /** * @return vendorName */ public String getVendorName() { return this.vendorName; } public static final class Builder { private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String machineRegion; private String os; private String regionId; private String uuid; private Integer vendor; private String vendorName; private Builder() { } private Builder(MachineList model) { this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.machineRegion = model.machineRegion; this.os = model.os; this.regionId = model.regionId; this.uuid = model.uuid; this.vendor = model.vendor; this.vendorName = model.vendorName; } /** * <p>The ID of the server.</p> * * <strong>example:</strong> * <p>sas-bdrvxb4b****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>sql-test-001</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>120.79.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder machineRegion(String machineRegion) { this.machineRegion = machineRegion; return this; } /** * <p>The operating system of the server. Valid values:</p> * <ul> * <li><strong>linux</strong></li> * <li><strong>windows</strong></li> * <li><strong>windows-2003</strong></li> * </ul> * * <strong>example:</strong> * <p>linux</p> */ public Builder os(String os) { this.os = os; return this; } /** * <p>The ID of the region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>6d5b361f-958d-48a8-a9d2-d6e82c1****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>The source of the server. Valid values:</p> * <ul> * <li><strong>0</strong>: an asset provided by Alibaba Cloud.</li> * <li><strong>1</strong>: a third-party cloud server</li> * <li><strong>2</strong>: a server in a data center</li> * <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, and <strong>7</strong>: other cloud asset</li> * <li><strong>8</strong>: a lightweight asset</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder vendor(Integer vendor) { this.vendor = vendor; return this; } /** * <p>The name of the service provider (SP) for the server.</p> * <p>Valid values:</p> * <ul> * <li><strong>ALIYUN</strong>: Alibaba Cloud</li> * <li><strong>OUT</strong>: a third-party service provider</li> * <li><strong>IDC</strong>: a data center</li> * <li><strong>TENCENT</strong>: Tencent Cloud</li> * <li><strong>HUAWEICLOUD</strong>: Huawei Cloud</li> * <li><strong>Microsoft</strong>: Microsoft</li> * <li><strong>AWS</strong>: Amazon Web Services (AWS)</li> * <li><strong>TRIPARTITE</strong>: a lightweight server</li> * </ul> * * <strong>example:</strong> * <p>ALIYUN</p> */ public Builder vendorName(String vendorName) { this.vendorName = vendorName; return this; } public MachineList build() { return new MachineList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOnceTaskLeafRecordPageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOnceTaskLeafRecordPageRequest} extends {@link RequestModel} * * <p>DescribeOnceTaskLeafRecordPageRequest</p> */ public class DescribeOnceTaskLeafRecordPageRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @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("RelateInfo") @com.aliyun.core.annotation.Validation(required = true) private Boolean relateInfo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StatusList") private java.util.List<String> statusList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") @com.aliyun.core.annotation.Validation(required = true) private String taskType; private DescribeOnceTaskLeafRecordPageRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.endTime = builder.endTime; this.pageSize = builder.pageSize; this.relateInfo = builder.relateInfo; this.source = builder.source; this.startTime = builder.startTime; this.statusList = builder.statusList; this.taskId = builder.taskId; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static DescribeOnceTaskLeafRecordPageRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return relateInfo */ public Boolean getRelateInfo() { return this.relateInfo; } /** * @return source */ public String getSource() { return this.source; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return statusList */ public java.util.List<String> getStatusList() { return this.statusList; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<DescribeOnceTaskLeafRecordPageRequest, Builder> { private Integer currentPage; private Long endTime; private Integer pageSize; private Boolean relateInfo; private String source; private Long startTime; private java.util.List<String> statusList; private String taskId; private String taskType; private Builder() { super(); } private Builder(DescribeOnceTaskLeafRecordPageRequest request) { super(request); this.currentPage = request.currentPage; this.endTime = request.endTime; this.pageSize = request.pageSize; this.relateInfo = request.relateInfo; this.source = request.source; this.startTime = request.startTime; this.statusList = request.statusList; this.taskId = request.taskId; this.taskType = request.taskType; } /** * <p>The number of the page to return.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The end timestamp of the sub-task.</p> * * <strong>example:</strong> * <p>1668064495000</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</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>Specifies whether extension information is associated.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder relateInfo(Boolean relateInfo) { this.putQueryParameter("RelateInfo", relateInfo); this.relateInfo = relateInfo; return this; } /** * <p>The source of the request.</p> * * <strong>example:</strong> * <p>console_batch</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The start timestamp of the sub-task.</p> * * <strong>example:</strong> * <p>1648438617000</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The status information.</p> */ public Builder statusList(java.util.List<String> statusList) { this.putQueryParameter("StatusList", statusList); this.statusList = statusList; return this; } /** * <p>The ID of the sub-task.</p> * * <strong>example:</strong> * <p>1471d8ebb96795b41ede090b9758****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The type of the sub-task. Valid values:</p> * <ul> * <li><strong>IMAGE_SCAN</strong>: image scan task</li> * <li><strong>IMAGE_REGISTRY_PULL</strong>: image asset synchronization task</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 DescribeOnceTaskLeafRecordPageRequest build() { return new DescribeOnceTaskLeafRecordPageRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOnceTaskLeafRecordPageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOnceTaskLeafRecordPageResponse} extends {@link TeaModel} * * <p>DescribeOnceTaskLeafRecordPageResponse</p> */ public class DescribeOnceTaskLeafRecordPageResponse 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 DescribeOnceTaskLeafRecordPageResponseBody body; private DescribeOnceTaskLeafRecordPageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeOnceTaskLeafRecordPageResponse 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 DescribeOnceTaskLeafRecordPageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeOnceTaskLeafRecordPageResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeOnceTaskLeafRecordPageResponseBody body); @Override DescribeOnceTaskLeafRecordPageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeOnceTaskLeafRecordPageResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeOnceTaskLeafRecordPageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeOnceTaskLeafRecordPageResponse 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(DescribeOnceTaskLeafRecordPageResponseBody body) { this.body = body; return this; } @Override public DescribeOnceTaskLeafRecordPageResponse build() { return new DescribeOnceTaskLeafRecordPageResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOnceTaskLeafRecordPageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOnceTaskLeafRecordPageResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskLeafRecordPageResponseBody</p> */ public class DescribeOnceTaskLeafRecordPageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("OnceTasks") private java.util.List<OnceTasks> onceTasks; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeOnceTaskLeafRecordPageResponseBody(Builder builder) { this.onceTasks = builder.onceTasks; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeOnceTaskLeafRecordPageResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return onceTasks */ public java.util.List<OnceTasks> getOnceTasks() { return this.onceTasks; } /** * @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<OnceTasks> onceTasks; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(DescribeOnceTaskLeafRecordPageResponseBody model) { this.onceTasks = model.onceTasks; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The details of tasks.</p> */ public Builder onceTasks(java.util.List<OnceTasks> onceTasks) { this.onceTasks = onceTasks; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A4EB8B1C-1DEC-5E18-BCD0-D1BBB393****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeOnceTaskLeafRecordPageResponseBody build() { return new DescribeOnceTaskLeafRecordPageResponseBody(this); } } /** * * {@link DescribeOnceTaskLeafRecordPageResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskLeafRecordPageResponseBody</p> */ public static class TaskImageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("CostTimeInfo") private String costTimeInfo; @com.aliyun.core.annotation.NameInMap("Digest") private String digest; @com.aliyun.core.annotation.NameInMap("Image") private String image; @com.aliyun.core.annotation.NameInMap("NodeInstanceId") private String nodeInstanceId; @com.aliyun.core.annotation.NameInMap("NodeIp") private String nodeIp; @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("Pod") private String pod; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RegistryType") private String registryType; @com.aliyun.core.annotation.NameInMap("RepoId") private String repoId; @com.aliyun.core.annotation.NameInMap("RepoName") private String repoName; @com.aliyun.core.annotation.NameInMap("RepoNamespace") private String repoNamespace; @com.aliyun.core.annotation.NameInMap("RepoRegionId") private String repoRegionId; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; private TaskImageInfo(Builder builder) { this.appName = builder.appName; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.costTimeInfo = builder.costTimeInfo; this.digest = builder.digest; this.image = builder.image; this.nodeInstanceId = builder.nodeInstanceId; this.nodeIp = builder.nodeIp; this.nodeName = builder.nodeName; this.pod = builder.pod; this.regionId = builder.regionId; this.registryType = builder.registryType; this.repoId = builder.repoId; this.repoName = builder.repoName; this.repoNamespace = builder.repoNamespace; this.repoRegionId = builder.repoRegionId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static TaskImageInfo create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return costTimeInfo */ public String getCostTimeInfo() { return this.costTimeInfo; } /** * @return digest */ public String getDigest() { return this.digest; } /** * @return image */ public String getImage() { return this.image; } /** * @return nodeInstanceId */ public String getNodeInstanceId() { return this.nodeInstanceId; } /** * @return nodeIp */ public String getNodeIp() { return this.nodeIp; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return pod */ public String getPod() { return this.pod; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return registryType */ public String getRegistryType() { return this.registryType; } /** * @return repoId */ public String getRepoId() { return this.repoId; } /** * @return repoName */ public String getRepoName() { return this.repoName; } /** * @return repoNamespace */ public String getRepoNamespace() { return this.repoNamespace; } /** * @return repoRegionId */ public String getRepoRegionId() { return this.repoRegionId; } /** * @return tag */ public String getTag() { return this.tag; } public static final class Builder { private String appName; private String clusterId; private String clusterName; private String costTimeInfo; private String digest; private String image; private String nodeInstanceId; private String nodeIp; private String nodeName; private String pod; private String regionId; private String registryType; private String repoId; private String repoName; private String repoNamespace; private String repoRegionId; private String tag; private Builder() { } private Builder(TaskImageInfo model) { this.appName = model.appName; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.costTimeInfo = model.costTimeInfo; this.digest = model.digest; this.image = model.image; this.nodeInstanceId = model.nodeInstanceId; this.nodeIp = model.nodeIp; this.nodeName = model.nodeName; this.pod = model.pod; this.regionId = model.regionId; this.registryType = model.registryType; this.repoId = model.repoId; this.repoName = model.repoName; this.repoNamespace = model.repoNamespace; this.repoRegionId = model.repoRegionId; this.tag = model.tag; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>ack-jenkins-****</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the cluster.</p> * * <strong>example:</strong> * <p>a765ba1435e7f9446065370e9a41****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The cluster name.</p> * * <strong>example:</strong> * <p>ACK-test-****</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The time consumed. The value is in the JSON format. The end time of each item is displayed.</p> * <ul> * <li><strong>vul</strong>: system vulnerabilities</li> * <li><strong>scaVul</strong>: application vulnerabilities</li> * <li><strong>scaVul</strong>: baseline</li> * <li><strong>binary</strong>: binary</li> * <li><strong>forbiddenPackageInfo</strong>: information about the prohibited package</li> * <li><strong>identificationInfo</strong>: identity authentication</li> * <li><strong>script</strong>: malicious scripts</li> * <li><strong>sensitiveFile</strong>: sensitive files</li> * <li><strong>sensitiveInfo</strong>: AccessKey pair leaks</li> * <li><strong>webshell</strong>: website scripts</li> * </ul> * * <strong>example:</strong> * <p>{&quot;scaVul&quot;:&quot;2023-09-04 09:37:21&quot;,&quot;identificationInfo&quot;:&quot;2023-09-04 09:37:30&quot;,&quot;forbiddenPackageInfo&quot;:&quot;2023-09-04 09:37:16&quot;,&quot;binary&quot;:&quot;2023-09-04 09:37:25&quot;,&quot;baseline&quot;:&quot;2023-09-04 09:37:19&quot;,&quot;sensitiveFile&quot;:&quot;2023-09-04 09:38:34&quot;,&quot;vul&quot;:&quot;2023-09-04 09:37:31&quot;,&quot;webshell&quot;:&quot;2023-09-04 09:38:27&quot;,&quot;sensitiveInfo&quot;:&quot;2023-09-04 09:37:16&quot;,&quot;script&quot;:&quot;2023-09-04 09:39:44&quot;}</p> */ public Builder costTimeInfo(String costTimeInfo) { this.costTimeInfo = costTimeInfo; return this; } /** * <p>The digest of the image.</p> * * <strong>example:</strong> * <p>9e0dc29d872d2e386cc5c0c92b529a84e3acfade16f5cb1d054a2ee3c99****</p> */ public Builder digest(String digest) { this.digest = digest; return this; } /** * <p>The image of the container.</p> * * <strong>example:</strong> * <p><em><strong>s.com/sas_test/baseli</strong></em></p> */ public Builder image(String image) { this.image = image; return this; } /** * <p>The instance ID of the node.</p> * * <strong>example:</strong> * <p>i-0xi5mxvtmfw9****</p> */ public Builder nodeInstanceId(String nodeInstanceId) { this.nodeInstanceId = nodeInstanceId; return this; } /** * <p>The IP address of the node.</p> * * <strong>example:</strong> * <p>172.18.XXX.XXX</p> */ public Builder nodeIp(String nodeIp) { this.nodeIp = nodeIp; return this; } /** * <p>The name of the node.</p> * * <strong>example:</strong> * <p>pztest****</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The pod of the image.</p> * * <strong>example:</strong> * <p>expoit-law-****</p> */ public Builder pod(String pod) { this.pod = pod; return this; } /** * <p>The region ID of the server image.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The type of the image repository. Valid values:</p> * <ul> * <li><strong>acr</strong></li> * <li><strong>harbor</strong></li> * <li><strong>quay</strong></li> * <li><strong>CI/CD</strong></li> * </ul> * * <strong>example:</strong> * <p>acr</p> */ public Builder registryType(String registryType) { this.registryType = registryType; return this; } /** * <p>The ID of the image repository.</p> * * <strong>example:</strong> * <p>crr-r88w2vryp8m****</p> */ public Builder repoId(String repoId) { this.repoId = repoId; return this; } /** * <p>The name of the image repository.</p> * * <strong>example:</strong> * <p>testyyy</p> */ public Builder repoName(String repoName) { this.repoName = repoName; return this; } /** * <p>The name of the namespace to which the image repository belongs.</p> * * <strong>example:</strong> * <p>bitn***</p> */ public Builder repoNamespace(String repoNamespace) { this.repoNamespace = repoNamespace; return this; } /** * <p>The region ID of the image repository.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder repoRegionId(String repoRegionId) { this.repoRegionId = repoRegionId; return this; } /** * <p>The tag that is added to the image.</p> * * <strong>example:</strong> * <p>v1.20-002-a2*****</p> */ public Builder tag(String tag) { this.tag = tag; return this; } public TaskImageInfo build() { return new TaskImageInfo(this); } } } /** * * {@link DescribeOnceTaskLeafRecordPageResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskLeafRecordPageResponseBody</p> */ public static class OnceTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("Finish") private Integer finish; @com.aliyun.core.annotation.NameInMap("FinishCount") private String finishCount; @com.aliyun.core.annotation.NameInMap("Progress") private Long progress; @com.aliyun.core.annotation.NameInMap("RealRunTime") private Long realRunTime; @com.aliyun.core.annotation.NameInMap("ResultInfo") private String resultInfo; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("StatusText") private String statusText; @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskImageInfo") private TaskImageInfo taskImageInfo; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.NameInMap("TotalCount") private String totalCount; private OnceTasks(Builder builder) { this.endTime = builder.endTime; this.finish = builder.finish; this.finishCount = builder.finishCount; this.progress = builder.progress; this.realRunTime = builder.realRunTime; this.resultInfo = builder.resultInfo; this.startTime = builder.startTime; this.status = builder.status; this.statusText = builder.statusText; this.target = builder.target; this.targetType = builder.targetType; this.taskId = builder.taskId; this.taskImageInfo = builder.taskImageInfo; this.taskName = builder.taskName; this.taskType = builder.taskType; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static OnceTasks create() { return builder().build(); } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return finish */ public Integer getFinish() { return this.finish; } /** * @return finishCount */ public String getFinishCount() { return this.finishCount; } /** * @return progress */ public Long getProgress() { return this.progress; } /** * @return realRunTime */ public Long getRealRunTime() { return this.realRunTime; } /** * @return resultInfo */ public String getResultInfo() { return this.resultInfo; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return statusText */ public String getStatusText() { return this.statusText; } /** * @return target */ public String getTarget() { return this.target; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskImageInfo */ public TaskImageInfo getTaskImageInfo() { return this.taskImageInfo; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return totalCount */ public String getTotalCount() { return this.totalCount; } public static final class Builder { private Long endTime; private Integer finish; private String finishCount; private Long progress; private Long realRunTime; private String resultInfo; private Long startTime; private String status; private String statusText; private String target; private String targetType; private String taskId; private TaskImageInfo taskImageInfo; private String taskName; private String taskType; private String totalCount; private Builder() { } private Builder(OnceTasks model) { this.endTime = model.endTime; this.finish = model.finish; this.finishCount = model.finishCount; this.progress = model.progress; this.realRunTime = model.realRunTime; this.resultInfo = model.resultInfo; this.startTime = model.startTime; this.status = model.status; this.statusText = model.statusText; this.target = model.target; this.targetType = model.targetType; this.taskId = model.taskId; this.taskImageInfo = model.taskImageInfo; this.taskName = model.taskName; this.taskType = model.taskType; this.totalCount = model.totalCount; } /** * <p>The time when the sub-task ends.</p> * * <strong>example:</strong> * <p>1670307567000</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>Indicates whether the sub-task is complete.</p> * <ul> * <li><strong>0</strong>: no</li> * <li><strong>1</strong>: yes</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder finish(Integer finish) { this.finish = finish; return this; } /** * <p>The number of the assets that are scanned.</p> * * <strong>example:</strong> * <p>67</p> */ public Builder finishCount(String finishCount) { this.finishCount = finishCount; return this; } /** * <p>The progress percentage of the sub-task.</p> * * <strong>example:</strong> * <p>75</p> */ public Builder progress(Long progress) { this.progress = progress; return this; } /** * <p>The execution duration of the sub-task.</p> * * <strong>example:</strong> * <p>1670307567000</p> */ public Builder realRunTime(Long realRunTime) { this.realRunTime = realRunTime; return this; } /** * <p>The execution result.</p> * * <strong>example:</strong> * <p>TASK_NOT_SUPPORT_REGION</p> */ public Builder resultInfo(String resultInfo) { this.resultInfo = resultInfo; return this; } /** * <p>The time when the sub-task starts.</p> * * <strong>example:</strong> * <p>1640102400000</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The status.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The sub-task status. Valid values:</p> * <ul> * <li><strong>INIT</strong>: The sub-task is not started.</li> * <li><strong>START</strong>: The sub-task is started.</li> * <li><strong>SUCCESS</strong>: The sub-task is complete.</li> * <li><strong>TIMEOUT</strong>: The sub-task timed out.</li> * </ul> * * <strong>example:</strong> * <p>SUCCESS</p> */ public Builder statusText(String statusText) { this.statusText = statusText; return this; } /** * <p>The objective of the sub-task.</p> * * <strong>example:</strong> * <p>238cf050a7270dd6940602e70f1e5a11eeaf4e02035f445b7f613ff5e064****</p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The type of the assets that are scanned. Valid values:</p> * <ul> * <li><strong>IMAGE_REPO</strong>: image repository</li> * <li><strong>IMAGE</strong>: image</li> * </ul> * * <strong>example:</strong> * <p>IMAGE</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } /** * <p>The sub-task ID.</p> * * <strong>example:</strong> * <p>9fb50f2af8bb67c9fdb684194c83****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The information about the image scan.</p> */ public Builder taskImageInfo(TaskImageInfo taskImageInfo) { this.taskImageInfo = taskImageInfo; return this; } /** * <p>The name of the sub-task.</p> * * <strong>example:</strong> * <p>IMAGE_SCAN</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The type of the sub-task.</p> * * <strong>example:</strong> * <p>IMAGE_SCAN</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalCount(String totalCount) { this.totalCount = totalCount; return this; } public OnceTasks build() { return new OnceTasks(this); } } } /** * * {@link DescribeOnceTaskLeafRecordPageResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskLeafRecordPageResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>6</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>16</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOnceTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOnceTaskRequest} extends {@link RequestModel} * * <p>DescribeOnceTaskRequest</p> */ public class DescribeOnceTaskRequest 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("EndTimeQuery") private Long endTimeQuery; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RootTaskId") private String rootTaskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTimeQuery") private Long startTimeQuery; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; private DescribeOnceTaskRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.endTimeQuery = builder.endTimeQuery; this.pageSize = builder.pageSize; this.rootTaskId = builder.rootTaskId; this.source = builder.source; this.startTimeQuery = builder.startTimeQuery; this.taskId = builder.taskId; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static DescribeOnceTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return endTimeQuery */ public Long getEndTimeQuery() { return this.endTimeQuery; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return rootTaskId */ public String getRootTaskId() { return this.rootTaskId; } /** * @return source */ public String getSource() { return this.source; } /** * @return startTimeQuery */ public Long getStartTimeQuery() { return this.startTimeQuery; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<DescribeOnceTaskRequest, Builder> { private Integer currentPage; private Long endTimeQuery; private Integer pageSize; private String rootTaskId; private String source; private Long startTimeQuery; private String taskId; private String taskType; private Builder() { super(); } private Builder(DescribeOnceTaskRequest request) { super(request); this.currentPage = request.currentPage; this.endTimeQuery = request.endTimeQuery; this.pageSize = request.pageSize; this.rootTaskId = request.rootTaskId; this.source = request.source; this.startTimeQuery = request.startTimeQuery; this.taskId = request.taskId; this.taskType = request.taskType; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The timestamp when the root task ends. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1651766520000</p> */ public Builder endTimeQuery(Long endTimeQuery) { this.putQueryParameter("EndTimeQuery", endTimeQuery); this.endTimeQuery = endTimeQuery; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The ID of the root task.</p> * <blockquote> * <p>You must specify at least one of the <strong>TaskType</strong> and <strong>RootTaskId</strong> parameters.</p> * </blockquote> * * <strong>example:</strong> * <p>bb5d657479bba5e1d308b6c9e85c9174</p> */ public Builder rootTaskId(String rootTaskId) { this.putQueryParameter("RootTaskId", rootTaskId); this.rootTaskId = rootTaskId; return this; } /** * <p>The source of the task. Valid values include the following values:</p> * <ul> * <li><strong>schedule</strong>: automatic scheduling of Cloud Security Scanner.</li> * <li><strong>console</strong>: one-click detection in the Cloud Security Scanner console.</li> * </ul> * * <strong>example:</strong> * <p>console</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The timestamp when the root task starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1651737301000</p> */ public Builder startTimeQuery(Long startTimeQuery) { this.putQueryParameter("StartTimeQuery", startTimeQuery); this.startTimeQuery = startTimeQuery; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>d7b2acf8d362742123e4a84e1bf8****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: a task of the Security Center agent</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> * <blockquote> * <p>You must specify at least one of the <strong>TaskType</strong> and <strong>RootTaskId</strong> parameters.</p> * </blockquote> * * <strong>example:</strong> * <p>CLIENT_PROBLEM_CHECK</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public DescribeOnceTaskRequest build() { return new DescribeOnceTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOnceTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOnceTaskResponse} extends {@link TeaModel} * * <p>DescribeOnceTaskResponse</p> */ public class DescribeOnceTaskResponse 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 DescribeOnceTaskResponseBody body; private DescribeOnceTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeOnceTaskResponse 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 DescribeOnceTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeOnceTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeOnceTaskResponseBody body); @Override DescribeOnceTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeOnceTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeOnceTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeOnceTaskResponse 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(DescribeOnceTaskResponseBody body) { this.body = body; return this; } @Override public DescribeOnceTaskResponse build() { return new DescribeOnceTaskResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeOnceTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOnceTaskResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskResponseBody</p> */ public class DescribeOnceTaskResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskManageResponseList") private java.util.List<TaskManageResponseList> taskManageResponseList; private DescribeOnceTaskResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.taskManageResponseList = builder.taskManageResponseList; } public static Builder builder() { return new Builder(); } public static DescribeOnceTaskResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskManageResponseList */ public java.util.List<TaskManageResponseList> getTaskManageResponseList() { return this.taskManageResponseList; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<TaskManageResponseList> taskManageResponseList; private Builder() { } private Builder(DescribeOnceTaskResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.taskManageResponseList = model.taskManageResponseList; } /** * <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>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>An array that consists of the tasks.</p> */ public Builder taskManageResponseList(java.util.List<TaskManageResponseList> taskManageResponseList) { this.taskManageResponseList = taskManageResponseList; return this; } public DescribeOnceTaskResponseBody build() { return new DescribeOnceTaskResponseBody(this); } } /** * * {@link DescribeOnceTaskResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribeOnceTaskResponseBody} extends {@link TeaModel} * * <p>DescribeOnceTaskResponseBody</p> */ public static class TaskManageResponseList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DetailData") private String detailData; @com.aliyun.core.annotation.NameInMap("FailCount") private Integer failCount; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("ResultInfo") private String resultInfo; @com.aliyun.core.annotation.NameInMap("SuccessCount") private Integer successCount; @com.aliyun.core.annotation.NameInMap("TaskEndTime") private Long taskEndTime; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("TaskStartTime") private Long taskStartTime; @com.aliyun.core.annotation.NameInMap("TaskStatus") private Integer taskStatus; @com.aliyun.core.annotation.NameInMap("TaskStatusText") private String taskStatusText; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; private TaskManageResponseList(Builder builder) { this.detailData = builder.detailData; this.failCount = builder.failCount; this.progress = builder.progress; this.resultInfo = builder.resultInfo; this.successCount = builder.successCount; this.taskEndTime = builder.taskEndTime; this.taskId = builder.taskId; this.taskName = builder.taskName; this.taskStartTime = builder.taskStartTime; this.taskStatus = builder.taskStatus; this.taskStatusText = builder.taskStatusText; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static TaskManageResponseList create() { return builder().build(); } /** * @return detailData */ public String getDetailData() { return this.detailData; } /** * @return failCount */ public Integer getFailCount() { return this.failCount; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return resultInfo */ public String getResultInfo() { return this.resultInfo; } /** * @return successCount */ public Integer getSuccessCount() { return this.successCount; } /** * @return taskEndTime */ public Long getTaskEndTime() { return this.taskEndTime; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskStartTime */ public Long getTaskStartTime() { return this.taskStartTime; } /** * @return taskStatus */ public Integer getTaskStatus() { return this.taskStatus; } /** * @return taskStatusText */ public String getTaskStatusText() { return this.taskStatusText; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder { private String detailData; private Integer failCount; private String progress; private String resultInfo; private Integer successCount; private Long taskEndTime; private String taskId; private String taskName; private Long taskStartTime; private Integer taskStatus; private String taskStatusText; private String taskType; private Builder() { } private Builder(TaskManageResponseList model) { this.detailData = model.detailData; this.failCount = model.failCount; this.progress = model.progress; this.resultInfo = model.resultInfo; this.successCount = model.successCount; this.taskEndTime = model.taskEndTime; this.taskId = model.taskId; this.taskName = model.taskName; this.taskStartTime = model.taskStartTime; this.taskStatus = model.taskStatus; this.taskStatusText = model.taskStatusText; this.taskType = model.taskType; } /** * <p>The execution details of the task. The value of this parameter is in the JSON format.</p> * <ul> * <li><strong>causeCode</strong>: the returned code for the cause.</li> * <li><strong>causeMsg</strong>: the returned message for the cause.</li> * <li><strong>resCode</strong>: the returned code for troubleshooting.</li> * <li><strong>resMsg</strong>: the returned message for troubleshooting.</li> * <li><strong>problemType</strong>: the type of the issue.</li> * <li><strong>dispatchType</strong>: the task delivery method.</li> * <li><strong>uuid</strong>: the UUID of the server.</li> * <li><strong>instanceId</strong>: the instance ID of the server.</li> * <li><strong>internetIp</strong>: the public IP address of the server.</li> * <li><strong>intranetIp</strong>: the private IP address of the server.</li> * <li><strong>instanceName</strong>: the instance name of the server.</li> * <li><strong>url</strong>: the download URL of the troubleshooting log.</li> * </ul> * * <strong>example:</strong> * <p>[ * { * &quot;dispatchType&quot;: &quot;manual&quot;, * &quot;causeMsg&quot;: [], * &quot;causeCode&quot;: [], * &quot;resCode&quot;: [ * &quot;1003&quot; * ], * &quot;resMsg&quot;: [ * &quot;powershell -executionpolicy bypass -c &quot;(New-Object Net.WebClient).DownloadFile(&quot;<a href="http://aegis.alicdn.com/download/aegis_client_self_check/win32/aegis_checker.exe%5C">http://aegis.alicdn.com/download/aegis_client_self_check/win32/aegis_checker.exe\</a>&quot;, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(&quot;.\\aegis_checker.exe&quot;))&quot;; &quot;./aegis_checker.exe -b eyJtb2RlIjoxLCJqc3J2X2RvbWFpbiI6W10sImlzc3VlIjoib2ZmbGluZSIsInVwZGF0ZV9kb21haW4iOltdLCJ1dWlkIjoiaW5ldC1lYWUwNDg2Ny0wMDJmLTQyM2QtYWYwMC1jNzJjZDYyOWIyNDgiLCJjbWRfaWR4IjoiNDRjZThiZWI3ZGYyYTQxMjQ1NGM4ZDc5OTE1ODI1MzMifQ==&quot;&quot; * ], * &quot;problemType&quot;: &quot;offline&quot;, * &quot;uuid&quot;: &quot;inet-eae04867-002f-423d-af00-c72cd629****&quot; * } * ]</p> */ public Builder detailData(String detailData) { this.detailData = detailData; return this; } /** * <p>The number of tasks that fail to be executed.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder failCount(Integer failCount) { this.failCount = failCount; return this; } /** * <p>The progress of the task. Unit: percent (%).</p> * * <strong>example:</strong> * <p>10%</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The execution result of the task.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder resultInfo(String resultInfo) { this.resultInfo = resultInfo; return this; } /** * <p>The number of tasks that are executed.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder successCount(Integer successCount) { this.successCount = successCount; return this; } /** * <p>The timestamp that indicates the time when the task ends. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1650267989000</p> */ public Builder taskEndTime(Long taskEndTime) { this.taskEndTime = taskEndTime; return this; } /** * <p>The task ID.</p> * * <strong>example:</strong> * <p>e900f528f5a6229bb640ca27cb44c98e</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The name of the task.</p> * * <strong>example:</strong> * <p>CLIENT_PROBLEM_CHECK</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The timestamp that indicates the time when the task starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1649732012000</p> */ public Builder taskStartTime(Long taskStartTime) { this.taskStartTime = taskStartTime; return this; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>1</strong>: The task is started.</li> * <li><strong>2</strong>: The task is complete.</li> * <li><strong>3</strong>: The task fails.</li> * <li><strong>4</strong>: The task times out.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder taskStatus(Integer taskStatus) { this.taskStatus = taskStatus; return this; } /** * <p>The text description of the status for the task. Valid values:</p> * <ul> * <li><strong>INIT</strong>: The task is pending start.</li> * <li><strong>START</strong>: The task is started.</li> * <li><strong>DISPATCH</strong>: The self-check command is issued.</li> * <li><strong>SUCCESS</strong>: The self-check is complete.</li> * <li><strong>FAIL</strong>: The task fails.</li> * <li><strong>TIMEOUT</strong>: The task times out.</li> * </ul> * * <strong>example:</strong> * <p>INIT</p> */ public Builder taskStatusText(String taskStatusText) { this.taskStatusText = taskStatusText; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: a task of the Security Center client</li> * <li><strong>CLIENT_DEV_OPS</strong>: an O&amp;M task of Cloud Assistant</li> * <li><strong>ASSET_SECURITY_CHECK</strong>: a task for asset information collection</li> * </ul> * * <strong>example:</strong> * <p>CLIENT_PROBLEM_CHECK</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } public TaskManageResponseList build() { return new TaskManageResponseList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePluginSummaryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePluginSummaryRequest} extends {@link RequestModel} * * <p>DescribePluginSummaryRequest</p> */ public class DescribePluginSummaryRequest 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("PluginName") private String pluginName; private DescribePluginSummaryRequest(Builder builder) { super(builder); this.lang = builder.lang; this.pluginName = builder.pluginName; } public static Builder builder() { return new Builder(); } public static DescribePluginSummaryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pluginName */ public String getPluginName() { return this.pluginName; } public static final class Builder extends Request.Builder<DescribePluginSummaryRequest, Builder> { private String lang; private String pluginName; private Builder() { super(); } private Builder(DescribePluginSummaryRequest request) { super(request); this.lang = request.lang; this.pluginName = request.pluginName; } /** * <p>The language of the content within the request and response.**** Valid values:</p> * <ul> * <li><strong>zh</strong> (default)</li> * <li><strong>en</strong></li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the plug-in. Valid values:</p> * <ul> * <li>alinet: AliNet.</li> * <li>alisecguard: client protection.</li> * <li>alihips: AliHips.</li> * </ul> * * <strong>example:</strong> * <p>alihips</p> */ public Builder pluginName(String pluginName) { this.putQueryParameter("PluginName", pluginName); this.pluginName = pluginName; return this; } @Override public DescribePluginSummaryRequest build() { return new DescribePluginSummaryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePluginSummaryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePluginSummaryResponse} extends {@link TeaModel} * * <p>DescribePluginSummaryResponse</p> */ public class DescribePluginSummaryResponse 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 DescribePluginSummaryResponseBody body; private DescribePluginSummaryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePluginSummaryResponse 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 DescribePluginSummaryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePluginSummaryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePluginSummaryResponseBody body); @Override DescribePluginSummaryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePluginSummaryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePluginSummaryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePluginSummaryResponse 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(DescribePluginSummaryResponseBody body) { this.body = body; return this; } @Override public DescribePluginSummaryResponse build() { return new DescribePluginSummaryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePluginSummaryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePluginSummaryResponseBody} extends {@link TeaModel} * * <p>DescribePluginSummaryResponseBody</p> */ public class DescribePluginSummaryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePluginSummaryResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePluginSummaryResponseBody 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(DescribePluginSummaryResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The details of the plug-in data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1383B0DB-D5D6-4B0C-9E6B-75939C8E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePluginSummaryResponseBody build() { return new DescribePluginSummaryResponseBody(this); } } /** * * {@link DescribePluginSummaryResponseBody} extends {@link TeaModel} * * <p>DescribePluginSummaryResponseBody</p> */ public static class FailedReasons extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Reason") private String reason; private FailedReasons(Builder builder) { this.code = builder.code; this.count = builder.count; this.reason = builder.reason; } public static Builder builder() { return new Builder(); } public static FailedReasons create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return reason */ public String getReason() { return this.reason; } public static final class Builder { private String code; private Integer count; private String reason; private Builder() { } private Builder(FailedReasons model) { this.code = model.code; this.count = model.count; this.reason = model.reason; } /** * <p>The error code for the installation failure.</p> * * <strong>example:</strong> * <p>-1</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The number of hosts on which the installation failed for this reason.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The cause of the installation failure.</p> * * <strong>example:</strong> * <p>Other</p> */ public Builder reason(String reason) { this.reason = reason; return this; } public FailedReasons build() { return new FailedReasons(this); } } } /** * * {@link DescribePluginSummaryResponseBody} extends {@link TeaModel} * * <p>DescribePluginSummaryResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("FailedCnt") private Integer failedCnt; @com.aliyun.core.annotation.NameInMap("FailedReasons") private java.util.List<FailedReasons> failedReasons; @com.aliyun.core.annotation.NameInMap("OfflineCnt") private Integer offlineCnt; @com.aliyun.core.annotation.NameInMap("OnlineCnt") private Integer onlineCnt; @com.aliyun.core.annotation.NameInMap("SwitchOffCnt") private Integer switchOffCnt; @com.aliyun.core.annotation.NameInMap("TotalCnt") private Integer totalCnt; private Data(Builder builder) { this.failedCnt = builder.failedCnt; this.failedReasons = builder.failedReasons; this.offlineCnt = builder.offlineCnt; this.onlineCnt = builder.onlineCnt; this.switchOffCnt = builder.switchOffCnt; this.totalCnt = builder.totalCnt; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return failedCnt */ public Integer getFailedCnt() { return this.failedCnt; } /** * @return failedReasons */ public java.util.List<FailedReasons> getFailedReasons() { return this.failedReasons; } /** * @return offlineCnt */ public Integer getOfflineCnt() { return this.offlineCnt; } /** * @return onlineCnt */ public Integer getOnlineCnt() { return this.onlineCnt; } /** * @return switchOffCnt */ public Integer getSwitchOffCnt() { return this.switchOffCnt; } /** * @return totalCnt */ public Integer getTotalCnt() { return this.totalCnt; } public static final class Builder { private Integer failedCnt; private java.util.List<FailedReasons> failedReasons; private Integer offlineCnt; private Integer onlineCnt; private Integer switchOffCnt; private Integer totalCnt; private Builder() { } private Builder(Data model) { this.failedCnt = model.failedCnt; this.failedReasons = model.failedReasons; this.offlineCnt = model.offlineCnt; this.onlineCnt = model.onlineCnt; this.switchOffCnt = model.switchOffCnt; this.totalCnt = model.totalCnt; } /** * <p>The number of hosts on which the plug-in failed to be installed.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder failedCnt(Integer failedCnt) { this.failedCnt = failedCnt; return this; } /** * <p>The causes of installation failures.</p> */ public Builder failedReasons(java.util.List<FailedReasons> failedReasons) { this.failedReasons = failedReasons; return this; } /** * <p>The number of hosts on which the plug-in is offline.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder offlineCnt(Integer offlineCnt) { this.offlineCnt = offlineCnt; return this; } /** * <p>The number of hosts on which the plug-in is online.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder onlineCnt(Integer onlineCnt) { this.onlineCnt = onlineCnt; return this; } /** * <p>The number of hosts for which the plug-in is not enabled.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder switchOffCnt(Integer switchOffCnt) { this.switchOffCnt = switchOffCnt; return this; } /** * <p>The total number of hosts.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder totalCnt(Integer totalCnt) { this.totalCnt = totalCnt; 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/DescribePropertyCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCountRequest} extends {@link RequestModel} * * <p>DescribePropertyCountRequest</p> */ public class DescribePropertyCountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UuidList") private String uuidList; private DescribePropertyCountRequest(Builder builder) { super(builder); this.type = builder.type; this.uuidList = builder.uuidList; } public static Builder builder() { return new Builder(); } public static DescribePropertyCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } /** * @return uuidList */ public String getUuidList() { return this.uuidList; } public static final class Builder extends Request.Builder<DescribePropertyCountRequest, Builder> { private String type; private String uuidList; private Builder() { super(); } private Builder(DescribePropertyCountRequest request) { super(request); this.type = request.type; this.uuidList = request.uuidList; } /** * <p>The type of the asset fingerprints. Separate multiple types with commas (,). Valid values:</p> * <ul> * <li><strong>port</strong>: port</li> * <li><strong>process</strong>: process</li> * <li><strong>software</strong>: software</li> * <li><strong>user</strong>: account</li> * <li><strong>cron</strong>: scheduled task</li> * <li><strong>sca</strong>: middleware</li> * <li><strong>web</strong>: website</li> * <li><strong>database</strong>: database</li> * <li><strong>lkm</strong>: kernel module</li> * <li><strong>autorun</strong>: startup item</li> * <li><strong>web_server</strong>: web service</li> * </ul> * * <strong>example:</strong> * <p>port,process</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUIDs of the assets. Separate multiple UUIDs with commas (,).</p> * * <strong>example:</strong> * <p>9658314a-7609-4426-afc4-2c924072****, * 9658314a-7609-4426-afc4-2c924072****</p> */ public Builder uuidList(String uuidList) { this.putQueryParameter("UuidList", uuidList); this.uuidList = uuidList; return this; } @Override public DescribePropertyCountRequest build() { return new DescribePropertyCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCountResponse} extends {@link TeaModel} * * <p>DescribePropertyCountResponse</p> */ public class DescribePropertyCountResponse 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 DescribePropertyCountResponseBody body; private DescribePropertyCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyCountResponse 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 DescribePropertyCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyCountResponseBody body); @Override DescribePropertyCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyCountResponse 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(DescribePropertyCountResponseBody body) { this.body = body; return this; } @Override public DescribePropertyCountResponse build() { return new DescribePropertyCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCountResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCountResponseBody</p> */ public class DescribePropertyCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AgentlessLlmService") private Integer agentlessLlmService; @com.aliyun.core.annotation.NameInMap("AgentlessScaAiComponent") private Integer agentlessScaAiComponent; @com.aliyun.core.annotation.NameInMap("Autorun") private Integer autorun; @com.aliyun.core.annotation.NameInMap("Cron") private Integer cron; @com.aliyun.core.annotation.NameInMap("Database") private Integer database; @com.aliyun.core.annotation.NameInMap("Lkm") private Integer lkm; @com.aliyun.core.annotation.NameInMap("Port") private Integer port; @com.aliyun.core.annotation.NameInMap("Process") private Integer process; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Sca") private Integer sca; @com.aliyun.core.annotation.NameInMap("Software") private Integer software; @com.aliyun.core.annotation.NameInMap("User") private Integer user; @com.aliyun.core.annotation.NameInMap("Web") private Integer web; @com.aliyun.core.annotation.NameInMap("Webserver") private Integer webserver; private DescribePropertyCountResponseBody(Builder builder) { this.agentlessLlmService = builder.agentlessLlmService; this.agentlessScaAiComponent = builder.agentlessScaAiComponent; this.autorun = builder.autorun; this.cron = builder.cron; this.database = builder.database; this.lkm = builder.lkm; this.port = builder.port; this.process = builder.process; this.requestId = builder.requestId; this.sca = builder.sca; this.software = builder.software; this.user = builder.user; this.web = builder.web; this.webserver = builder.webserver; } public static Builder builder() { return new Builder(); } public static DescribePropertyCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return agentlessLlmService */ public Integer getAgentlessLlmService() { return this.agentlessLlmService; } /** * @return agentlessScaAiComponent */ public Integer getAgentlessScaAiComponent() { return this.agentlessScaAiComponent; } /** * @return autorun */ public Integer getAutorun() { return this.autorun; } /** * @return cron */ public Integer getCron() { return this.cron; } /** * @return database */ public Integer getDatabase() { return this.database; } /** * @return lkm */ public Integer getLkm() { return this.lkm; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return process */ public Integer getProcess() { return this.process; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sca */ public Integer getSca() { return this.sca; } /** * @return software */ public Integer getSoftware() { return this.software; } /** * @return user */ public Integer getUser() { return this.user; } /** * @return web */ public Integer getWeb() { return this.web; } /** * @return webserver */ public Integer getWebserver() { return this.webserver; } public static final class Builder { private Integer agentlessLlmService; private Integer agentlessScaAiComponent; private Integer autorun; private Integer cron; private Integer database; private Integer lkm; private Integer port; private Integer process; private String requestId; private Integer sca; private Integer software; private Integer user; private Integer web; private Integer webserver; private Builder() { } private Builder(DescribePropertyCountResponseBody model) { this.agentlessLlmService = model.agentlessLlmService; this.agentlessScaAiComponent = model.agentlessScaAiComponent; this.autorun = model.autorun; this.cron = model.cron; this.database = model.database; this.lkm = model.lkm; this.port = model.port; this.process = model.process; this.requestId = model.requestId; this.sca = model.sca; this.software = model.software; this.user = model.user; this.web = model.web; this.webserver = model.webserver; } /** * AgentlessLlmService. */ public Builder agentlessLlmService(Integer agentlessLlmService) { this.agentlessLlmService = agentlessLlmService; return this; } /** * AgentlessScaAiComponent. */ public Builder agentlessScaAiComponent(Integer agentlessScaAiComponent) { this.agentlessScaAiComponent = agentlessScaAiComponent; return this; } /** * <p>The number of startup items.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder autorun(Integer autorun) { this.autorun = autorun; return this; } /** * <p>The number of scheduled tasks.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder cron(Integer cron) { this.cron = cron; return this; } /** * <p>The number of databases.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder database(Integer database) { this.database = database; return this; } /** * <p>The number of kernel modules.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder lkm(Integer lkm) { this.lkm = lkm; return this; } /** * <p>The number of ports.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder port(Integer port) { this.port = port; return this; } /** * <p>The number of processes.</p> * * <strong>example:</strong> * <p>367</p> */ public Builder process(Integer process) { this.process = process; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of middleware assets.</p> * * <strong>example:</strong> * <p>112</p> */ public Builder sca(Integer sca) { this.sca = sca; return this; } /** * <p>The number of software assets.</p> * * <strong>example:</strong> * <p>111</p> */ public Builder software(Integer software) { this.software = software; return this; } /** * <p>The number of accounts.</p> * * <strong>example:</strong> * <p>214</p> */ public Builder user(Integer user) { this.user = user; return this; } /** * <p>The number of websites.</p> * * <strong>example:</strong> * <p>65</p> */ public Builder web(Integer web) { this.web = web; return this; } /** * <p>The number of web services.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder webserver(Integer webserver) { this.webserver = webserver; return this; } public DescribePropertyCountResponseBody build() { return new DescribePropertyCountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCronDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCronDetailRequest} extends {@link RequestModel} * * <p>DescribePropertyCronDetailRequest</p> */ public class DescribePropertyCronDetailRequest 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("Extend") private String extend; @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("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("User") private String user; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribePropertyCronDetailRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.extend = builder.extend; this.pageSize = builder.pageSize; this.remark = builder.remark; this.source = builder.source; this.user = builder.user; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribePropertyCronDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return extend */ public String getExtend() { return this.extend; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return source */ public String getSource() { return this.source; } /** * @return user */ public String getUser() { return this.user; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribePropertyCronDetailRequest, Builder> { private Integer currentPage; private String extend; private Integer pageSize; private String remark; private String source; private String user; private String uuid; private Builder() { super(); } private Builder(DescribePropertyCronDetailRequest request) { super(request); this.currentPage = request.currentPage; this.extend = request.extend; this.pageSize = request.pageSize; this.remark = request.remark; this.source = request.source; this.user = request.user; this.uuid = request.uuid; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether fuzzy search by path to the scheduled task is supported. If you want to use fuzzy search, set the parameter to <strong>1</strong>. If you set the parameter to a different value or leave the parameter empty, fuzzy search is not supported.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder extend(String extend) { this.putQueryParameter("Extend", extend); this.extend = extend; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name or IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The path to the scheduled task.</p> * * <strong>example:</strong> * <p>/etc/cron.d/root</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The username of the account that runs the scheduled task.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder user(String user) { this.putQueryParameter("User", user); this.user = user; return this; } /** * <p>The UUID of the server.</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 DescribePropertyCronDetailRequest build() { return new DescribePropertyCronDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCronDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCronDetailResponse} extends {@link TeaModel} * * <p>DescribePropertyCronDetailResponse</p> */ public class DescribePropertyCronDetailResponse 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 DescribePropertyCronDetailResponseBody body; private DescribePropertyCronDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyCronDetailResponse 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 DescribePropertyCronDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyCronDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyCronDetailResponseBody body); @Override DescribePropertyCronDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyCronDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyCronDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyCronDetailResponse 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(DescribePropertyCronDetailResponseBody body) { this.body = body; return this; } @Override public DescribePropertyCronDetailResponse build() { return new DescribePropertyCronDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCronDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCronDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCronDetailResponseBody</p> */ public class DescribePropertyCronDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("Propertys") private java.util.List<Propertys> propertys; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyCronDetailResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertys = builder.propertys; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyCronDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertys */ public java.util.List<Propertys> getPropertys() { return this.propertys; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<Propertys> propertys; private String requestId; private Builder() { } private Builder(DescribePropertyCronDetailResponseBody model) { this.pageInfo = model.pageInfo; this.propertys = model.propertys; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The details of the scheduled tasks.</p> */ public Builder propertys(java.util.List<Propertys> propertys) { this.propertys = propertys; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>B0C4E12E-CCE1-109D-9E62-7B95CBBAEF8C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyCronDetailResponseBody build() { return new DescribePropertyCronDetailResponseBody(this); } } /** * * {@link DescribePropertyCronDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCronDetailResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyCronDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCronDetailResponseBody</p> */ public static class Propertys extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cmd") private String cmd; @com.aliyun.core.annotation.NameInMap("CreateTimestamp") private Long createTimestamp; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Md5") private String md5; @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("User") private String user; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Propertys(Builder builder) { this.cmd = builder.cmd; this.createTimestamp = builder.createTimestamp; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.ip = builder.ip; this.md5 = builder.md5; this.period = builder.period; this.source = builder.source; this.user = builder.user; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Propertys create() { return builder().build(); } /** * @return cmd */ public String getCmd() { return this.cmd; } /** * @return createTimestamp */ public Long getCreateTimestamp() { return this.createTimestamp; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return md5 */ public String getMd5() { return this.md5; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return source */ public String getSource() { return this.source; } /** * @return user */ public String getUser() { return this.user; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String cmd; private Long createTimestamp; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String ip; private String md5; private String period; private String source; private String user; private String uuid; private Builder() { } private Builder(Propertys model) { this.cmd = model.cmd; this.createTimestamp = model.createTimestamp; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.ip = model.ip; this.md5 = model.md5; this.period = model.period; this.source = model.source; this.user = model.user; this.uuid = model.uuid; } /** * <p>The command that is used to run the scheduled task.</p> * * <strong>example:</strong> * <p>/usr/lib64/sa/sa1 1 1</p> */ public Builder cmd(String cmd) { this.cmd = cmd; return this; } /** * <p>The timestamp of the last fingerprint collection. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1649149566000</p> */ public Builder createTimestamp(Long createTimestamp) { this.createTimestamp = createTimestamp; return this; } /** * <p>The ID of the server.</p> * * <strong>example:</strong> * <p>i-hp35tftuh52wbp1g****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server.</p> * * <strong>example:</strong> * <p>hc-host-****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.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>100.104.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The IP addresses of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The MD5 hash value of the path to the scheduled task.</p> * * <strong>example:</strong> * <p>4cc8f97c2bf9cbabb2c2be2erqw****</p> */ public Builder md5(String md5) { this.md5 = md5; return this; } /** * <p>The interval at which the scheduled task is performed.</p> */ public Builder period(String period) { this.period = period; return this; } /** * <p>The path to the scheduled task.</p> * * <strong>example:</strong> * <p>/etc/cron.d/root</p> */ public Builder source(String source) { this.source = source; return this; } /** * <p>The username of the account that runs the scheduled task.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder user(String user) { this.user = user; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>162eb349-c2d9-4f8b-805c-75b43d4c****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Propertys build() { return new Propertys(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCronItemRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCronItemRequest} extends {@link RequestModel} * * <p>DescribePropertyCronItemRequest</p> */ public class DescribePropertyCronItemRequest 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("ForceFlush") private Boolean forceFlush; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; private DescribePropertyCronItemRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.forceFlush = builder.forceFlush; this.pageSize = builder.pageSize; this.source = builder.source; } public static Builder builder() { return new Builder(); } public static DescribePropertyCronItemRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return forceFlush */ public Boolean getForceFlush() { return this.forceFlush; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return source */ public String getSource() { return this.source; } public static final class Builder extends Request.Builder<DescribePropertyCronItemRequest, Builder> { private Integer currentPage; private Boolean forceFlush; private Integer pageSize; private String source; private Builder() { super(); } private Builder(DescribePropertyCronItemRequest request) { super(request); this.currentPage = request.currentPage; this.forceFlush = request.forceFlush; this.pageSize = request.pageSize; this.source = request.source; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether to forcefully refresh the data that you want to query. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder forceFlush(Boolean forceFlush) { this.putQueryParameter("ForceFlush", forceFlush); this.forceFlush = forceFlush; 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 path to the scheduled task.</p> * * <strong>example:</strong> * <p>/data</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } @Override public DescribePropertyCronItemRequest build() { return new DescribePropertyCronItemRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCronItemResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCronItemResponse} extends {@link TeaModel} * * <p>DescribePropertyCronItemResponse</p> */ public class DescribePropertyCronItemResponse 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 DescribePropertyCronItemResponseBody body; private DescribePropertyCronItemResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyCronItemResponse 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 DescribePropertyCronItemResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyCronItemResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyCronItemResponseBody body); @Override DescribePropertyCronItemResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyCronItemResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyCronItemResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyCronItemResponse 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(DescribePropertyCronItemResponseBody body) { this.body = body; return this; } @Override public DescribePropertyCronItemResponse build() { return new DescribePropertyCronItemResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyCronItemResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyCronItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCronItemResponseBody</p> */ public class DescribePropertyCronItemResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("PropertyItems") private java.util.List<PropertyItems> propertyItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyCronItemResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertyItems = builder.propertyItems; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyCronItemResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertyItems */ public java.util.List<PropertyItems> getPropertyItems() { return this.propertyItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<PropertyItems> propertyItems; private String requestId; private Builder() { } private Builder(DescribePropertyCronItemResponseBody model) { this.pageInfo = model.pageInfo; this.propertyItems = model.propertyItems; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>An array that consists of scheduled tasks.</p> */ public Builder propertyItems(java.util.List<PropertyItems> propertyItems) { this.propertyItems = propertyItems; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>291B49F9-1685-4005-9D34-606B6F78****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyCronItemResponseBody build() { return new DescribePropertyCronItemResponseBody(this); } } /** * * {@link DescribePropertyCronItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCronItemResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyCronItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyCronItemResponseBody</p> */ public static class PropertyItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Source") private String source; private PropertyItems(Builder builder) { this.count = builder.count; this.source = builder.source; } public static Builder builder() { return new Builder(); } public static PropertyItems create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return source */ public String getSource() { return this.source; } public static final class Builder { private Integer count; private String source; private Builder() { } private Builder(PropertyItems model) { this.count = model.count; this.source = model.source; } /** * <p>The number of servers on which the scheduled task is run.</p> * * <strong>example:</strong> * <p>23</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The path to the scheduled task.</p> * * <strong>example:</strong> * <p>/data</p> */ public Builder source(String source) { this.source = source; return this; } public PropertyItems build() { return new PropertyItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyPortDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyPortDetailRequest} extends {@link RequestModel} * * <p>DescribePropertyPortDetailRequest</p> */ public class DescribePropertyPortDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BindIp") private String bindIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Extend") private String extend; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcName") private String procName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribePropertyPortDetailRequest(Builder builder) { super(builder); this.bindIp = builder.bindIp; this.currentPage = builder.currentPage; this.extend = builder.extend; this.pageSize = builder.pageSize; this.port = builder.port; this.procName = builder.procName; this.remark = builder.remark; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribePropertyPortDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bindIp */ public String getBindIp() { return this.bindIp; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return extend */ public String getExtend() { return this.extend; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return port */ public String getPort() { return this.port; } /** * @return procName */ public String getProcName() { return this.procName; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribePropertyPortDetailRequest, Builder> { private String bindIp; private Integer currentPage; private String extend; private Integer pageSize; private String port; private String procName; private String remark; private Long resourceDirectoryAccountId; private String uuid; private Builder() { super(); } private Builder(DescribePropertyPortDetailRequest request) { super(request); this.bindIp = request.bindIp; this.currentPage = request.currentPage; this.extend = request.extend; this.pageSize = request.pageSize; this.port = request.port; this.procName = request.procName; this.remark = request.remark; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.uuid = request.uuid; } /** * <p>The IP address bound to the port.</p> * * <strong>example:</strong> * <p>0.0.XX.XX</p> */ public Builder bindIp(String bindIp) { this.putQueryParameter("BindIp", bindIp); this.bindIp = bindIp; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether fuzzy search by port number is supported. If you want to use fuzzy search, set the parameter to <strong>1</strong>. If you set the parameter to a different value or leave the parameter empty, fuzzy search is not supported.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder extend(String extend) { this.putQueryParameter("Extend", extend); this.extend = extend; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The listening port of the server.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder port(String port) { this.putQueryParameter("Port", port); this.port = port; return this; } /** * <p>The name of the server process.</p> * * <strong>example:</strong> * <p>sshd</p> */ public Builder procName(String procName) { this.putQueryParameter("ProcName", procName); this.procName = procName; return this; } /** * <p>The name or IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the IDs.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The UUID of the server.</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 DescribePropertyPortDetailRequest build() { return new DescribePropertyPortDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyPortDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyPortDetailResponse} extends {@link TeaModel} * * <p>DescribePropertyPortDetailResponse</p> */ public class DescribePropertyPortDetailResponse 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 DescribePropertyPortDetailResponseBody body; private DescribePropertyPortDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyPortDetailResponse 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 DescribePropertyPortDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyPortDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyPortDetailResponseBody body); @Override DescribePropertyPortDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyPortDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyPortDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyPortDetailResponse 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(DescribePropertyPortDetailResponseBody body) { this.body = body; return this; } @Override public DescribePropertyPortDetailResponse build() { return new DescribePropertyPortDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyPortDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyPortDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyPortDetailResponseBody</p> */ public class DescribePropertyPortDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("Propertys") private java.util.List<Propertys> propertys; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyPortDetailResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertys = builder.propertys; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyPortDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertys */ public java.util.List<Propertys> getPropertys() { return this.propertys; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<Propertys> propertys; private String requestId; private Builder() { } private Builder(DescribePropertyPortDetailResponseBody model) { this.pageInfo = model.pageInfo; this.propertys = model.propertys; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The fingerprints of the ports.</p> */ public Builder propertys(java.util.List<Propertys> propertys) { this.propertys = propertys; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>0FA7F1F4-488D-52CA-9BFC-3E47793B49D1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyPortDetailResponseBody build() { return new DescribePropertyPortDetailResponseBody(this); } } /** * * {@link DescribePropertyPortDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyPortDetailResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyPortDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyPortDetailResponseBody</p> */ public static class Propertys extends TeaModel { @com.aliyun.core.annotation.NameInMap("BindIp") private String bindIp; @com.aliyun.core.annotation.NameInMap("CreateTimestamp") private Long createTimestamp; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Pid") private String pid; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("ProcName") private String procName; @com.aliyun.core.annotation.NameInMap("Proto") private String proto; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Propertys(Builder builder) { this.bindIp = builder.bindIp; this.createTimestamp = builder.createTimestamp; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.ip = builder.ip; this.pid = builder.pid; this.port = builder.port; this.procName = builder.procName; this.proto = builder.proto; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Propertys create() { return builder().build(); } /** * @return bindIp */ public String getBindIp() { return this.bindIp; } /** * @return createTimestamp */ public Long getCreateTimestamp() { return this.createTimestamp; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return port */ public String getPort() { return this.port; } /** * @return procName */ public String getProcName() { return this.procName; } /** * @return proto */ public String getProto() { return this.proto; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String bindIp; private Long createTimestamp; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String ip; private String pid; private String port; private String procName; private String proto; private String uuid; private Builder() { } private Builder(Propertys model) { this.bindIp = model.bindIp; this.createTimestamp = model.createTimestamp; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.ip = model.ip; this.pid = model.pid; this.port = model.port; this.procName = model.procName; this.proto = model.proto; this.uuid = model.uuid; } /** * <p>The IP address bound to the port.</p> * * <strong>example:</strong> * <p>0.0.X.X</p> */ public Builder bindIp(String bindIp) { this.bindIp = bindIp; return this; } /** * <p>The timestamp of the last fingerprint collection. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1649149566000</p> */ public Builder createTimestamp(Long createTimestamp) { this.createTimestamp = createTimestamp; return this; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>i-hp35tftuh52wbp1g****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name of the server.</p> * * <strong>example:</strong> * <p>hc-host-****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.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>100.104.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The IP address of the network interface controller (NIC) that is bound to the listening port.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The ID of the server process that listens on the port.</p> * * <strong>example:</strong> * <p>522</p> */ public Builder pid(String pid) { this.pid = pid; return this; } /** * <p>The listener port.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder port(String port) { this.port = port; return this; } /** * <p>The name of the server process.</p> * * <strong>example:</strong> * <p>sshd</p> */ public Builder procName(String procName) { this.procName = procName; return this; } /** * <p>The network protocol that is used by the listening port.</p> * * <strong>example:</strong> * <p>tcp</p> */ public Builder proto(String proto) { this.proto = proto; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>162eb349-c2d9-4f8b-805c-75b43d4c****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Propertys build() { return new Propertys(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyPortItemRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyPortItemRequest} extends {@link RequestModel} * * <p>DescribePropertyPortItemRequest</p> */ public class DescribePropertyPortItemRequest 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("ForceFlush") private Boolean forceFlush; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Port") private String port; private DescribePropertyPortItemRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.forceFlush = builder.forceFlush; this.pageSize = builder.pageSize; this.port = builder.port; } public static Builder builder() { return new Builder(); } public static DescribePropertyPortItemRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return forceFlush */ public Boolean getForceFlush() { return this.forceFlush; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return port */ public String getPort() { return this.port; } public static final class Builder extends Request.Builder<DescribePropertyPortItemRequest, Builder> { private Integer currentPage; private Boolean forceFlush; private Integer pageSize; private String port; private Builder() { super(); } private Builder(DescribePropertyPortItemRequest request) { super(request); this.currentPage = request.currentPage; this.forceFlush = request.forceFlush; this.pageSize = request.pageSize; this.port = request.port; } /** * <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>Specifies whether to forcefully refresh the data that you want to query.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder forceFlush(Boolean forceFlush) { this.putQueryParameter("ForceFlush", forceFlush); this.forceFlush = forceFlush; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The port number.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder port(String port) { this.putQueryParameter("Port", port); this.port = port; return this; } @Override public DescribePropertyPortItemRequest build() { return new DescribePropertyPortItemRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyPortItemResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyPortItemResponse} extends {@link TeaModel} * * <p>DescribePropertyPortItemResponse</p> */ public class DescribePropertyPortItemResponse 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 DescribePropertyPortItemResponseBody body; private DescribePropertyPortItemResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyPortItemResponse 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 DescribePropertyPortItemResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyPortItemResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyPortItemResponseBody body); @Override DescribePropertyPortItemResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyPortItemResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyPortItemResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyPortItemResponse 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(DescribePropertyPortItemResponseBody body) { this.body = body; return this; } @Override public DescribePropertyPortItemResponse build() { return new DescribePropertyPortItemResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyPortItemResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyPortItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyPortItemResponseBody</p> */ public class DescribePropertyPortItemResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("PropertyItems") private java.util.List<PropertyItems> propertyItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyPortItemResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertyItems = builder.propertyItems; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyPortItemResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertyItems */ public java.util.List<PropertyItems> getPropertyItems() { return this.propertyItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<PropertyItems> propertyItems; private String requestId; private Builder() { } private Builder(DescribePropertyPortItemResponseBody model) { this.pageInfo = model.pageInfo; this.propertyItems = model.propertyItems; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>An array that consists of the ports returned.</p> */ public Builder propertyItems(java.util.List<PropertyItems> propertyItems) { this.propertyItems = propertyItems; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyPortItemResponseBody build() { return new DescribePropertyPortItemResponseBody(this); } } /** * * {@link DescribePropertyPortItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyPortItemResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>5</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>5</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>163</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyPortItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyPortItemResponseBody</p> */ public static class PropertyItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("Proto") private String proto; private PropertyItems(Builder builder) { this.count = builder.count; this.port = builder.port; this.proto = builder.proto; } public static Builder builder() { return new Builder(); } public static PropertyItems create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return port */ public String getPort() { return this.port; } /** * @return proto */ public String getProto() { return this.proto; } public static final class Builder { private Integer count; private String port; private String proto; private Builder() { } private Builder(PropertyItems model) { this.count = model.count; this.port = model.port; this.proto = model.proto; } /** * <p>The number of servers that use the port.</p> * * <strong>example:</strong> * <p>495</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The number of the listening port.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder port(String port) { this.port = port; return this; } /** * <p>The network protocol of the port.</p> * * <strong>example:</strong> * <p>tcp</p> */ public Builder proto(String proto) { this.proto = proto; return this; } public PropertyItems build() { return new PropertyItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyProcDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyProcDetailRequest} extends {@link RequestModel} * * <p>DescribePropertyProcDetailRequest</p> */ public class DescribePropertyProcDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Cmdline") private String cmdline; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Extend") private String extend; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcTimeEnd") private Long procTimeEnd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcTimeStart") private Long procTimeStart; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("User") private String user; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribePropertyProcDetailRequest(Builder builder) { super(builder); this.cmdline = builder.cmdline; this.currentPage = builder.currentPage; this.extend = builder.extend; this.name = builder.name; this.pageSize = builder.pageSize; this.procTimeEnd = builder.procTimeEnd; this.procTimeStart = builder.procTimeStart; this.remark = builder.remark; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.user = builder.user; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribePropertyProcDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return cmdline */ public String getCmdline() { return this.cmdline; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return extend */ public String getExtend() { return this.extend; } /** * @return name */ public String getName() { return this.name; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return procTimeEnd */ public Long getProcTimeEnd() { return this.procTimeEnd; } /** * @return procTimeStart */ public Long getProcTimeStart() { return this.procTimeStart; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return user */ public String getUser() { return this.user; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribePropertyProcDetailRequest, Builder> { private String cmdline; private Integer currentPage; private String extend; private String name; private Integer pageSize; private Long procTimeEnd; private Long procTimeStart; private String remark; private Long resourceDirectoryAccountId; private String user; private String uuid; private Builder() { super(); } private Builder(DescribePropertyProcDetailRequest request) { super(request); this.cmdline = request.cmdline; this.currentPage = request.currentPage; this.extend = request.extend; this.name = request.name; this.pageSize = request.pageSize; this.procTimeEnd = request.procTimeEnd; this.procTimeStart = request.procTimeStart; this.remark = request.remark; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.user = request.user; this.uuid = request.uuid; } /** * <p>The startup parameter of the process.</p> * * <strong>example:</strong> * <p>./8888</p> */ public Builder cmdline(String cmdline) { this.putQueryParameter("Cmdline", cmdline); this.cmdline = cmdline; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether fuzzy search by process name is supported. If you want to use fuzzy search, set the parameter to 1. If you set the parameter to a different value or leave the parameter empty, fuzzy search is not supported.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder extend(String extend) { this.putQueryParameter("Extend", extend); this.extend = extend; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>8888</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The timestamp when the process ends. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1649587453000</p> */ public Builder procTimeEnd(Long procTimeEnd) { this.putQueryParameter("ProcTimeEnd", procTimeEnd); this.procTimeEnd = procTimeEnd; return this; } /** * <p>The timestamp when the process starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1648809853000</p> */ public Builder procTimeStart(Long procTimeStart) { this.putQueryParameter("ProcTimeStart", procTimeStart); this.procTimeStart = procTimeStart; return this; } /** * <p>The name or IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to query the account ID.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The user who runs the process.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder user(String user) { this.putQueryParameter("User", user); this.user = user; return this; } /** * <p>The UUID of the server.</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 DescribePropertyProcDetailRequest build() { return new DescribePropertyProcDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyProcDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyProcDetailResponse} extends {@link TeaModel} * * <p>DescribePropertyProcDetailResponse</p> */ public class DescribePropertyProcDetailResponse 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 DescribePropertyProcDetailResponseBody body; private DescribePropertyProcDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyProcDetailResponse 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 DescribePropertyProcDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyProcDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyProcDetailResponseBody body); @Override DescribePropertyProcDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyProcDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyProcDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyProcDetailResponse 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(DescribePropertyProcDetailResponseBody body) { this.body = body; return this; } @Override public DescribePropertyProcDetailResponse build() { return new DescribePropertyProcDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyProcDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyProcDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyProcDetailResponseBody</p> */ public class DescribePropertyProcDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("Propertys") private java.util.List<Propertys> propertys; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyProcDetailResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertys = builder.propertys; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyProcDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertys */ public java.util.List<Propertys> getPropertys() { return this.propertys; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<Propertys> propertys; private String requestId; private Builder() { } private Builder(DescribePropertyProcDetailResponseBody model) { this.pageInfo = model.pageInfo; this.propertys = model.propertys; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>An array that consists of the fingerprints of the processes.</p> */ public Builder propertys(java.util.List<Propertys> propertys) { this.propertys = propertys; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>AA47D46F-10DE-138C-BBB4-8A0003F75CD7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyProcDetailResponseBody build() { return new DescribePropertyProcDetailResponseBody(this); } } /** * * {@link DescribePropertyProcDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyProcDetailResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyProcDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyProcDetailResponseBody</p> */ public static class Propertys extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cmdline") private String cmdline; @com.aliyun.core.annotation.NameInMap("CreateTimestamp") private Long createTimestamp; @com.aliyun.core.annotation.NameInMap("EuidName") private String euidName; @com.aliyun.core.annotation.NameInMap("FileHash") private String fileHash; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("IsPackage") private Integer isPackage; @com.aliyun.core.annotation.NameInMap("Md5") private String md5; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.NameInMap("Pid") private String pid; @com.aliyun.core.annotation.NameInMap("Pname") private String pname; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("StartTimeDt") private Long startTimeDt; @com.aliyun.core.annotation.NameInMap("State") private String state; @com.aliyun.core.annotation.NameInMap("User") private String user; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Propertys(Builder builder) { this.cmdline = builder.cmdline; this.createTimestamp = builder.createTimestamp; this.euidName = builder.euidName; this.fileHash = builder.fileHash; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.isPackage = builder.isPackage; this.md5 = builder.md5; this.name = builder.name; this.path = builder.path; this.pid = builder.pid; this.pname = builder.pname; this.startTime = builder.startTime; this.startTimeDt = builder.startTimeDt; this.state = builder.state; this.user = builder.user; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Propertys create() { return builder().build(); } /** * @return cmdline */ public String getCmdline() { return this.cmdline; } /** * @return createTimestamp */ public Long getCreateTimestamp() { return this.createTimestamp; } /** * @return euidName */ public String getEuidName() { return this.euidName; } /** * @return fileHash */ public String getFileHash() { return this.fileHash; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return isPackage */ public Integer getIsPackage() { return this.isPackage; } /** * @return md5 */ public String getMd5() { return this.md5; } /** * @return name */ public String getName() { return this.name; } /** * @return path */ public String getPath() { return this.path; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return pname */ public String getPname() { return this.pname; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return startTimeDt */ public Long getStartTimeDt() { return this.startTimeDt; } /** * @return state */ public String getState() { return this.state; } /** * @return user */ public String getUser() { return this.user; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String cmdline; private Long createTimestamp; private String euidName; private String fileHash; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private Integer isPackage; private String md5; private String name; private String path; private String pid; private String pname; private String startTime; private Long startTimeDt; private String state; private String user; private String uuid; private Builder() { } private Builder(Propertys model) { this.cmdline = model.cmdline; this.createTimestamp = model.createTimestamp; this.euidName = model.euidName; this.fileHash = model.fileHash; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.isPackage = model.isPackage; this.md5 = model.md5; this.name = model.name; this.path = model.path; this.pid = model.pid; this.pname = model.pname; this.startTime = model.startTime; this.startTimeDt = model.startTimeDt; this.state = model.state; this.user = model.user; this.uuid = model.uuid; } /** * <p>The startup parameter of the process.</p> * * <strong>example:</strong> * <p>./8888</p> */ public Builder cmdline(String cmdline) { this.cmdline = cmdline; return this; } /** * <p>The timestamp of last data collection. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1565686951000</p> */ public Builder createTimestamp(Long createTimestamp) { this.createTimestamp = createTimestamp; return this; } /** * <p>The permission that is required to run the process.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder euidName(String euidName) { this.euidName = euidName; return this; } /** * FileHash. */ public Builder fileHash(String fileHash) { this.fileHash = fileHash; return this; } /** * <p>The ID of the server that is associated with the process.</p> * * <strong>example:</strong> * <p>i-hp35tftuh52wbp1g****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server that is associated with the process.</p> * * <strong>example:</strong> * <p>hc-host-****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>Indicates whether the process is a package installation process. Valid values:</p> * <ul> * <li><strong>1</strong>: yes</li> * <li><strong>0</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isPackage(Integer isPackage) { this.isPackage = isPackage; return this; } /** * <p>The MD5 hash value of the process file.</p> * * <strong>example:</strong> * <p>842644ea3d88bd7f7e14c1c089ef****</p> */ public Builder md5(String md5) { this.md5 = md5; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>agetty</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The path of the process.</p> */ public Builder path(String path) { this.path = path; return this; } /** * <p>The ID of the process.</p> * * <strong>example:</strong> * <p>12826</p> */ public Builder pid(String pid) { this.pid = pid; return this; } /** * <p>The name of the parent process to which the process belongs.</p> * * <strong>example:</strong> * <p>start***.s</p> */ public Builder pname(String pname) { this.pname = pname; return this; } /** * <p>The time when the process starts.</p> * * <strong>example:</strong> * <p>2019-08-07 10:09:05</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The timestamp when the process starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1648783107000</p> */ public Builder startTimeDt(Long startTimeDt) { this.startTimeDt = startTimeDt; return this; } /** * <p>The status of the process.</p> * * <strong>example:</strong> * <p>sleeping</p> */ public Builder state(String state) { this.state = state; return this; } /** * <p>The user who runs the process.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder user(String user) { this.user = user; return this; } /** * <p>The UUID of the server that is associated with the process.</p> * * <strong>example:</strong> * <p>162eb349-c2d9-4f8b-805c-75b43d4c****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Propertys build() { return new Propertys(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyProcItemRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyProcItemRequest} extends {@link RequestModel} * * <p>DescribePropertyProcItemRequest</p> */ public class DescribePropertyProcItemRequest 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("ForceFlush") private Boolean forceFlush; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private DescribePropertyProcItemRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.forceFlush = builder.forceFlush; this.name = builder.name; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribePropertyProcItemRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return forceFlush */ public Boolean getForceFlush() { return this.forceFlush; } /** * @return name */ public String getName() { return this.name; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribePropertyProcItemRequest, Builder> { private Integer currentPage; private Boolean forceFlush; private String name; private Integer pageSize; private Builder() { super(); } private Builder(DescribePropertyProcItemRequest request) { super(request); this.currentPage = request.currentPage; this.forceFlush = request.forceFlush; this.name = request.name; this.pageSize = request.pageSize; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether to forcefully refresh the data that you want to query.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder forceFlush(Boolean forceFlush) { this.putQueryParameter("ForceFlush", forceFlush); this.forceFlush = forceFlush; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribePropertyProcItemRequest build() { return new DescribePropertyProcItemRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyProcItemResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyProcItemResponse} extends {@link TeaModel} * * <p>DescribePropertyProcItemResponse</p> */ public class DescribePropertyProcItemResponse 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 DescribePropertyProcItemResponseBody body; private DescribePropertyProcItemResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyProcItemResponse 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 DescribePropertyProcItemResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyProcItemResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyProcItemResponseBody body); @Override DescribePropertyProcItemResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyProcItemResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyProcItemResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyProcItemResponse 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(DescribePropertyProcItemResponseBody body) { this.body = body; return this; } @Override public DescribePropertyProcItemResponse build() { return new DescribePropertyProcItemResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyProcItemResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyProcItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyProcItemResponseBody</p> */ public class DescribePropertyProcItemResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("PropertyItems") private java.util.List<PropertyItems> propertyItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyProcItemResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertyItems = builder.propertyItems; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyProcItemResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertyItems */ public java.util.List<PropertyItems> getPropertyItems() { return this.propertyItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<PropertyItems> propertyItems; private String requestId; private Builder() { } private Builder(DescribePropertyProcItemResponseBody model) { this.pageInfo = model.pageInfo; this.propertyItems = model.propertyItems; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>An array that consists of the processes returned.</p> */ public Builder propertyItems(java.util.List<PropertyItems> propertyItems) { this.propertyItems = propertyItems; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>BD8AD4C6-A169-4FA3-BA1F-ED40ED52973B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyProcItemResponseBody build() { return new DescribePropertyProcItemResponseBody(this); } } /** * * {@link DescribePropertyProcItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyProcItemResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>5</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>5</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>372</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyProcItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyProcItemResponseBody</p> */ public static class PropertyItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Name") private String name; private PropertyItems(Builder builder) { this.count = builder.count; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static PropertyItems create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private Integer count; private String name; private Builder() { } private Builder(PropertyItems model) { this.count = model.count; this.name = model.name; } /** * <p>The number of servers on which the process runs.</p> * * <strong>example:</strong> * <p>8888</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>.ss</p> */ public Builder name(String name) { this.name = name; return this; } public PropertyItems build() { return new PropertyItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaDetailRequest} extends {@link RequestModel} * * <p>DescribePropertyScaDetailRequest</p> */ public class DescribePropertyScaDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Biz") private String biz; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BizType") private String bizType; @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("Name") private Long name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Pid") private String pid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessStartedEnd") private Long processStartedEnd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessStartedStart") private Long processStartedStart; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScaName") private String scaName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScaNamePattern") private String scaNamePattern; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScaVersion") private String scaVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchInfo") private String searchInfo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchInfoSub") private String searchInfoSub; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchItem") private String searchItem; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchItemSub") private String searchItemSub; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("User") private String user; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribePropertyScaDetailRequest(Builder builder) { super(builder); this.biz = builder.biz; this.bizType = builder.bizType; this.currentPage = builder.currentPage; this.lang = builder.lang; this.name = builder.name; this.pageSize = builder.pageSize; this.pid = builder.pid; this.port = builder.port; this.processStartedEnd = builder.processStartedEnd; this.processStartedStart = builder.processStartedStart; this.remark = builder.remark; this.scaName = builder.scaName; this.scaNamePattern = builder.scaNamePattern; this.scaVersion = builder.scaVersion; this.searchInfo = builder.searchInfo; this.searchInfoSub = builder.searchInfoSub; this.searchItem = builder.searchItem; this.searchItemSub = builder.searchItemSub; this.user = builder.user; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribePropertyScaDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return biz */ public String getBiz() { return this.biz; } /** * @return bizType */ public String getBizType() { return this.bizType; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return name */ public Long getName() { return this.name; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return port */ public String getPort() { return this.port; } /** * @return processStartedEnd */ public Long getProcessStartedEnd() { return this.processStartedEnd; } /** * @return processStartedStart */ public Long getProcessStartedStart() { return this.processStartedStart; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return scaName */ public String getScaName() { return this.scaName; } /** * @return scaNamePattern */ public String getScaNamePattern() { return this.scaNamePattern; } /** * @return scaVersion */ public String getScaVersion() { return this.scaVersion; } /** * @return searchInfo */ public String getSearchInfo() { return this.searchInfo; } /** * @return searchInfoSub */ public String getSearchInfoSub() { return this.searchInfoSub; } /** * @return searchItem */ public String getSearchItem() { return this.searchItem; } /** * @return searchItemSub */ public String getSearchItemSub() { return this.searchItemSub; } /** * @return user */ public String getUser() { return this.user; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribePropertyScaDetailRequest, Builder> { private String biz; private String bizType; private Integer currentPage; private String lang; private Long name; private Integer pageSize; private String pid; private String port; private Long processStartedEnd; private Long processStartedStart; private String remark; private String scaName; private String scaNamePattern; private String scaVersion; private String searchInfo; private String searchInfoSub; private String searchItem; private String searchItemSub; private String user; private String uuid; private Builder() { super(); } private Builder(DescribePropertyScaDetailRequest request) { super(request); this.biz = request.biz; this.bizType = request.bizType; this.currentPage = request.currentPage; this.lang = request.lang; this.name = request.name; this.pageSize = request.pageSize; this.pid = request.pid; this.port = request.port; this.processStartedEnd = request.processStartedEnd; this.processStartedStart = request.processStartedStart; this.remark = request.remark; this.scaName = request.scaName; this.scaNamePattern = request.scaNamePattern; this.scaVersion = request.scaVersion; this.searchInfo = request.searchInfo; this.searchInfoSub = request.searchInfoSub; this.searchItem = request.searchItem; this.searchItemSub = request.searchItemSub; this.user = request.user; this.uuid = request.uuid; } /** * <p>The type of the asset fingerprint that you want to query. Default value: <strong>sca</strong>. Valid values:</p> * <ul> * <li><strong>sca</strong>: middleware</li> * <li><strong>sca_database</strong>: database</li> * <li><strong>sca_web</strong>: web service</li> * </ul> * <blockquote> * <p> If you do not specify this parameter, the default value <strong>sca</strong> is used, which indicates that middleware fingerprints are queried.</p> * </blockquote> * * <strong>example:</strong> * <p>sca</p> */ public Builder biz(String biz) { this.putQueryParameter("Biz", biz); this.biz = biz; return this; } /** * <p>The type of the middleware, database, or web service that you want to query. Valid values:</p> * <ul> * <li><strong>system_service</strong>: system service</li> * <li><strong>software_library</strong>: software library</li> * <li><strong>docker_component</strong>: container component</li> * <li><strong>database</strong>: database</li> * <li><strong>web_container</strong>: web container</li> * <li><strong>jar</strong>: JAR package</li> * <li><strong>web_framework</strong>: web framework</li> * </ul> * * <strong>example:</strong> * <p>system_service</p> */ public Builder bizType(String bizType) { this.putQueryParameter("BizType", bizType); this.bizType = bizType; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the middleware, database, or web service.</p> * <blockquote> * <p> This parameter is deprecated. You can ignore it.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder name(Long name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10</strong>.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The PID.</p> * * <strong>example:</strong> * <p>756</p> */ public Builder pid(String pid) { this.putQueryParameter("Pid", pid); this.pid = pid; return this; } /** * <p>The port that the process monitors.</p> * * <strong>example:</strong> * <p>68</p> */ public Builder port(String port) { this.putQueryParameter("Port", port); this.port = port; return this; } /** * <p>The timestamp when the process ends. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1641110965</p> */ public Builder processStartedEnd(Long processStartedEnd) { this.putQueryParameter("ProcessStartedEnd", processStartedEnd); this.processStartedEnd = processStartedEnd; return this; } /** * <p>The timestamp when the process starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1641024565</p> */ public Builder processStartedStart(Long processStartedStart) { this.putQueryParameter("ProcessStartedStart", processStartedStart); this.processStartedStart = processStartedStart; return this; } /** * <p>The search condition, such as a server name or a server IP address.</p> * <blockquote> * <p> Fuzzy match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>192.168</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The name of the asset fingerprint that you want to query.</p> * * <strong>example:</strong> * <p>openssl</p> */ public Builder scaName(String scaName) { this.putQueryParameter("ScaName", scaName); this.scaName = scaName; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>open</p> */ public Builder scaNamePattern(String scaNamePattern) { this.putQueryParameter("ScaNamePattern", scaNamePattern); this.scaNamePattern = scaNamePattern; return this; } /** * <p>The version of the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>1.0.2k</p> */ public Builder scaVersion(String scaVersion) { this.putQueryParameter("ScaVersion", scaVersion); this.scaVersion = scaVersion; return this; } /** * <p>The search keyword. You must specify this parameter based on the value of the <strong>SearchItem</strong> parameter.</p> * <ul> * <li><p>If the <strong>SearchItem</strong> parameter is set to <strong>name</strong>, you must enter the name of an asset fingerprint.</p> * </li> * <li><p>If the <strong>SearchItem</strong> parameter is set to <strong>type</strong>, you must enter the type of an asset fingerprint. Valid values:</p> * <ul> * <li><strong>system_service</strong>: system service</li> * <li><strong>software_library</strong>: software library</li> * <li><strong>docker_component</strong>: container component</li> * <li><strong>database</strong>: database</li> * <li><strong>web_container</strong>: web container</li> * <li><strong>jar</strong>: JAR package</li> * <li><strong>web_framework</strong>: web framework</li> * </ul> * </li> * </ul> * <blockquote> * <p> You must specify both the <strong>SearchItem</strong> and <strong>SearchInfo</strong> parameters before you can query the asset fingerprints based on the specified name or type.</p> * </blockquote> * * <strong>example:</strong> * <p>openssl</p> */ public Builder searchInfo(String searchInfo) { this.putQueryParameter("SearchInfo", searchInfo); this.searchInfo = searchInfo; return this; } /** * <p>The keyword of the subquery. You must specify this parameter based on the value of the <strong>SearchItemSub</strong> parameter.</p> * <ul> * <li>If the <strong>SearchItemSub</strong> parameter is set to <strong>port</strong>, you must enter a port number.</li> * <li>If the <strong>SearchItemSub</strong> parameter is set to <strong>pid</strong>, you must enter a process ID (PID).</li> * <li>If the <strong>SearchItemSub</strong> parameter is set to <strong>version</strong>, you must enter the version of a database, middleware, or web service.</li> * <li>If the <strong>SearchItemSub</strong> parameter is set to <strong>user</strong>, you must enter a username.</li> * </ul> * <blockquote> * <p> The subquery is used to search for data of a specified database, middleware, or web service.</p> * </blockquote> * * <strong>example:</strong> * <p>1.0.2k</p> */ public Builder searchInfoSub(String searchInfoSub) { this.putQueryParameter("SearchInfoSub", searchInfoSub); this.searchInfoSub = searchInfoSub; return this; } /** * <p>The type of the search condition. Valid values:</p> * <ul> * <li><strong>name</strong>: the name of a database, middleware, or web service</li> * <li><strong>type</strong>: the type of a database, middleware, or web service</li> * </ul> * <blockquote> * <p> You must specify both the <strong>SearchItem</strong> and <strong>SearchInfo</strong> parameters before you can query the asset fingerprints based on the specified name or type.</p> * </blockquote> * * <strong>example:</strong> * <p>name</p> */ public Builder searchItem(String searchItem) { this.putQueryParameter("SearchItem", searchItem); this.searchItem = searchItem; return this; } /** * <p>The type of the subquery. Valid values:</p> * <ul> * <li><strong>port</strong></li> * <li><strong>pid</strong></li> * <li><strong>version</strong></li> * <li><strong>user</strong></li> * </ul> * * <strong>example:</strong> * <p>version</p> */ public Builder searchItemSub(String searchItemSub) { this.putQueryParameter("SearchItemSub", searchItemSub); this.searchItemSub = searchItemSub; return this; } /** * <p>The user who runs the process.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder user(String user) { this.putQueryParameter("User", user); this.user = user; return this; } /** * <p>The UUID of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>uuid-02ebabe7-1c19-ab****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribePropertyScaDetailRequest build() { return new DescribePropertyScaDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaDetailResponse} extends {@link TeaModel} * * <p>DescribePropertyScaDetailResponse</p> */ public class DescribePropertyScaDetailResponse 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 DescribePropertyScaDetailResponseBody body; private DescribePropertyScaDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyScaDetailResponse 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 DescribePropertyScaDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyScaDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyScaDetailResponseBody body); @Override DescribePropertyScaDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyScaDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyScaDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyScaDetailResponse 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(DescribePropertyScaDetailResponseBody body) { this.body = body; return this; } @Override public DescribePropertyScaDetailResponse build() { return new DescribePropertyScaDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaDetailResponseBody</p> */ public class DescribePropertyScaDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("Propertys") private java.util.List<Propertys> propertys; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyScaDetailResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertys = builder.propertys; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyScaDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertys */ public java.util.List<Propertys> getPropertys() { return this.propertys; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<Propertys> propertys; private String requestId; private Builder() { } private Builder(DescribePropertyScaDetailResponseBody model) { this.pageInfo = model.pageInfo; this.propertys = model.propertys; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The details about the asset fingerprints returned.</p> */ public Builder propertys(java.util.List<Propertys> propertys) { this.propertys = propertys; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F9146867-16C8-4AAB-BB4FB8C2A4</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyScaDetailResponseBody build() { return new DescribePropertyScaDetailResponseBody(this); } } /** * * {@link DescribePropertyScaDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaDetailResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyScaDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaDetailResponseBody</p> */ public static class Propertys extends TeaModel { @com.aliyun.core.annotation.NameInMap("BizType") private String bizType; @com.aliyun.core.annotation.NameInMap("BizTypeDispaly") private String bizTypeDispaly; @com.aliyun.core.annotation.NameInMap("Cmdline") private String cmdline; @com.aliyun.core.annotation.NameInMap("ConfigPath") private String configPath; @com.aliyun.core.annotation.NameInMap("ContainerName") private String containerName; @com.aliyun.core.annotation.NameInMap("CreateTimestamp") private Long createTimestamp; @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("ListenIp") private String listenIp; @com.aliyun.core.annotation.NameInMap("ListenProtocol") private String listenProtocol; @com.aliyun.core.annotation.NameInMap("ListenStatus") private String listenStatus; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.NameInMap("Pid") private String pid; @com.aliyun.core.annotation.NameInMap("PodName") private String podName; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("Ppid") private String ppid; @com.aliyun.core.annotation.NameInMap("ProcessStarted") private Long processStarted; @com.aliyun.core.annotation.NameInMap("ProcessUser") private String processUser; @com.aliyun.core.annotation.NameInMap("Proof") private String proof; @com.aliyun.core.annotation.NameInMap("RuntimeEnvVersion") private String runtimeEnvVersion; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("Version") private String version; @com.aliyun.core.annotation.NameInMap("WebPath") private String webPath; private Propertys(Builder builder) { this.bizType = builder.bizType; this.bizTypeDispaly = builder.bizTypeDispaly; this.cmdline = builder.cmdline; this.configPath = builder.configPath; this.containerName = builder.containerName; this.createTimestamp = builder.createTimestamp; this.imageName = builder.imageName; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.ip = builder.ip; this.listenIp = builder.listenIp; this.listenProtocol = builder.listenProtocol; this.listenStatus = builder.listenStatus; this.name = builder.name; this.path = builder.path; this.pid = builder.pid; this.podName = builder.podName; this.port = builder.port; this.ppid = builder.ppid; this.processStarted = builder.processStarted; this.processUser = builder.processUser; this.proof = builder.proof; this.runtimeEnvVersion = builder.runtimeEnvVersion; this.type = builder.type; this.uuid = builder.uuid; this.version = builder.version; this.webPath = builder.webPath; } public static Builder builder() { return new Builder(); } public static Propertys create() { return builder().build(); } /** * @return bizType */ public String getBizType() { return this.bizType; } /** * @return bizTypeDispaly */ public String getBizTypeDispaly() { return this.bizTypeDispaly; } /** * @return cmdline */ public String getCmdline() { return this.cmdline; } /** * @return configPath */ public String getConfigPath() { return this.configPath; } /** * @return containerName */ public String getContainerName() { return this.containerName; } /** * @return createTimestamp */ public Long getCreateTimestamp() { return this.createTimestamp; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return listenIp */ public String getListenIp() { return this.listenIp; } /** * @return listenProtocol */ public String getListenProtocol() { return this.listenProtocol; } /** * @return listenStatus */ public String getListenStatus() { return this.listenStatus; } /** * @return name */ public String getName() { return this.name; } /** * @return path */ public String getPath() { return this.path; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return podName */ public String getPodName() { return this.podName; } /** * @return port */ public String getPort() { return this.port; } /** * @return ppid */ public String getPpid() { return this.ppid; } /** * @return processStarted */ public Long getProcessStarted() { return this.processStarted; } /** * @return processUser */ public String getProcessUser() { return this.processUser; } /** * @return proof */ public String getProof() { return this.proof; } /** * @return runtimeEnvVersion */ public String getRuntimeEnvVersion() { return this.runtimeEnvVersion; } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return version */ public String getVersion() { return this.version; } /** * @return webPath */ public String getWebPath() { return this.webPath; } public static final class Builder { private String bizType; private String bizTypeDispaly; private String cmdline; private String configPath; private String containerName; private Long createTimestamp; private String imageName; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String ip; private String listenIp; private String listenProtocol; private String listenStatus; private String name; private String path; private String pid; private String podName; private String port; private String ppid; private Long processStarted; private String processUser; private String proof; private String runtimeEnvVersion; private String type; private String uuid; private String version; private String webPath; private Builder() { } private Builder(Propertys model) { this.bizType = model.bizType; this.bizTypeDispaly = model.bizTypeDispaly; this.cmdline = model.cmdline; this.configPath = model.configPath; this.containerName = model.containerName; this.createTimestamp = model.createTimestamp; this.imageName = model.imageName; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.ip = model.ip; this.listenIp = model.listenIp; this.listenProtocol = model.listenProtocol; this.listenStatus = model.listenStatus; this.name = model.name; this.path = model.path; this.pid = model.pid; this.podName = model.podName; this.port = model.port; this.ppid = model.ppid; this.processStarted = model.processStarted; this.processUser = model.processUser; this.proof = model.proof; this.runtimeEnvVersion = model.runtimeEnvVersion; this.type = model.type; this.uuid = model.uuid; this.version = model.version; this.webPath = model.webPath; } /** * <p>The type of the middleware, database, or web service. Valid values:</p> * <ul> * <li><strong>system_service</strong>: system service</li> * <li><strong>software_library</strong>: software library</li> * <li><strong>docker_component</strong>: container component</li> * <li><strong>database</strong>: database</li> * <li><strong>web_container</strong>: web container</li> * <li><strong>jar</strong>: JAR package</li> * <li><strong>web_framework</strong>: web framework</li> * </ul> * * <strong>example:</strong> * <p>software_library</p> */ public Builder bizType(String bizType) { this.bizType = bizType; return this; } /** * <p>The display name of the type of the middleware, database, or web service . Valid values:</p> * <ul> * <li>System service</li> * <li>Software library</li> * <li>Container component</li> * <li>Database</li> * <li>Web container</li> * <li>JAR package</li> * <li>Web framework</li> * </ul> * * <strong>example:</strong> * <p>System Service</p> */ public Builder bizTypeDispaly(String bizTypeDispaly) { this.bizTypeDispaly = bizTypeDispaly; return this; } /** * <p>The command line of the process.</p> * * <strong>example:</strong> * <p>/sbin/dhclient -H iz2zeflhhbtk8gtxzt087az -1 -q -lf /var/lib/dhclient/dhclient--eth0.lease -pf /var/run/dhclient-eth0.pid eth0</p> */ public Builder cmdline(String cmdline) { this.cmdline = cmdline; return this; } /** * <p>The path to the configuration file.</p> * * <strong>example:</strong> * <p>/etc/my.cnf</p> */ public Builder configPath(String configPath) { this.configPath = configPath; return this; } /** * <p>The name of the container.</p> * * <strong>example:</strong> * <p>5-rce_web_1</p> */ public Builder containerName(String containerName) { this.containerName = containerName; return this; } /** * <p>The latest collection timestamp, which indicates the last timestamp when Security Center collected the information about the middleware, database, or web service. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1597987834000</p> */ public Builder createTimestamp(Long createTimestamp) { this.createTimestamp = createTimestamp; return this; } /** * <p>The name of the image.</p> * * <strong>example:</strong> * <p>registry-vpc.cn-beijing.aliyuncs.com/acs/aliyun-ingress-controller****</p> */ public Builder imageName(String imageName) { this.imageName = imageName; return this; } /** * <p>The ID of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>i-2zeclqj7ti****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The name of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>Test01</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>47.42.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>192.210.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The public IP address of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>47.42.XX.XX</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The IP address that the process monitors.</p> * * <strong>example:</strong> * <p>0.0.XX.XX</p> */ public Builder listenIp(String listenIp) { this.listenIp = listenIp; return this; } /** * <p>The protocol of the traffic on which the process listens. Valid values:</p> * <ul> * <li><strong>UDP</strong></li> * <li><strong>TCP</strong></li> * </ul> * * <strong>example:</strong> * <p>UDP</p> */ public Builder listenProtocol(String listenProtocol) { this.listenProtocol = listenProtocol; return this; } /** * <p>The listening status of the process. Valid values:</p> * <ul> * <li><strong>NONE</strong>: not listening</li> * <li><strong>LISTEN</strong>: listening</li> * </ul> * * <strong>example:</strong> * <p>NONE</p> */ public Builder listenStatus(String listenStatus) { this.listenStatus = listenStatus; return this; } /** * <p>The name of the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>openssl</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The path of the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>/usr/lib64/libssl.so.1.0.2k</p> */ public Builder path(String path) { this.path = path; return this; } /** * <p>The PID.</p> * * <strong>example:</strong> * <p>756</p> */ public Builder pid(String pid) { this.pid = pid; return this; } /** * <p>The name of the Kubernetes pod.</p> * * <strong>example:</strong> * <p>myapp-pod</p> */ public Builder podName(String podName) { this.podName = podName; return this; } /** * <p>The port of the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>68</p> */ public Builder port(String port) { this.port = port; return this; } /** * <p>The ID of the parent process.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder ppid(String ppid) { this.ppid = ppid; return this; } /** * <p>The timestamp when the process starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1596539788</p> */ public Builder processStarted(Long processStarted) { this.processStarted = processStarted; return this; } /** * <p>The name of the user who runs the process.</p> * * <strong>example:</strong> * <p>root</p> */ public Builder processUser(String processUser) { this.processUser = processUser; return this; } /** * <p>The version verification information about the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>/usr/lib64/libssl.so.1.0.2k</p> */ public Builder proof(String proof) { this.proof = proof; return this; } /** * <p>The version of the runtime environment.</p> * <blockquote> * <p> The value of this parameter can be the Java Development Kit (JDK) version of the runtime environment for a Java process.</p> * </blockquote> * * <strong>example:</strong> * <p>1.8.0_144</p> */ public Builder runtimeEnvVersion(String runtimeEnvVersion) { this.runtimeEnvVersion = runtimeEnvVersion; return this; } /** * <p>The type of the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>library</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The UUID of the server on which the middleware, database, or web service is run.</p> * * <strong>example:</strong> * <p>uuid-02ebabe7-1c19-a****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>The version of the middleware, database, or web service.</p> * * <strong>example:</strong> * <p>1.0.2k</p> */ public Builder version(String version) { this.version = version; return this; } /** * <p>The web directory.</p> * * <strong>example:</strong> * <p>/usr/share/nginx/html</p> */ public Builder webPath(String webPath) { this.webPath = webPath; return this; } public Propertys build() { return new Propertys(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaItemRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaItemRequest} extends {@link RequestModel} * * <p>DescribePropertyScaItemRequest</p> */ public class DescribePropertyScaItemRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Biz") private String biz; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ForceFlush") private Boolean forceFlush; @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("SearchInfo") private String searchInfo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchItem") private String searchItem; private DescribePropertyScaItemRequest(Builder builder) { super(builder); this.biz = builder.biz; this.currentPage = builder.currentPage; this.forceFlush = builder.forceFlush; this.lang = builder.lang; this.pageSize = builder.pageSize; this.searchInfo = builder.searchInfo; this.searchItem = builder.searchItem; } public static Builder builder() { return new Builder(); } public static DescribePropertyScaItemRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return biz */ public String getBiz() { return this.biz; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return forceFlush */ public Boolean getForceFlush() { return this.forceFlush; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return searchInfo */ public String getSearchInfo() { return this.searchInfo; } /** * @return searchItem */ public String getSearchItem() { return this.searchItem; } public static final class Builder extends Request.Builder<DescribePropertyScaItemRequest, Builder> { private String biz; private Integer currentPage; private Boolean forceFlush; private String lang; private Integer pageSize; private String searchInfo; private String searchItem; private Builder() { super(); } private Builder(DescribePropertyScaItemRequest request) { super(request); this.biz = request.biz; this.currentPage = request.currentPage; this.forceFlush = request.forceFlush; this.lang = request.lang; this.pageSize = request.pageSize; this.searchInfo = request.searchInfo; this.searchItem = request.searchItem; } /** * <p>The type of the asset fingerprint that you want to query. Default value: <strong>sca</strong>. Valid values:</p> * <ul> * <li><strong>sca</strong>: middleware</li> * <li><strong>sca_database</strong>: database</li> * <li><strong>sca_web</strong>: web service</li> * </ul> * <blockquote> * <p>If you do not specify this parameter, the default value <strong>sca</strong> is used, which indicates that middleware fingerprints are queried.</p> * </blockquote> * * <strong>example:</strong> * <p>sca</p> */ public Builder biz(String biz) { this.putQueryParameter("Biz", biz); this.biz = biz; return this; } /** * <p>The number of the page to return. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether to forcefully refresh the data that you want to query. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder forceFlush(Boolean forceFlush) { this.putQueryParameter("ForceFlush", forceFlush); this.forceFlush = forceFlush; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>en</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The number of entries to return 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 search keyword. You must specify this parameter based on the value of the <strong>SearchItem</strong> parameter.</p> * <ul> * <li><p>If the <strong>SearchItem</strong> parameter is set to <strong>name</strong>, you must enter the name of an asset fingerprint.</p> * </li> * <li><p>If the <strong>SearchItem</strong> parameter is set to <strong>type</strong>, you must enter the type of an asset fingerprint. Valid values:</p> * <ul> * <li><strong>system_service</strong>: system service</li> * <li><strong>software_library</strong>: software library</li> * <li><strong>docker_component</strong>: container component</li> * <li><strong>database</strong>: database</li> * <li><strong>web_container</strong>: web container</li> * <li><strong>jar</strong>: JAR package</li> * <li><strong>web_framework</strong>: web framework</li> * </ul> * </li> * </ul> * <blockquote> * <p>You must specify both the <strong>SearchItem</strong> and <strong>SearchInfo</strong> parameters before you can query the asset fingerprints based on the specified name or type.</p> * </blockquote> * * <strong>example:</strong> * <p>system_service</p> */ public Builder searchInfo(String searchInfo) { this.putQueryParameter("SearchInfo", searchInfo); this.searchInfo = searchInfo; return this; } /** * <p>The type of the search condition. Valid values:</p> * <ul> * <li><strong>name</strong>: the name of a database, middleware, or web service</li> * <li><strong>type</strong>: the type of a database, middleware, or web service</li> * </ul> * <blockquote> * <p>You must specify both the <strong>SearchItem</strong> and <strong>SearchInfo</strong> parameters before you can query the asset fingerprints based on the specified name or type.</p> * </blockquote> * * <strong>example:</strong> * <p>type</p> */ public Builder searchItem(String searchItem) { this.putQueryParameter("SearchItem", searchItem); this.searchItem = searchItem; return this; } @Override public DescribePropertyScaItemRequest build() { return new DescribePropertyScaItemRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaItemResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaItemResponse} extends {@link TeaModel} * * <p>DescribePropertyScaItemResponse</p> */ public class DescribePropertyScaItemResponse 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 DescribePropertyScaItemResponseBody body; private DescribePropertyScaItemResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyScaItemResponse 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 DescribePropertyScaItemResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyScaItemResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyScaItemResponseBody body); @Override DescribePropertyScaItemResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyScaItemResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyScaItemResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyScaItemResponse 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(DescribePropertyScaItemResponseBody body) { this.body = body; return this; } @Override public DescribePropertyScaItemResponse build() { return new DescribePropertyScaItemResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaItemResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaItemResponseBody</p> */ public class DescribePropertyScaItemResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("PropertyItems") private java.util.List<PropertyItems> propertyItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyScaItemResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertyItems = builder.propertyItems; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyScaItemResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertyItems */ public java.util.List<PropertyItems> getPropertyItems() { return this.propertyItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<PropertyItems> propertyItems; private String requestId; private Builder() { } private Builder(DescribePropertyScaItemResponseBody model) { this.pageInfo = model.pageInfo; this.propertyItems = model.propertyItems; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>An array that consists of the information about middleware fingerprints.</p> */ public Builder propertyItems(java.util.List<PropertyItems> propertyItems) { this.propertyItems = propertyItems; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>3F4236AB-7070-538D-85EB-98EBFE6C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyScaItemResponseBody build() { return new DescribePropertyScaItemResponseBody(this); } } /** * * {@link DescribePropertyScaItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaItemResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>27</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyScaItemResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaItemResponseBody</p> */ public static class PropertyItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("BizType") private String bizType; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("TypeDisplay") private String typeDisplay; private PropertyItems(Builder builder) { this.bizType = builder.bizType; this.count = builder.count; this.name = builder.name; this.typeDisplay = builder.typeDisplay; } public static Builder builder() { return new Builder(); } public static PropertyItems create() { return builder().build(); } /** * @return bizType */ public String getBizType() { return this.bizType; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return name */ public String getName() { return this.name; } /** * @return typeDisplay */ public String getTypeDisplay() { return this.typeDisplay; } public static final class Builder { private String bizType; private Integer count; private String name; private String typeDisplay; private Builder() { } private Builder(PropertyItems model) { this.bizType = model.bizType; this.count = model.count; this.name = model.name; this.typeDisplay = model.typeDisplay; } /** * <p>The type of the middleware, database, or web service. Valid values:</p> * <ul> * <li><strong>system_service</strong>: system service</li> * <li><strong>software_library</strong>: software library</li> * <li><strong>docker_component</strong>: container component</li> * <li><strong>database</strong>: database</li> * <li><strong>web_container</strong>: web container</li> * <li><strong>jar</strong>: JAR package</li> * <li><strong>web_framework</strong>: web framework</li> * </ul> * * <strong>example:</strong> * <p>docker_component</p> */ public Builder bizType(String bizType) { this.bizType = bizType; return this; } /** * <p>The number of servers on which the middleware is run.</p> * * <strong>example:</strong> * <p>23</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The name of the middleware.</p> * * <strong>example:</strong> * <p>kubelet</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The display name of the middleware type.</p> * * <strong>example:</strong> * <p>Docker Component</p> */ public Builder typeDisplay(String typeDisplay) { this.typeDisplay = typeDisplay; return this; } public PropertyItems build() { return new PropertyItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaProcessDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaProcessDetailRequest} extends {@link RequestModel} * * <p>DescribePropertyScaProcessDetailRequest</p> */ public class DescribePropertyScaProcessDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BizType") private String bizType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Cmdline") private String cmdline; @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("Pid") private String pid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private DescribePropertyScaProcessDetailRequest(Builder builder) { super(builder); this.bizType = builder.bizType; this.cmdline = builder.cmdline; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.pid = builder.pid; this.remark = builder.remark; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static DescribePropertyScaProcessDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bizType */ public String getBizType() { return this.bizType; } /** * @return cmdline */ public String getCmdline() { return this.cmdline; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<DescribePropertyScaProcessDetailRequest, Builder> { private String bizType; private String cmdline; private Integer currentPage; private Integer pageSize; private String pid; private String remark; private String uuid; private Builder() { super(); } private Builder(DescribePropertyScaProcessDetailRequest request) { super(request); this.bizType = request.bizType; this.cmdline = request.cmdline; this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.pid = request.pid; this.remark = request.remark; this.uuid = request.uuid; } /** * <p>The type of the application process. Default value: <strong>java</strong>. Valid values:</p> * <ul> * <li><strong>java</strong>: Java process.</li> * <li><strong>php</strong>: PHP process.</li> * </ul> * * <strong>example:</strong> * <p>java</p> */ public Builder bizType(String bizType) { this.putQueryParameter("BizType", bizType); this.bizType = bizType; return this; } /** * <p>The startup parameter.</p> * <blockquote> * <p> This parameter supports only prefix queries. Fuzzy match is not supported.</p> * </blockquote> * * <strong>example:</strong> * <p>java -jar</p> */ public Builder cmdline(String cmdline) { this.putQueryParameter("Cmdline", cmdline); this.cmdline = cmdline; return this; } /** * <p>The page number. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries per page. Default value: 10. If you leave this parameter empty, 10 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>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The process ID.</p> * <blockquote> * <p> Only exact match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>756</p> */ public Builder pid(String pid) { this.putQueryParameter("Pid", pid); this.pid = pid; return this; } /** * <p>The information about the server that you want to query. The value can be the public IP address, private IP address, or name of the server. Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>10.167.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The UUID of the server.</p> * <blockquote> * </blockquote> * <ul> * <li><p>You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </li> * <li><p>Only exact match is supported.</p> * </li> * </ul> * * <strong>example:</strong> * <p>D0D6E6E4-CB8C-4897-B852-46AEFDA0****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public DescribePropertyScaProcessDetailRequest build() { return new DescribePropertyScaProcessDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaProcessDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaProcessDetailResponse} extends {@link TeaModel} * * <p>DescribePropertyScaProcessDetailResponse</p> */ public class DescribePropertyScaProcessDetailResponse 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 DescribePropertyScaProcessDetailResponseBody body; private DescribePropertyScaProcessDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyScaProcessDetailResponse 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 DescribePropertyScaProcessDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyScaProcessDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyScaProcessDetailResponseBody body); @Override DescribePropertyScaProcessDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyScaProcessDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyScaProcessDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyScaProcessDetailResponse 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(DescribePropertyScaProcessDetailResponseBody body) { this.body = body; return this; } @Override public DescribePropertyScaProcessDetailResponse build() { return new DescribePropertyScaProcessDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScaProcessDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScaProcessDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaProcessDetailResponseBody</p> */ public class DescribePropertyScaProcessDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("Propertys") private java.util.List<Propertys> propertys; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyScaProcessDetailResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.propertys = builder.propertys; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyScaProcessDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return propertys */ public java.util.List<Propertys> getPropertys() { return this.propertys; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PageInfo pageInfo; private java.util.List<Propertys> propertys; private String requestId; private Builder() { } private Builder(DescribePropertyScaProcessDetailResponseBody model) { this.pageInfo = model.pageInfo; this.propertys = model.propertys; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The processes collected by the asset fingerprints feature.</p> */ public Builder propertys(java.util.List<Propertys> propertys) { this.propertys = propertys; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>ADE57832-9666-511C-9A80-B87DE2E8****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyScaProcessDetailResponseBody build() { return new DescribePropertyScaProcessDetailResponseBody(this); } } /** * * {@link DescribePropertyScaProcessDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaProcessDetailResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>69</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link DescribePropertyScaProcessDetailResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScaProcessDetailResponseBody</p> */ public static class Propertys extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cmdline") private String cmdline; @com.aliyun.core.annotation.NameInMap("CreateTimestamp") private Long createTimestamp; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Pid") private String pid; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("Version") private String version; private Propertys(Builder builder) { this.cmdline = builder.cmdline; this.createTimestamp = builder.createTimestamp; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.name = builder.name; this.pid = builder.pid; this.uuid = builder.uuid; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static Propertys create() { return builder().build(); } /** * @return cmdline */ public String getCmdline() { return this.cmdline; } /** * @return createTimestamp */ public Long getCreateTimestamp() { return this.createTimestamp; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return name */ public String getName() { return this.name; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String cmdline; private Long createTimestamp; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String name; private String pid; private String uuid; private String version; private Builder() { } private Builder(Propertys model) { this.cmdline = model.cmdline; this.createTimestamp = model.createTimestamp; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.name = model.name; this.pid = model.pid; this.uuid = model.uuid; this.version = model.version; } /** * <p>The command line of the process.</p> * * <strong>example:</strong> * <p>java -Xms128m -Xmx512m -DNACOS_URL=<a href="http://10.184.XX.XX:8848">http://10.184.XX.XX:8848</a> -DNACOS_NAMESPACE=iam-sit -jar /opt/service/xxl-job/xxl-job-admin-2.3.0.jar</p> */ public Builder cmdline(String cmdline) { this.cmdline = cmdline; return this; } /** * <p>The timestamp at which the last asset fingerprint collection is performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1597987834000</p> */ public Builder createTimestamp(Long createTimestamp) { this.createTimestamp = createTimestamp; return this; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>i-hp35tftuh52wbp1g****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name of the server.</p> * * <strong>example:</strong> * <p>hc-host-****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>120.26.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The name of the process.</p> * * <strong>example:</strong> * <p>java</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The ID of the process.</p> * * <strong>example:</strong> * <p>522</p> */ public Builder pid(String pid) { this.pid = pid; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>162eb349-c2d9-4f8b-805c-75b43d4c****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * Version. */ public Builder version(String version) { this.version = version; return this; } public Propertys build() { return new Propertys(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScheduleConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScheduleConfigRequest} extends {@link RequestModel} * * <p>DescribePropertyScheduleConfigRequest</p> */ public class DescribePropertyScheduleConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private DescribePropertyScheduleConfigRequest(Builder builder) { super(builder); this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribePropertyScheduleConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribePropertyScheduleConfigRequest, Builder> { private String type; private Builder() { super(); } private Builder(DescribePropertyScheduleConfigRequest request) { super(request); this.type = request.type; } /** * <p>The type of the asset fingerprints. Valid values:</p> * <ul> * <li><strong>scheduler_port_period</strong>: listening port</li> * <li><strong>scheduler_process_period</strong>: running process</li> * <li><strong>scheduler_account_period</strong>: account</li> * <li><strong>scheduler_software_period</strong>: software</li> * <li><strong>scheduler_cron_period</strong>: scheduled task</li> * <li><strong>scheduler_sca_period</strong>: middleware</li> * <li><strong>scheduler_autorun_period</strong>: startup item</li> * <li><strong>scheduler_lkm_period</strong>: kernel module</li> * <li><strong>scheduler_sca_proxy_period</strong>: website</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>scheduler_autorun_period</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribePropertyScheduleConfigRequest build() { return new DescribePropertyScheduleConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScheduleConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScheduleConfigResponse} extends {@link TeaModel} * * <p>DescribePropertyScheduleConfigResponse</p> */ public class DescribePropertyScheduleConfigResponse 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 DescribePropertyScheduleConfigResponseBody body; private DescribePropertyScheduleConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePropertyScheduleConfigResponse 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 DescribePropertyScheduleConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePropertyScheduleConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePropertyScheduleConfigResponseBody body); @Override DescribePropertyScheduleConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePropertyScheduleConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePropertyScheduleConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePropertyScheduleConfigResponse 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(DescribePropertyScheduleConfigResponseBody body) { this.body = body; return this; } @Override public DescribePropertyScheduleConfigResponse build() { return new DescribePropertyScheduleConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribePropertyScheduleConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePropertyScheduleConfigResponseBody} extends {@link TeaModel} * * <p>DescribePropertyScheduleConfigResponseBody</p> */ public class DescribePropertyScheduleConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePropertyScheduleConfigResponseBody(Builder builder) { this.config = builder.config; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePropertyScheduleConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return config */ public String getConfig() { return this.config; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String config; private String requestId; private Builder() { } private Builder(DescribePropertyScheduleConfigResponseBody model) { this.config = model.config; this.requestId = model.requestId; } /** * <p>The configuration time. Unit: hours.</p> * <blockquote> * <p> A value <strong>0</strong> indicates that asset fingerprint collection is disabled for this type of asset.</p> * </blockquote> * * <strong>example:</strong> * <p>3</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePropertyScheduleConfigResponseBody build() { return new DescribePropertyScheduleConfigResponseBody(this); } } }