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/DescribeBruteForceRecordsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeBruteForceRecordsResponse} extends {@link TeaModel}
*
* <p>DescribeBruteForceRecordsResponse</p>
*/
public class DescribeBruteForceRecordsResponse 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 DescribeBruteForceRecordsResponseBody body;
private DescribeBruteForceRecordsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBruteForceRecordsResponse 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 DescribeBruteForceRecordsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBruteForceRecordsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBruteForceRecordsResponseBody body);
@Override
DescribeBruteForceRecordsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBruteForceRecordsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBruteForceRecordsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBruteForceRecordsResponse 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(DescribeBruteForceRecordsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBruteForceRecordsResponse build() {
return new DescribeBruteForceRecordsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeBruteForceRecordsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeBruteForceRecordsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBruteForceRecordsResponseBody</p>
*/
public class DescribeBruteForceRecordsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MachineList")
private java.util.List<MachineList> machineList;
@com.aliyun.core.annotation.NameInMap("PageInfo")
private PageInfo pageInfo;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeBruteForceRecordsResponseBody(Builder builder) {
this.machineList = builder.machineList;
this.pageInfo = builder.pageInfo;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBruteForceRecordsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return machineList
*/
public java.util.List<MachineList> getMachineList() {
return this.machineList;
}
/**
* @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<MachineList> machineList;
private PageInfo pageInfo;
private String requestId;
private Builder() {
}
private Builder(DescribeBruteForceRecordsResponseBody model) {
this.machineList = model.machineList;
this.pageInfo = model.pageInfo;
this.requestId = model.requestId;
}
/**
* <p>The IP addresses.</p>
*/
public Builder machineList(java.util.List<MachineList> machineList) {
this.machineList = machineList;
return this;
}
/**
* <p>The pagination information.</p>
*/
public Builder pageInfo(PageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>7E0618A9-D5EF-4220-9471-C42B5E92719F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeBruteForceRecordsResponseBody build() {
return new DescribeBruteForceRecordsResponseBody(this);
}
}
/**
*
* {@link DescribeBruteForceRecordsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBruteForceRecordsResponseBody</p>
*/
public static class MachineList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AliNetOnline")
private Boolean aliNetOnline;
@com.aliyun.core.annotation.NameInMap("BlockExpireDate")
private Long blockExpireDate;
@com.aliyun.core.annotation.NameInMap("BlockIp")
private String blockIp;
@com.aliyun.core.annotation.NameInMap("BlockType")
private String blockType;
@com.aliyun.core.annotation.NameInMap("ErrorCode")
private String errorCode;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("InstanceName")
private String instanceName;
@com.aliyun.core.annotation.NameInMap("InternetIp")
private String internetIp;
@com.aliyun.core.annotation.NameInMap("IntranetIp")
private String intranetIp;
@com.aliyun.core.annotation.NameInMap("Port")
private String port;
@com.aliyun.core.annotation.NameInMap("RuleName")
private String ruleName;
@com.aliyun.core.annotation.NameInMap("Source")
private String source;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Uuid")
private String uuid;
private MachineList(Builder builder) {
this.aliNetOnline = builder.aliNetOnline;
this.blockExpireDate = builder.blockExpireDate;
this.blockIp = builder.blockIp;
this.blockType = builder.blockType;
this.errorCode = builder.errorCode;
this.id = builder.id;
this.instanceName = builder.instanceName;
this.internetIp = builder.internetIp;
this.intranetIp = builder.intranetIp;
this.port = builder.port;
this.ruleName = builder.ruleName;
this.source = builder.source;
this.status = builder.status;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static MachineList create() {
return builder().build();
}
/**
* @return aliNetOnline
*/
public Boolean getAliNetOnline() {
return this.aliNetOnline;
}
/**
* @return blockExpireDate
*/
public Long getBlockExpireDate() {
return this.blockExpireDate;
}
/**
* @return blockIp
*/
public String getBlockIp() {
return this.blockIp;
}
/**
* @return blockType
*/
public String getBlockType() {
return this.blockType;
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return instanceName
*/
public String getInstanceName() {
return this.instanceName;
}
/**
* @return internetIp
*/
public String getInternetIp() {
return this.internetIp;
}
/**
* @return intranetIp
*/
public String getIntranetIp() {
return this.intranetIp;
}
/**
* @return port
*/
public String getPort() {
return this.port;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
/**
* @return source
*/
public String getSource() {
return this.source;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private Boolean aliNetOnline;
private Long blockExpireDate;
private String blockIp;
private String blockType;
private String errorCode;
private Long id;
private String instanceName;
private String internetIp;
private String intranetIp;
private String port;
private String ruleName;
private String source;
private Integer status;
private String uuid;
private Builder() {
}
private Builder(MachineList model) {
this.aliNetOnline = model.aliNetOnline;
this.blockExpireDate = model.blockExpireDate;
this.blockIp = model.blockIp;
this.blockType = model.blockType;
this.errorCode = model.errorCode;
this.id = model.id;
this.instanceName = model.instanceName;
this.internetIp = model.internetIp;
this.intranetIp = model.intranetIp;
this.port = model.port;
this.ruleName = model.ruleName;
this.source = model.source;
this.status = model.status;
this.uuid = model.uuid;
}
/**
* <p>The status of the host network extension. Valid values:</p>
* <ul>
* <li><strong>true</strong>: online</li>
* <li><strong>false</strong>: offline</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder aliNetOnline(Boolean aliNetOnline) {
this.aliNetOnline = aliNetOnline;
return this;
}
/**
* <p>The timestamp when the block action on the IP address becomes invalid.</p>
*
* <strong>example:</strong>
* <p>1671506882063</p>
*/
public Builder blockExpireDate(Long blockExpireDate) {
this.blockExpireDate = blockExpireDate;
return this;
}
/**
* <p>The IP address that is blocked.</p>
*
* <strong>example:</strong>
* <p>10.12.XX.XX</p>
*/
public Builder blockIp(String blockIp) {
this.blockIp = blockIp;
return this;
}
/**
* <p>The blocking type. Valid values:</p>
* <ul>
* <li><strong>group</strong>: security group</li>
* <li><strong>alinet</strong>: host network extension</li>
* </ul>
*
* <strong>example:</strong>
* <p>alinet</p>
*/
public Builder blockType(String blockType) {
this.blockType = blockType;
return this;
}
/**
* <p>The error code returned when the defense rule fails to block the IP address.</p>
*
* <strong>example:</strong>
* <p>InstanceSecurityGroupLimitExceeded</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The ID of the primary key that is recorded in the defense rule.</p>
*
* <strong>example:</strong>
* <p>112XX</p>
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* <p>The instance name of the server.</p>
*
* <strong>example:</strong>
* <p>record-test-***</p>
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* <p>The public IP address.</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.</p>
*
* <strong>example:</strong>
* <p>192.168.XX.XX</p>
*/
public Builder intranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
/**
* <p>The port that is attacked.</p>
*
* <strong>example:</strong>
* <p>22/22</p>
*/
public Builder port(String port) {
this.port = port;
return this;
}
/**
* <p>The name of the defense rule.</p>
*
* <strong>example:</strong>
* <p>AntiRuleName</p>
*/
public Builder ruleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
/**
* <p>The type of the defense rule. Valid values:</p>
* <ul>
* <li><strong>userRule</strong>: custom rule</li>
* <li><strong>blinkRule</strong>: system rule</li>
* </ul>
*
* <strong>example:</strong>
* <p>userRule</p>
*/
public Builder source(String source) {
this.source = source;
return this;
}
/**
* <p>The status of the defense rule. Valid values:</p>
* <ul>
* <li><strong>0</strong>: invalid</li>
* <li><strong>1</strong>: enabled</li>
* <li><strong>2</strong>: failed</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* <p>The UUID of the server on which the defense rule takes effect.</p>
*
* <strong>example:</strong>
* <p>6d5b361f-958d-48a8-a9d2-d6e82c1****</p>
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public MachineList build() {
return new MachineList(this);
}
}
}
/**
*
* {@link DescribeBruteForceRecordsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBruteForceRecordsResponseBody</p>
*/
public static class PageInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private PageInfo(Builder builder) {
this.count = builder.count;
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static PageInfo create() {
return builder().build();
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer count;
private Integer currentPage;
private Integer pageSize;
private Integer totalCount;
private Builder() {
}
private Builder(PageInfo model) {
this.count = model.count;
this.currentPage = model.currentPage;
this.pageSize = model.pageSize;
this.totalCount = model.totalCount;
}
/**
* <p>The number of entries returned on the current page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* <p>The number of entries returned per page. Default value: <strong>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>263</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/DescribeBruteForceSummaryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeBruteForceSummaryRequest} extends {@link RequestModel}
*
* <p>DescribeBruteForceSummaryRequest</p>
*/
public class DescribeBruteForceSummaryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
private DescribeBruteForceSummaryRequest(Builder builder) {
super(builder);
this.resourceOwnerId = builder.resourceOwnerId;
this.sourceIp = builder.sourceIp;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBruteForceSummaryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
public static final class Builder extends Request.Builder<DescribeBruteForceSummaryRequest, Builder> {
private Long resourceOwnerId;
private String sourceIp;
private Builder() {
super();
}
private Builder(DescribeBruteForceSummaryRequest request) {
super(request);
this.resourceOwnerId = request.resourceOwnerId;
this.sourceIp = request.sourceIp;
}
/**
* 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>203.119.XX.XX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
@Override
public DescribeBruteForceSummaryRequest build() {
return new DescribeBruteForceSummaryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeBruteForceSummaryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeBruteForceSummaryResponse} extends {@link TeaModel}
*
* <p>DescribeBruteForceSummaryResponse</p>
*/
public class DescribeBruteForceSummaryResponse 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 DescribeBruteForceSummaryResponseBody body;
private DescribeBruteForceSummaryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBruteForceSummaryResponse 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 DescribeBruteForceSummaryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBruteForceSummaryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBruteForceSummaryResponseBody body);
@Override
DescribeBruteForceSummaryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBruteForceSummaryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeBruteForceSummaryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBruteForceSummaryResponse 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(DescribeBruteForceSummaryResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBruteForceSummaryResponse build() {
return new DescribeBruteForceSummaryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeBruteForceSummaryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeBruteForceSummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeBruteForceSummaryResponseBody</p>
*/
public class DescribeBruteForceSummaryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BruteForceSummary")
private BruteForceSummary bruteForceSummary;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeBruteForceSummaryResponseBody(Builder builder) {
this.bruteForceSummary = builder.bruteForceSummary;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBruteForceSummaryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bruteForceSummary
*/
public BruteForceSummary getBruteForceSummary() {
return this.bruteForceSummary;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private BruteForceSummary bruteForceSummary;
private String requestId;
private Builder() {
}
private Builder(DescribeBruteForceSummaryResponseBody model) {
this.bruteForceSummary = model.bruteForceSummary;
this.requestId = model.requestId;
}
/**
* <p>The statistics of IP address blocking policies.</p>
*/
public Builder bruteForceSummary(BruteForceSummary bruteForceSummary) {
this.bruteForceSummary = bruteForceSummary;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>AE60EAE3-ABD0-897C-B0F16CAC6C7D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeBruteForceSummaryResponseBody build() {
return new DescribeBruteForceSummaryResponseBody(this);
}
}
/**
*
* {@link DescribeBruteForceSummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeBruteForceSummaryResponseBody</p>
*/
public static class BruteForceSummary extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllStrategyCount")
private Integer allStrategyCount;
@com.aliyun.core.annotation.NameInMap("AntiBruteForceRuleCount")
private String antiBruteForceRuleCount;
@com.aliyun.core.annotation.NameInMap("CustomEffectiveCount")
private String customEffectiveCount;
@com.aliyun.core.annotation.NameInMap("CustomRecordCount")
private String customRecordCount;
@com.aliyun.core.annotation.NameInMap("EffectiveCount")
private Integer effectiveCount;
@com.aliyun.core.annotation.NameInMap("SystemEffectiveCount")
private String systemEffectiveCount;
@com.aliyun.core.annotation.NameInMap("SystemRecordCount")
private String systemRecordCount;
private BruteForceSummary(Builder builder) {
this.allStrategyCount = builder.allStrategyCount;
this.antiBruteForceRuleCount = builder.antiBruteForceRuleCount;
this.customEffectiveCount = builder.customEffectiveCount;
this.customRecordCount = builder.customRecordCount;
this.effectiveCount = builder.effectiveCount;
this.systemEffectiveCount = builder.systemEffectiveCount;
this.systemRecordCount = builder.systemRecordCount;
}
public static Builder builder() {
return new Builder();
}
public static BruteForceSummary create() {
return builder().build();
}
/**
* @return allStrategyCount
*/
public Integer getAllStrategyCount() {
return this.allStrategyCount;
}
/**
* @return antiBruteForceRuleCount
*/
public String getAntiBruteForceRuleCount() {
return this.antiBruteForceRuleCount;
}
/**
* @return customEffectiveCount
*/
public String getCustomEffectiveCount() {
return this.customEffectiveCount;
}
/**
* @return customRecordCount
*/
public String getCustomRecordCount() {
return this.customRecordCount;
}
/**
* @return effectiveCount
*/
public Integer getEffectiveCount() {
return this.effectiveCount;
}
/**
* @return systemEffectiveCount
*/
public String getSystemEffectiveCount() {
return this.systemEffectiveCount;
}
/**
* @return systemRecordCount
*/
public String getSystemRecordCount() {
return this.systemRecordCount;
}
public static final class Builder {
private Integer allStrategyCount;
private String antiBruteForceRuleCount;
private String customEffectiveCount;
private String customRecordCount;
private Integer effectiveCount;
private String systemEffectiveCount;
private String systemRecordCount;
private Builder() {
}
private Builder(BruteForceSummary model) {
this.allStrategyCount = model.allStrategyCount;
this.antiBruteForceRuleCount = model.antiBruteForceRuleCount;
this.customEffectiveCount = model.customEffectiveCount;
this.customRecordCount = model.customRecordCount;
this.effectiveCount = model.effectiveCount;
this.systemEffectiveCount = model.systemEffectiveCount;
this.systemRecordCount = model.systemRecordCount;
}
/**
* <p>The number of anti-brute force IP blocking policies.</p>
*
* <strong>example:</strong>
* <p>13</p>
*/
public Builder allStrategyCount(Integer allStrategyCount) {
this.allStrategyCount = allStrategyCount;
return this;
}
/**
* <p>The number of defense policies.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder antiBruteForceRuleCount(String antiBruteForceRuleCount) {
this.antiBruteForceRuleCount = antiBruteForceRuleCount;
return this;
}
/**
* <p>The number of custom blocking rules that are in effect.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder customEffectiveCount(String customEffectiveCount) {
this.customEffectiveCount = customEffectiveCount;
return this;
}
/**
* <p>The number of custom blocking rules.</p>
*
* <strong>example:</strong>
* <p>19730</p>
*/
public Builder customRecordCount(String customRecordCount) {
this.customRecordCount = customRecordCount;
return this;
}
/**
* <p>The number of anti-brute force IP blocking policies enabled.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder effectiveCount(Integer effectiveCount) {
this.effectiveCount = effectiveCount;
return this;
}
/**
* <p>The number of system blocking rules that are in effect.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder systemEffectiveCount(String systemEffectiveCount) {
this.systemEffectiveCount = systemEffectiveCount;
return this;
}
/**
* <p>The number of system blocking rules.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder systemRecordCount(String systemRecordCount) {
this.systemRecordCount = systemRecordCount;
return this;
}
public BruteForceSummary build() {
return new BruteForceSummary(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanAccessVpcSaleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanAccessVpcSaleRequest} extends {@link RequestModel}
*
* <p>DescribeCanAccessVpcSaleRequest</p>
*/
public class DescribeCanAccessVpcSaleRequest extends Request {
private DescribeCanAccessVpcSaleRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static DescribeCanAccessVpcSaleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<DescribeCanAccessVpcSaleRequest, Builder> {
private Builder() {
super();
}
private Builder(DescribeCanAccessVpcSaleRequest request) {
super(request);
}
@Override
public DescribeCanAccessVpcSaleRequest build() {
return new DescribeCanAccessVpcSaleRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanAccessVpcSaleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanAccessVpcSaleResponse} extends {@link TeaModel}
*
* <p>DescribeCanAccessVpcSaleResponse</p>
*/
public class DescribeCanAccessVpcSaleResponse 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 DescribeCanAccessVpcSaleResponseBody body;
private DescribeCanAccessVpcSaleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCanAccessVpcSaleResponse 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 DescribeCanAccessVpcSaleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCanAccessVpcSaleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCanAccessVpcSaleResponseBody body);
@Override
DescribeCanAccessVpcSaleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCanAccessVpcSaleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCanAccessVpcSaleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCanAccessVpcSaleResponse 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(DescribeCanAccessVpcSaleResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCanAccessVpcSaleResponse build() {
return new DescribeCanAccessVpcSaleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanAccessVpcSaleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanAccessVpcSaleResponseBody} extends {@link TeaModel}
*
* <p>DescribeCanAccessVpcSaleResponseBody</p>
*/
public class DescribeCanAccessVpcSaleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CanAccess")
private Boolean canAccess;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCanAccessVpcSaleResponseBody(Builder builder) {
this.canAccess = builder.canAccess;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCanAccessVpcSaleResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return canAccess
*/
public Boolean getCanAccess() {
return this.canAccess;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Boolean canAccess;
private String requestId;
private Builder() {
}
private Builder(DescribeCanAccessVpcSaleResponseBody model) {
this.canAccess = model.canAccess;
this.requestId = model.requestId;
}
/**
* <p>Indicates whether the purchase can be made according to VPC.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder canAccess(Boolean canAccess) {
this.canAccess = canAccess;
return this;
}
/**
* <p>The ID of this call request, a unique identifier generated by Alibaba Cloud for this request, which can be used for troubleshooting and problem localization.</p>
*
* <strong>example:</strong>
* <p>7BC55C8F-226E-5AF5-9A2C-2EC43864****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCanAccessVpcSaleResponseBody build() {
return new DescribeCanAccessVpcSaleResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanFixVulListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanFixVulListRequest} extends {@link RequestModel}
*
* <p>DescribeCanFixVulListRequest</p>
*/
public class DescribeCanFixVulListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AliasName")
private String aliasName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerId")
private String containerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Dealed")
private String dealed;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Digest")
private String digest;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Image")
private String image;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Namespace")
private String namespace;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Necessity")
private String necessity;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Pod")
private String pod;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RepoId")
private String repoId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RepoInstanceId")
private String repoInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RepoName")
private String repoName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RepoNamespace")
private String repoNamespace;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RepoRegionId")
private String repoRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ScanRange")
private java.util.List<String> scanRange;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StatusList")
private String statusList;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private String tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Uuids")
private String uuids;
private DescribeCanFixVulListRequest(Builder builder) {
super(builder);
this.aliasName = builder.aliasName;
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.containerId = builder.containerId;
this.currentPage = builder.currentPage;
this.dealed = builder.dealed;
this.digest = builder.digest;
this.image = builder.image;
this.instanceId = builder.instanceId;
this.name = builder.name;
this.namespace = builder.namespace;
this.necessity = builder.necessity;
this.pageSize = builder.pageSize;
this.pod = builder.pod;
this.regionId = builder.regionId;
this.repoId = builder.repoId;
this.repoInstanceId = builder.repoInstanceId;
this.repoName = builder.repoName;
this.repoNamespace = builder.repoNamespace;
this.repoRegionId = builder.repoRegionId;
this.scanRange = builder.scanRange;
this.statusList = builder.statusList;
this.tag = builder.tag;
this.type = builder.type;
this.uuids = builder.uuids;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCanFixVulListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aliasName
*/
public String getAliasName() {
return this.aliasName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return containerId
*/
public String getContainerId() {
return this.containerId;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return dealed
*/
public String getDealed() {
return this.dealed;
}
/**
* @return digest
*/
public String getDigest() {
return this.digest;
}
/**
* @return image
*/
public String getImage() {
return this.image;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return necessity
*/
public String getNecessity() {
return this.necessity;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return pod
*/
public String getPod() {
return this.pod;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return repoId
*/
public String getRepoId() {
return this.repoId;
}
/**
* @return repoInstanceId
*/
public String getRepoInstanceId() {
return this.repoInstanceId;
}
/**
* @return repoName
*/
public String getRepoName() {
return this.repoName;
}
/**
* @return repoNamespace
*/
public String getRepoNamespace() {
return this.repoNamespace;
}
/**
* @return repoRegionId
*/
public String getRepoRegionId() {
return this.repoRegionId;
}
/**
* @return scanRange
*/
public java.util.List<String> getScanRange() {
return this.scanRange;
}
/**
* @return statusList
*/
public String getStatusList() {
return this.statusList;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return uuids
*/
public String getUuids() {
return this.uuids;
}
public static final class Builder extends Request.Builder<DescribeCanFixVulListRequest, Builder> {
private String aliasName;
private String clusterId;
private String clusterName;
private String containerId;
private Integer currentPage;
private String dealed;
private String digest;
private String image;
private String instanceId;
private String name;
private String namespace;
private String necessity;
private Integer pageSize;
private String pod;
private String regionId;
private String repoId;
private String repoInstanceId;
private String repoName;
private String repoNamespace;
private String repoRegionId;
private java.util.List<String> scanRange;
private String statusList;
private String tag;
private String type;
private String uuids;
private Builder() {
super();
}
private Builder(DescribeCanFixVulListRequest request) {
super(request);
this.aliasName = request.aliasName;
this.clusterId = request.clusterId;
this.clusterName = request.clusterName;
this.containerId = request.containerId;
this.currentPage = request.currentPage;
this.dealed = request.dealed;
this.digest = request.digest;
this.image = request.image;
this.instanceId = request.instanceId;
this.name = request.name;
this.namespace = request.namespace;
this.necessity = request.necessity;
this.pageSize = request.pageSize;
this.pod = request.pod;
this.regionId = request.regionId;
this.repoId = request.repoId;
this.repoInstanceId = request.repoInstanceId;
this.repoName = request.repoName;
this.repoNamespace = request.repoNamespace;
this.repoRegionId = request.repoRegionId;
this.scanRange = request.scanRange;
this.statusList = request.statusList;
this.tag = request.tag;
this.type = request.type;
this.uuids = request.uuids;
}
/**
* <p>The alias of the vulnerability that is specified in Common Vulnerabilities and Exposures (CVE).</p>
*
* <strong>example:</strong>
* <p>RHSA-2017:0184-Important: mysql security update</p>
*/
public Builder aliasName(String aliasName) {
this.putQueryParameter("AliasName", aliasName);
this.aliasName = aliasName;
return this;
}
/**
* <p>The cluster ID.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>c80f79959fd724a888e1187779b13****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The name of the cluster.</p>
*
* <strong>example:</strong>
* <p>sas-test-cnnf</p>
*/
public Builder clusterName(String clusterName) {
this.putQueryParameter("ClusterName", clusterName);
this.clusterName = clusterName;
return this;
}
/**
* <p>The container ID.</p>
*
* <strong>example:</strong>
* <p>48a6d9a92435a13ad573372c3f3c63b7e04d106458141df9f92155709d5a****</p>
*/
public Builder containerId(String containerId) {
this.putQueryParameter("ContainerId", containerId);
this.containerId = containerId;
return this;
}
/**
* <p>The page number. Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>Specifies whether the vulnerability is handled. Valid values:</p>
* <p><strong>y</strong>: The vulnerability is handled. <strong>n</strong>: The vulnerability is not handled.</p>
*
* <strong>example:</strong>
* <p>n</p>
*/
public Builder dealed(String dealed) {
this.putQueryParameter("Dealed", dealed);
this.dealed = dealed;
return this;
}
/**
* <p>The unique identifier of the image.</p>
*
* <strong>example:</strong>
* <p>8f0fbdb41d3d1ade4ffdf21558443f4c03342010563bb8c43ccc09594d50****</p>
*/
public Builder digest(String digest) {
this.putQueryParameter("Digest", digest);
this.digest = digest;
return this;
}
/**
* <p>The name of the image.</p>
*
* <strong>example:</strong>
* <p>registry.cn-wulanchabu.aliyuncs.com/sas_test/huxin-test-001:nuxeo6-****</p>
*/
public Builder image(String image) {
this.putQueryParameter("Image", image);
this.image = image;
return this;
}
/**
* <p>The ID of the container image.</p>
* <blockquote>
* <p> You can call the <a href="https://help.aliyun.com/document_detail/451339.html">ListRepository</a> operation of Container Registry and obtain the ID of the container image from <strong>InstanceId</strong> in the response.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>cri-rv4nvbv8iju4****</p>
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the vulnerability.</p>
*
* <strong>example:</strong>
* <p>scan:AVD-2022-953356</p>
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* <p>The namespace of the cluster.</p>
* <blockquote>
* <p> You can call the <a href="~~GetOpaClusterNamespaceList~~">GetOpaClusterNamespaceList</a> operation to query the namespaces of clusters.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>default</p>
*/
public Builder namespace(String namespace) {
this.putQueryParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The priority to fix the vulnerability. Separate multiple priorities with commas (,). Valid values:</p>
* <ul>
* <li><strong>asap</strong>: high</li>
* <li><strong>later</strong>: medium</li>
* <li><strong>nntf</strong>: low</li>
* </ul>
*
* <strong>example:</strong>
* <p>asap,later,nntf</p>
*/
public Builder necessity(String necessity) {
this.putQueryParameter("Necessity", necessity);
this.necessity = necessity;
return this;
}
/**
* <p>The number of entries per page. Default value: 20.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The name of the container group.</p>
*
* <strong>example:</strong>
* <p>22222-7xsqq</p>
*/
public Builder pod(String pod) {
this.putQueryParameter("Pod", pod);
this.pod = pod;
return this;
}
/**
* <p>The region ID of the image repository. Valid values:</p>
* <ul>
* <li><strong>cn-beijing</strong>: China (Beijing)</li>
* <li><strong>cn-zhangjiakou</strong>: China (Zhangjiakou)</li>
* <li><strong>cn-hangzhou</strong>: China (Hangzhou)</li>
* <li><strong>cn-shanghai</strong>: China (Shanghai)</li>
* <li><strong>cn-shenzhen</strong>: China (Shenzhen)</li>
* <li><strong>cn-hongkong</strong>: China (Hong Kong)</li>
* <li><strong>ap-southeast-1</strong>: Singapore</li>
* <li><strong>ap-southeast-5</strong>: Indonesia (Jakarta)</li>
* <li><strong>us-east-1</strong>: US (Virginia)</li>
* <li><strong>us-west-1</strong>: US (Silicon Valley)</li>
* <li><strong>eu-central-1</strong>: Germany (Frankfurt)</li>
* <li><strong>eu-west-1</strong>: UK (London)</li>
* </ul>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the image repository.</p>
* <blockquote>
* <p> You can call the <a href="https://help.aliyun.com/document_detail/145293.html">ListRepository</a> operation of Container Registry and obtain the ID of the image repository from <strong>RepoId</strong> in the response.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>crr-avo7qp02simz2njo</p>
*/
public Builder repoId(String repoId) {
this.putQueryParameter("RepoId", repoId);
this.repoId = repoId;
return this;
}
/**
* <p>The ID of the container image.</p>
* <blockquote>
* <p> You can call the <a href="https://help.aliyun.com/document_detail/451339.html">ListRepository</a> operation of Container Registry and obtain the ID of the container image from <strong>InstanceId</strong> in the response.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>cri-rv4nvbv8iju4****</p>
*/
public Builder repoInstanceId(String repoInstanceId) {
this.putQueryParameter("RepoInstanceId", repoInstanceId);
this.repoInstanceId = repoInstanceId;
return this;
}
/**
* <p>The name of the image repository.</p>
* <blockquote>
* <p> Fuzzy match is supported.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>digital-account</p>
*/
public Builder repoName(String repoName) {
this.putQueryParameter("RepoName", repoName);
this.repoName = repoName;
return this;
}
/**
* <p>The namespace to which the image repository belongs.</p>
* <blockquote>
* <p> Fuzzy match is supported.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ns-digital-dev</p>
*/
public Builder repoNamespace(String repoNamespace) {
this.putQueryParameter("RepoNamespace", repoNamespace);
this.repoNamespace = repoNamespace;
return this;
}
/**
* <p>The region ID of the image repository. Valid values:</p>
* <ul>
* <li><strong>cn-beijing</strong>: China (Beijing)</li>
* <li><strong>cn-zhangjiakou</strong>: China (Zhangjiakou)</li>
* <li><strong>cn-hangzhou</strong>: China (Hangzhou)</li>
* <li><strong>cn-shanghai</strong>: China (Shanghai)</li>
* <li><strong>cn-shenzhen</strong>: China (Shenzhen)</li>
* <li><strong>cn-hongkong</strong>: China (Hong Kong)</li>
* <li><strong>ap-southeast-1</strong>: Singapore</li>
* <li><strong>ap-southeast-5</strong>: Indonesia (Jakarta)</li>
* <li><strong>us-east-1</strong>: US (Virginia)</li>
* <li><strong>us-west-1</strong>: US (Silicon Valley)</li>
* <li><strong>eu-central-1</strong>: Germany (Frankfurt)</li>
* <li><strong>eu-west-1</strong>: UK (London)</li>
* </ul>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder repoRegionId(String repoRegionId) {
this.putQueryParameter("RepoRegionId", repoRegionId);
this.repoRegionId = repoRegionId;
return this;
}
/**
* <p>The type of the asset that you want to scan. Valid values:</p>
* <ul>
* <li><strong>image</strong></li>
* <li><strong>container</strong></li>
* </ul>
*/
public Builder scanRange(java.util.List<String> scanRange) {
this.putQueryParameter("ScanRange", scanRange);
this.scanRange = scanRange;
return this;
}
/**
* <p>The status of the vulnerability. Valid values:</p>
* <ul>
* <li><strong>1</strong>: The vulnerability is unfixed.</li>
* <li><strong>4</strong>: The vulnerability is being fixed.</li>
* <li><strong>7</strong>:The vulnerability is fixed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder statusList(String statusList) {
this.putQueryParameter("StatusList", statusList);
this.statusList = statusList;
return this;
}
/**
* <p>The tag to add to the image.</p>
*
* <strong>example:</strong>
* <p>0.1.0</p>
*/
public Builder tag(String tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The type of the vulnerability. Valid values:</p>
* <ul>
* <li><strong>cve</strong>: system vulnerability</li>
* <li><strong>sca</strong>: application vulnerability</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cve</p>
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
/**
* <p>The UUID of the image. Separate multiple UUIDs with commas (,).</p>
*
* <strong>example:</strong>
* <p>d15df12472809c1c3b158606c0f1****</p>
*/
public Builder uuids(String uuids) {
this.putQueryParameter("Uuids", uuids);
this.uuids = uuids;
return this;
}
@Override
public DescribeCanFixVulListRequest build() {
return new DescribeCanFixVulListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanFixVulListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanFixVulListResponse} extends {@link TeaModel}
*
* <p>DescribeCanFixVulListResponse</p>
*/
public class DescribeCanFixVulListResponse 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 DescribeCanFixVulListResponseBody body;
private DescribeCanFixVulListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCanFixVulListResponse 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 DescribeCanFixVulListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCanFixVulListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCanFixVulListResponseBody body);
@Override
DescribeCanFixVulListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCanFixVulListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCanFixVulListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCanFixVulListResponse 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(DescribeCanFixVulListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCanFixVulListResponse build() {
return new DescribeCanFixVulListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanFixVulListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanFixVulListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCanFixVulListResponseBody</p>
*/
public class DescribeCanFixVulListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VulRecords")
private java.util.List<VulRecords> vulRecords;
private DescribeCanFixVulListResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.vulRecords = builder.vulRecords;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCanFixVulListResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vulRecords
*/
public java.util.List<VulRecords> getVulRecords() {
return this.vulRecords;
}
public static final class Builder {
private String requestId;
private java.util.List<VulRecords> vulRecords;
private Builder() {
}
private Builder(DescribeCanFixVulListResponseBody model) {
this.requestId = model.requestId;
this.vulRecords = model.vulRecords;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>1408FDB3-46F4-513C-9918-FE7D356DF048</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the vulnerability.</p>
*/
public Builder vulRecords(java.util.List<VulRecords> vulRecords) {
this.vulRecords = vulRecords;
return this;
}
public DescribeCanFixVulListResponseBody build() {
return new DescribeCanFixVulListResponseBody(this);
}
}
/**
*
* {@link DescribeCanFixVulListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCanFixVulListResponseBody</p>
*/
public static class RpmEntityList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FullVersion")
private String fullVersion;
@com.aliyun.core.annotation.NameInMap("Layer")
private String layer;
@com.aliyun.core.annotation.NameInMap("MatchDetail")
private String matchDetail;
@com.aliyun.core.annotation.NameInMap("MatchList")
private java.util.List<String> matchList;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Path")
private String path;
@com.aliyun.core.annotation.NameInMap("UpdateCmd")
private String updateCmd;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
private RpmEntityList(Builder builder) {
this.fullVersion = builder.fullVersion;
this.layer = builder.layer;
this.matchDetail = builder.matchDetail;
this.matchList = builder.matchList;
this.name = builder.name;
this.path = builder.path;
this.updateCmd = builder.updateCmd;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static RpmEntityList create() {
return builder().build();
}
/**
* @return fullVersion
*/
public String getFullVersion() {
return this.fullVersion;
}
/**
* @return layer
*/
public String getLayer() {
return this.layer;
}
/**
* @return matchDetail
*/
public String getMatchDetail() {
return this.matchDetail;
}
/**
* @return matchList
*/
public java.util.List<String> getMatchList() {
return this.matchList;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return updateCmd
*/
public String getUpdateCmd() {
return this.updateCmd;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String fullVersion;
private String layer;
private String matchDetail;
private java.util.List<String> matchList;
private String name;
private String path;
private String updateCmd;
private String version;
private Builder() {
}
private Builder(RpmEntityList model) {
this.fullVersion = model.fullVersion;
this.layer = model.layer;
this.matchDetail = model.matchDetail;
this.matchList = model.matchList;
this.name = model.name;
this.path = model.path;
this.updateCmd = model.updateCmd;
this.version = model.version;
}
/**
* <p>The complete version number of the software package.</p>
*
* <strong>example:</strong>
* <p>3.10.0-693.2.2.el7</p>
*/
public Builder fullVersion(String fullVersion) {
this.fullVersion = fullVersion;
return this;
}
/**
* <p>The SHA-256 value of the digest of the image layer.</p>
*
* <strong>example:</strong>
* <p>b1f5b9420803ad0657cf21566e3e20acc08581e7f22991249ef3aa80b8b1****</p>
*/
public Builder layer(String layer) {
this.layer = layer;
return this;
}
/**
* <p>The information about the detected vulnerability.</p>
*
* <strong>example:</strong>
* <p>python-perf version less than 0:3.10.0-693.21.1.el7</p>
*/
public Builder matchDetail(String matchDetail) {
this.matchDetail = matchDetail;
return this;
}
/**
* <p>The rule that is used to detect the vulnerability.</p>
*/
public Builder matchList(java.util.List<String> matchList) {
this.matchList = matchList;
return this;
}
/**
* <p>The name of the software package.</p>
*
* <strong>example:</strong>
* <p>python-perf</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The path of the software that has the vulnerability.</p>
*
* <strong>example:</strong>
* <p>/usr/lib64/python2.7/site-packages</p>
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* <p>The command that is used to fix the vulnerability.</p>
*
* <strong>example:</strong>
* <p>apt-get update && apt-get install libseccomp2 --only-upgrade</p>
*/
public Builder updateCmd(String updateCmd) {
this.updateCmd = updateCmd;
return this;
}
/**
* <p>The version number of the software package.</p>
*
* <strong>example:</strong>
* <p>3.10.0</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public RpmEntityList build() {
return new RpmEntityList(this);
}
}
}
/**
*
* {@link DescribeCanFixVulListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCanFixVulListResponseBody</p>
*/
public static class ExtendContentJson extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Os")
private String os;
@com.aliyun.core.annotation.NameInMap("OsRelease")
private String osRelease;
@com.aliyun.core.annotation.NameInMap("RpmEntityList")
private java.util.List<RpmEntityList> rpmEntityList;
private ExtendContentJson(Builder builder) {
this.os = builder.os;
this.osRelease = builder.osRelease;
this.rpmEntityList = builder.rpmEntityList;
}
public static Builder builder() {
return new Builder();
}
public static ExtendContentJson create() {
return builder().build();
}
/**
* @return os
*/
public String getOs() {
return this.os;
}
/**
* @return osRelease
*/
public String getOsRelease() {
return this.osRelease;
}
/**
* @return rpmEntityList
*/
public java.util.List<RpmEntityList> getRpmEntityList() {
return this.rpmEntityList;
}
public static final class Builder {
private String os;
private String osRelease;
private java.util.List<RpmEntityList> rpmEntityList;
private Builder() {
}
private Builder(ExtendContentJson model) {
this.os = model.os;
this.osRelease = model.osRelease;
this.rpmEntityList = model.rpmEntityList;
}
/**
* <p>The name of the operating system.</p>
*
* <strong>example:</strong>
* <p>debian</p>
*/
public Builder os(String os) {
this.os = os;
return this;
}
/**
* <p>The version of the operating system in the image.</p>
*
* <strong>example:</strong>
* <p>10.9</p>
*/
public Builder osRelease(String osRelease) {
this.osRelease = osRelease;
return this;
}
/**
* <p>The RPM packages.</p>
*/
public Builder rpmEntityList(java.util.List<RpmEntityList> rpmEntityList) {
this.rpmEntityList = rpmEntityList;
return this;
}
public ExtendContentJson build() {
return new ExtendContentJson(this);
}
}
}
/**
*
* {@link DescribeCanFixVulListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCanFixVulListResponseBody</p>
*/
public static class VulRecords extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AliasName")
private String aliasName;
@com.aliyun.core.annotation.NameInMap("CanFix")
private String canFix;
@com.aliyun.core.annotation.NameInMap("CanUpdate")
private Boolean canUpdate;
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.NameInMap("ContainerId")
private String containerId;
@com.aliyun.core.annotation.NameInMap("ExtendContentJson")
private ExtendContentJson extendContentJson;
@com.aliyun.core.annotation.NameInMap("FirstTs")
private Long firstTs;
@com.aliyun.core.annotation.NameInMap("Image")
private String image;
@com.aliyun.core.annotation.NameInMap("ImageDigest")
private String imageDigest;
@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("LastTs")
private Long lastTs;
@com.aliyun.core.annotation.NameInMap("Layers")
private java.util.List<String> layers;
@com.aliyun.core.annotation.NameInMap("MaliciousSource")
private String maliciousSource;
@com.aliyun.core.annotation.NameInMap("ModifyTs")
private Long modifyTs;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Namespace")
private String namespace;
@com.aliyun.core.annotation.NameInMap("Necessity")
private String necessity;
@com.aliyun.core.annotation.NameInMap("Pod")
private String pod;
@com.aliyun.core.annotation.NameInMap("PrimaryId")
private Long primaryId;
@com.aliyun.core.annotation.NameInMap("Related")
private String related;
@com.aliyun.core.annotation.NameInMap("RepoName")
private String repoName;
@com.aliyun.core.annotation.NameInMap("RepoNamespace")
private String repoNamespace;
@com.aliyun.core.annotation.NameInMap("ScanTime")
private Long scanTime;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Tag")
private String tag;
@com.aliyun.core.annotation.NameInMap("TargetId")
private String targetId;
@com.aliyun.core.annotation.NameInMap("TargetName")
private String targetName;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Uuid")
private String uuid;
private VulRecords(Builder builder) {
this.aliasName = builder.aliasName;
this.canFix = builder.canFix;
this.canUpdate = builder.canUpdate;
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.containerId = builder.containerId;
this.extendContentJson = builder.extendContentJson;
this.firstTs = builder.firstTs;
this.image = builder.image;
this.imageDigest = builder.imageDigest;
this.instanceName = builder.instanceName;
this.internetIp = builder.internetIp;
this.intranetIp = builder.intranetIp;
this.lastTs = builder.lastTs;
this.layers = builder.layers;
this.maliciousSource = builder.maliciousSource;
this.modifyTs = builder.modifyTs;
this.name = builder.name;
this.namespace = builder.namespace;
this.necessity = builder.necessity;
this.pod = builder.pod;
this.primaryId = builder.primaryId;
this.related = builder.related;
this.repoName = builder.repoName;
this.repoNamespace = builder.repoNamespace;
this.scanTime = builder.scanTime;
this.status = builder.status;
this.tag = builder.tag;
this.targetId = builder.targetId;
this.targetName = builder.targetName;
this.targetType = builder.targetType;
this.type = builder.type;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static VulRecords create() {
return builder().build();
}
/**
* @return aliasName
*/
public String getAliasName() {
return this.aliasName;
}
/**
* @return canFix
*/
public String getCanFix() {
return this.canFix;
}
/**
* @return canUpdate
*/
public Boolean getCanUpdate() {
return this.canUpdate;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return containerId
*/
public String getContainerId() {
return this.containerId;
}
/**
* @return extendContentJson
*/
public ExtendContentJson getExtendContentJson() {
return this.extendContentJson;
}
/**
* @return firstTs
*/
public Long getFirstTs() {
return this.firstTs;
}
/**
* @return image
*/
public String getImage() {
return this.image;
}
/**
* @return imageDigest
*/
public String getImageDigest() {
return this.imageDigest;
}
/**
* @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 lastTs
*/
public Long getLastTs() {
return this.lastTs;
}
/**
* @return layers
*/
public java.util.List<String> getLayers() {
return this.layers;
}
/**
* @return maliciousSource
*/
public String getMaliciousSource() {
return this.maliciousSource;
}
/**
* @return modifyTs
*/
public Long getModifyTs() {
return this.modifyTs;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return necessity
*/
public String getNecessity() {
return this.necessity;
}
/**
* @return pod
*/
public String getPod() {
return this.pod;
}
/**
* @return primaryId
*/
public Long getPrimaryId() {
return this.primaryId;
}
/**
* @return related
*/
public String getRelated() {
return this.related;
}
/**
* @return repoName
*/
public String getRepoName() {
return this.repoName;
}
/**
* @return repoNamespace
*/
public String getRepoNamespace() {
return this.repoNamespace;
}
/**
* @return scanTime
*/
public Long getScanTime() {
return this.scanTime;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
/**
* @return targetId
*/
public String getTargetId() {
return this.targetId;
}
/**
* @return targetName
*/
public String getTargetName() {
return this.targetName;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private String aliasName;
private String canFix;
private Boolean canUpdate;
private String clusterId;
private String clusterName;
private String containerId;
private ExtendContentJson extendContentJson;
private Long firstTs;
private String image;
private String imageDigest;
private String instanceName;
private String internetIp;
private String intranetIp;
private Long lastTs;
private java.util.List<String> layers;
private String maliciousSource;
private Long modifyTs;
private String name;
private String namespace;
private String necessity;
private String pod;
private Long primaryId;
private String related;
private String repoName;
private String repoNamespace;
private Long scanTime;
private Integer status;
private String tag;
private String targetId;
private String targetName;
private String targetType;
private String type;
private String uuid;
private Builder() {
}
private Builder(VulRecords model) {
this.aliasName = model.aliasName;
this.canFix = model.canFix;
this.canUpdate = model.canUpdate;
this.clusterId = model.clusterId;
this.clusterName = model.clusterName;
this.containerId = model.containerId;
this.extendContentJson = model.extendContentJson;
this.firstTs = model.firstTs;
this.image = model.image;
this.imageDigest = model.imageDigest;
this.instanceName = model.instanceName;
this.internetIp = model.internetIp;
this.intranetIp = model.intranetIp;
this.lastTs = model.lastTs;
this.layers = model.layers;
this.maliciousSource = model.maliciousSource;
this.modifyTs = model.modifyTs;
this.name = model.name;
this.namespace = model.namespace;
this.necessity = model.necessity;
this.pod = model.pod;
this.primaryId = model.primaryId;
this.related = model.related;
this.repoName = model.repoName;
this.repoNamespace = model.repoNamespace;
this.scanTime = model.scanTime;
this.status = model.status;
this.tag = model.tag;
this.targetId = model.targetId;
this.targetName = model.targetName;
this.targetType = model.targetType;
this.type = model.type;
this.uuid = model.uuid;
}
/**
* <p>The alias of the vulnerability.</p>
*
* <strong>example:</strong>
* <p>CVE-2018-25010:libwebp up to 1.0.0 ApplyFilter out-of-bounds read</p>
*/
public Builder aliasName(String aliasName) {
this.aliasName = aliasName;
return this;
}
/**
* <p>Indicates whether the vulnerability can be fixed in the Security Center console. Valid values:</p>
* <ul>
* <li><strong>yes</strong></li>
* <li><strong>no</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>yes</p>
*/
public Builder canFix(String canFix) {
this.canFix = canFix;
return this;
}
/**
* <p>Indicates whether the packages of the software that has the vulnerability can be upgraded by using Security Center. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder canUpdate(Boolean canUpdate) {
this.canUpdate = canUpdate;
return this;
}
/**
* <p>The cluster ID.</p>
*
* <strong>example:</strong>
* <p>c08d5fc1a329a4b88950a253d082f1****</p>
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* <p>The name of the cluster.</p>
*
* <strong>example:</strong>
* <p>docker-law</p>
*/
public Builder clusterName(String clusterName) {
this.clusterName = clusterName;
return this;
}
/**
* <p>The container ID.</p>
*
* <strong>example:</strong>
* <p>04d20e98c8e2c93b7b864372084320a15a58c8671e53c972ce3a71d9c163****</p>
*/
public Builder containerId(String containerId) {
this.containerId = containerId;
return this;
}
/**
* <p>The extended information about the vulnerability.</p>
*/
public Builder extendContentJson(ExtendContentJson extendContentJson) {
this.extendContentJson = extendContentJson;
return this;
}
/**
* <p>The timestamp generated when the vulnerability was first detected. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1620752053000</p>
*/
public Builder firstTs(Long firstTs) {
this.firstTs = firstTs;
return this;
}
/**
* <p>The name of the image.</p>
*
* <strong>example:</strong>
* <p>registry.cn-wulanchabu.aliyuncs.com/sas_test/huxin-test-001:nuxeo6-conta****</p>
*/
public Builder image(String image) {
this.image = image;
return this;
}
/**
* <p>The unique identifier of the image.</p>
*
* <strong>example:</strong>
* <p>8f0fbdb41d3d1ade4ffdf21558443f4c03342010563bb8c43ccc09594d50****</p>
*/
public Builder imageDigest(String imageDigest) {
this.imageDigest = imageDigest;
return this;
}
/**
* <p>The name of the instance.</p>
* <p>The name must be 3 to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>testInstance</p>
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* <p>The public IP address of the asset.</p>
*
* <strong>example:</strong>
* <p>1.2.XX.XX</p>
*/
public Builder internetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
/**
* <p>The private IP address of the asset.</p>
*
* <strong>example:</strong>
* <p>172.19.XX.XX</p>
*/
public Builder intranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
/**
* <p>The timestamp generated when the vulnerability was last detected. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1620404763000</p>
*/
public Builder lastTs(Long lastTs) {
this.lastTs = lastTs;
return this;
}
/**
* <p>The image layers.</p>
*/
public Builder layers(java.util.List<String> layers) {
this.layers = layers;
return this;
}
/**
* <p>The source of the malicious file. Valid values:</p>
* <ul>
* <li><strong>agentless</strong></li>
* <li><strong>image</strong></li>
* <li><strong>container</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>agentless</p>
*/
public Builder maliciousSource(String maliciousSource) {
this.maliciousSource = maliciousSource;
return this;
}
/**
* <p>The timestamp generated when the vulnerability status was modified. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1620404763000</p>
*/
public Builder modifyTs(Long modifyTs) {
this.modifyTs = modifyTs;
return this;
}
/**
* <p>The name of the vulnerability.</p>
*
* <strong>example:</strong>
* <p>debian:10:CVE-2019-9893</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The namespace.</p>
*
* <strong>example:</strong>
* <p>test-002</p>
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* <p>The priority to fix the vulnerability. Valid values:</p>
* <ul>
* <li><strong>asap</strong>: high</li>
* <li><strong>later</strong>: medium</li>
* <li><strong>nntf</strong>: low</li>
* </ul>
* <blockquote>
* <p> We recommend that you fix high-level vulnerabilities as soon as possible.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>asap,later,nntf</p>
*/
public Builder necessity(String necessity) {
this.necessity = necessity;
return this;
}
/**
* <p>The name of the container group.</p>
*
* <strong>example:</strong>
* <p>22222-7xsqq</p>
*/
public Builder pod(String pod) {
this.pod = pod;
return this;
}
/**
* <p>The vulnerability ID.</p>
*
* <strong>example:</strong>
* <p>782661</p>
*/
public Builder primaryId(Long primaryId) {
this.primaryId = primaryId;
return this;
}
/**
* <p>The CVE IDs related to the vulnerability. Multiple CVE IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>CVE-2017-7518,CVE-2017-12188</p>
*/
public Builder related(String related) {
this.related = related;
return this;
}
/**
* <p>The name of the image repository.</p>
*
* <strong>example:</strong>
* <p>varnish</p>
*/
public Builder repoName(String repoName) {
this.repoName = repoName;
return this;
}
/**
* <p>The namespace to which the image repository belongs.</p>
*
* <strong>example:</strong>
* <p>3rdparty</p>
*/
public Builder repoNamespace(String repoNamespace) {
this.repoNamespace = repoNamespace;
return this;
}
/**
* <p>The timestamp generated when the scan task was performed. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1649814050000</p>
*/
public Builder scanTime(Long scanTime) {
this.scanTime = scanTime;
return this;
}
/**
* <p>The status of the vulnerability. Valid values:</p>
* <ul>
* <li><strong>1</strong>: The vulnerability is unfixed.</li>
* <li><strong>4</strong>: The vulnerability is being fixed.</li>
* <li><strong>7</strong>: The vulnerability is fixed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* <p>The tag that is added to the image.</p>
*
* <strong>example:</strong>
* <p>latest</p>
*/
public Builder tag(String tag) {
this.tag = tag;
return this;
}
/**
* <p>The ID of the asset that is scanned.</p>
*
* <strong>example:</strong>
* <p>300269</p>
*/
public Builder targetId(String targetId) {
this.targetId = targetId;
return this;
}
/**
* <p>The name of the asset that is scanned.</p>
*
* <strong>example:</strong>
* <p>source-test-obj-XM0Ma</p>
*/
public Builder targetName(String targetName) {
this.targetName = targetName;
return this;
}
/**
* <p>The type of the asset that is scanned. Valid values:</p>
* <ul>
* <li><strong>IMAGE</strong></li>
* <li><strong>ECS_IMAGE</strong></li>
* <li><strong>ECS_SNAPSHOT</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>ECS_IMAGE</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
/**
* <p>The type of the vulnerability. Valid values:</p>
* <ul>
* <li><strong>cve</strong>: system vulnerability</li>
* <li><strong>sca</strong>: application vulnerability</li>
* </ul>
*
* <strong>example:</strong>
* <p>cve</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The UUID of the container image.</p>
*
* <strong>example:</strong>
* <p>0004a32a0305a7f6ab5ff9600d47****</p>
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public VulRecords build() {
return new VulRecords(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanTrySasRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanTrySasRequest} extends {@link RequestModel}
*
* <p>DescribeCanTrySasRequest</p>
*/
public class DescribeCanTrySasRequest extends Request {
private DescribeCanTrySasRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static DescribeCanTrySasRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<DescribeCanTrySasRequest, Builder> {
private Builder() {
super();
}
private Builder(DescribeCanTrySasRequest request) {
super(request);
}
@Override
public DescribeCanTrySasRequest build() {
return new DescribeCanTrySasRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanTrySasResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanTrySasResponse} extends {@link TeaModel}
*
* <p>DescribeCanTrySasResponse</p>
*/
public class DescribeCanTrySasResponse 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 DescribeCanTrySasResponseBody body;
private DescribeCanTrySasResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCanTrySasResponse 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 DescribeCanTrySasResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCanTrySasResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCanTrySasResponseBody body);
@Override
DescribeCanTrySasResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCanTrySasResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCanTrySasResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCanTrySasResponse 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(DescribeCanTrySasResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCanTrySasResponse build() {
return new DescribeCanTrySasResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCanTrySasResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCanTrySasResponseBody} extends {@link TeaModel}
*
* <p>DescribeCanTrySasResponseBody</p>
*/
public class DescribeCanTrySasResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CanTry")
private Integer canTry;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCanTrySasResponseBody(Builder builder) {
this.canTry = builder.canTry;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCanTrySasResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return canTry
*/
public Integer getCanTry() {
return this.canTry;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer canTry;
private String requestId;
private Builder() {
}
private Builder(DescribeCanTrySasResponseBody model) {
this.canTry = model.canTry;
this.requestId = model.requestId;
}
/**
* <p>Indicates whether you have the permissions on the trial use of Security Center. Valid values:</p>
* <ul>
* <li><strong>1</strong>: yes</li>
* <li><strong>0</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder canTry(Integer canTry) {
this.canTry = canTry;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E90DE229-9FC6-58F6-BF4B-03AD6179****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCanTrySasResponseBody build() {
return new DescribeCanTrySasResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeChartDataRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeChartDataRequest} extends {@link RequestModel}
*
* <p>DescribeChartDataRequest</p>
*/
public class DescribeChartDataRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CharId")
private String charId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ChartId")
private String chartId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ReportId")
private Long reportId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TimeEnd")
private Long timeEnd;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TimeStart")
private Long timeStart;
private DescribeChartDataRequest(Builder builder) {
super(builder);
this.charId = builder.charId;
this.chartId = builder.chartId;
this.lang = builder.lang;
this.reportId = builder.reportId;
this.timeEnd = builder.timeEnd;
this.timeStart = builder.timeStart;
}
public static Builder builder() {
return new Builder();
}
public static DescribeChartDataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return charId
*/
public String getCharId() {
return this.charId;
}
/**
* @return chartId
*/
public String getChartId() {
return this.chartId;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return reportId
*/
public Long getReportId() {
return this.reportId;
}
/**
* @return timeEnd
*/
public Long getTimeEnd() {
return this.timeEnd;
}
/**
* @return timeStart
*/
public Long getTimeStart() {
return this.timeStart;
}
public static final class Builder extends Request.Builder<DescribeChartDataRequest, Builder> {
private String charId;
private String chartId;
private String lang;
private Long reportId;
private Long timeEnd;
private Long timeStart;
private Builder() {
super();
}
private Builder(DescribeChartDataRequest request) {
super(request);
this.charId = request.charId;
this.chartId = request.chartId;
this.lang = request.lang;
this.reportId = request.reportId;
this.timeEnd = request.timeEnd;
this.timeStart = request.timeStart;
}
/**
* <p>The ID of the chart.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeChartList~~">DescribeChartList</a> operation to query the ID. This parameter is required if the report version is 1.0.0.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>CID_ASSET_RISK_TREND</p>
*/
public Builder charId(String charId) {
this.putQueryParameter("CharId", charId);
this.charId = charId;
return this;
}
/**
* <p>The ID of the chart.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeChartList~~">DescribeChartList</a> operation to query the ID. This parameter is required if the report version is 2.0.0.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>CID_VUL_SUMMARY</p>
*/
public Builder chartId(String chartId) {
this.putQueryParameter("ChartId", chartId);
this.chartId = chartId;
return this;
}
/**
* <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The ID of the security report.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeCustomizeReportList~~">DescribeCustomizeReportList</a> operation to query the ID.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>721734</p>
*/
public Builder reportId(Long reportId) {
this.putQueryParameter("ReportId", reportId);
this.reportId = reportId;
return this;
}
/**
* <p>The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1683862286000</p>
*/
public Builder timeEnd(Long timeEnd) {
this.putQueryParameter("TimeEnd", timeEnd);
this.timeEnd = timeEnd;
return this;
}
/**
* <p>The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1683603086000</p>
*/
public Builder timeStart(Long timeStart) {
this.putQueryParameter("TimeStart", timeStart);
this.timeStart = timeStart;
return this;
}
@Override
public DescribeChartDataRequest build() {
return new DescribeChartDataRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeChartDataResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeChartDataResponse} extends {@link TeaModel}
*
* <p>DescribeChartDataResponse</p>
*/
public class DescribeChartDataResponse 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 DescribeChartDataResponseBody body;
private DescribeChartDataResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeChartDataResponse 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 DescribeChartDataResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeChartDataResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeChartDataResponseBody body);
@Override
DescribeChartDataResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeChartDataResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeChartDataResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeChartDataResponse 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(DescribeChartDataResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeChartDataResponse build() {
return new DescribeChartDataResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeChartDataResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeChartDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartDataResponseBody</p>
*/
public class DescribeChartDataResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllChartSubTypeList")
private java.util.List<AllChartSubTypeList> allChartSubTypeList;
@com.aliyun.core.annotation.NameInMap("ChartDataType")
private String chartDataType;
@com.aliyun.core.annotation.NameInMap("ChartSubTypeList")
private java.util.List<String> chartSubTypeList;
@com.aliyun.core.annotation.NameInMap("ChartType")
private String chartType;
@com.aliyun.core.annotation.NameInMap("CoordinateData")
private CoordinateData coordinateData;
@com.aliyun.core.annotation.NameInMap("MultipleData")
private java.util.List<MultipleData> multipleData;
@com.aliyun.core.annotation.NameInMap("PropertyArrayValue")
private String propertyArrayValue;
@com.aliyun.core.annotation.NameInMap("PropertyValue")
private String propertyValue;
@com.aliyun.core.annotation.NameInMap("ProperyArrayValue")
private String properyArrayValue;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SingleData")
private SingleData singleData;
private DescribeChartDataResponseBody(Builder builder) {
this.allChartSubTypeList = builder.allChartSubTypeList;
this.chartDataType = builder.chartDataType;
this.chartSubTypeList = builder.chartSubTypeList;
this.chartType = builder.chartType;
this.coordinateData = builder.coordinateData;
this.multipleData = builder.multipleData;
this.propertyArrayValue = builder.propertyArrayValue;
this.propertyValue = builder.propertyValue;
this.properyArrayValue = builder.properyArrayValue;
this.requestId = builder.requestId;
this.singleData = builder.singleData;
}
public static Builder builder() {
return new Builder();
}
public static DescribeChartDataResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return allChartSubTypeList
*/
public java.util.List<AllChartSubTypeList> getAllChartSubTypeList() {
return this.allChartSubTypeList;
}
/**
* @return chartDataType
*/
public String getChartDataType() {
return this.chartDataType;
}
/**
* @return chartSubTypeList
*/
public java.util.List<String> getChartSubTypeList() {
return this.chartSubTypeList;
}
/**
* @return chartType
*/
public String getChartType() {
return this.chartType;
}
/**
* @return coordinateData
*/
public CoordinateData getCoordinateData() {
return this.coordinateData;
}
/**
* @return multipleData
*/
public java.util.List<MultipleData> getMultipleData() {
return this.multipleData;
}
/**
* @return propertyArrayValue
*/
public String getPropertyArrayValue() {
return this.propertyArrayValue;
}
/**
* @return propertyValue
*/
public String getPropertyValue() {
return this.propertyValue;
}
/**
* @return properyArrayValue
*/
public String getProperyArrayValue() {
return this.properyArrayValue;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return singleData
*/
public SingleData getSingleData() {
return this.singleData;
}
public static final class Builder {
private java.util.List<AllChartSubTypeList> allChartSubTypeList;
private String chartDataType;
private java.util.List<String> chartSubTypeList;
private String chartType;
private CoordinateData coordinateData;
private java.util.List<MultipleData> multipleData;
private String propertyArrayValue;
private String propertyValue;
private String properyArrayValue;
private String requestId;
private SingleData singleData;
private Builder() {
}
private Builder(DescribeChartDataResponseBody model) {
this.allChartSubTypeList = model.allChartSubTypeList;
this.chartDataType = model.chartDataType;
this.chartSubTypeList = model.chartSubTypeList;
this.chartType = model.chartType;
this.coordinateData = model.coordinateData;
this.multipleData = model.multipleData;
this.propertyArrayValue = model.propertyArrayValue;
this.propertyValue = model.propertyValue;
this.properyArrayValue = model.properyArrayValue;
this.requestId = model.requestId;
this.singleData = model.singleData;
}
/**
* <p>The valid values for all subtypes of the chart.</p>
*/
public Builder allChartSubTypeList(java.util.List<AllChartSubTypeList> allChartSubTypeList) {
this.allChartSubTypeList = allChartSubTypeList;
return this;
}
/**
* <p>The data type of the chart. Valid values:</p>
* <ul>
* <li><strong>commonCoordinate</strong></li>
* <li><strong>timeCoordinate</strong></li>
* <li><strong>multipleValue</strong></li>
* <li><strong>singleValue</strong></li>
* <li><strong>propertyValue</strong></li>
* <li><strong>propertyArrayValue</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>propertyArrayValue</p>
*/
public Builder chartDataType(String chartDataType) {
this.chartDataType = chartDataType;
return this;
}
/**
* <p>The subtype values in which the chart is selected.</p>
*/
public Builder chartSubTypeList(java.util.List<String> chartSubTypeList) {
this.chartSubTypeList = chartSubTypeList;
return this;
}
/**
* <p>The type of the chart. Valid values:</p>
* <ul>
* <li><strong>timeLine</strong></li>
* <li><strong>timeBar</strong></li>
* <li><strong>bar</strong></li>
* <li><strong>line</strong></li>
* <li><strong>pie</strong></li>
* <li><strong>gauge</strong></li>
* <li><strong>table</strong></li>
* <li><strong>text</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>timeBar</p>
*/
public Builder chartType(String chartType) {
this.chartType = chartType;
return this;
}
/**
* <p>The coordinate data.</p>
*/
public Builder coordinateData(CoordinateData coordinateData) {
this.coordinateData = coordinateData;
return this;
}
/**
* <p>The values in the multi-value charts.</p>
*/
public Builder multipleData(java.util.List<MultipleData> multipleData) {
this.multipleData = multipleData;
return this;
}
/**
* <p>The attribute value of the array chart.</p>
*
* <strong>example:</strong>
* <p>[]</p>
*/
public Builder propertyArrayValue(String propertyArrayValue) {
this.propertyArrayValue = propertyArrayValue;
return this;
}
/**
* <p>The data of the chart.</p>
*
* <strong>example:</strong>
* <p>{"totalCount": "0"}</p>
*/
public Builder propertyValue(String propertyValue) {
this.propertyValue = propertyValue;
return this;
}
/**
* <p>The array data of the chart.</p>
*
* <strong>example:</strong>
* <p>[]</p>
*/
public Builder properyArrayValue(String properyArrayValue) {
this.properyArrayValue = properyArrayValue;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>50CCE62A-2BC4-5CF8-B976-E4F62A31****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The data of the single value chart.</p>
*/
public Builder singleData(SingleData singleData) {
this.singleData = singleData;
return this;
}
public DescribeChartDataResponseBody build() {
return new DescribeChartDataResponseBody(this);
}
}
/**
*
* {@link DescribeChartDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartDataResponseBody</p>
*/
public static class AllChartSubTypeList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SubType")
private String subType;
@com.aliyun.core.annotation.NameInMap("SubTypeName")
private String subTypeName;
private AllChartSubTypeList(Builder builder) {
this.subType = builder.subType;
this.subTypeName = builder.subTypeName;
}
public static Builder builder() {
return new Builder();
}
public static AllChartSubTypeList create() {
return builder().build();
}
/**
* @return subType
*/
public String getSubType() {
return this.subType;
}
/**
* @return subTypeName
*/
public String getSubTypeName() {
return this.subTypeName;
}
public static final class Builder {
private String subType;
private String subTypeName;
private Builder() {
}
private Builder(AllChartSubTypeList model) {
this.subType = model.subType;
this.subTypeName = model.subTypeName;
}
/**
* <p>The subtype of the chart.</p>
*
* <strong>example:</strong>
* <p>CID_SUSPICIOUS_TREND-ALL</p>
*/
public Builder subType(String subType) {
this.subType = subType;
return this;
}
/**
* <p>The name of the chart subtype.</p>
*
* <strong>example:</strong>
* <p>All Alerts</p>
*/
public Builder subTypeName(String subTypeName) {
this.subTypeName = subTypeName;
return this;
}
public AllChartSubTypeList build() {
return new AllChartSubTypeList(this);
}
}
}
/**
*
* {@link DescribeChartDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartDataResponseBody</p>
*/
public static class YAxisList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("SubType")
private String subType;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private YAxisList(Builder builder) {
this.name = builder.name;
this.subType = builder.subType;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static YAxisList create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return subType
*/
public String getSubType() {
return this.subType;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String name;
private String subType;
private String type;
private java.util.List<String> value;
private Builder() {
}
private Builder(YAxisList model) {
this.name = model.name;
this.subType = model.subType;
this.type = model.type;
this.value = model.value;
}
/**
* <p>The name of the data type.</p>
*
* <strong>example:</strong>
* <p>Port</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The subtype data of the chart.</p>
*
* <strong>example:</strong>
* <p>CID_SUSPICIOUS_TREND-AL</p>
*/
public Builder subType(String subType) {
this.subType = subType;
return this;
}
/**
* <p>The type of the data.</p>
*
* <strong>example:</strong>
* <p>high</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The values of the y-axis that corresponds to x-axis points.</p>
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public YAxisList build() {
return new YAxisList(this);
}
}
}
/**
*
* {@link DescribeChartDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartDataResponseBody</p>
*/
public static class CoordinateData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("XAxis")
private java.util.List<String> xAxis;
@com.aliyun.core.annotation.NameInMap("YAxisList")
private java.util.List<YAxisList> yAxisList;
private CoordinateData(Builder builder) {
this.xAxis = builder.xAxis;
this.yAxisList = builder.yAxisList;
}
public static Builder builder() {
return new Builder();
}
public static CoordinateData create() {
return builder().build();
}
/**
* @return xAxis
*/
public java.util.List<String> getXAxis() {
return this.xAxis;
}
/**
* @return yAxisList
*/
public java.util.List<YAxisList> getYAxisList() {
return this.yAxisList;
}
public static final class Builder {
private java.util.List<String> xAxis;
private java.util.List<YAxisList> yAxisList;
private Builder() {
}
private Builder(CoordinateData model) {
this.xAxis = model.xAxis;
this.yAxisList = model.yAxisList;
}
/**
* <p>The x-axis values.</p>
*/
public Builder xAxis(java.util.List<String> xAxis) {
this.xAxis = xAxis;
return this;
}
/**
* <p>The y-axis values.</p>
*/
public Builder yAxisList(java.util.List<YAxisList> yAxisList) {
this.yAxisList = yAxisList;
return this;
}
public CoordinateData build() {
return new CoordinateData(this);
}
}
}
/**
*
* {@link DescribeChartDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartDataResponseBody</p>
*/
public static class MultipleData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Color")
private String color;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Value")
private Long value;
private MultipleData(Builder builder) {
this.color = builder.color;
this.name = builder.name;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static MultipleData create() {
return builder().build();
}
/**
* @return color
*/
public String getColor() {
return this.color;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public Long getValue() {
return this.value;
}
public static final class Builder {
private String color;
private String name;
private String type;
private Long value;
private Builder() {
}
private Builder(MultipleData model) {
this.color = model.color;
this.name = model.name;
this.type = model.type;
this.value = model.value;
}
/**
* <p>The font color, which is an RGBA value.</p>
*
* <strong>example:</strong>
* <p>#FFA800</p>
*/
public Builder color(String color) {
this.color = color;
return this;
}
/**
* <p>The name of the data type.</p>
*
* <strong>example:</strong>
* <p>Safety</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The type of the data.</p>
*
* <strong>example:</strong>
* <p>safe</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The attribute value.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder value(Long value) {
this.value = value;
return this;
}
public MultipleData build() {
return new MultipleData(this);
}
}
}
/**
*
* {@link DescribeChartDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartDataResponseBody</p>
*/
public static class SingleData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Value")
private Long value;
private SingleData(Builder builder) {
this.name = builder.name;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static SingleData create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public Long getValue() {
return this.value;
}
public static final class Builder {
private String name;
private String type;
private Long value;
private Builder() {
}
private Builder(SingleData model) {
this.name = model.name;
this.type = model.type;
this.value = model.value;
}
/**
* <p>The name of the data type.</p>
*
* <strong>example:</strong>
* <p>suspicious</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The type of the data.</p>
*
* <strong>example:</strong>
* <p>suspicious</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The value in the single value chart.</p>
*
* <strong>example:</strong>
* <p>172</p>
*/
public Builder value(Long value) {
this.value = value;
return this;
}
public SingleData build() {
return new SingleData(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeChartListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeChartListRequest} extends {@link RequestModel}
*
* <p>DescribeChartListRequest</p>
*/
public class DescribeChartListRequest 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("ProjectCode")
@com.aliyun.core.annotation.Validation(required = true)
private String projectCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ReportId")
private String reportId;
private DescribeChartListRequest(Builder builder) {
super(builder);
this.lang = builder.lang;
this.projectCode = builder.projectCode;
this.reportId = builder.reportId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeChartListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return projectCode
*/
public String getProjectCode() {
return this.projectCode;
}
/**
* @return reportId
*/
public String getReportId() {
return this.reportId;
}
public static final class Builder extends Request.Builder<DescribeChartListRequest, Builder> {
private String lang;
private String projectCode;
private String reportId;
private Builder() {
super();
}
private Builder(DescribeChartListRequest request) {
super(request);
this.lang = request.lang;
this.projectCode = request.projectCode;
this.reportId = request.reportId;
}
/**
* <p>The language of the content within the request and response. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The code of the report. Valid value:</p>
* <ul>
* <li><strong>customize_report</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>customize_report</p>
*/
public Builder projectCode(String projectCode) {
this.putQueryParameter("ProjectCode", projectCode);
this.projectCode = projectCode;
return this;
}
/**
* <p>The ID of the report.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeCustomizeReportList~~">DescribeCustomizeReportList</a> operation to query the ID.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>720549</p>
*/
public Builder reportId(String reportId) {
this.putQueryParameter("ReportId", reportId);
this.reportId = reportId;
return this;
}
@Override
public DescribeChartListRequest build() {
return new DescribeChartListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeChartListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeChartListResponse} extends {@link TeaModel}
*
* <p>DescribeChartListResponse</p>
*/
public class DescribeChartListResponse 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 DescribeChartListResponseBody body;
private DescribeChartListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeChartListResponse 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 DescribeChartListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeChartListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeChartListResponseBody body);
@Override
DescribeChartListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeChartListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeChartListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeChartListResponse 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(DescribeChartListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeChartListResponse build() {
return new DescribeChartListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeChartListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeChartListResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartListResponseBody</p>
*/
public class DescribeChartListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChartList")
private java.util.List<ChartList> chartList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeChartListResponseBody(Builder builder) {
this.chartList = builder.chartList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeChartListResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return chartList
*/
public java.util.List<ChartList> getChartList() {
return this.chartList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<ChartList> chartList;
private String requestId;
private Builder() {
}
private Builder(DescribeChartListResponseBody model) {
this.chartList = model.chartList;
this.requestId = model.requestId;
}
/**
* <p>The charts.</p>
*/
public Builder chartList(java.util.List<ChartList> chartList) {
this.chartList = chartList;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>35B434CC-1615-5937-A04E-A9BC2868DB45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeChartListResponseBody build() {
return new DescribeChartListResponseBody(this);
}
}
/**
*
* {@link DescribeChartListResponseBody} extends {@link TeaModel}
*
* <p>DescribeChartListResponseBody</p>
*/
public static class ChartList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BusinessName")
private String businessName;
@com.aliyun.core.annotation.NameInMap("BusinessType")
private String businessType;
@com.aliyun.core.annotation.NameInMap("ChartId")
private String chartId;
@com.aliyun.core.annotation.NameInMap("ChartName")
private String chartName;
@com.aliyun.core.annotation.NameInMap("ChartType")
private String chartType;
private ChartList(Builder builder) {
this.businessName = builder.businessName;
this.businessType = builder.businessType;
this.chartId = builder.chartId;
this.chartName = builder.chartName;
this.chartType = builder.chartType;
}
public static Builder builder() {
return new Builder();
}
public static ChartList create() {
return builder().build();
}
/**
* @return businessName
*/
public String getBusinessName() {
return this.businessName;
}
/**
* @return businessType
*/
public String getBusinessType() {
return this.businessType;
}
/**
* @return chartId
*/
public String getChartId() {
return this.chartId;
}
/**
* @return chartName
*/
public String getChartName() {
return this.chartName;
}
/**
* @return chartType
*/
public String getChartType() {
return this.chartType;
}
public static final class Builder {
private String businessName;
private String businessType;
private String chartId;
private String chartName;
private String chartType;
private Builder() {
}
private Builder(ChartList model) {
this.businessName = model.businessName;
this.businessType = model.businessType;
this.chartId = model.chartId;
this.chartName = model.chartName;
this.chartType = model.chartType;
}
/**
* <p>The name of the business type. Valid values:</p>
* <ul>
* <li>Overall Operations Metrics</li>
* <li>Asset Operations Metrics</li>
* <li>Security Alert Operations Metrics</li>
* <li>Vulnerability Operations Metrics</li>
* <li>Baseline Operations Metrics</li>
* <li>Cloud Product Operations Metrics</li>
* <li>Honeypot Operations Metrics</li>
* </ul>
*
* <strong>example:</strong>
* <p>Overall Operation Metrics</p>
*/
public Builder businessName(String businessName) {
this.businessName = businessName;
return this;
}
/**
* <p>The business type. Valid values:</p>
* <ul>
* <li>INDEX_SECURITY_OVERALL_OPERATION</li>
* <li>INDEX_ASSET_OPERATION</li>
* <li>INDEX_SUSPICIOUS_OPERATION</li>
* <li>INDEX_VUL_OPERATION</li>
* <li>INDEX_BASELINE_CHECK_OPERATION</li>
* <li>INDEX_CLOUD_ASSET_OPERATION</li>
* <li>INDEX_HONEYPOT_RISK_OPERATION</li>
* </ul>
*
* <strong>example:</strong>
* <p>INDEX_SECURITY_OVERALL_OPERATION</p>
*/
public Builder businessType(String businessType) {
this.businessType = businessType;
return this;
}
/**
* <p>The ID of the chart.</p>
*
* <strong>example:</strong>
* <p>CID_CLOUD_ASSET_SUMMARY</p>
*/
public Builder chartId(String chartId) {
this.chartId = chartId;
return this;
}
/**
* <p>The name of the chart.</p>
*
* <strong>example:</strong>
* <p>Security Score</p>
*/
public Builder chartName(String chartName) {
this.chartName = chartName;
return this;
}
/**
* <p>The type of the chart. Valid values:</p>
* <ul>
* <li><strong>text</strong></li>
* <li><strong>table</strong></li>
* <li><strong>gauge</strong></li>
* <li><strong>pie</strong></li>
* <li><strong>line</strong></li>
* <li><strong>bar</strong></li>
* <li><strong>timeBar</strong></li>
* <li><strong>timeLine</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>text</p>
*/
public Builder chartType(String chartType) {
this.chartType = chartType;
return this;
}
public ChartList build() {
return new ChartList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckEcsWarningsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckEcsWarningsRequest} extends {@link RequestModel}
*
* <p>DescribeCheckEcsWarningsRequest</p>
*/
public class DescribeCheckEcsWarningsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
private DescribeCheckEcsWarningsRequest(Builder builder) {
super(builder);
this.sourceIp = builder.sourceIp;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckEcsWarningsRequest 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<DescribeCheckEcsWarningsRequest, Builder> {
private String sourceIp;
private Builder() {
super();
}
private Builder(DescribeCheckEcsWarningsRequest request) {
super(request);
this.sourceIp = request.sourceIp;
}
/**
* <p>The source IP address of the request.</p>
*
* <strong>example:</strong>
* <p>1.2.3.4</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
@Override
public DescribeCheckEcsWarningsRequest build() {
return new DescribeCheckEcsWarningsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckEcsWarningsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckEcsWarningsResponse} extends {@link TeaModel}
*
* <p>DescribeCheckEcsWarningsResponse</p>
*/
public class DescribeCheckEcsWarningsResponse 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 DescribeCheckEcsWarningsResponseBody body;
private DescribeCheckEcsWarningsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckEcsWarningsResponse 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 DescribeCheckEcsWarningsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckEcsWarningsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckEcsWarningsResponseBody body);
@Override
DescribeCheckEcsWarningsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckEcsWarningsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckEcsWarningsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckEcsWarningsResponse 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(DescribeCheckEcsWarningsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckEcsWarningsResponse build() {
return new DescribeCheckEcsWarningsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckEcsWarningsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckEcsWarningsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckEcsWarningsResponseBody</p>
*/
public class DescribeCheckEcsWarningsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CanTry")
private String canTry;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SasVersion")
private String sasVersion;
@com.aliyun.core.annotation.NameInMap("WeakPasswordCount")
private String weakPasswordCount;
private DescribeCheckEcsWarningsResponseBody(Builder builder) {
this.canTry = builder.canTry;
this.requestId = builder.requestId;
this.sasVersion = builder.sasVersion;
this.weakPasswordCount = builder.weakPasswordCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckEcsWarningsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return canTry
*/
public String getCanTry() {
return this.canTry;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return sasVersion
*/
public String getSasVersion() {
return this.sasVersion;
}
/**
* @return weakPasswordCount
*/
public String getWeakPasswordCount() {
return this.weakPasswordCount;
}
public static final class Builder {
private String canTry;
private String requestId;
private String sasVersion;
private String weakPasswordCount;
private Builder() {
}
private Builder(DescribeCheckEcsWarningsResponseBody model) {
this.canTry = model.canTry;
this.requestId = model.requestId;
this.sasVersion = model.sasVersion;
this.weakPasswordCount = model.weakPasswordCount;
}
/**
* <p>Indicates whether you use the free trial of Security Center. Valid values:</p>
* <ul>
* <li><strong>0</strong>: no</li>
* <li><strong>1</strong>: yes</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder canTry(String canTry) {
this.canTry = canTry;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>4E5BFDCF-B9DD-430D-9DA4-151BCB581C9D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The edition of Security Center that you use. Valid values:</p>
* <ul>
* <li><strong>1</strong>: Basic edition</li>
* <li><strong>2</strong> or <strong>3</strong>: Enterprise edition</li>
* <li><strong>5</strong>: Advanced edition</li>
* <li><strong>6</strong>: Anti-virus edition</li>
* </ul>
* <blockquote>
* <p> Both the value 2 and the value 3 indicate the Enterprise edition.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder sasVersion(String sasVersion) {
this.sasVersion = sasVersion;
return this;
}
/**
* <p>The number of weak passwords that can cause high risks to your assets.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder weakPasswordCount(String weakPasswordCount) {
this.weakPasswordCount = weakPasswordCount;
return this;
}
public DescribeCheckEcsWarningsResponseBody build() {
return new DescribeCheckEcsWarningsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckFixDetailsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckFixDetailsRequest} extends {@link RequestModel}
*
* <p>DescribeCheckFixDetailsRequest</p>
*/
public class DescribeCheckFixDetailsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckIds")
private String checkIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RiskId")
private Long riskId;
private DescribeCheckFixDetailsRequest(Builder builder) {
super(builder);
this.checkIds = builder.checkIds;
this.lang = builder.lang;
this.riskId = builder.riskId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckFixDetailsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkIds
*/
public String getCheckIds() {
return this.checkIds;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return riskId
*/
public Long getRiskId() {
return this.riskId;
}
public static final class Builder extends Request.Builder<DescribeCheckFixDetailsRequest, Builder> {
private String checkIds;
private String lang;
private Long riskId;
private Builder() {
super();
}
private Builder(DescribeCheckFixDetailsRequest request) {
super(request);
this.checkIds = request.checkIds;
this.lang = request.lang;
this.riskId = request.riskId;
}
/**
* <p>The ID of the risk item.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeRiskType~~">DescribeRiskType</a> operation to query the IDs of risk items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>58</p>
*/
public Builder checkIds(String checkIds) {
this.putQueryParameter("CheckIds", checkIds);
this.checkIds = checkIds;
return this;
}
/**
* <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The ID of the baseline.</p>
* <blockquote>
* <p> You can call the <a href="https://help.aliyun.com/document_detail/116179.html">DescribeCheckWarningSummary</a> operation to query the IDs of baselines.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>51</p>
*/
public Builder riskId(Long riskId) {
this.putQueryParameter("RiskId", riskId);
this.riskId = riskId;
return this;
}
@Override
public DescribeCheckFixDetailsRequest build() {
return new DescribeCheckFixDetailsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckFixDetailsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckFixDetailsResponse} extends {@link TeaModel}
*
* <p>DescribeCheckFixDetailsResponse</p>
*/
public class DescribeCheckFixDetailsResponse 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 DescribeCheckFixDetailsResponseBody body;
private DescribeCheckFixDetailsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckFixDetailsResponse 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 DescribeCheckFixDetailsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckFixDetailsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckFixDetailsResponseBody body);
@Override
DescribeCheckFixDetailsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckFixDetailsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckFixDetailsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckFixDetailsResponse 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(DescribeCheckFixDetailsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckFixDetailsResponse build() {
return new DescribeCheckFixDetailsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckFixDetailsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckFixDetailsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckFixDetailsResponseBody</p>
*/
public class DescribeCheckFixDetailsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckFixDetails")
private java.util.List<CheckFixDetails> checkFixDetails;
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCheckFixDetailsResponseBody(Builder builder) {
this.checkFixDetails = builder.checkFixDetails;
this.count = builder.count;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckFixDetailsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkFixDetails
*/
public java.util.List<CheckFixDetails> getCheckFixDetails() {
return this.checkFixDetails;
}
/**
* @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<CheckFixDetails> checkFixDetails;
private Integer count;
private String requestId;
private Builder() {
}
private Builder(DescribeCheckFixDetailsResponseBody model) {
this.checkFixDetails = model.checkFixDetails;
this.count = model.count;
this.requestId = model.requestId;
}
/**
* <p>An array that consists of the parameters.</p>
*/
public Builder checkFixDetails(java.util.List<CheckFixDetails> checkFixDetails) {
this.checkFixDetails = checkFixDetails;
return this;
}
/**
* <p>The number of risk items that can be fixed.</p>
*
* <strong>example:</strong>
* <p>20</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>0DBF1E27-98D8-5EC2-9CF3-4A2E26F6****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCheckFixDetailsResponseBody build() {
return new DescribeCheckFixDetailsResponseBody(this);
}
}
/**
*
* {@link DescribeCheckFixDetailsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckFixDetailsResponseBody</p>
*/
public static class ParamList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnumValue")
private String enumValue;
@com.aliyun.core.annotation.NameInMap("MaxValue")
private Integer maxValue;
@com.aliyun.core.annotation.NameInMap("MinValue")
private Integer minValue;
@com.aliyun.core.annotation.NameInMap("ParamDefaultValue")
private String paramDefaultValue;
@com.aliyun.core.annotation.NameInMap("ParamDesc")
private String paramDesc;
@com.aliyun.core.annotation.NameInMap("ParamName")
private String paramName;
@com.aliyun.core.annotation.NameInMap("ParamType")
private Integer paramType;
@com.aliyun.core.annotation.NameInMap("RuleId")
private String ruleId;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private ParamList(Builder builder) {
this.enumValue = builder.enumValue;
this.maxValue = builder.maxValue;
this.minValue = builder.minValue;
this.paramDefaultValue = builder.paramDefaultValue;
this.paramDesc = builder.paramDesc;
this.paramName = builder.paramName;
this.paramType = builder.paramType;
this.ruleId = builder.ruleId;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static ParamList create() {
return builder().build();
}
/**
* @return enumValue
*/
public String getEnumValue() {
return this.enumValue;
}
/**
* @return maxValue
*/
public Integer getMaxValue() {
return this.maxValue;
}
/**
* @return minValue
*/
public Integer getMinValue() {
return this.minValue;
}
/**
* @return paramDefaultValue
*/
public String getParamDefaultValue() {
return this.paramDefaultValue;
}
/**
* @return paramDesc
*/
public String getParamDesc() {
return this.paramDesc;
}
/**
* @return paramName
*/
public String getParamName() {
return this.paramName;
}
/**
* @return paramType
*/
public Integer getParamType() {
return this.paramType;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String enumValue;
private Integer maxValue;
private Integer minValue;
private String paramDefaultValue;
private String paramDesc;
private String paramName;
private Integer paramType;
private String ruleId;
private String value;
private Builder() {
}
private Builder(ParamList model) {
this.enumValue = model.enumValue;
this.maxValue = model.maxValue;
this.minValue = model.minValue;
this.paramDefaultValue = model.paramDefaultValue;
this.paramDesc = model.paramDesc;
this.paramName = model.paramName;
this.paramType = model.paramType;
this.ruleId = model.ruleId;
this.value = model.value;
}
/**
* <p>The options that can be selected for the rule parameter if the value of the ParamType parameter is 2.</p>
*
* <strong>example:</strong>
* <p>0,1,2,3</p>
*/
public Builder enumValue(String enumValue) {
this.enumValue = enumValue;
return this;
}
/**
* <p>The maximum value of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>24</p>
*/
public Builder maxValue(Integer maxValue) {
this.maxValue = maxValue;
return this;
}
/**
* <p>The minimum value of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder minValue(Integer minValue) {
this.minValue = minValue;
return this;
}
/**
* <p>The default value of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder paramDefaultValue(String paramDefaultValue) {
this.paramDefaultValue = paramDefaultValue;
return this;
}
/**
* <p>The description of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>The setting value is 0 means no definition, 1 means success, 2 means failure, 3 means success and failure</p>
*/
public Builder paramDesc(String paramDesc) {
this.paramDesc = paramDesc;
return this;
}
/**
* <p>The name of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>range_val</p>
*/
public Builder paramName(String paramName) {
this.paramName = paramName;
return this;
}
/**
* <p>The type of the rule parameter. Valid values:</p>
* <ul>
* <li><strong>1</strong>: input</li>
* <li><strong>2</strong>: selection</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder paramType(Integer paramType) {
this.paramType = paramType;
return this;
}
/**
* <p>The ID of the rule.</p>
*
* <strong>example:</strong>
* <p>pwd_reuse.system_auth</p>
*/
public Builder ruleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* <p>The specified value of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>18</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public ParamList build() {
return new ParamList(this);
}
}
}
/**
*
* {@link DescribeCheckFixDetailsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckFixDetailsResponseBody</p>
*/
public static class Rules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.NameInMap("DefaultValue")
private Integer defaultValue;
@com.aliyun.core.annotation.NameInMap("Optional")
private Integer optional;
@com.aliyun.core.annotation.NameInMap("ParamList")
private java.util.List<ParamList> paramList;
@com.aliyun.core.annotation.NameInMap("RuleDesc")
private String ruleDesc;
@com.aliyun.core.annotation.NameInMap("RuleId")
private String ruleId;
@com.aliyun.core.annotation.NameInMap("Value")
private Integer value;
@com.aliyun.core.annotation.NameInMap("VarName")
private String varName;
private Rules(Builder builder) {
this.checkId = builder.checkId;
this.defaultValue = builder.defaultValue;
this.optional = builder.optional;
this.paramList = builder.paramList;
this.ruleDesc = builder.ruleDesc;
this.ruleId = builder.ruleId;
this.value = builder.value;
this.varName = builder.varName;
}
public static Builder builder() {
return new Builder();
}
public static Rules create() {
return builder().build();
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return defaultValue
*/
public Integer getDefaultValue() {
return this.defaultValue;
}
/**
* @return optional
*/
public Integer getOptional() {
return this.optional;
}
/**
* @return paramList
*/
public java.util.List<ParamList> getParamList() {
return this.paramList;
}
/**
* @return ruleDesc
*/
public String getRuleDesc() {
return this.ruleDesc;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return value
*/
public Integer getValue() {
return this.value;
}
/**
* @return varName
*/
public String getVarName() {
return this.varName;
}
public static final class Builder {
private Long checkId;
private Integer defaultValue;
private Integer optional;
private java.util.List<ParamList> paramList;
private String ruleDesc;
private String ruleId;
private Integer value;
private String varName;
private Builder() {
}
private Builder(Rules model) {
this.checkId = model.checkId;
this.defaultValue = model.defaultValue;
this.optional = model.optional;
this.paramList = model.paramList;
this.ruleDesc = model.ruleDesc;
this.ruleId = model.ruleId;
this.value = model.value;
this.varName = model.varName;
}
/**
* <p>The ID of the risk item.</p>
*
* <strong>example:</strong>
* <p>58</p>
*/
public Builder checkId(Long checkId) {
this.checkId = checkId;
return this;
}
/**
* <p>The default value of the rule.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder defaultValue(Integer defaultValue) {
this.defaultValue = defaultValue;
return this;
}
/**
* <p>Indicates whether the rule is optional. 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 optional(Integer optional) {
this.optional = optional;
return this;
}
/**
* <p>An array that consists of the rule parameters.</p>
*/
public Builder paramList(java.util.List<ParamList> paramList) {
this.paramList = paramList;
return this;
}
/**
* <p>The description of the rule.</p>
*
* <strong>example:</strong>
* <p>(/etc/system-auth)Force users not to reuse the number of recently used passwords between 5 and 24</p>
*/
public Builder ruleDesc(String ruleDesc) {
this.ruleDesc = ruleDesc;
return this;
}
/**
* <p>The ID of the rule.</p>
*
* <strong>example:</strong>
* <p>pwd_reuse.system_auth</p>
*/
public Builder ruleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* <p>The specified value of the rule parameter.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder value(Integer value) {
this.value = value;
return this;
}
/**
* <p>The name of the variable.</p>
*
* <strong>example:</strong>
* <p>open</p>
*/
public Builder varName(String varName) {
this.varName = varName;
return this;
}
public Rules build() {
return new Rules(this);
}
}
}
/**
*
* {@link DescribeCheckFixDetailsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckFixDetailsResponseBody</p>
*/
public static class CheckFixDetails extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckDesc")
private String checkDesc;
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.NameInMap("CheckItem")
private String checkItem;
@com.aliyun.core.annotation.NameInMap("Rules")
private java.util.List<Rules> rules;
private CheckFixDetails(Builder builder) {
this.checkDesc = builder.checkDesc;
this.checkId = builder.checkId;
this.checkItem = builder.checkItem;
this.rules = builder.rules;
}
public static Builder builder() {
return new Builder();
}
public static CheckFixDetails create() {
return builder().build();
}
/**
* @return checkDesc
*/
public String getCheckDesc() {
return this.checkDesc;
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return checkItem
*/
public String getCheckItem() {
return this.checkItem;
}
/**
* @return rules
*/
public java.util.List<Rules> getRules() {
return this.rules;
}
public static final class Builder {
private String checkDesc;
private Long checkId;
private String checkItem;
private java.util.List<Rules> rules;
private Builder() {
}
private Builder(CheckFixDetails model) {
this.checkDesc = model.checkDesc;
this.checkId = model.checkId;
this.checkItem = model.checkItem;
this.rules = model.rules;
}
/**
* <p>The detailed description of the risk item.</p>
*
* <strong>example:</strong>
* <p>Force users not to reuse recently used passwords to reduce the risk of password guessing attacks</p>
*/
public Builder checkDesc(String checkDesc) {
this.checkDesc = checkDesc;
return this;
}
/**
* <p>The ID of the risk item.</p>
*
* <strong>example:</strong>
* <p>58</p>
*/
public Builder checkId(Long checkId) {
this.checkId = checkId;
return this;
}
/**
* <p>The description of the risk item.</p>
*
* <strong>example:</strong>
* <p>Ensure password reuse is limited</p>
*/
public Builder checkItem(String checkItem) {
this.checkItem = checkItem;
return this;
}
/**
* <p>An array consisting of the rules that are supported by the risk item.</p>
*/
public Builder rules(java.util.List<Rules> rules) {
this.rules = rules;
return this;
}
public CheckFixDetails build() {
return new CheckFixDetails(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckResultRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckResultRequest} extends {@link RequestModel}
*
* <p>DescribeCheckResultRequest</p>
*/
public class DescribeCheckResultRequest extends Request {
private DescribeCheckResultRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<DescribeCheckResultRequest, Builder> {
private Builder() {
super();
}
private Builder(DescribeCheckResultRequest request) {
super(request);
}
@Override
public DescribeCheckResultRequest build() {
return new DescribeCheckResultRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckResultResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckResultResponse} extends {@link TeaModel}
*
* <p>DescribeCheckResultResponse</p>
*/
public class DescribeCheckResultResponse 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 DescribeCheckResultResponseBody body;
private DescribeCheckResultResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckResultResponse 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 DescribeCheckResultResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckResultResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckResultResponseBody body);
@Override
DescribeCheckResultResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckResultResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckResultResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckResultResponse 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(DescribeCheckResultResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckResultResponse build() {
return new DescribeCheckResultResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckResultResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckResultResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckResultResponseBody</p>
*/
public class DescribeCheckResultResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckResultList")
private java.util.List<CheckResultList> checkResultList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCheckResultResponseBody(Builder builder) {
this.checkResultList = builder.checkResultList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckResultResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkResultList
*/
public java.util.List<CheckResultList> getCheckResultList() {
return this.checkResultList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<CheckResultList> checkResultList;
private String requestId;
private Builder() {
}
private Builder(DescribeCheckResultResponseBody model) {
this.checkResultList = model.checkResultList;
this.requestId = model.requestId;
}
/**
* <p>The check results.</p>
*/
public Builder checkResultList(java.util.List<CheckResultList> checkResultList) {
this.checkResultList = checkResultList;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>571B2642-BF51-5BDD-906B-D2340DB9****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCheckResultResponseBody build() {
return new DescribeCheckResultResponseBody(this);
}
}
/**
*
* {@link DescribeCheckResultResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckResultResponseBody</p>
*/
public static class CheckResultList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ComplianceStatus")
private Integer complianceStatus;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
private CheckResultList(Builder builder) {
this.complianceStatus = builder.complianceStatus;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static CheckResultList create() {
return builder().build();
}
/**
* @return complianceStatus
*/
public Integer getComplianceStatus() {
return this.complianceStatus;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private Integer complianceStatus;
private String name;
private Builder() {
}
private Builder(CheckResultList model) {
this.complianceStatus = model.complianceStatus;
this.name = model.name;
}
/**
* <p>The compliance status. Valid values:</p>
* <ul>
* <li><strong>1</strong>: compliant</li>
* <li><strong>0</strong>: non-compliant</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder complianceStatus(Integer complianceStatus) {
this.complianceStatus = complianceStatus;
return this;
}
/**
* <p>The name of the corresponding section. Valid values:</p>
* <ul>
* <li><strong>information_classification</strong>: information classification</li>
* <li><strong>information_mark</strong>: information labeling</li>
* <li><strong>network_security_policy</strong>: access to networks and network services</li>
* <li><strong>login_control</strong>: secure logon procedures</li>
* <li><strong>week_password</strong>: password management system</li>
* <li><strong>key_manage</strong>: key management</li>
* <li><strong>malicious_software</strong>: protection against malware</li>
* <li><strong>information_backup</strong>: information backup</li>
* <li><strong>audit_policy</strong>: information system audit control mechanisms</li>
* </ul>
*
* <strong>example:</strong>
* <p>information_mark</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public CheckResultList build() {
return new CheckResultList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningCountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningCountRequest} extends {@link RequestModel}
*
* <p>DescribeCheckWarningCountRequest</p>
*/
public class DescribeCheckWarningCountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AliUid")
private Long aliUid;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RiskId")
private Long riskId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
private DescribeCheckWarningCountRequest(Builder builder) {
super(builder);
this.aliUid = builder.aliUid;
this.checkId = builder.checkId;
this.riskId = builder.riskId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningCountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aliUid
*/
public Long getAliUid() {
return this.aliUid;
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return riskId
*/
public Long getRiskId() {
return this.riskId;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<DescribeCheckWarningCountRequest, Builder> {
private Long aliUid;
private Long checkId;
private Long riskId;
private Integer status;
private Builder() {
super();
}
private Builder(DescribeCheckWarningCountRequest request) {
super(request);
this.aliUid = request.aliUid;
this.checkId = request.checkId;
this.riskId = request.riskId;
this.status = request.status;
}
/**
* <p>The ID of the Alibaba Cloud account.</p>
*
* <strong>example:</strong>
* <p>103784262032****</p>
*/
public Builder aliUid(Long aliUid) {
this.putQueryParameter("AliUid", aliUid);
this.aliUid = aliUid;
return this;
}
/**
* <p>The ID of the check item.</p>
* <blockquote>
* <p> You can call the <a href="~~ListCheckItemWarningSummary~~">ListCheckItemWarningSummary</a> operation to query the IDs of check items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>926</p>
*/
public Builder checkId(Long checkId) {
this.putQueryParameter("CheckId", checkId);
this.checkId = checkId;
return this;
}
/**
* <p>The ID of the risk item.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeCheckWarningSummary~~">DescribeCheckWarningSummary</a> operation to query the IDs of risk items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>43</p>
*/
public Builder riskId(Long riskId) {
this.putQueryParameter("RiskId", riskId);
this.riskId = riskId;
return this;
}
/**
* <p>The status of the check item. Valid values:</p>
* <ul>
* <li><strong>1</strong>: failed</li>
* <li><strong>2</strong>: verifying</li>
* <li><strong>3</strong>: passed</li>
* <li><strong>6</strong>: ignored</li>
* </ul>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public DescribeCheckWarningCountRequest build() {
return new DescribeCheckWarningCountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningCountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningCountResponse} extends {@link TeaModel}
*
* <p>DescribeCheckWarningCountResponse</p>
*/
public class DescribeCheckWarningCountResponse 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 DescribeCheckWarningCountResponseBody body;
private DescribeCheckWarningCountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckWarningCountResponse 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 DescribeCheckWarningCountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckWarningCountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckWarningCountResponseBody body);
@Override
DescribeCheckWarningCountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckWarningCountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckWarningCountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckWarningCountResponse 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(DescribeCheckWarningCountResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckWarningCountResponse build() {
return new DescribeCheckWarningCountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningCountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningCountResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningCountResponseBody</p>
*/
public class DescribeCheckWarningCountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCheckWarningCountResponseBody(Builder builder) {
this.count = builder.count;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningCountResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer count;
private String requestId;
private Builder() {
}
private Builder(DescribeCheckWarningCountResponseBody model) {
this.count = model.count;
this.requestId = model.requestId;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>4</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>9693CBA1-1EC4-5B5A-8D96-34010D9DXXXX</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCheckWarningCountResponseBody build() {
return new DescribeCheckWarningCountResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningDetailRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningDetailRequest} extends {@link RequestModel}
*
* <p>DescribeCheckWarningDetailRequest</p>
*/
public class DescribeCheckWarningDetailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckId")
private String checkId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckWarningId")
private Long checkWarningId;
@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;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Uuid")
private String uuid;
private DescribeCheckWarningDetailRequest(Builder builder) {
super(builder);
this.checkId = builder.checkId;
this.checkWarningId = builder.checkWarningId;
this.lang = builder.lang;
this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId;
this.sourceIp = builder.sourceIp;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkId
*/
public String getCheckId() {
return this.checkId;
}
/**
* @return checkWarningId
*/
public Long getCheckWarningId() {
return this.checkWarningId;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return resourceDirectoryAccountId
*/
public Long getResourceDirectoryAccountId() {
return this.resourceDirectoryAccountId;
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder extends Request.Builder<DescribeCheckWarningDetailRequest, Builder> {
private String checkId;
private Long checkWarningId;
private String lang;
private Long resourceDirectoryAccountId;
private String sourceIp;
private String uuid;
private Builder() {
super();
}
private Builder(DescribeCheckWarningDetailRequest request) {
super(request);
this.checkId = request.checkId;
this.checkWarningId = request.checkWarningId;
this.lang = request.lang;
this.resourceDirectoryAccountId = request.resourceDirectoryAccountId;
this.sourceIp = request.sourceIp;
this.uuid = request.uuid;
}
/**
* <p>The ID of the check item.</p>
* <blockquote>
* <p> You can call the <a href="~~ListCheckItemWarningSummary~~">ListCheckItemWarningSummary</a> operation to query the IDs of the check items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder checkId(String checkId) {
this.putQueryParameter("CheckId", checkId);
this.checkId = checkId;
return this;
}
/**
* <p>The ID of the alert that is triggered by the check item.</p>
* <blockquote>
* <p> To query the details of a check item, you must provide the ID of the alert that is triggered by the check item. You can call the <a href="~~DescribeCheckWarnings~~">DescribeCheckWarnings</a> operation to query the IDs of alerts.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>98675301</p>
*/
public Builder checkWarningId(Long checkWarningId) {
this.putQueryParameter("CheckWarningId", checkWarningId);
this.checkWarningId = checkWarningId;
return this;
}
/**
* <p>The language of the content within the request and response. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The 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 IDs of Alibaba Cloud accounts.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1232428423234****</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>103.25.XX.XX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
/**
* <p>The UUID of the server.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>01aec2da-5b57-4f38-b221-da5a0b2f****</p>
*/
public Builder uuid(String uuid) {
this.putQueryParameter("Uuid", uuid);
this.uuid = uuid;
return this;
}
@Override
public DescribeCheckWarningDetailRequest build() {
return new DescribeCheckWarningDetailRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningDetailResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningDetailResponse} extends {@link TeaModel}
*
* <p>DescribeCheckWarningDetailResponse</p>
*/
public class DescribeCheckWarningDetailResponse 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 DescribeCheckWarningDetailResponseBody body;
private DescribeCheckWarningDetailResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckWarningDetailResponse 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 DescribeCheckWarningDetailResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckWarningDetailResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckWarningDetailResponseBody body);
@Override
DescribeCheckWarningDetailResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckWarningDetailResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckWarningDetailResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckWarningDetailResponse 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(DescribeCheckWarningDetailResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckWarningDetailResponse build() {
return new DescribeCheckWarningDetailResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningDetailResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningDetailResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningDetailResponseBody</p>
*/
public class DescribeCheckWarningDetailResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Advice")
private String advice;
@com.aliyun.core.annotation.NameInMap("CheckDetailAssetInfo")
private java.util.List<java.util.Map<String, String>> checkDetailAssetInfo;
@com.aliyun.core.annotation.NameInMap("CheckDetailColumns")
private java.util.List<CheckDetailColumns> checkDetailColumns;
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Item")
private String item;
@com.aliyun.core.annotation.NameInMap("Level")
private String level;
@com.aliyun.core.annotation.NameInMap("Prompt")
private String prompt;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private DescribeCheckWarningDetailResponseBody(Builder builder) {
this.advice = builder.advice;
this.checkDetailAssetInfo = builder.checkDetailAssetInfo;
this.checkDetailColumns = builder.checkDetailColumns;
this.checkId = builder.checkId;
this.description = builder.description;
this.item = builder.item;
this.level = builder.level;
this.prompt = builder.prompt;
this.requestId = builder.requestId;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningDetailResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return advice
*/
public String getAdvice() {
return this.advice;
}
/**
* @return checkDetailAssetInfo
*/
public java.util.List<java.util.Map<String, String>> getCheckDetailAssetInfo() {
return this.checkDetailAssetInfo;
}
/**
* @return checkDetailColumns
*/
public java.util.List<CheckDetailColumns> getCheckDetailColumns() {
return this.checkDetailColumns;
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return item
*/
public String getItem() {
return this.item;
}
/**
* @return level
*/
public String getLevel() {
return this.level;
}
/**
* @return prompt
*/
public String getPrompt() {
return this.prompt;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String advice;
private java.util.List<java.util.Map<String, String>> checkDetailAssetInfo;
private java.util.List<CheckDetailColumns> checkDetailColumns;
private Long checkId;
private String description;
private String item;
private String level;
private String prompt;
private String requestId;
private String type;
private Builder() {
}
private Builder(DescribeCheckWarningDetailResponseBody model) {
this.advice = model.advice;
this.checkDetailAssetInfo = model.checkDetailAssetInfo;
this.checkDetailColumns = model.checkDetailColumns;
this.checkId = model.checkId;
this.description = model.description;
this.item = model.item;
this.level = model.level;
this.prompt = model.prompt;
this.requestId = model.requestId;
this.type = model.type;
}
/**
* <p>The suggestion for the management of the risk item.</p>
*
* <strong>example:</strong>
* <p>You can fix it in the following ways:↵1. To configure authentication for redis service, click the redis.conf Configure complex password in requirepass, and then restart redis.↵2. In redis configuration file redis.conf The configuration is as follows: bind 127.0.0.1, only allow local access, and then restart redis</p>
*/
public Builder advice(String advice) {
this.advice = advice;
return this;
}
/**
* <p>List of asset details to check.</p>
*/
public Builder checkDetailAssetInfo(java.util.List<java.util.Map<String, String>> checkDetailAssetInfo) {
this.checkDetailAssetInfo = checkDetailAssetInfo;
return this;
}
/**
* <p>Detection content details.</p>
*/
public Builder checkDetailColumns(java.util.List<CheckDetailColumns> checkDetailColumns) {
this.checkDetailColumns = checkDetailColumns;
return this;
}
/**
* <p>The ID of the check item.</p>
*
* <strong>example:</strong>
* <p>946</p>
*/
public Builder checkId(Long checkId) {
this.checkId = checkId;
return this;
}
/**
* <p>The additional information about the risk item.</p>
*
* <strong>example:</strong>
* <p>The redis port is open to the outside world and there is no authentication option configured. In addition to directly obtaining all the information in the database, unauthorized users can also attack the system through unauthorized access vulnerability.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the check item.</p>
*
* <strong>example:</strong>
* <p>Redis unauthorized access</p>
*/
public Builder item(String item) {
this.item = item;
return this;
}
/**
* <p>The risk level of the check item. Valid values:</p>
* <ul>
* <li><strong>high</strong>: The item is a high-risk item and is highlighted in red.</li>
* <li><strong>medium</strong>: The item is a medium-risk item and is highlighted in orange.</li>
* <li><strong>low</strong>: The item is a low-risk item and is highlighted in gray.</li>
* </ul>
*
* <strong>example:</strong>
* <p>high</p>
*/
public Builder level(String level) {
this.level = level;
return this;
}
/**
* <p>The prompt for the risk item.</p>
*/
public Builder prompt(String prompt) {
this.prompt = prompt;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>BE120DAB-F4E7-4C53-ADC3-A97578ABF384</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The type of the check item. Valid values:</p>
* <ul>
* <li><strong>hc_exploit</strong>: unauthorized access</li>
* <li><strong>hc_djbh</strong>: classified protection compliance</li>
* <li><strong>hc_best_secruity</strong>: best security practice</li>
* <li><strong>hc_container</strong>: container security</li>
* <li><strong>hc_custom</strong>: custom baseline</li>
* <li><strong>cis</strong>: Center for Internet Security (CIS) compliance</li>
* <li><strong>weak_password</strong>: weak password</li>
* </ul>
*
* <strong>example:</strong>
* <p>hc_exploit</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public DescribeCheckWarningDetailResponseBody build() {
return new DescribeCheckWarningDetailResponseBody(this);
}
}
/**
*
* {@link DescribeCheckWarningDetailResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningDetailResponseBody</p>
*/
public static class Grids extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("ShowName")
private String showName;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Grids(Builder builder) {
this.key = builder.key;
this.showName = builder.showName;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Grids create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return showName
*/
public String getShowName() {
return this.showName;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String key;
private String showName;
private String type;
private Builder() {
}
private Builder(Grids model) {
this.key = model.key;
this.showName = model.showName;
this.type = model.type;
}
/**
* <p>Key to detect content.</p>
*
* <strong>example:</strong>
* <p>Username</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The detection content key corresponds to the display name.</p>
*
* <strong>example:</strong>
* <p>UserName</p>
*/
public Builder showName(String showName) {
this.showName = showName;
return this;
}
/**
* <p>Display type. Value:</p>
* <ul>
* <li><strong>grid</strong>: Detection grid</li>
* <li><strong>text</strong>: text</li>
* </ul>
*
* <strong>example:</strong>
* <p>text</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Grids build() {
return new Grids(this);
}
}
}
/**
*
* {@link DescribeCheckWarningDetailResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningDetailResponseBody</p>
*/
public static class CheckDetailColumns extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Grids")
private java.util.List<Grids> grids;
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("ShowName")
private String showName;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private CheckDetailColumns(Builder builder) {
this.grids = builder.grids;
this.key = builder.key;
this.showName = builder.showName;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static CheckDetailColumns create() {
return builder().build();
}
/**
* @return grids
*/
public java.util.List<Grids> getGrids() {
return this.grids;
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return showName
*/
public String getShowName() {
return this.showName;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private java.util.List<Grids> grids;
private String key;
private String showName;
private String type;
private Builder() {
}
private Builder(CheckDetailColumns model) {
this.grids = model.grids;
this.key = model.key;
this.showName = model.showName;
this.type = model.type;
}
/**
* <p>Detection content list.</p>
*/
public Builder grids(java.util.List<Grids> grids) {
this.grids = grids;
return this;
}
/**
* <p>Key to detect content.</p>
*
* <strong>example:</strong>
* <p>Containername</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The detection content key corresponds to the display name.</p>
*
* <strong>example:</strong>
* <p>ContainerName</p>
*/
public Builder showName(String showName) {
this.showName = showName;
return this;
}
/**
* <p>Display type. Value:</p>
* <ul>
* <li><strong>grid</strong>: Detection grid</li>
* <li><strong>text</strong>: text</li>
* </ul>
*
* <strong>example:</strong>
* <p>text</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public CheckDetailColumns build() {
return new CheckDetailColumns(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningMachinesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningMachinesRequest} extends {@link RequestModel}
*
* <p>DescribeCheckWarningMachinesRequest</p>
*/
public class DescribeCheckWarningMachinesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FilterUuid")
private String filterUuid;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Remark")
private String remark;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId")
private Long resourceDirectoryAccountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RiskId")
private Long riskId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
private DescribeCheckWarningMachinesRequest(Builder builder) {
super(builder);
this.checkId = builder.checkId;
this.currentPage = builder.currentPage;
this.filterUuid = builder.filterUuid;
this.instanceId = builder.instanceId;
this.lang = builder.lang;
this.pageSize = builder.pageSize;
this.remark = builder.remark;
this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId;
this.riskId = builder.riskId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningMachinesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return filterUuid
*/
public String getFilterUuid() {
return this.filterUuid;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return remark
*/
public String getRemark() {
return this.remark;
}
/**
* @return resourceDirectoryAccountId
*/
public Long getResourceDirectoryAccountId() {
return this.resourceDirectoryAccountId;
}
/**
* @return riskId
*/
public Long getRiskId() {
return this.riskId;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<DescribeCheckWarningMachinesRequest, Builder> {
private Long checkId;
private Integer currentPage;
private String filterUuid;
private String instanceId;
private String lang;
private Integer pageSize;
private String remark;
private Long resourceDirectoryAccountId;
private Long riskId;
private Integer status;
private Builder() {
super();
}
private Builder(DescribeCheckWarningMachinesRequest request) {
super(request);
this.checkId = request.checkId;
this.currentPage = request.currentPage;
this.filterUuid = request.filterUuid;
this.instanceId = request.instanceId;
this.lang = request.lang;
this.pageSize = request.pageSize;
this.remark = request.remark;
this.resourceDirectoryAccountId = request.resourceDirectoryAccountId;
this.riskId = request.riskId;
this.status = request.status;
}
/**
* <p>The ID of the check item.</p>
* <blockquote>
* <p>You can call the <a href="~~DescribeCheckWarningSummary~~">DescribeCheckWarningSummary</a> operation to query the IDs of check items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>58</p>
*/
public Builder checkId(Long checkId) {
this.putQueryParameter("CheckId", checkId);
this.checkId = checkId;
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 instance ID of the asset that you don"t want to query.</p>
*
* <strong>example:</strong>
* <p>2f64e1a0f9316c48*******</p>
*/
public Builder filterUuid(String filterUuid) {
this.putQueryParameter("FilterUuid", filterUuid);
this.filterUuid = filterUuid;
return this;
}
/**
* <p>The instance ID of the asset.</p>
*
* <strong>example:</strong>
* <p>cri-rv4nvbv8iju4****</p>
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The information about the server that you want to query. The value can be the name or the public IP address of the server.</p>
*
* <strong>example:</strong>
* <p>1.2.XX.XX</p>
*/
public Builder remark(String remark) {
this.putQueryParameter("Remark", remark);
this.remark = remark;
return this;
}
/**
* <p>The Alibaba Cloud account ID of the member in the resource directory.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the IDs.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1232428423234****</p>
*/
public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) {
this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId);
this.resourceDirectoryAccountId = resourceDirectoryAccountId;
return this;
}
/**
* <p>The ID of the baseline.</p>
* <blockquote>
* <p>You can call the <a href="~~DescribeCheckWarningSummary~~">DescribeCheckWarningSummary</a> operation to query the IDs of baselines.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>43</p>
*/
public Builder riskId(Long riskId) {
this.putQueryParameter("RiskId", riskId);
this.riskId = riskId;
return this;
}
/**
* <p>The risk status of the check item. Valid values:</p>
* <ul>
* <li><strong>1</strong>: failed</li>
* <li><strong>3</strong>: passed</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public DescribeCheckWarningMachinesRequest build() {
return new DescribeCheckWarningMachinesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningMachinesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningMachinesResponse} extends {@link TeaModel}
*
* <p>DescribeCheckWarningMachinesResponse</p>
*/
public class DescribeCheckWarningMachinesResponse 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 DescribeCheckWarningMachinesResponseBody body;
private DescribeCheckWarningMachinesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckWarningMachinesResponse 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 DescribeCheckWarningMachinesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckWarningMachinesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckWarningMachinesResponseBody body);
@Override
DescribeCheckWarningMachinesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckWarningMachinesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckWarningMachinesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckWarningMachinesResponse 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(DescribeCheckWarningMachinesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckWarningMachinesResponse build() {
return new DescribeCheckWarningMachinesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningMachinesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningMachinesResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningMachinesResponseBody</p>
*/
public class DescribeCheckWarningMachinesResponseBody 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("Machines")
private java.util.List<Machines> machines;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCheckWarningMachinesResponseBody(Builder builder) {
this.count = builder.count;
this.currentPage = builder.currentPage;
this.machines = builder.machines;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningMachinesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return machines
*/
public java.util.List<Machines> getMachines() {
return this.machines;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer count;
private Integer currentPage;
private java.util.List<Machines> machines;
private Integer pageSize;
private String requestId;
private Builder() {
}
private Builder(DescribeCheckWarningMachinesResponseBody model) {
this.count = model.count;
this.currentPage = model.currentPage;
this.machines = model.machines;
this.pageSize = model.pageSize;
this.requestId = model.requestId;
}
/**
* <p>The number of the servers on which the same risk item is detected.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder count(Integer count) {
this.count = count;
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.currentPage = currentPage;
return this;
}
/**
* <p>The servers on which the same risk item is detected.</p>
*/
public Builder machines(java.util.List<Machines> machines) {
this.machines = machines;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>B3D989EB-2E59-584C-8438-5DFAA34A****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCheckWarningMachinesResponseBody build() {
return new DescribeCheckWarningMachinesResponseBody(this);
}
}
/**
*
* {@link DescribeCheckWarningMachinesResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningMachinesResponseBody</p>
*/
public static class Machines extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Bind")
private Boolean bind;
@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("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("Uuid")
private String uuid;
private Machines(Builder builder) {
this.bind = builder.bind;
this.instanceId = builder.instanceId;
this.instanceName = builder.instanceName;
this.internetIp = builder.internetIp;
this.intranetIp = builder.intranetIp;
this.regionId = builder.regionId;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static Machines create() {
return builder().build();
}
/**
* @return bind
*/
public Boolean getBind() {
return this.bind;
}
/**
* @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 regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private Boolean bind;
private String instanceId;
private String instanceName;
private String internetIp;
private String intranetIp;
private String regionId;
private String uuid;
private Builder() {
}
private Builder(Machines model) {
this.bind = model.bind;
this.instanceId = model.instanceId;
this.instanceName = model.instanceName;
this.internetIp = model.internetIp;
this.intranetIp = model.intranetIp;
this.regionId = model.regionId;
this.uuid = model.uuid;
}
/**
* <p>Indicates whether Security Center is authorized to protect the asset. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder bind(Boolean bind) {
this.bind = bind;
return this;
}
/**
* <p>The instance ID of the server.</p>
*
* <strong>example:</strong>
* <p>i-bp1dp42hgn1xcq8l****</p>
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* <p>The instance name of the server.</p>
*
* <strong>example:</strong>
* <p>win-oracl****</p>
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* <p>The public IP address of the server.</p>
*
* <strong>example:</strong>
* <p>8.210.XX.XX</p>
*/
public Builder internetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
/**
* <p>The private IP address of the server.</p>
*
* <strong>example:</strong>
* <p>172.25.XX.XX</p>
*/
public Builder intranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
/**
* <p>The ID of the region in which the server resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The UUID of the server.</p>
*
* <strong>example:</strong>
* <p>D0D6E6E4-CB8C-4897-B852-46AEFDA0****</p>
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public Machines build() {
return new Machines(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningSummaryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningSummaryRequest} extends {@link RequestModel}
*
* <p>DescribeCheckWarningSummaryRequest</p>
*/
public class DescribeCheckWarningSummaryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerFieldName")
private String containerFieldName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerFieldValue")
private String containerFieldValue;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GroupId")
private Long groupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("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("RiskName")
private String riskName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RiskStatus")
private Integer riskStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StrategyId")
private Long strategyId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TypeName")
private String typeName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Uuids")
private String uuids;
private DescribeCheckWarningSummaryRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.containerFieldName = builder.containerFieldName;
this.containerFieldValue = builder.containerFieldValue;
this.currentPage = builder.currentPage;
this.groupId = builder.groupId;
this.lang = builder.lang;
this.pageSize = builder.pageSize;
this.riskName = builder.riskName;
this.riskStatus = builder.riskStatus;
this.sourceIp = builder.sourceIp;
this.status = builder.status;
this.strategyId = builder.strategyId;
this.targetType = builder.targetType;
this.typeName = builder.typeName;
this.uuids = builder.uuids;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningSummaryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return containerFieldName
*/
public String getContainerFieldName() {
return this.containerFieldName;
}
/**
* @return containerFieldValue
*/
public String getContainerFieldValue() {
return this.containerFieldValue;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return groupId
*/
public Long getGroupId() {
return this.groupId;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return riskName
*/
public String getRiskName() {
return this.riskName;
}
/**
* @return riskStatus
*/
public Integer getRiskStatus() {
return this.riskStatus;
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return strategyId
*/
public Long getStrategyId() {
return this.strategyId;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
/**
* @return typeName
*/
public String getTypeName() {
return this.typeName;
}
/**
* @return uuids
*/
public String getUuids() {
return this.uuids;
}
public static final class Builder extends Request.Builder<DescribeCheckWarningSummaryRequest, Builder> {
private String clusterId;
private String containerFieldName;
private String containerFieldValue;
private Integer currentPage;
private Long groupId;
private String lang;
private Integer pageSize;
private String riskName;
private Integer riskStatus;
private String sourceIp;
private String status;
private Long strategyId;
private String targetType;
private String typeName;
private String uuids;
private Builder() {
super();
}
private Builder(DescribeCheckWarningSummaryRequest request) {
super(request);
this.clusterId = request.clusterId;
this.containerFieldName = request.containerFieldName;
this.containerFieldValue = request.containerFieldValue;
this.currentPage = request.currentPage;
this.groupId = request.groupId;
this.lang = request.lang;
this.pageSize = request.pageSize;
this.riskName = request.riskName;
this.riskStatus = request.riskStatus;
this.sourceIp = request.sourceIp;
this.status = request.status;
this.strategyId = request.strategyId;
this.targetType = request.targetType;
this.typeName = request.typeName;
this.uuids = request.uuids;
}
/**
* <p>The ID of the container cluster.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>c80dae73bd1be442699766b14ffd0****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The name of the container field. Valid values:</p>
* <ul>
* <li><strong>clusterId</strong>: the ID of the cluster</li>
* <li><strong>image</strong>: the name of the image</li>
* <li><strong>imageId</strong>: the ID of the image</li>
* <li><strong>namespace</strong>: the namespace</li>
* </ul>
*
* <strong>example:</strong>
* <p>namespace</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>c819391d2d520485fa3e81e2dc2ea****</p>
*/
public Builder containerFieldValue(String containerFieldValue) {
this.putQueryParameter("ContainerFieldValue", containerFieldValue);
this.containerFieldValue = containerFieldValue;
return this;
}
/**
* <p>The number of the page to return.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>The ID of the asset group.</p>
* <blockquote>
* <p>You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of asset groups.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder groupId(Long groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* <p>The language of the content within the request and the response. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The name of the risk item.</p>
*
* <strong>example:</strong>
* <p>Redis</p>
*/
public Builder riskName(String riskName) {
this.putQueryParameter("RiskName", riskName);
this.riskName = riskName;
return this;
}
/**
* <p>The status of the baseline check. Valid values:</p>
* <ul>
* <li><strong>1</strong>: failed</li>
* <li><strong>3</strong>: passed</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder riskStatus(Integer riskStatus) {
this.putQueryParameter("RiskStatus", riskStatus);
this.riskStatus = riskStatus;
return this;
}
/**
* <p>The source IP address of the request.</p>
*
* <strong>example:</strong>
* <p>219.133.XX.XX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
/**
* <p>The status of the check item. Valid values:</p>
* <ul>
* <li><strong>1</strong>: failed</li>
* <li><strong>2</strong>: verifying</li>
* <li><strong>3</strong>: passed</li>
* <li><strong>5</strong>: expired</li>
* <li><strong>6</strong>: ignored</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* <p>The ID of the baseline check policy.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder strategyId(Long strategyId) {
this.putQueryParameter("StrategyId", strategyId);
this.strategyId = strategyId;
return this;
}
/**
* <p>The type of the query condition. Valid values:</p>
* <ul>
* <li><strong>uuid</strong>: the ID of an asset</li>
* </ul>
*
* <strong>example:</strong>
* <p>uuid</p>
*/
public Builder targetType(String targetType) {
this.putQueryParameter("TargetType", targetType);
this.targetType = targetType;
return this;
}
/**
* <p>The level-1 type of check items.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeRiskType~~">DescribeRiskType</a> operation to query the level-1 types of check items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>database</p>
*/
public Builder typeName(String typeName) {
this.putQueryParameter("TypeName", typeName);
this.typeName = typeName;
return this;
}
/**
* <p>The UUID of the asset.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of assets.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>f03259d8-1e81-4fae-bcbb-275fb5****</p>
*/
public Builder uuids(String uuids) {
this.putQueryParameter("Uuids", uuids);
this.uuids = uuids;
return this;
}
@Override
public DescribeCheckWarningSummaryRequest build() {
return new DescribeCheckWarningSummaryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningSummaryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningSummaryResponse} extends {@link TeaModel}
*
* <p>DescribeCheckWarningSummaryResponse</p>
*/
public class DescribeCheckWarningSummaryResponse 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 DescribeCheckWarningSummaryResponseBody body;
private DescribeCheckWarningSummaryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckWarningSummaryResponse 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 DescribeCheckWarningSummaryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckWarningSummaryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckWarningSummaryResponseBody body);
@Override
DescribeCheckWarningSummaryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckWarningSummaryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckWarningSummaryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckWarningSummaryResponse 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(DescribeCheckWarningSummaryResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckWarningSummaryResponse build() {
return new DescribeCheckWarningSummaryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningSummaryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningSummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningSummaryResponseBody</p>
*/
public class DescribeCheckWarningSummaryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
@com.aliyun.core.annotation.NameInMap("WarningSummarys")
private java.util.List<WarningSummarys> warningSummarys;
private DescribeCheckWarningSummaryResponseBody(Builder builder) {
this.count = builder.count;
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
this.warningSummarys = builder.warningSummarys;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningSummaryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return warningSummarys
*/
public java.util.List<WarningSummarys> getWarningSummarys() {
return this.warningSummarys;
}
public static final class Builder {
private Integer count;
private Integer currentPage;
private Integer pageSize;
private String requestId;
private Integer totalCount;
private java.util.List<WarningSummarys> warningSummarys;
private Builder() {
}
private Builder(DescribeCheckWarningSummaryResponseBody model) {
this.count = model.count;
this.currentPage = model.currentPage;
this.pageSize = model.pageSize;
this.requestId = model.requestId;
this.totalCount = model.totalCount;
this.warningSummarys = model.warningSummarys;
}
/**
* <p>The number of check items returned on the current page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* <p>The page number of the current page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
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.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>00BD7CE2-284A-4534-BD09-FB69836DD750</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of check items.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* <p>The statistics of check items.</p>
*/
public Builder warningSummarys(java.util.List<WarningSummarys> warningSummarys) {
this.warningSummarys = warningSummarys;
return this;
}
public DescribeCheckWarningSummaryResponseBody build() {
return new DescribeCheckWarningSummaryResponseBody(this);
}
}
/**
*
* {@link DescribeCheckWarningSummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningSummaryResponseBody</p>
*/
public static class WarningSummarys extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckCount")
private Integer checkCount;
@com.aliyun.core.annotation.NameInMap("CheckExploit")
private Boolean checkExploit;
@com.aliyun.core.annotation.NameInMap("ContainerRisk")
private Boolean containerRisk;
@com.aliyun.core.annotation.NameInMap("DatabaseRisk")
private Boolean databaseRisk;
@com.aliyun.core.annotation.NameInMap("HighWarningCount")
private Integer highWarningCount;
@com.aliyun.core.annotation.NameInMap("LastFoundTime")
private String lastFoundTime;
@com.aliyun.core.annotation.NameInMap("Level")
private String level;
@com.aliyun.core.annotation.NameInMap("LowWarningCount")
private Integer lowWarningCount;
@com.aliyun.core.annotation.NameInMap("MediumWarningCount")
private Integer mediumWarningCount;
@com.aliyun.core.annotation.NameInMap("RiskId")
private Long riskId;
@com.aliyun.core.annotation.NameInMap("RiskName")
private String riskName;
@com.aliyun.core.annotation.NameInMap("SubTypeAlias")
private String subTypeAlias;
@com.aliyun.core.annotation.NameInMap("TypeAlias")
private String typeAlias;
@com.aliyun.core.annotation.NameInMap("WarningMachineCount")
private Integer warningMachineCount;
private WarningSummarys(Builder builder) {
this.checkCount = builder.checkCount;
this.checkExploit = builder.checkExploit;
this.containerRisk = builder.containerRisk;
this.databaseRisk = builder.databaseRisk;
this.highWarningCount = builder.highWarningCount;
this.lastFoundTime = builder.lastFoundTime;
this.level = builder.level;
this.lowWarningCount = builder.lowWarningCount;
this.mediumWarningCount = builder.mediumWarningCount;
this.riskId = builder.riskId;
this.riskName = builder.riskName;
this.subTypeAlias = builder.subTypeAlias;
this.typeAlias = builder.typeAlias;
this.warningMachineCount = builder.warningMachineCount;
}
public static Builder builder() {
return new Builder();
}
public static WarningSummarys create() {
return builder().build();
}
/**
* @return checkCount
*/
public Integer getCheckCount() {
return this.checkCount;
}
/**
* @return checkExploit
*/
public Boolean getCheckExploit() {
return this.checkExploit;
}
/**
* @return containerRisk
*/
public Boolean getContainerRisk() {
return this.containerRisk;
}
/**
* @return databaseRisk
*/
public Boolean getDatabaseRisk() {
return this.databaseRisk;
}
/**
* @return highWarningCount
*/
public Integer getHighWarningCount() {
return this.highWarningCount;
}
/**
* @return lastFoundTime
*/
public String getLastFoundTime() {
return this.lastFoundTime;
}
/**
* @return level
*/
public String getLevel() {
return this.level;
}
/**
* @return lowWarningCount
*/
public Integer getLowWarningCount() {
return this.lowWarningCount;
}
/**
* @return mediumWarningCount
*/
public Integer getMediumWarningCount() {
return this.mediumWarningCount;
}
/**
* @return riskId
*/
public Long getRiskId() {
return this.riskId;
}
/**
* @return riskName
*/
public String getRiskName() {
return this.riskName;
}
/**
* @return subTypeAlias
*/
public String getSubTypeAlias() {
return this.subTypeAlias;
}
/**
* @return typeAlias
*/
public String getTypeAlias() {
return this.typeAlias;
}
/**
* @return warningMachineCount
*/
public Integer getWarningMachineCount() {
return this.warningMachineCount;
}
public static final class Builder {
private Integer checkCount;
private Boolean checkExploit;
private Boolean containerRisk;
private Boolean databaseRisk;
private Integer highWarningCount;
private String lastFoundTime;
private String level;
private Integer lowWarningCount;
private Integer mediumWarningCount;
private Long riskId;
private String riskName;
private String subTypeAlias;
private String typeAlias;
private Integer warningMachineCount;
private Builder() {
}
private Builder(WarningSummarys model) {
this.checkCount = model.checkCount;
this.checkExploit = model.checkExploit;
this.containerRisk = model.containerRisk;
this.databaseRisk = model.databaseRisk;
this.highWarningCount = model.highWarningCount;
this.lastFoundTime = model.lastFoundTime;
this.level = model.level;
this.lowWarningCount = model.lowWarningCount;
this.mediumWarningCount = model.mediumWarningCount;
this.riskId = model.riskId;
this.riskName = model.riskName;
this.subTypeAlias = model.subTypeAlias;
this.typeAlias = model.typeAlias;
this.warningMachineCount = model.warningMachineCount;
}
/**
* <p>The number of check items.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder checkCount(Integer checkCount) {
this.checkCount = checkCount;
return this;
}
/**
* <p>Indicates whether the risk item can be exploited. 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 checkExploit(Boolean checkExploit) {
this.checkExploit = checkExploit;
return this;
}
/**
* <p>Indicates whether the risk item is a container runtime risk item. 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 containerRisk(Boolean containerRisk) {
this.containerRisk = containerRisk;
return this;
}
/**
* <p>Indicates whether the risk item is a database risk item. 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 databaseRisk(Boolean databaseRisk) {
this.databaseRisk = databaseRisk;
return this;
}
/**
* <p>The number of high-risk items.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder highWarningCount(Integer highWarningCount) {
this.highWarningCount = highWarningCount;
return this;
}
/**
* <p>The time when the last baseline check was performed.</p>
*
* <strong>example:</strong>
* <p>2019-01-01 12:23:00</p>
*/
public Builder lastFoundTime(String lastFoundTime) {
this.lastFoundTime = lastFoundTime;
return this;
}
/**
* <p>The risk level of the risk item. Valid values:</p>
* <ul>
* <li><strong>high</strong></li>
* <li><strong>medium</strong></li>
* <li><strong>low</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>high</p>
*/
public Builder level(String level) {
this.level = level;
return this;
}
/**
* <p>The number of low-risk items.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder lowWarningCount(Integer lowWarningCount) {
this.lowWarningCount = lowWarningCount;
return this;
}
/**
* <p>The number of medium-risk items.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder mediumWarningCount(Integer mediumWarningCount) {
this.mediumWarningCount = mediumWarningCount;
return this;
}
/**
* <p>The ID of the risk item.</p>
*
* <strong>example:</strong>
* <p>118</p>
*/
public Builder riskId(Long riskId) {
this.riskId = riskId;
return this;
}
/**
* <p>The name of the risk item.</p>
*
* <strong>example:</strong>
* <p>Redis</p>
*/
public Builder riskName(String riskName) {
this.riskName = riskName;
return this;
}
/**
* <p>The level-2 type of the risk item.</p>
*
* <strong>example:</strong>
* <p>Redis</p>
*/
public Builder subTypeAlias(String subTypeAlias) {
this.subTypeAlias = subTypeAlias;
return this;
}
/**
* <p>The level-1 type of the check item. Examples: database, system, weak password, and middleware.</p>
*
* <strong>example:</strong>
* <p>databases</p>
*/
public Builder typeAlias(String typeAlias) {
this.typeAlias = typeAlias;
return this;
}
/**
* <p>The number of assets on which risk items are detected.</p>
*
* <strong>example:</strong>
* <p>11</p>
*/
public Builder warningMachineCount(Integer warningMachineCount) {
this.warningMachineCount = warningMachineCount;
return this;
}
public WarningSummarys build() {
return new WarningSummarys(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningsRequest} extends {@link RequestModel}
*
* <p>DescribeCheckWarningsRequest</p>
*/
public class DescribeCheckWarningsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckType")
private String checkType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerName")
private String containerName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId")
private Long resourceDirectoryAccountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RiskId")
private Long riskId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RiskStatus")
private Integer riskStatus;
@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 DescribeCheckWarningsRequest(Builder builder) {
super(builder);
this.checkId = builder.checkId;
this.checkType = builder.checkType;
this.containerName = builder.containerName;
this.currentPage = builder.currentPage;
this.lang = builder.lang;
this.pageSize = builder.pageSize;
this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId;
this.riskId = builder.riskId;
this.riskStatus = builder.riskStatus;
this.sourceIp = builder.sourceIp;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return checkType
*/
public String getCheckType() {
return this.checkType;
}
/**
* @return containerName
*/
public String getContainerName() {
return this.containerName;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return resourceDirectoryAccountId
*/
public Long getResourceDirectoryAccountId() {
return this.resourceDirectoryAccountId;
}
/**
* @return riskId
*/
public Long getRiskId() {
return this.riskId;
}
/**
* @return riskStatus
*/
public Integer getRiskStatus() {
return this.riskStatus;
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder extends Request.Builder<DescribeCheckWarningsRequest, Builder> {
private Long checkId;
private String checkType;
private String containerName;
private Integer currentPage;
private String lang;
private Integer pageSize;
private Long resourceDirectoryAccountId;
private Long riskId;
private Integer riskStatus;
private String sourceIp;
private String uuid;
private Builder() {
super();
}
private Builder(DescribeCheckWarningsRequest request) {
super(request);
this.checkId = request.checkId;
this.checkType = request.checkType;
this.containerName = request.containerName;
this.currentPage = request.currentPage;
this.lang = request.lang;
this.pageSize = request.pageSize;
this.resourceDirectoryAccountId = request.resourceDirectoryAccountId;
this.riskId = request.riskId;
this.riskStatus = request.riskStatus;
this.sourceIp = request.sourceIp;
this.uuid = request.uuid;
}
/**
* <p>The ID of the check item.</p>
*
* <strong>example:</strong>
* <p>2546</p>
*/
public Builder checkId(Long checkId) {
this.putQueryParameter("CheckId", checkId);
this.checkId = checkId;
return this;
}
/**
* <p>The type of the check item. Valid values:</p>
* <ul>
* <li><strong>hc.check.type.identity_auth</strong>: identity authentication</li>
* <li><strong>hc.check.type.access_control</strong>: access control</li>
* <li><strong>hc.check.type.network_service</strong>: network and service</li>
* <li><strong>hc.check.type.service_conf</strong>: service configuration</li>
* <li><strong>hc.check.type.file_rights</strong>: file permission</li>
* <li><strong>hc.check.type.security_audit</strong>: security audit</li>
* <li><strong>hc.check.type.attack_defense</strong>: intrusion prevention</li>
* <li><strong>hc.check.type.others</strong>: others</li>
* </ul>
*
* <strong>example:</strong>
* <p>hc.check.type.attack_defense</p>
*/
public Builder checkType(String checkType) {
this.putQueryParameter("CheckType", checkType);
this.checkType = checkType;
return this;
}
/**
* <p>The name of the container.</p>
*
* <strong>example:</strong>
* <p>/redis</p>
*/
public Builder containerName(String containerName) {
this.putQueryParameter("ContainerName", containerName);
this.containerName = containerName;
return this;
}
/**
* <p>The number of the page to return. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The number of entries to return on each page. Default value: <strong>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 Alibaba Cloud account ID of the member in the resource directory.</p>
* <blockquote>
* <p> To obtain the Alibaba Cloud account ID, call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>127608589417****</p>
*/
public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) {
this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId);
this.resourceDirectoryAccountId = resourceDirectoryAccountId;
return this;
}
/**
* <p>The ID of the risk item. This parameter is required.</p>
* <blockquote>
* <p> To query the information about the risk items and check items of a server, you must specify the IDs of the risk items. You can call the <a href="~~DescribeCheckWarningSummary~~">DescribeCheckWarningSummary</a> operation to query the IDs of risk items.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>10354</p>
*/
public Builder riskId(Long riskId) {
this.putQueryParameter("RiskId", riskId);
this.riskId = riskId;
return this;
}
/**
* <p>The status of the check item. Valid values:</p>
* <ul>
* <li><strong>1</strong>: failed</li>
* <li><strong>2</strong>: verifying</li>
* <li><strong>3</strong>: passed</li>
* <li><strong>5</strong>: expired</li>
* <li><strong>6</strong>: ignored</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder riskStatus(Integer riskStatus) {
this.putQueryParameter("RiskStatus", riskStatus);
this.riskStatus = riskStatus;
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 UUID of the server on which the baseline check is performed.</p>
* <blockquote>
* <p>To query specified risk items and the check items of a specified server, you must provide the ID of the server on which the baseline check is performed. You can call the <a href="~~DescribeWarningMachines~~">DescribeWarningMachines</a> operation to query the IDs of servers.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>d42f938c-d962-48a0-90f9-05****</p>
*/
public Builder uuid(String uuid) {
this.putQueryParameter("Uuid", uuid);
this.uuid = uuid;
return this;
}
@Override
public DescribeCheckWarningsRequest build() {
return new DescribeCheckWarningsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningsResponse} extends {@link TeaModel}
*
* <p>DescribeCheckWarningsResponse</p>
*/
public class DescribeCheckWarningsResponse 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 DescribeCheckWarningsResponseBody body;
private DescribeCheckWarningsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCheckWarningsResponse 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 DescribeCheckWarningsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCheckWarningsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCheckWarningsResponseBody body);
@Override
DescribeCheckWarningsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCheckWarningsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCheckWarningsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCheckWarningsResponse 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(DescribeCheckWarningsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCheckWarningsResponse build() {
return new DescribeCheckWarningsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCheckWarningsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCheckWarningsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningsResponseBody</p>
*/
public class DescribeCheckWarningsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckWarnings")
private java.util.List<CheckWarnings> checkWarnings;
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeCheckWarningsResponseBody(Builder builder) {
this.checkWarnings = builder.checkWarnings;
this.count = builder.count;
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCheckWarningsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return checkWarnings
*/
public java.util.List<CheckWarnings> getCheckWarnings() {
return this.checkWarnings;
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List<CheckWarnings> checkWarnings;
private Integer count;
private Integer currentPage;
private Integer pageSize;
private String requestId;
private Integer totalCount;
private Builder() {
}
private Builder(DescribeCheckWarningsResponseBody model) {
this.checkWarnings = model.checkWarnings;
this.count = model.count;
this.currentPage = model.currentPage;
this.pageSize = model.pageSize;
this.requestId = model.requestId;
this.totalCount = model.totalCount;
}
/**
* <p>The information about the check item.</p>
*/
public Builder checkWarnings(java.util.List<CheckWarnings> checkWarnings) {
this.checkWarnings = checkWarnings;
return this;
}
/**
* <p>The number of entries returned on the current page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* <p>The page number 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>0DFCADBA-7065-42DA-AF17-6868B9C2A8CF</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 DescribeCheckWarningsResponseBody build() {
return new DescribeCheckWarningsResponseBody(this);
}
}
/**
*
* {@link DescribeCheckWarningsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCheckWarningsResponseBody</p>
*/
public static class CheckWarnings extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckId")
private Long checkId;
@com.aliyun.core.annotation.NameInMap("CheckWarningId")
private Long checkWarningId;
@com.aliyun.core.annotation.NameInMap("ContainerId")
private String containerId;
@com.aliyun.core.annotation.NameInMap("ContainerName")
private String containerName;
@com.aliyun.core.annotation.NameInMap("ExecErrorMessage")
private String execErrorMessage;
@com.aliyun.core.annotation.NameInMap("FixStatus")
private Integer fixStatus;
@com.aliyun.core.annotation.NameInMap("Item")
private String item;
@com.aliyun.core.annotation.NameInMap("LastHandleTime")
private Long lastHandleTime;
@com.aliyun.core.annotation.NameInMap("Level")
private String level;
@com.aliyun.core.annotation.NameInMap("Reason")
private String reason;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Uuid")
private String uuid;
private CheckWarnings(Builder builder) {
this.checkId = builder.checkId;
this.checkWarningId = builder.checkWarningId;
this.containerId = builder.containerId;
this.containerName = builder.containerName;
this.execErrorMessage = builder.execErrorMessage;
this.fixStatus = builder.fixStatus;
this.item = builder.item;
this.lastHandleTime = builder.lastHandleTime;
this.level = builder.level;
this.reason = builder.reason;
this.status = builder.status;
this.type = builder.type;
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static CheckWarnings create() {
return builder().build();
}
/**
* @return checkId
*/
public Long getCheckId() {
return this.checkId;
}
/**
* @return checkWarningId
*/
public Long getCheckWarningId() {
return this.checkWarningId;
}
/**
* @return containerId
*/
public String getContainerId() {
return this.containerId;
}
/**
* @return containerName
*/
public String getContainerName() {
return this.containerName;
}
/**
* @return execErrorMessage
*/
public String getExecErrorMessage() {
return this.execErrorMessage;
}
/**
* @return fixStatus
*/
public Integer getFixStatus() {
return this.fixStatus;
}
/**
* @return item
*/
public String getItem() {
return this.item;
}
/**
* @return lastHandleTime
*/
public Long getLastHandleTime() {
return this.lastHandleTime;
}
/**
* @return level
*/
public String getLevel() {
return this.level;
}
/**
* @return reason
*/
public String getReason() {
return this.reason;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private Long checkId;
private Long checkWarningId;
private String containerId;
private String containerName;
private String execErrorMessage;
private Integer fixStatus;
private String item;
private Long lastHandleTime;
private String level;
private String reason;
private Integer status;
private String type;
private String uuid;
private Builder() {
}
private Builder(CheckWarnings model) {
this.checkId = model.checkId;
this.checkWarningId = model.checkWarningId;
this.containerId = model.containerId;
this.containerName = model.containerName;
this.execErrorMessage = model.execErrorMessage;
this.fixStatus = model.fixStatus;
this.item = model.item;
this.lastHandleTime = model.lastHandleTime;
this.level = model.level;
this.reason = model.reason;
this.status = model.status;
this.type = model.type;
this.uuid = model.uuid;
}
/**
* <p>The ID of the check item.</p>
*
* <strong>example:</strong>
* <p>2546</p>
*/
public Builder checkId(Long checkId) {
this.checkId = checkId;
return this;
}
/**
* <p>The ID of the alert that is generated for the baseline check result.</p>
*
* <strong>example:</strong>
* <p>212251441</p>
*/
public Builder checkWarningId(Long checkWarningId) {
this.checkWarningId = checkWarningId;
return this;
}
/**
* <p>The ID of the container.</p>
*
* <strong>example:</strong>
* <p>8de456b00ff0a2009ee8ef7fc59fd0457fa44f20b8282af3e79c2a0e2492****</p>
*/
public Builder containerId(String containerId) {
this.containerId = containerId;
return this;
}
/**
* <p>The name of the container.</p>
*
* <strong>example:</strong>
* <p>/svn-host</p>
*/
public Builder containerName(String containerName) {
this.containerName = containerName;
return this;
}
/**
* <p>The error message in the check result.</p>
*
* <strong>example:</strong>
* <p>ScriptKilledOfCpuHigh</p>
*/
public Builder execErrorMessage(String execErrorMessage) {
this.execErrorMessage = execErrorMessage;
return this;
}
/**
* <p>Indicates whether fixing is supported. Valid values:</p>
* <ul>
* <li><strong>0</strong>: Fixing is not supported.</li>
* <li><strong>1</strong>: Fixing is supported.</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder fixStatus(Integer fixStatus) {
this.fixStatus = fixStatus;
return this;
}
/**
* <p>The name of the check item.</p>
*
* <strong>example:</strong>
* <p>passwordExpire</p>
*/
public Builder item(String item) {
this.item = item;
return this;
}
/**
* <p>The timestamp of the latest processing of the check item risk of the machine. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1694692471000</p>
*/
public Builder lastHandleTime(Long lastHandleTime) {
this.lastHandleTime = lastHandleTime;
return this;
}
/**
* <p>The risk level of the risk item. Valid values:</p>
* <ul>
* <li><strong>high</strong></li>
* <li><strong>medium</strong></li>
* <li><strong>low</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>high</p>
*/
public Builder level(String level) {
this.level = level;
return this;
}
/**
* <p>The description.</p>
*
* <strong>example:</strong>
* <p>ignore</p>
*/
public Builder reason(String reason) {
this.reason = reason;
return this;
}
/**
* <p>The status of the check item. Valid values:</p>
* <ul>
* <li><strong>1</strong>: failed.</li>
* <li><strong>2</strong>: verifying.</li>
* <li><strong>3</strong>: passed.</li>
* <li><strong>5</strong>: expired.</li>
* <li><strong>6</strong>: ignored.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* <p>The type of the check item.</p>
*
* <strong>example:</strong>
* <p>hc.check.type.identity_auth</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The ID of the server on which the baseline check is performed.</p>
*
* <strong>example:</strong>
* <p>d42f938c-d962-48a0-90f9-****</p>
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public CheckWarnings build() {
return new CheckWarnings(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientConfSetupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientConfSetupRequest} extends {@link RequestModel}
*
* <p>DescribeClientConfSetupRequest</p>
*/
public class DescribeClientConfSetupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StrategyTag")
@com.aliyun.core.annotation.Validation(required = true)
private String strategyTag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StrategyTagValue")
@com.aliyun.core.annotation.Validation(required = true)
private String strategyTagValue;
private DescribeClientConfSetupRequest(Builder builder) {
super(builder);
this.strategyTag = builder.strategyTag;
this.strategyTagValue = builder.strategyTagValue;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClientConfSetupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return strategyTag
*/
public String getStrategyTag() {
return this.strategyTag;
}
/**
* @return strategyTagValue
*/
public String getStrategyTagValue() {
return this.strategyTagValue;
}
public static final class Builder extends Request.Builder<DescribeClientConfSetupRequest, Builder> {
private String strategyTag;
private String strategyTagValue;
private Builder() {
super();
}
private Builder(DescribeClientConfSetupRequest request) {
super(request);
this.strategyTag = request.strategyTag;
this.strategyTagValue = request.strategyTagValue;
}
/**
* <p>The tag that is added to the server.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>machineResource</p>
*/
public Builder strategyTag(String strategyTag) {
this.putQueryParameter("StrategyTag", strategyTag);
this.strategyTag = strategyTag;
return this;
}
/**
* <p>The value of the tag. Valid values:</p>
* <ul>
* <li>major</li>
* <li>advanced</li>
* <li>basic</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>major</p>
*/
public Builder strategyTagValue(String strategyTagValue) {
this.putQueryParameter("StrategyTagValue", strategyTagValue);
this.strategyTagValue = strategyTagValue;
return this;
}
@Override
public DescribeClientConfSetupRequest build() {
return new DescribeClientConfSetupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientConfSetupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientConfSetupResponse} extends {@link TeaModel}
*
* <p>DescribeClientConfSetupResponse</p>
*/
public class DescribeClientConfSetupResponse 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 DescribeClientConfSetupResponseBody body;
private DescribeClientConfSetupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClientConfSetupResponse 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 DescribeClientConfSetupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClientConfSetupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClientConfSetupResponseBody body);
@Override
DescribeClientConfSetupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClientConfSetupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClientConfSetupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClientConfSetupResponse 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(DescribeClientConfSetupResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClientConfSetupResponse build() {
return new DescribeClientConfSetupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientConfSetupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientConfSetupResponseBody} extends {@link TeaModel}
*
* <p>DescribeClientConfSetupResponseBody</p>
*/
public class DescribeClientConfSetupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClientConf")
private ClientConf clientConf;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClientConfSetupResponseBody(Builder builder) {
this.clientConf = builder.clientConf;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClientConfSetupResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientConf
*/
public ClientConf getClientConf() {
return this.clientConf;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ClientConf clientConf;
private String requestId;
private Builder() {
}
private Builder(DescribeClientConfSetupResponseBody model) {
this.clientConf = model.clientConf;
this.requestId = model.requestId;
}
/**
* <p>The configurations of the Security Center agent.</p>
*/
public Builder clientConf(ClientConf clientConf) {
this.clientConf = clientConf;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>151F6EB6-D5F3-417A-AF7B-4D84975D****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClientConfSetupResponseBody build() {
return new DescribeClientConfSetupResponseBody(this);
}
}
/**
*
* {@link DescribeClientConfSetupResponseBody} extends {@link TeaModel}
*
* <p>DescribeClientConfSetupResponseBody</p>
*/
public static class ClientConf extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Config")
private String config;
@com.aliyun.core.annotation.NameInMap("StrategyTag")
private String strategyTag;
@com.aliyun.core.annotation.NameInMap("StrategyTagValue")
private String strategyTagValue;
private ClientConf(Builder builder) {
this.config = builder.config;
this.strategyTag = builder.strategyTag;
this.strategyTagValue = builder.strategyTagValue;
}
public static Builder builder() {
return new Builder();
}
public static ClientConf create() {
return builder().build();
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return strategyTag
*/
public String getStrategyTag() {
return this.strategyTag;
}
/**
* @return strategyTagValue
*/
public String getStrategyTagValue() {
return this.strategyTagValue;
}
public static final class Builder {
private String config;
private String strategyTag;
private String strategyTagValue;
private Builder() {
}
private Builder(ClientConf model) {
this.config = model.config;
this.strategyTag = model.strategyTag;
this.strategyTagValue = model.strategyTagValue;
}
/**
* <p>The configurations of the usage for the Security Center agent.</p>
*
* <strong>example:</strong>
* <p>{"mem":"200","cpu":"10","cpu_all":"0"}</p>
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* <p>The tag that is added to the configuration.</p>
*
* <strong>example:</strong>
* <p>machineResource</p>
*/
public Builder strategyTag(String strategyTag) {
this.strategyTag = strategyTag;
return this;
}
/**
* <p>The value of the tag. Valid values:</p>
* <ul>
* <li>major</li>
* <li>advanced</li>
* <li>basic</li>
* </ul>
*
* <strong>example:</strong>
* <p>major</p>
*/
public Builder strategyTagValue(String strategyTagValue) {
this.strategyTagValue = strategyTagValue;
return this;
}
public ClientConf build() {
return new ClientConf(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientConfStrategyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientConfStrategyRequest} extends {@link RequestModel}
*
* <p>DescribeClientConfStrategyRequest</p>
*/
public class DescribeClientConfStrategyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
@com.aliyun.core.annotation.Validation(required = true)
private String tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagValue")
@com.aliyun.core.annotation.Validation(required = true)
private String tagValue;
private DescribeClientConfStrategyRequest(Builder builder) {
super(builder);
this.tag = builder.tag;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClientConfStrategyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder extends Request.Builder<DescribeClientConfStrategyRequest, Builder> {
private String tag;
private String tagValue;
private Builder() {
super();
}
private Builder(DescribeClientConfStrategyRequest request) {
super(request);
this.tag = request.tag;
this.tagValue = request.tagValue;
}
/**
* <p>The tag that is added to the server.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>machineResource</p>
*/
public Builder tag(String tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The value of the tag. Valid values:</p>
* <ul>
* <li>major</li>
* <li>advanced</li>
* <li>basic</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>major</p>
*/
public Builder tagValue(String tagValue) {
this.putQueryParameter("TagValue", tagValue);
this.tagValue = tagValue;
return this;
}
@Override
public DescribeClientConfStrategyRequest build() {
return new DescribeClientConfStrategyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientConfStrategyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientConfStrategyResponse} extends {@link TeaModel}
*
* <p>DescribeClientConfStrategyResponse</p>
*/
public class DescribeClientConfStrategyResponse 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 DescribeClientConfStrategyResponseBody body;
private DescribeClientConfStrategyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClientConfStrategyResponse 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 DescribeClientConfStrategyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClientConfStrategyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClientConfStrategyResponseBody body);
@Override
DescribeClientConfStrategyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClientConfStrategyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClientConfStrategyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClientConfStrategyResponse 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(DescribeClientConfStrategyResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClientConfStrategyResponse build() {
return new DescribeClientConfStrategyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientConfStrategyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientConfStrategyResponseBody} extends {@link TeaModel}
*
* <p>DescribeClientConfStrategyResponseBody</p>
*/
public class DescribeClientConfStrategyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TargetList")
private java.util.List<TargetList> targetList;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeClientConfStrategyResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.targetList = builder.targetList;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClientConfStrategyResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return targetList
*/
public java.util.List<TargetList> getTargetList() {
return this.targetList;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private String requestId;
private java.util.List<TargetList> targetList;
private Integer totalCount;
private Builder() {
}
private Builder(DescribeClientConfStrategyResponseBody model) {
this.requestId = model.requestId;
this.targetList = model.targetList;
this.totalCount = model.totalCount;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>5BD95679-D63A-4151-97D0-188432F****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>An array that consists of the configurations.</p>
*/
public Builder targetList(java.util.List<TargetList> targetList) {
this.targetList = targetList;
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 DescribeClientConfStrategyResponseBody build() {
return new DescribeClientConfStrategyResponseBody(this);
}
}
/**
*
* {@link DescribeClientConfStrategyResponseBody} extends {@link TeaModel}
*
* <p>DescribeClientConfStrategyResponseBody</p>
*/
public static class TargetList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Uuid")
private String uuid;
private TargetList(Builder builder) {
this.uuid = builder.uuid;
}
public static Builder builder() {
return new Builder();
}
public static TargetList create() {
return builder().build();
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
public static final class Builder {
private String uuid;
private Builder() {
}
private Builder(TargetList model) {
this.uuid = model.uuid;
}
/**
* <p>The UUID of the Security Center agent.</p>
*
* <strong>example:</strong>
* <p>2b1753a6-04d9-448e-ad17-7abdf19f****</p>
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
public TargetList build() {
return new TargetList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientProblemTypeRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientProblemTypeRequest} extends {@link RequestModel}
*
* <p>DescribeClientProblemTypeRequest</p>
*/
public class DescribeClientProblemTypeRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
private DescribeClientProblemTypeRequest(Builder builder) {
super(builder);
this.lang = builder.lang;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClientProblemTypeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
public static final class Builder extends Request.Builder<DescribeClientProblemTypeRequest, Builder> {
private String lang;
private Builder() {
super();
}
private Builder(DescribeClientProblemTypeRequest request) {
super(request);
this.lang = request.lang;
}
/**
* Lang.
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
@Override
public DescribeClientProblemTypeRequest build() {
return new DescribeClientProblemTypeRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientProblemTypeResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientProblemTypeResponse} extends {@link TeaModel}
*
* <p>DescribeClientProblemTypeResponse</p>
*/
public class DescribeClientProblemTypeResponse 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 DescribeClientProblemTypeResponseBody body;
private DescribeClientProblemTypeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClientProblemTypeResponse 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 DescribeClientProblemTypeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClientProblemTypeResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClientProblemTypeResponseBody body);
@Override
DescribeClientProblemTypeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClientProblemTypeResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClientProblemTypeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClientProblemTypeResponse 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(DescribeClientProblemTypeResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClientProblemTypeResponse build() {
return new DescribeClientProblemTypeResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClientProblemTypeResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClientProblemTypeResponseBody} extends {@link TeaModel}
*
* <p>DescribeClientProblemTypeResponseBody</p>
*/
public class DescribeClientProblemTypeResponseBody 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("ProblemTypes")
private java.util.List<ProblemTypes> problemTypes;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeClientProblemTypeResponseBody(Builder builder) {
this.count = builder.count;
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
this.problemTypes = builder.problemTypes;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClientProblemTypeResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return problemTypes
*/
public java.util.List<ProblemTypes> getProblemTypes() {
return this.problemTypes;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer count;
private Integer currentPage;
private Integer pageSize;
private java.util.List<ProblemTypes> problemTypes;
private String requestId;
private Integer totalCount;
private Builder() {
}
private Builder(DescribeClientProblemTypeResponseBody model) {
this.count = model.count;
this.currentPage = model.currentPage;
this.pageSize = model.pageSize;
this.problemTypes = model.problemTypes;
this.requestId = model.requestId;
this.totalCount = model.totalCount;
}
/**
* <p>The number of entries returned on the current page.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* <p>The page number.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* <p>The number of entries per page. Default value: <strong>20</strong>.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The issue types.</p>
*/
public Builder problemTypes(java.util.List<ProblemTypes> problemTypes) {
this.problemTypes = problemTypes;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>D65AADFC-1D20-5A6A-8F6A-9FA53CXXXXX</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>21</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeClientProblemTypeResponseBody build() {
return new DescribeClientProblemTypeResponseBody(this);
}
}
/**
*
* {@link DescribeClientProblemTypeResponseBody} extends {@link TeaModel}
*
* <p>DescribeClientProblemTypeResponseBody</p>
*/
public static class ProblemTypes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("problemDetail")
private String problemDetail;
@com.aliyun.core.annotation.NameInMap("problemId")
private String problemId;
@com.aliyun.core.annotation.NameInMap("problemType")
private String problemType;
private ProblemTypes(Builder builder) {
this.problemDetail = builder.problemDetail;
this.problemId = builder.problemId;
this.problemType = builder.problemType;
}
public static Builder builder() {
return new Builder();
}
public static ProblemTypes create() {
return builder().build();
}
/**
* @return problemDetail
*/
public String getProblemDetail() {
return this.problemDetail;
}
/**
* @return problemId
*/
public String getProblemId() {
return this.problemId;
}
/**
* @return problemType
*/
public String getProblemType() {
return this.problemType;
}
public static final class Builder {
private String problemDetail;
private String problemId;
private String problemType;
private Builder() {
}
private Builder(ProblemTypes model) {
this.problemDetail = model.problemDetail;
this.problemId = model.problemId;
this.problemType = model.problemType;
}
/**
* <p>The description of the issue type.</p>
*
* <strong>example:</strong>
* <p>other</p>
*/
public Builder problemDetail(String problemDetail) {
this.problemDetail = problemDetail;
return this;
}
/**
* <p>The ID of the issue type.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder problemId(String problemId) {
this.problemId = problemId;
return this;
}
/**
* <p>The name of the issue type.</p>
*
* <strong>example:</strong>
* <p>high_cpu</p>
*/
public Builder problemType(String problemType) {
this.problemType = problemType;
return this;
}
public ProblemTypes build() {
return new ProblemTypes(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudCenterInstancesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudCenterInstancesRequest} extends {@link RequestModel}
*
* <p>DescribeCloudCenterInstancesRequest</p>
*/
public class DescribeCloudCenterInstancesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Criteria")
private String criteria;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Flags")
private String flags;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Importance")
private Integer importance;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LogicalExp")
private String logicalExp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MachineTypes")
private String machineTypes;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NoGroupTrace")
private Boolean noGroupTrace;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@Deprecated
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId")
private Long resourceDirectoryAccountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UseNextToken")
private Boolean useNextToken;
private DescribeCloudCenterInstancesRequest(Builder builder) {
super(builder);
this.criteria = builder.criteria;
this.currentPage = builder.currentPage;
this.flags = builder.flags;
this.importance = builder.importance;
this.lang = builder.lang;
this.logicalExp = builder.logicalExp;
this.machineTypes = builder.machineTypes;
this.nextToken = builder.nextToken;
this.noGroupTrace = builder.noGroupTrace;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId;
this.useNextToken = builder.useNextToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudCenterInstancesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return criteria
*/
public String getCriteria() {
return this.criteria;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return flags
*/
public String getFlags() {
return this.flags;
}
/**
* @return importance
*/
public Integer getImportance() {
return this.importance;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return logicalExp
*/
public String getLogicalExp() {
return this.logicalExp;
}
/**
* @return machineTypes
*/
public String getMachineTypes() {
return this.machineTypes;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return noGroupTrace
*/
public Boolean getNoGroupTrace() {
return this.noGroupTrace;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceDirectoryAccountId
*/
public Long getResourceDirectoryAccountId() {
return this.resourceDirectoryAccountId;
}
/**
* @return useNextToken
*/
public Boolean getUseNextToken() {
return this.useNextToken;
}
public static final class Builder extends Request.Builder<DescribeCloudCenterInstancesRequest, Builder> {
private String criteria;
private Integer currentPage;
private String flags;
private Integer importance;
private String lang;
private String logicalExp;
private String machineTypes;
private String nextToken;
private Boolean noGroupTrace;
private Integer pageSize;
private String regionId;
private Long resourceDirectoryAccountId;
private Boolean useNextToken;
private Builder() {
super();
}
private Builder(DescribeCloudCenterInstancesRequest request) {
super(request);
this.criteria = request.criteria;
this.currentPage = request.currentPage;
this.flags = request.flags;
this.importance = request.importance;
this.lang = request.lang;
this.logicalExp = request.logicalExp;
this.machineTypes = request.machineTypes;
this.nextToken = request.nextToken;
this.noGroupTrace = request.noGroupTrace;
this.pageSize = request.pageSize;
this.regionId = request.regionId;
this.resourceDirectoryAccountId = request.resourceDirectoryAccountId;
this.useNextToken = request.useNextToken;
}
/**
* <p>The search conditions. The value of this parameter is in the JSON format and is case-sensitive.</p>
* <blockquote>
* <p> You can search for an asset by using the search conditions, such as the instance ID, instance name, VPC ID, region, or public IP address. You can call the <a href="https://help.aliyun.com/document_detail/149773.html">DescribeCriteria</a> operation to query the supported search conditions.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>[{"name":"riskStatus","value":"YES"},{"name":"internetIp","value":"1.2.XX.XX"}]</p>
*/
public Builder criteria(String criteria) {
this.putQueryParameter("Criteria", criteria);
this.criteria = criteria;
return this;
}
/**
* <p>The number of the page to return. Default value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>Asset vendor. Multiple asset vendors should be separated by a comma (,). Values:</p>
* <ul>
* <li><strong>0</strong>: an asset provided by Alibaba Cloud</li>
* <li><strong>1</strong>: an asset outside Alibaba Cloud</li>
* <li><strong>2</strong>: an asset in a data center</li>
* <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, <strong>7</strong>, <strong>14</strong>, <strong>16</strong>: an asset from a third-party cloud service provider</li>
* <li><strong>8</strong>: a lightweight asset</li>
* <li><strong>9</strong>: a Serverless App Engine (SAE) instance</li>
* <li><strong>10</strong>: an instance in Platform for AI (PAI)</li>
* </ul>
*
* <strong>example:</strong>
* <p>1,2,3</p>
*/
public Builder flags(String flags) {
this.putQueryParameter("Flags", flags);
this.flags = flags;
return this;
}
/**
* <p>The importance of the asset. Valid values:</p>
* <ul>
* <li><strong>2</strong>: an important asset</li>
* <li><strong>1</strong>: a common asset</li>
* <li><strong>0</strong>: a test asset</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder importance(Integer importance) {
this.putQueryParameter("Importance", importance);
this.importance = importance;
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 logical relationship among multiple search conditions. Valid values:</p>
* <ul>
* <li><strong>OR</strong>: The logical relationship among search conditions is <strong>OR</strong>.</li>
* <li><strong>AND</strong>: The logical relationship among search conditions is <strong>AND</strong>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>OR</p>
*/
public Builder logicalExp(String logicalExp) {
this.putQueryParameter("LogicalExp", logicalExp);
this.logicalExp = logicalExp;
return this;
}
/**
* <p>The type of asset to be queried. Values:</p>
* <ul>
* <li><strong>ecs</strong>: Server </li>
* <li><strong>cloud_product</strong>: Cloud Product </li>
* <li><strong>eci</strong>: Elastic Container Instance </li>
* <li><strong>rund</strong>: RunD Container Instance </li>
* <li><strong>runc</strong>: RunC Container Instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder machineTypes(String machineTypes) {
this.putQueryParameter("MachineTypes", machineTypes);
this.machineTypes = machineTypes;
return this;
}
/**
* <p>The value of NextToken that is returned when the NextToken method is used. You do not need to specify this parameter for the first request.</p>
*
* <strong>example:</strong>
* <p>E17B501887A2D3AA5E8360A6EFA3B***</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>Specifies whether to internationalize the name of the default group. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The system returns the Chinese name of the default group for the GroupTrace response parameter.</li>
* <li><strong>false</strong>: The system returns default for the GroupTrace response parameter.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder noGroupTrace(Boolean noGroupTrace) {
this.putQueryParameter("NoGroupTrace", noGroupTrace);
this.noGroupTrace = noGroupTrace;
return this;
}
/**
* <p>The number of entries to return on each page. Default value: <strong>20</strong>.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the region in which the asset resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The Alibaba Cloud account ID of the member in the resource directory.</p>
* <blockquote>
* <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the IDs.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1232428423234****</p>
*/
public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) {
this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId);
this.resourceDirectoryAccountId = resourceDirectoryAccountId;
return this;
}
/**
* <p>Specifies whether to use the NextToken method to retrieve a new page of results. If you set UseNextToken to true, the value of TotalCount is not returned. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The NextToken method is used.</li>
* <li><strong>false</strong>: The NextToken method is not used.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder useNextToken(Boolean useNextToken) {
this.putQueryParameter("UseNextToken", useNextToken);
this.useNextToken = useNextToken;
return this;
}
@Override
public DescribeCloudCenterInstancesRequest build() {
return new DescribeCloudCenterInstancesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudCenterInstancesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudCenterInstancesResponse} extends {@link TeaModel}
*
* <p>DescribeCloudCenterInstancesResponse</p>
*/
public class DescribeCloudCenterInstancesResponse 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 DescribeCloudCenterInstancesResponseBody body;
private DescribeCloudCenterInstancesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCloudCenterInstancesResponse 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 DescribeCloudCenterInstancesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCloudCenterInstancesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCloudCenterInstancesResponseBody body);
@Override
DescribeCloudCenterInstancesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCloudCenterInstancesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCloudCenterInstancesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCloudCenterInstancesResponse 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(DescribeCloudCenterInstancesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCloudCenterInstancesResponse build() {
return new DescribeCloudCenterInstancesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudCenterInstancesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudCenterInstancesResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudCenterInstancesResponseBody</p>
*/
public class DescribeCloudCenterInstancesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Instances")
private java.util.List<Instances> instances;
@com.aliyun.core.annotation.NameInMap("PageInfo")
private PageInfo pageInfo;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DescribeCloudCenterInstancesResponseBody(Builder builder) {
this.instances = builder.instances;
this.pageInfo = builder.pageInfo;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudCenterInstancesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instances
*/
public java.util.List<Instances> getInstances() {
return this.instances;
}
/**
* @return pageInfo
*/
public PageInfo getPageInfo() {
return this.pageInfo;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private java.util.List<Instances> instances;
private PageInfo pageInfo;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(DescribeCloudCenterInstancesResponseBody model) {
this.instances = model.instances;
this.pageInfo = model.pageInfo;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* <p>The details about the assets.</p>
*/
public Builder instances(java.util.List<Instances> instances) {
this.instances = instances;
return this;
}
/**
* <p>The pagination information.</p>
*/
public Builder pageInfo(PageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>32A73759-4C0F-4801-BE98-901223ACEE9A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the call is successful. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The call is successful.</li>
* <li><strong>false</strong>: The call fails.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeCloudCenterInstancesResponseBody build() {
return new DescribeCloudCenterInstancesResponseBody(this);
}
}
/**
*
* {@link DescribeCloudCenterInstancesResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudCenterInstancesResponseBody</p>
*/
public static class Instances extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AlarmStatus")
private String alarmStatus;
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("AssetType")
private String assetType;
@com.aliyun.core.annotation.NameInMap("AssetTypeName")
private String assetTypeName;
@com.aliyun.core.annotation.NameInMap("AuthModifyTime")
private Long authModifyTime;
@com.aliyun.core.annotation.NameInMap("AuthVersion")
private Integer authVersion;
@com.aliyun.core.annotation.NameInMap("AuthVersionName")
private String authVersionName;
@com.aliyun.core.annotation.NameInMap("Bind")
private Boolean bind;
@com.aliyun.core.annotation.NameInMap("ClientStatus")
private String clientStatus;
@com.aliyun.core.annotation.NameInMap("ClientSubStatus")
private String clientSubStatus;
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.NameInMap("Cores")
private Integer cores;
@com.aliyun.core.annotation.NameInMap("CpuInfo")
private String cpuInfo;
@com.aliyun.core.annotation.NameInMap("CreatedTime")
private Long createdTime;
@com.aliyun.core.annotation.NameInMap("ExposedStatus")
private Integer exposedStatus;
@com.aliyun.core.annotation.NameInMap("Flag")
private Integer flag;
@com.aliyun.core.annotation.NameInMap("FlagName")
private String flagName;
@com.aliyun.core.annotation.NameInMap("GroupId")
private Long groupId;
@com.aliyun.core.annotation.NameInMap("GroupTrace")
private String groupTrace;
@com.aliyun.core.annotation.NameInMap("HasContainer")
private String hasContainer;
@com.aliyun.core.annotation.NameInMap("HcStatus")
private String hcStatus;
@com.aliyun.core.annotation.NameInMap("HealthCheckCount")
private Integer healthCheckCount;
@com.aliyun.core.annotation.NameInMap("Importance")
private Integer importance;
@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("IpListString")
private String ipListString;
@com.aliyun.core.annotation.NameInMap("Kernel")
private String kernel;
@com.aliyun.core.annotation.NameInMap("LastLoginTimestamp")
private Long lastLoginTimestamp;
@com.aliyun.core.annotation.NameInMap("MacListString")
private String macListString;
@com.aliyun.core.annotation.NameInMap("Mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("Os")
private String os;
@com.aliyun.core.annotation.NameInMap("OsName")
private String osName;
@com.aliyun.core.annotation.NameInMap("PodCount")
private Integer podCount;
@com.aliyun.core.annotation.NameInMap("PostPaidFlag")
private Integer postPaidFlag;
@com.aliyun.core.annotation.NameInMap("Region")
private String region;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RegionName")
private String regionName;
@com.aliyun.core.annotation.NameInMap("RiskCount")
private String riskCount;
@com.aliyun.core.annotation.NameInMap("RiskStatus")
private String riskStatus;
@com.aliyun.core.annotation.NameInMap("SafeEventCount")
private Integer safeEventCount;
@com.aliyun.core.annotation.NameInMap("ServiceId")
private String serviceId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tag")
private String tag;
@com.aliyun.core.annotation.NameInMap("TagId")
private String tagId;
@com.aliyun.core.annotation.NameInMap("TagResources")
private String tagResources;
@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;
@com.aliyun.core.annotation.NameInMap("VendorUid")
private String vendorUid;
@com.aliyun.core.annotation.NameInMap("VendorUserName")
private String vendorUserName;
@com.aliyun.core.annotation.NameInMap("VpcInstanceId")
private String vpcInstanceId;
@com.aliyun.core.annotation.NameInMap("VulCount")
private Integer vulCount;
@com.aliyun.core.annotation.NameInMap("VulStatus")
private String vulStatus;
private Instances(Builder builder) {
this.alarmStatus = builder.alarmStatus;
this.appId = builder.appId;
this.appName = builder.appName;
this.assetType = builder.assetType;
this.assetTypeName = builder.assetTypeName;
this.authModifyTime = builder.authModifyTime;
this.authVersion = builder.authVersion;
this.authVersionName = builder.authVersionName;
this.bind = builder.bind;
this.clientStatus = builder.clientStatus;
this.clientSubStatus = builder.clientSubStatus;
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.cores = builder.cores;
this.cpuInfo = builder.cpuInfo;
this.createdTime = builder.createdTime;
this.exposedStatus = builder.exposedStatus;
this.flag = builder.flag;
this.flagName = builder.flagName;
this.groupId = builder.groupId;
this.groupTrace = builder.groupTrace;
this.hasContainer = builder.hasContainer;
this.hcStatus = builder.hcStatus;
this.healthCheckCount = builder.healthCheckCount;
this.importance = builder.importance;
this.instanceId = builder.instanceId;
this.instanceName = builder.instanceName;
this.internetIp = builder.internetIp;
this.intranetIp = builder.intranetIp;
this.ip = builder.ip;
this.ipListString = builder.ipListString;
this.kernel = builder.kernel;
this.lastLoginTimestamp = builder.lastLoginTimestamp;
this.macListString = builder.macListString;
this.mem = builder.mem;
this.os = builder.os;
this.osName = builder.osName;
this.podCount = builder.podCount;
this.postPaidFlag = builder.postPaidFlag;
this.region = builder.region;
this.regionId = builder.regionId;
this.regionName = builder.regionName;
this.riskCount = builder.riskCount;
this.riskStatus = builder.riskStatus;
this.safeEventCount = builder.safeEventCount;
this.serviceId = builder.serviceId;
this.status = builder.status;
this.tag = builder.tag;
this.tagId = builder.tagId;
this.tagResources = builder.tagResources;
this.uuid = builder.uuid;
this.vendor = builder.vendor;
this.vendorName = builder.vendorName;
this.vendorUid = builder.vendorUid;
this.vendorUserName = builder.vendorUserName;
this.vpcInstanceId = builder.vpcInstanceId;
this.vulCount = builder.vulCount;
this.vulStatus = builder.vulStatus;
}
public static Builder builder() {
return new Builder();
}
public static Instances create() {
return builder().build();
}
/**
* @return alarmStatus
*/
public String getAlarmStatus() {
return this.alarmStatus;
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return assetType
*/
public String getAssetType() {
return this.assetType;
}
/**
* @return assetTypeName
*/
public String getAssetTypeName() {
return this.assetTypeName;
}
/**
* @return authModifyTime
*/
public Long getAuthModifyTime() {
return this.authModifyTime;
}
/**
* @return authVersion
*/
public Integer getAuthVersion() {
return this.authVersion;
}
/**
* @return authVersionName
*/
public String getAuthVersionName() {
return this.authVersionName;
}
/**
* @return bind
*/
public Boolean getBind() {
return this.bind;
}
/**
* @return clientStatus
*/
public String getClientStatus() {
return this.clientStatus;
}
/**
* @return clientSubStatus
*/
public String getClientSubStatus() {
return this.clientSubStatus;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return cores
*/
public Integer getCores() {
return this.cores;
}
/**
* @return cpuInfo
*/
public String getCpuInfo() {
return this.cpuInfo;
}
/**
* @return createdTime
*/
public Long getCreatedTime() {
return this.createdTime;
}
/**
* @return exposedStatus
*/
public Integer getExposedStatus() {
return this.exposedStatus;
}
/**
* @return flag
*/
public Integer getFlag() {
return this.flag;
}
/**
* @return flagName
*/
public String getFlagName() {
return this.flagName;
}
/**
* @return groupId
*/
public Long getGroupId() {
return this.groupId;
}
/**
* @return groupTrace
*/
public String getGroupTrace() {
return this.groupTrace;
}
/**
* @return hasContainer
*/
public String getHasContainer() {
return this.hasContainer;
}
/**
* @return hcStatus
*/
public String getHcStatus() {
return this.hcStatus;
}
/**
* @return healthCheckCount
*/
public Integer getHealthCheckCount() {
return this.healthCheckCount;
}
/**
* @return importance
*/
public Integer getImportance() {
return this.importance;
}
/**
* @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 ipListString
*/
public String getIpListString() {
return this.ipListString;
}
/**
* @return kernel
*/
public String getKernel() {
return this.kernel;
}
/**
* @return lastLoginTimestamp
*/
public Long getLastLoginTimestamp() {
return this.lastLoginTimestamp;
}
/**
* @return macListString
*/
public String getMacListString() {
return this.macListString;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return os
*/
public String getOs() {
return this.os;
}
/**
* @return osName
*/
public String getOsName() {
return this.osName;
}
/**
* @return podCount
*/
public Integer getPodCount() {
return this.podCount;
}
/**
* @return postPaidFlag
*/
public Integer getPostPaidFlag() {
return this.postPaidFlag;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return regionName
*/
public String getRegionName() {
return this.regionName;
}
/**
* @return riskCount
*/
public String getRiskCount() {
return this.riskCount;
}
/**
* @return riskStatus
*/
public String getRiskStatus() {
return this.riskStatus;
}
/**
* @return safeEventCount
*/
public Integer getSafeEventCount() {
return this.safeEventCount;
}
/**
* @return serviceId
*/
public String getServiceId() {
return this.serviceId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
/**
* @return tagId
*/
public String getTagId() {
return this.tagId;
}
/**
* @return tagResources
*/
public String getTagResources() {
return this.tagResources;
}
/**
* @return uuid
*/
public String getUuid() {
return this.uuid;
}
/**
* @return vendor
*/
public Integer getVendor() {
return this.vendor;
}
/**
* @return vendorName
*/
public String getVendorName() {
return this.vendorName;
}
/**
* @return vendorUid
*/
public String getVendorUid() {
return this.vendorUid;
}
/**
* @return vendorUserName
*/
public String getVendorUserName() {
return this.vendorUserName;
}
/**
* @return vpcInstanceId
*/
public String getVpcInstanceId() {
return this.vpcInstanceId;
}
/**
* @return vulCount
*/
public Integer getVulCount() {
return this.vulCount;
}
/**
* @return vulStatus
*/
public String getVulStatus() {
return this.vulStatus;
}
public static final class Builder {
private String alarmStatus;
private String appId;
private String appName;
private String assetType;
private String assetTypeName;
private Long authModifyTime;
private Integer authVersion;
private String authVersionName;
private Boolean bind;
private String clientStatus;
private String clientSubStatus;
private String clusterId;
private String clusterName;
private Integer cores;
private String cpuInfo;
private Long createdTime;
private Integer exposedStatus;
private Integer flag;
private String flagName;
private Long groupId;
private String groupTrace;
private String hasContainer;
private String hcStatus;
private Integer healthCheckCount;
private Integer importance;
private String instanceId;
private String instanceName;
private String internetIp;
private String intranetIp;
private String ip;
private String ipListString;
private String kernel;
private Long lastLoginTimestamp;
private String macListString;
private Integer mem;
private String os;
private String osName;
private Integer podCount;
private Integer postPaidFlag;
private String region;
private String regionId;
private String regionName;
private String riskCount;
private String riskStatus;
private Integer safeEventCount;
private String serviceId;
private String status;
private String tag;
private String tagId;
private String tagResources;
private String uuid;
private Integer vendor;
private String vendorName;
private String vendorUid;
private String vendorUserName;
private String vpcInstanceId;
private Integer vulCount;
private String vulStatus;
private Builder() {
}
private Builder(Instances model) {
this.alarmStatus = model.alarmStatus;
this.appId = model.appId;
this.appName = model.appName;
this.assetType = model.assetType;
this.assetTypeName = model.assetTypeName;
this.authModifyTime = model.authModifyTime;
this.authVersion = model.authVersion;
this.authVersionName = model.authVersionName;
this.bind = model.bind;
this.clientStatus = model.clientStatus;
this.clientSubStatus = model.clientSubStatus;
this.clusterId = model.clusterId;
this.clusterName = model.clusterName;
this.cores = model.cores;
this.cpuInfo = model.cpuInfo;
this.createdTime = model.createdTime;
this.exposedStatus = model.exposedStatus;
this.flag = model.flag;
this.flagName = model.flagName;
this.groupId = model.groupId;
this.groupTrace = model.groupTrace;
this.hasContainer = model.hasContainer;
this.hcStatus = model.hcStatus;
this.healthCheckCount = model.healthCheckCount;
this.importance = model.importance;
this.instanceId = model.instanceId;
this.instanceName = model.instanceName;
this.internetIp = model.internetIp;
this.intranetIp = model.intranetIp;
this.ip = model.ip;
this.ipListString = model.ipListString;
this.kernel = model.kernel;
this.lastLoginTimestamp = model.lastLoginTimestamp;
this.macListString = model.macListString;
this.mem = model.mem;
this.os = model.os;
this.osName = model.osName;
this.podCount = model.podCount;
this.postPaidFlag = model.postPaidFlag;
this.region = model.region;
this.regionId = model.regionId;
this.regionName = model.regionName;
this.riskCount = model.riskCount;
this.riskStatus = model.riskStatus;
this.safeEventCount = model.safeEventCount;
this.serviceId = model.serviceId;
this.status = model.status;
this.tag = model.tag;
this.tagId = model.tagId;
this.tagResources = model.tagResources;
this.uuid = model.uuid;
this.vendor = model.vendor;
this.vendorName = model.vendorName;
this.vendorUid = model.vendorUid;
this.vendorUserName = model.vendorUserName;
this.vpcInstanceId = model.vpcInstanceId;
this.vulCount = model.vulCount;
this.vulStatus = model.vulStatus;
}
/**
* <p>Indicates whether alerts are generated on the asset. Valid values:</p>
* <ul>
* <li><strong>YES</strong></li>
* <li><strong>NO</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>NO</p>
*/
public Builder alarmStatus(String alarmStatus) {
this.alarmStatus = alarmStatus;
return this;
}
/**
* <p>The ID of the application.</p>
* <blockquote>
* <p> This parameter is available only when the <strong>Vendor</strong> parameter is set to 9.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The name of the application.</p>
* <blockquote>
* <p> This parameter is available only when the <strong>Vendor</strong> parameter is set to 9.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>testAppName</p>
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* <p>The type of the asset. Valid values:</p>
* <ul>
* <li><strong>0</strong>: an ECS instance</li>
* <li><strong>1</strong>: a Server Load Balancer (SLB) instance</li>
* <li><strong>2</strong>: a Network Address Translation (NAT) gateway</li>
* <li><strong>3</strong>: an ApsaraDB RDS instance</li>
* <li><strong>4</strong>: an ApsaraDB for MongoDB instance</li>
* <li><strong>5</strong>: an ApsaraDB for Redis instance</li>
* <li><strong>6</strong>: a container image</li>
* <li><strong>7</strong>: a container</li>
* </ul>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder assetType(String assetType) {
this.assetType = assetType;
return this;
}
/**
* <p>The name of the asset type.</p>
*
* <strong>example:</strong>
* <p>Elastic Compute Service</p>
*/
public Builder assetTypeName(String assetTypeName) {
this.assetTypeName = assetTypeName;
return this;
}
/**
* <p>The timestamp when Security Center is authorized to scan the asset.</p>
*
* <strong>example:</strong>
* <p>1627974044000</p>
*/
public Builder authModifyTime(Long authModifyTime) {
this.authModifyTime = authModifyTime;
return this;
}
/**
* <p>The edition of Security Center that is authorized to scan the asset. Valid values:</p>
* <ul>
* <li><strong>1</strong>: Basic edition</li>
* <li><strong>6</strong>: Anti-virus edition</li>
* <li><strong>5</strong>: Advanced edition</li>
* <li><strong>3</strong>: Enterprise edition</li>
* <li><strong>7</strong>: Ultimate edition</li>
* <li><strong>10</strong>: Value-added Plan edition</li>
* </ul>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder authVersion(Integer authVersion) {
this.authVersion = authVersion;
return this;
}
/**
* <p>The name of the Security Center edition that is authorized to protect the asset. Valid values:</p>
* <ul>
* <li>Basic edition</li>
* <li>Anti-virus edition</li>
* <li>Advanced edition</li>
* <li>Enterprise edition</li>
* <li>Ultimate edition</li>
* </ul>
*
* <strong>example:</strong>
* <p>Ultimate Edition</p>
*/
public Builder authVersionName(String authVersionName) {
this.authVersionName = authVersionName;
return this;
}
/**
* <p>Indicates whether Security Center is authorized to scan the asset. Valid values:</p>
* <ul>
* <li><strong>true</strong>: Security Center is authorized to scan the asset.</li>
* <li><strong>false</strong>: Security Center is not authorized to scan the asset.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder bind(Boolean bind) {
this.bind = bind;
return this;
}
/**
* <p>The status of the Security Center agent installed on the asset. Valid values:</p>
* <ul>
* <li><strong>online</strong>: The Security Center agent is <strong>enabled</strong>.</li>
* <li><strong>offline</strong>: The Security Center agent is <strong>disabled</strong>.</li>
* <li><strong>pause</strong>: The Security Center agent is <strong>suspended</strong>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>online</p>
*/
public Builder clientStatus(String clientStatus) {
this.clientStatus = clientStatus;
return this;
}
/**
* <p>The sub-status of the Security Center agent installed on the asset. Valid values:</p>
* <ul>
* <li><strong>online</strong>: The Security Center agent is <strong>enabled</strong>.</li>
* <li><strong>offline</strong>: The Security Center agent is <strong>disabled</strong>.</li>
* <li><strong>pause</strong>: The Security Center agent is <strong>suspended</strong>.</li>
* <li><strong>uninstalled</strong>: The Security Center agent is <strong>uninstalled</strong>.</li>
* <li><strong>stopped</strong>: The Security Center agent is <strong>stopped</strong>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>online</p>
*/
public Builder clientSubStatus(String clientSubStatus) {
this.clientSubStatus = clientSubStatus;
return this;
}
/**
* <p>The ID of the cluster.</p>
*
* <strong>example:</strong>
* <p>c690a0789419f4284a4e0a29e12fe****</p>
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* <p>The name of the cluster.</p>
*
* <strong>example:</strong>
* <p>cluster1</p>
*/
public Builder clusterName(String clusterName) {
this.clusterName = clusterName;
return this;
}
/**
* <p>The number of the CPU cores used by the asset.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder cores(Integer cores) {
this.cores = cores;
return this;
}
/**
* <p>The CPU information about the asset.</p>
*
* <strong>example:</strong>
* <p>Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz</p>
*/
public Builder cpuInfo(String cpuInfo) {
this.cpuInfo = cpuInfo;
return this;
}
/**
* <p>The timestamp when the cluster was created. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1607365213000</p>
*/
public Builder createdTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* <p>Indicates whether the asset is exposed. Valid values:</p>
* <ul>
* <li><strong>0</strong>: The asset is not exposed.</li>
* <li><strong>1</strong>: The asset is exposed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder exposedStatus(Integer exposedStatus) {
this.exposedStatus = exposedStatus;
return this;
}
/**
* <p>Indicates whether the asset is an Alibaba Cloud asset. Valid values:</p>
* <ul>
* <li><strong>0</strong>: The asset is an Alibaba Cloud asset.</li>
* <li><strong>1</strong>: The asset is not an Alibaba Cloud asset.</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder flag(Integer flag) {
this.flag = flag;
return this;
}
/**
* <p>Asset vendor. Values: </p>
* <ul>
* <li><strong>ALIYUN</strong> </li>
* <li><strong>OUT</strong></li>
* <li><strong>IDC</strong> </li>
* <li><strong>Tencent</strong> </li>
* <li><strong>HUAWEICLOUD</strong> </li>
* <li><strong>Azure</strong> </li>
* <li><strong>AWS</strong> </li>
* <li><strong>ASK</strong> </li>
* <li><strong>TRIPARTITE</strong> </li>
* <li><strong>SAE</strong> </li>
* <li><strong>PAI</strong> </li>
* <li><strong>google</strong> </li>
* <li><strong>VOLCENGINE</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>ASK</p>
*/
public Builder flagName(String flagName) {
this.flagName = flagName;
return this;
}
/**
* <p>The ID of the asset group to which the asset belongs.</p>
*
* <strong>example:</strong>
* <p>4120080</p>
*/
public Builder groupId(Long groupId) {
this.groupId = groupId;
return this;
}
/**
* <p>The name of the group to which the asset belongs.</p>
*
* <strong>example:</strong>
* <p>default</p>
*/
public Builder groupTrace(String groupTrace) {
this.groupTrace = groupTrace;
return this;
}
/**
* <p>Indicates if containers are included. Valid values:</p>
* <ul>
* <li><strong>YES</strong>: yes.</li>
* <li><strong>NO</strong>: no.</li>
* </ul>
*
* <strong>example:</strong>
* <p>YES</p>
*/
public Builder hasContainer(String hasContainer) {
this.hasContainer = hasContainer;
return this;
}
/**
* <p>Indicates whether baseline risks are detected on the asset. Valid values:</p>
* <ul>
* <li><strong>YES</strong></li>
* <li><strong>NO</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>YES</p>
*/
public Builder hcStatus(String hcStatus) {
this.hcStatus = hcStatus;
return this;
}
/**
* <p>The number of baseline risks that are detected on the asset.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder healthCheckCount(Integer healthCheckCount) {
this.healthCheckCount = healthCheckCount;
return this;
}
/**
* <p>The importance of the asset. Valid values:</p>
* <ul>
* <li><strong>2</strong>: an important asset</li>
* <li><strong>1</strong>: a common asset</li>
* <li><strong>0</strong>: a test asset</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder importance(Integer importance) {
this.importance = importance;
return this;
}
/**
* <p>The ID of the asset.</p>
*
* <strong>example:</strong>
* <p>i-m5***</p>
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* <p>The name of the asset.</p>
*
* <strong>example:</strong>
* <p>yztest-l***</p>
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* <p>The public IP address of the asset.</p>
*
* <strong>example:</strong>
* <p>1.2.XX.XX</p>
*/
public Builder internetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
/**
* <p>The private IP address of the asset.</p>
*
* <strong>example:</strong>
* <p>1.2.XX.XX</p>
*/
public Builder intranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
/**
* <p>The public IP address of the asset.</p>
*
* <strong>example:</strong>
* <p>1.2.XX.XX</p>
*/
public Builder ip(String ip) {
this.ip = ip;
return this;
}
/**
* <p>The IP addresses of the system.</p>
*
* <strong>example:</strong>
* <p>172.31.XX.XX,172.171.XX.XX</p>
*/
public Builder ipListString(String ipListString) {
this.ipListString = ipListString;
return this;
}
/**
* <p>The version of the kernel.</p>
*
* <strong>example:</strong>
* <p>3.10.0-1127.19.1.el7.x86_64</p>
*/
public Builder kernel(String kernel) {
this.kernel = kernel;
return this;
}
/**
* <p>The timestamp when the Security Center agent was last online. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1637592907000</p>
*/
public Builder lastLoginTimestamp(Long lastLoginTimestamp) {
this.lastLoginTimestamp = lastLoginTimestamp;
return this;
}
/**
* <p>The MAC addresses of the system.</p>
*
* <strong>example:</strong>
* <p>00:13:3e:31:13:39,02:12:67:b8:<strong>:</strong></p>
*/
public Builder macListString(String macListString) {
this.macListString = macListString;
return this;
}
/**
* <p>The size of the memory. Unit: MB.</p>
*
* <strong>example:</strong>
* <p>1024</p>
*/
public Builder mem(Integer mem) {
this.mem = mem;
return this;
}
/**
* <p>The operating system of the asset.</p>
*
* <strong>example:</strong>
* <p>Linux</p>
*/
public Builder os(String os) {
this.os = os;
return this;
}
/**
* <p>The kernel version of the asset.</p>
*
* <strong>example:</strong>
* <ul>
* <li></li>
* </ul>
*/
public Builder osName(String osName) {
this.osName = osName;
return this;
}
/**
* <p>The number of pods.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder podCount(Integer podCount) {
this.podCount = podCount;
return this;
}
/**
* <p>The billing method of the protection version currently bound to the asset. Values: - <strong>0</strong>: Subscription - <strong>1</strong>: Pay-as-you-go</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder postPaidFlag(Integer postPaidFlag) {
this.postPaidFlag = postPaidFlag;
return this;
}
/**
* <p>The region ID of the asset.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-cm***-***</p>
*/
public Builder region(String region) {
this.region = region;
return this;
}
/**
* <p>The ID of the region in which the asset resides.</p>
*
* <strong>example:</strong>
* <p>cn-hanghzou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The name of the region in which the asset resides.</p>
*
* <strong>example:</strong>
* <p>China (Hangzhou)</p>
*/
public Builder regionName(String regionName) {
this.regionName = regionName;
return this;
}
/**
* <p>The total number of baseline risks that are detected on the asset. The value of this parameter is in the JSON format and contains the following fields:</p>
* <ul>
* <li><strong>account</strong>: the number of accounts that are used to log on from unapproved logon locations and whose passwords are cracked</li>
* <li><strong>appNum</strong>: the number of scanners</li>
* <li><strong>asapVulCount</strong>: the total number of high-severity vulnerabilities</li>
* <li><strong>baselineHigh</strong>: the number of high-risk baseline risks</li>
* <li><strong>baselineLow</strong>: the number of low-risk baseline risks</li>
* <li><strong>baselineMedium</strong>: the number of medium-risk baseline risks</li>
* <li><strong>baselineNum</strong>: the total number of baseline risks</li>
* <li><strong>cmsNum</strong>: the number of Web-CMS vulnerabilities</li>
* <li><strong>containerAsap</strong>: the number of high-severity vulnerabilities that are detected on containers</li>
* <li><strong>containerLater</strong>: the number of medium-severity vulnerabilities that are detected on containers</li>
* <li><strong>containerNntf</strong>: the number of low-severity vulnerabilities that are detected on containers</li>
* <li><strong>containerRemind</strong>: the number of alerts whose Emergency level is Reminder on containers</li>
* <li><strong>containerSerious</strong>: the number of alerts Emergency level is Urgent on containers</li>
* <li><strong>containerSuspicious</strong>: the number of alerts whose Emergency level is Suspicious on containers</li>
* <li><strong>cveNum</strong>: the number of Linux software vulnerabilities</li>
* <li><strong>emgNum</strong>: the number of urgent vulnerabilities</li>
* <li><strong>health</strong>: the number of baseline alerts that are unhandled</li>
* <li><strong>imageBaselineHigh</strong>: the number of high-risk baseline risks that are detected on images</li>
* <li><strong>imageBaselineLow</strong>: the number of low-risk baseline risks that are detected on images</li>
* <li><strong>imageBaselineMedium</strong>: the number of medium-risk baseline risks that are detected on images</li>
* <li><strong>imageBaselineNum</strong>: the total number of baseline risks that are detected on images</li>
* <li><strong>imageMaliciousFileRemind</strong>: the number of malicious files that are detected on images and have the Emergency level of Reminder</li>
* <li><strong>imageMaliciousFileSerious</strong>: the number of malicious files that are detected on images and have the Emergency level of Urgent</li>
* <li><strong>imageMaliciousFileSuspicious</strong>: the number of malicious files that are detected on images and have the Emergency level of Suspicious</li>
* <li><strong>imageVulAsap</strong>: the number of high-severity vulnerabilities that are detected on images</li>
* <li><strong>imageVulLater</strong>: the number of medium-severity vulnerabilities that are detected on an image</li>
* <li><strong>imageVulNntf</strong>: the number of low-severity vulnerabilities that are detected on an image</li>
* <li><strong>laterVulCount</strong>: the number of medium-severity vulnerabilities</li>
* <li><strong>newSuspicious</strong>: the number of alerts</li>
* <li><strong>nntfVulCount</strong>: the number of low-severity vulnerabilities.</li>
* <li><strong>remindNum</strong>: the number of alerts whose Emergency level is Reminder</li>
* <li><strong>scaNum</strong>: the number of vulnerabilities that are detected based on software component analysis</li>
* <li><strong>seriousNum</strong>: the number of alerts whose Emergency level is Urgent</li>
* <li><strong>suspNum</strong>: the number of alerts whose Emergency level is Suspicious</li>
* <li><strong>suspicious</strong>: the total number of alerts</li>
* <li><strong>sysNum</strong>: the number of Windows system vulnerabilities</li>
* <li><strong>trojan</strong>: the number of trojans</li>
* <li><strong>uuid</strong>: the UUIDs of assets</li>
* <li><strong>vul</strong>: the number of vulnerabilities</li>
* <li><strong>weakPWNum</strong>: the number of weak passwords</li>
* </ul>
*
* <strong>example:</strong>
* <p>{"account":0,"appNum":0,"asapVulCount":0,"baselineHigh":0,"baselineLow":0,"baselineMedium":0,"baselineNum":0,"cmsNum":0,"containerAsap":0,"containerLater":0,"containerNntf":0,"containerRemind":0,"containerSerious":0,"containerSuspicious":0,"cveNum":0,"emgNum":0,"health":0,"imageBaselineHigh":0,"imageBaselineLow":0,"imageBaselineMedium":0,"imageBaselineNum":0,"imageMaliciousFileRemind":0,"imageMaliciousFileSerious":0,"imageMaliciousFileSuspicious":0,"imageVulAsap":0,"imageVulLater":0,"imageVulNntf":0,"laterVulCount":0,"newSuspicious":0,"nntfVulCount":0,"remindNum":0,"scaNum":0,"seriousNum":0,"suspNum":0,"suspicious":0,"sysNum":0,"trojan":0,"uuid":"inet-37316411-37fe-4b72-b245-346a2721d4b6","vul":0,"weakPWNum":0}</p>
*/
public Builder riskCount(String riskCount) {
this.riskCount = riskCount;
return this;
}
/**
* <p>Indicates whether risks are detected on the asset. Valid values:</p>
* <ul>
* <li><strong>YES</strong></li>
* <li><strong>NO</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>NO</p>
*/
public Builder riskStatus(String riskStatus) {
this.riskStatus = riskStatus;
return this;
}
/**
* <p>The number of alerts that are generated on the asset.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder safeEventCount(Integer safeEventCount) {
this.safeEventCount = safeEventCount;
return this;
}
/**
* <p>Service ID. Only available for PAI instances.</p>
*
* <strong>example:</strong>
* <p>dsw-76jlywunsif09bp15p</p>
*/
public Builder serviceId(String serviceId) {
this.serviceId = serviceId;
return this;
}
/**
* <p>The status of the asset. Valid values:</p>
* <ul>
* <li><strong>Running</strong>: running</li>
* <li><strong>notRunning</strong>: stopped</li>
* </ul>
*
* <strong>example:</strong>
* <p>Running</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The name of the asset tag.</p>
*
* <strong>example:</strong>
* <p>InternetIp,test</p>
*/
public Builder tag(String tag) {
this.tag = tag;
return this;
}
/**
* <p>The ID of the asset tag.</p>
*
* <strong>example:</strong>
* <p>121313,41412</p>
*/
public Builder tagId(String tagId) {
this.tagId = tagId;
return this;
}
/**
* <p>The custom tag added to the Lingjun node. This parameter is returned only for LINGJUN GPU-accelerated instances.</p>
*
* <strong>example:</strong>
* <p>app:test,type:lingjun</p>
*/
public Builder tagResources(String tagResources) {
this.tagResources = tagResources;
return this;
}
/**
* <p>The UUID of the asset.</p>
*
* <strong>example:</strong>
* <p>c9107c04-942f-40c1-981a-f1c1***</p>
*/
public Builder uuid(String uuid) {
this.uuid = uuid;
return this;
}
/**
* <p>Asset vendor. Values:</p>
* <ul>
* <li><strong>0</strong>: an asset provided by Alibaba Cloud</li>
* <li><strong>1</strong>: an asset outside Alibaba Cloud</li>
* <li><strong>2</strong>: an asset in a data center</li>
* <li><strong>3</strong>, <strong>4</strong>, <strong>5</strong>, <strong>7</strong>, <strong>14</strong>, <strong>16</strong>: an asset from a third-party cloud service provider</li>
* <li><strong>8</strong>: a lightweight asset</li>
* <li><strong>9</strong>: a Serverless App Engine (SAE) instance</li>
* <li><strong>10</strong>: an instance in Platform for AI (PAI)</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 for the asset.
* Values:</p>
* <ul>
* <li><strong>ALIYUN</strong>: Alibaba Cloud </li>
* <li><strong>OUT</strong>: a third-party service provider</li>
* <li><strong>IDC</strong>: an asset in a data center</li>
* <li><strong>TENCENT</strong>: Tencent Cloud</li>
* <li><strong>HUAWEICLOUD</strong>: Huawei Cloud</li>
* <li><strong>Microsoft</strong>: Microsoft Azure</li>
* <li><strong>AWS</strong>: Amazon Web Services (AWS)</li>
* <li><strong>TRIPARTITE</strong>: a lightweight server</li>
* <li><strong>SAE</strong>: a Serverless App Engine (SAE) instance</li>
* <li><strong>PAI</strong>: an instance in Platform for AI (PAI)</li>
* <li><strong>VOLCENGINE</strong>: VOLCENGINE Cloud</li>
* <li><strong>google</strong>: GOOGLE Cloud</li>
* </ul>
*
* <strong>example:</strong>
* <p>Tencent</p>
*/
public Builder vendorName(String vendorName) {
this.vendorName = vendorName;
return this;
}
/**
* VendorUid.
*/
public Builder vendorUid(String vendorUid) {
this.vendorUid = vendorUid;
return this;
}
/**
* VendorUserName.
*/
public Builder vendorUserName(String vendorUserName) {
this.vendorUserName = vendorUserName;
return this;
}
/**
* <p>The ID of the VPC to which the asset belongs.</p>
*
* <strong>example:</strong>
* <p>vpc-uf60agqq65bs98zoo****</p>
*/
public Builder vpcInstanceId(String vpcInstanceId) {
this.vpcInstanceId = vpcInstanceId;
return this;
}
/**
* <p>The number of vulnerabilities that are detected on the asset.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder vulCount(Integer vulCount) {
this.vulCount = vulCount;
return this;
}
/**
* <p>Indicates whether vulnerabilities are detected on the asset. Valid values:</p>
* <ul>
* <li><strong>YES</strong></li>
* <li><strong>NO</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>YES</p>
*/
public Builder vulStatus(String vulStatus) {
this.vulStatus = vulStatus;
return this;
}
public Instances build() {
return new Instances(this);
}
}
}
/**
*
* {@link DescribeCloudCenterInstancesResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudCenterInstancesResponseBody</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("NextToken")
private String nextToken;
@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.nextToken = builder.nextToken;
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 nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @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 String nextToken;
private Integer pageSize;
private Integer totalCount;
private Builder() {
}
private Builder(PageInfo model) {
this.count = model.count;
this.currentPage = model.currentPage;
this.nextToken = model.nextToken;
this.pageSize = model.pageSize;
this.totalCount = model.totalCount;
}
/**
* <p>The number of entries returned on the current page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* <p>The value of NextToken that is returned when the NextToken method is used.</p>
*
* <strong>example:</strong>
* <p>B604532DEF982B875E8360A6EFA3B***</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
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>50</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public PageInfo build() {
return new PageInfo(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudProductFieldStatisticsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudProductFieldStatisticsRequest} extends {@link RequestModel}
*
* <p>DescribeCloudProductFieldStatisticsRequest</p>
*/
public class DescribeCloudProductFieldStatisticsRequest extends Request {
private DescribeCloudProductFieldStatisticsRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudProductFieldStatisticsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<DescribeCloudProductFieldStatisticsRequest, Builder> {
private Builder() {
super();
}
private Builder(DescribeCloudProductFieldStatisticsRequest request) {
super(request);
}
@Override
public DescribeCloudProductFieldStatisticsRequest build() {
return new DescribeCloudProductFieldStatisticsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudProductFieldStatisticsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudProductFieldStatisticsResponse} extends {@link TeaModel}
*
* <p>DescribeCloudProductFieldStatisticsResponse</p>
*/
public class DescribeCloudProductFieldStatisticsResponse 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 DescribeCloudProductFieldStatisticsResponseBody body;
private DescribeCloudProductFieldStatisticsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCloudProductFieldStatisticsResponse 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 DescribeCloudProductFieldStatisticsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCloudProductFieldStatisticsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCloudProductFieldStatisticsResponseBody body);
@Override
DescribeCloudProductFieldStatisticsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCloudProductFieldStatisticsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCloudProductFieldStatisticsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCloudProductFieldStatisticsResponse 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(DescribeCloudProductFieldStatisticsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCloudProductFieldStatisticsResponse build() {
return new DescribeCloudProductFieldStatisticsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudProductFieldStatisticsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudProductFieldStatisticsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudProductFieldStatisticsResponseBody</p>
*/
public class DescribeCloudProductFieldStatisticsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("GroupedFields")
private GroupedFields groupedFields;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCloudProductFieldStatisticsResponseBody(Builder builder) {
this.groupedFields = builder.groupedFields;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudProductFieldStatisticsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return groupedFields
*/
public GroupedFields getGroupedFields() {
return this.groupedFields;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private GroupedFields groupedFields;
private String requestId;
private Builder() {
}
private Builder(DescribeCloudProductFieldStatisticsResponseBody model) {
this.groupedFields = model.groupedFields;
this.requestId = model.requestId;
}
/**
* <p>The statistics of cloud services that are protected by Security Center.</p>
*/
public Builder groupedFields(GroupedFields groupedFields) {
this.groupedFields = groupedFields;
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 DescribeCloudProductFieldStatisticsResponseBody build() {
return new DescribeCloudProductFieldStatisticsResponseBody(this);
}
}
/**
*
* {@link DescribeCloudProductFieldStatisticsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudProductFieldStatisticsResponseBody</p>
*/
public static class GroupedFields extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CategoryCount")
private String categoryCount;
@com.aliyun.core.annotation.NameInMap("InstanceCount")
private Integer instanceCount;
@com.aliyun.core.annotation.NameInMap("RiskInstanceCount")
private Integer riskInstanceCount;
private GroupedFields(Builder builder) {
this.categoryCount = builder.categoryCount;
this.instanceCount = builder.instanceCount;
this.riskInstanceCount = builder.riskInstanceCount;
}
public static Builder builder() {
return new Builder();
}
public static GroupedFields create() {
return builder().build();
}
/**
* @return categoryCount
*/
public String getCategoryCount() {
return this.categoryCount;
}
/**
* @return instanceCount
*/
public Integer getInstanceCount() {
return this.instanceCount;
}
/**
* @return riskInstanceCount
*/
public Integer getRiskInstanceCount() {
return this.riskInstanceCount;
}
public static final class Builder {
private String categoryCount;
private Integer instanceCount;
private Integer riskInstanceCount;
private Builder() {
}
private Builder(GroupedFields model) {
this.categoryCount = model.categoryCount;
this.instanceCount = model.instanceCount;
this.riskInstanceCount = model.riskInstanceCount;
}
/**
* <p>The statistics of different types of assets. <strong>MachineType</strong> indicates the type of the asset. <strong>Count</strong> indicates the number of assets of a specific type.</p>
* <p>Valid values of <strong>MachineType</strong>:</p>
* <ul>
* <li><strong>1</strong>: Server Load Balancer (SLB) instance</li>
* <li><strong>2</strong>: NAT gateway instance</li>
* <li><strong>3</strong>: ApsaraDB RDS instance</li>
* <li><strong>4</strong>: ApsaraDB for MongoDB instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>[{"MachineType":1,"Count":11}]</p>
*/
public Builder categoryCount(String categoryCount) {
this.categoryCount = categoryCount;
return this;
}
/**
* <p>The total number of cloud services that are protected by Security Center.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder instanceCount(Integer instanceCount) {
this.instanceCount = instanceCount;
return this;
}
/**
* <p>The number of cloud services that are at risk.</p>
*
* <strong>example:</strong>
* <p>90</p>
*/
public Builder riskInstanceCount(Integer riskInstanceCount) {
this.riskInstanceCount = riskInstanceCount;
return this;
}
public GroupedFields build() {
return new GroupedFields(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudVendorAccountAKListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudVendorAccountAKListRequest} extends {@link RequestModel}
*
* <p>DescribeCloudVendorAccountAKListRequest</p>
*/
public class DescribeCloudVendorAccountAKListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AuthIds")
private String authIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SubAccountName")
private String subAccountName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VendorAuthAlias")
private String vendorAuthAlias;
private DescribeCloudVendorAccountAKListRequest(Builder builder) {
super(builder);
this.authIds = builder.authIds;
this.currentPage = builder.currentPage;
this.lang = builder.lang;
this.pageSize = builder.pageSize;
this.status = builder.status;
this.subAccountName = builder.subAccountName;
this.vendorAuthAlias = builder.vendorAuthAlias;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudVendorAccountAKListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return authIds
*/
public String getAuthIds() {
return this.authIds;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return subAccountName
*/
public String getSubAccountName() {
return this.subAccountName;
}
/**
* @return vendorAuthAlias
*/
public String getVendorAuthAlias() {
return this.vendorAuthAlias;
}
public static final class Builder extends Request.Builder<DescribeCloudVendorAccountAKListRequest, Builder> {
private String authIds;
private Integer currentPage;
private String lang;
private Integer pageSize;
private Integer status;
private String subAccountName;
private String vendorAuthAlias;
private Builder() {
super();
}
private Builder(DescribeCloudVendorAccountAKListRequest request) {
super(request);
this.authIds = request.authIds;
this.currentPage = request.currentPage;
this.lang = request.lang;
this.pageSize = request.pageSize;
this.status = request.status;
this.subAccountName = request.subAccountName;
this.vendorAuthAlias = request.vendorAuthAlias;
}
/**
* <p>The unique ID of the AccessKey pair.</p>
*
* <strong>example:</strong>
* <p>2624</p>
*/
public Builder authIds(String authIds) {
this.putQueryParameter("AuthIds", authIds);
this.authIds = authIds;
return this;
}
/**
* <p>The page number. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* <p>The number of entries per page. Default value: 20.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The status of the AccessKey pair. Valid values:</p>
* <ul>
* <li><strong>0</strong>: enabled</li>
* <li><strong>1</strong>: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
/**
* <p>The username of the sub-account of the cloud service provider to which the AccessKey pair belongs.</p>
*
* <strong>example:</strong>
* <p>AlibabaCloud_***</p>
*/
public Builder subAccountName(String subAccountName) {
this.putQueryParameter("SubAccountName", subAccountName);
this.subAccountName = subAccountName;
return this;
}
/**
* <p>The name of the AccessKey pair.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder vendorAuthAlias(String vendorAuthAlias) {
this.putQueryParameter("VendorAuthAlias", vendorAuthAlias);
this.vendorAuthAlias = vendorAuthAlias;
return this;
}
@Override
public DescribeCloudVendorAccountAKListRequest build() {
return new DescribeCloudVendorAccountAKListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudVendorAccountAKListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudVendorAccountAKListResponse} extends {@link TeaModel}
*
* <p>DescribeCloudVendorAccountAKListResponse</p>
*/
public class DescribeCloudVendorAccountAKListResponse 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 DescribeCloudVendorAccountAKListResponseBody body;
private DescribeCloudVendorAccountAKListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCloudVendorAccountAKListResponse 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 DescribeCloudVendorAccountAKListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCloudVendorAccountAKListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCloudVendorAccountAKListResponseBody body);
@Override
DescribeCloudVendorAccountAKListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCloudVendorAccountAKListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCloudVendorAccountAKListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCloudVendorAccountAKListResponse 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(DescribeCloudVendorAccountAKListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCloudVendorAccountAKListResponse build() {
return new DescribeCloudVendorAccountAKListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudVendorAccountAKListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudVendorAccountAKListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudVendorAccountAKListResponseBody</p>
*/
public class DescribeCloudVendorAccountAKListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CloudVendorAccountAKs")
private java.util.List<CloudVendorAccountAKs> cloudVendorAccountAKs;
@com.aliyun.core.annotation.NameInMap("PageInfo")
private PageInfo pageInfo;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCloudVendorAccountAKListResponseBody(Builder builder) {
this.cloudVendorAccountAKs = builder.cloudVendorAccountAKs;
this.pageInfo = builder.pageInfo;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudVendorAccountAKListResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cloudVendorAccountAKs
*/
public java.util.List<CloudVendorAccountAKs> getCloudVendorAccountAKs() {
return this.cloudVendorAccountAKs;
}
/**
* @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<CloudVendorAccountAKs> cloudVendorAccountAKs;
private PageInfo pageInfo;
private String requestId;
private Builder() {
}
private Builder(DescribeCloudVendorAccountAKListResponseBody model) {
this.cloudVendorAccountAKs = model.cloudVendorAccountAKs;
this.pageInfo = model.pageInfo;
this.requestId = model.requestId;
}
/**
* <p>The information about the AccessKey pairs.</p>
*/
public Builder cloudVendorAccountAKs(java.util.List<CloudVendorAccountAKs> cloudVendorAccountAKs) {
this.cloudVendorAccountAKs = cloudVendorAccountAKs;
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>1383B0DB-D5D6-4B0C-9E6B-75939C8****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCloudVendorAccountAKListResponseBody build() {
return new DescribeCloudVendorAccountAKListResponseBody(this);
}
}
/**
*
* {@link DescribeCloudVendorAccountAKListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudVendorAccountAKListResponseBody</p>
*/
public static class AuthModules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("Module")
private String module;
@com.aliyun.core.annotation.NameInMap("ModuleAssetType")
private String moduleAssetType;
@com.aliyun.core.annotation.NameInMap("ModuleDisp")
private String moduleDisp;
@com.aliyun.core.annotation.NameInMap("ModuleServiceStatus")
private Integer moduleServiceStatus;
@com.aliyun.core.annotation.NameInMap("ModuleStatement")
private String moduleStatement;
@com.aliyun.core.annotation.NameInMap("TrailMessage")
private String trailMessage;
@com.aliyun.core.annotation.NameInMap("TrailStatus")
private String trailStatus;
private AuthModules(Builder builder) {
this.message = builder.message;
this.module = builder.module;
this.moduleAssetType = builder.moduleAssetType;
this.moduleDisp = builder.moduleDisp;
this.moduleServiceStatus = builder.moduleServiceStatus;
this.moduleStatement = builder.moduleStatement;
this.trailMessage = builder.trailMessage;
this.trailStatus = builder.trailStatus;
}
public static Builder builder() {
return new Builder();
}
public static AuthModules create() {
return builder().build();
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return module
*/
public String getModule() {
return this.module;
}
/**
* @return moduleAssetType
*/
public String getModuleAssetType() {
return this.moduleAssetType;
}
/**
* @return moduleDisp
*/
public String getModuleDisp() {
return this.moduleDisp;
}
/**
* @return moduleServiceStatus
*/
public Integer getModuleServiceStatus() {
return this.moduleServiceStatus;
}
/**
* @return moduleStatement
*/
public String getModuleStatement() {
return this.moduleStatement;
}
/**
* @return trailMessage
*/
public String getTrailMessage() {
return this.trailMessage;
}
/**
* @return trailStatus
*/
public String getTrailStatus() {
return this.trailStatus;
}
public static final class Builder {
private String message;
private String module;
private String moduleAssetType;
private String moduleDisp;
private Integer moduleServiceStatus;
private String moduleStatement;
private String trailMessage;
private String trailStatus;
private Builder() {
}
private Builder(AuthModules model) {
this.message = model.message;
this.module = model.module;
this.moduleAssetType = model.moduleAssetType;
this.moduleDisp = model.moduleDisp;
this.moduleServiceStatus = model.moduleServiceStatus;
this.moduleStatement = model.moduleStatement;
this.trailMessage = model.trailMessage;
this.trailStatus = model.trailStatus;
}
/**
* <p>The error message of the module.</p>
*
* <strong>example:</strong>
* <p>ak_domain_error</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>The code of the module. Valid values:</p>
* <ul>
* <li><strong>HOST</strong>: host</li>
* <li><strong>CSPM</strong>: configuration assessment</li>
* <li><strong>SIEM</strong>: CloudSiem</li>
* <li><strong>TRIAL</strong>: log audit</li>
* </ul>
*
* <strong>example:</strong>
* <p>HOST</p>
*/
public Builder module(String module) {
this.module = module;
return this;
}
/**
* <p>The cloud asset that is associated with the module.</p>
*
* <strong>example:</strong>
* <p>Cloud server or virtual machine</p>
*/
public Builder moduleAssetType(String moduleAssetType) {
this.moduleAssetType = moduleAssetType;
return this;
}
/**
* <p>The display name of the module.</p>
*
* <strong>example:</strong>
* <p>Host Assets</p>
*/
public Builder moduleDisp(String moduleDisp) {
this.moduleDisp = moduleDisp;
return this;
}
/**
* <p>The service status of the module. Valid values:</p>
* <ul>
* <li><strong>0</strong>: being used</li>
* <li><strong>1</strong>: exception occurred</li>
* <li><strong>2</strong>: being validated</li>
* <li><strong>3</strong>: validation timed out</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder moduleServiceStatus(Integer moduleServiceStatus) {
this.moduleServiceStatus = moduleServiceStatus;
return this;
}
/**
* <p>The permission description of the module.</p>
*
* <strong>example:</strong>
* <p>Read permission of the cloud server or virtual machine</p>
*/
public Builder moduleStatement(String moduleStatement) {
this.moduleStatement = moduleStatement;
return this;
}
/**
* <p>The error message of the log audit service.</p>
*
* <strong>example:</strong>
* <p>timeout</p>
*/
public Builder trailMessage(String trailMessage) {
this.trailMessage = trailMessage;
return this;
}
/**
* <p>The status of the log audit service. Valid values:</p>
* <ul>
* <li><strong>init</strong>: being initialized</li>
* <li><strong>verify</strong>: being validated</li>
* <li><strong>enable</strong>: enabled</li>
* <li><strong>disable</strong>: disabled</li>
* <li><strong>error</strong>: exception occurred</li>
* <li><strong>timeout</strong>: validation timed out</li>
* </ul>
*
* <strong>example:</strong>
* <p>enable</p>
*/
public Builder trailStatus(String trailStatus) {
this.trailStatus = trailStatus;
return this;
}
public AuthModules build() {
return new AuthModules(this);
}
}
}
/**
*
* {@link DescribeCloudVendorAccountAKListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudVendorAccountAKListResponseBody</p>
*/
public static class CloudVendorAccountAKs extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AkType")
private String akType;
@com.aliyun.core.annotation.NameInMap("AuthId")
private Long authId;
@com.aliyun.core.annotation.NameInMap("AuthModules")
private java.util.List<AuthModules> authModules;
@com.aliyun.core.annotation.NameInMap("CtdrCloudUserId")
private String ctdrCloudUserId;
@com.aliyun.core.annotation.NameInMap("ExtendInfo")
private String extendInfo;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("SecretId")
private String secretId;
@com.aliyun.core.annotation.NameInMap("ServiceStatus")
private Integer serviceStatus;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Vendor")
private String vendor;
@com.aliyun.core.annotation.NameInMap("VendorAuthAlias")
private String vendorAuthAlias;
@com.aliyun.core.annotation.NameInMap("VendorUid")
private String vendorUid;
@com.aliyun.core.annotation.NameInMap("VendorUserName")
private String vendorUserName;
private CloudVendorAccountAKs(Builder builder) {
this.akType = builder.akType;
this.authId = builder.authId;
this.authModules = builder.authModules;
this.ctdrCloudUserId = builder.ctdrCloudUserId;
this.extendInfo = builder.extendInfo;
this.message = builder.message;
this.secretId = builder.secretId;
this.serviceStatus = builder.serviceStatus;
this.status = builder.status;
this.vendor = builder.vendor;
this.vendorAuthAlias = builder.vendorAuthAlias;
this.vendorUid = builder.vendorUid;
this.vendorUserName = builder.vendorUserName;
}
public static Builder builder() {
return new Builder();
}
public static CloudVendorAccountAKs create() {
return builder().build();
}
/**
* @return akType
*/
public String getAkType() {
return this.akType;
}
/**
* @return authId
*/
public Long getAuthId() {
return this.authId;
}
/**
* @return authModules
*/
public java.util.List<AuthModules> getAuthModules() {
return this.authModules;
}
/**
* @return ctdrCloudUserId
*/
public String getCtdrCloudUserId() {
return this.ctdrCloudUserId;
}
/**
* @return extendInfo
*/
public String getExtendInfo() {
return this.extendInfo;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return secretId
*/
public String getSecretId() {
return this.secretId;
}
/**
* @return serviceStatus
*/
public Integer getServiceStatus() {
return this.serviceStatus;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return vendor
*/
public String getVendor() {
return this.vendor;
}
/**
* @return vendorAuthAlias
*/
public String getVendorAuthAlias() {
return this.vendorAuthAlias;
}
/**
* @return vendorUid
*/
public String getVendorUid() {
return this.vendorUid;
}
/**
* @return vendorUserName
*/
public String getVendorUserName() {
return this.vendorUserName;
}
public static final class Builder {
private String akType;
private Long authId;
private java.util.List<AuthModules> authModules;
private String ctdrCloudUserId;
private String extendInfo;
private String message;
private String secretId;
private Integer serviceStatus;
private Integer status;
private String vendor;
private String vendorAuthAlias;
private String vendorUid;
private String vendorUserName;
private Builder() {
}
private Builder(CloudVendorAccountAKs model) {
this.akType = model.akType;
this.authId = model.authId;
this.authModules = model.authModules;
this.ctdrCloudUserId = model.ctdrCloudUserId;
this.extendInfo = model.extendInfo;
this.message = model.message;
this.secretId = model.secretId;
this.serviceStatus = model.serviceStatus;
this.status = model.status;
this.vendor = model.vendor;
this.vendorAuthAlias = model.vendorAuthAlias;
this.vendorUid = model.vendorUid;
this.vendorUserName = model.vendorUserName;
}
/**
* <p>The type of the account to which the AccessKey pair belongs. Valid values:</p>
* <ul>
* <li><strong>primary</strong>: a primary account</li>
* <li><strong>sub</strong>: a sub-account</li>
* </ul>
*
* <strong>example:</strong>
* <p>primary</p>
*/
public Builder akType(String akType) {
this.akType = akType;
return this;
}
/**
* <p>The unique ID of the AccessKey pair.</p>
*
* <strong>example:</strong>
* <p>2345</p>
*/
public Builder authId(Long authId) {
this.authId = authId;
return this;
}
/**
* <p>The modules that are associated with the AccessKey pair.</p>
*/
public Builder authModules(java.util.List<AuthModules> authModules) {
this.authModules = authModules;
return this;
}
/**
* CtdrCloudUserId.
*/
public Builder ctdrCloudUserId(String ctdrCloudUserId) {
this.ctdrCloudUserId = ctdrCloudUserId;
return this;
}
/**
* ExtendInfo.
*/
public Builder extendInfo(String extendInfo) {
this.extendInfo = extendInfo;
return this;
}
/**
* <p>The error message of the AccessKey pair.</p>
*
* <strong>example:</strong>
* <p>The IAM user is forbidden in the currently selected region</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>The AccessKey ID.</p>
*
* <strong>example:</strong>
* <p>S3D6c4O***</p>
*/
public Builder secretId(String secretId) {
this.secretId = secretId;
return this;
}
/**
* <p>The service status of the AccessKey pair. Valid values:</p>
* <ul>
* <li><strong>0</strong>: being used</li>
* <li><strong>1</strong>: exception occurred</li>
* <li><strong>2</strong>: being validated</li>
* <li><strong>3</strong>: validation timed out</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder serviceStatus(Integer serviceStatus) {
this.serviceStatus = serviceStatus;
return this;
}
/**
* <p>The status of the AccessKey pair. Valid values:</p>
* <ul>
* <li><strong>0</strong>: enabled</li>
* <li><strong>1</strong>: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* <p>The cloud service provider. Valid values:</p>
* <ul>
* <li><strong>Tencent</strong>: Tencent Cloud</li>
* <li><strong>HUAWEICLOUD</strong>: Huawei Cloud</li>
* <li><strong>Azure</strong>: Microsoft Azure</li>
* <li><strong>AWS</strong>: Amazon Web Services (AWS)</li>
* </ul>
*
* <strong>example:</strong>
* <p>Tencent</p>
*/
public Builder vendor(String vendor) {
this.vendor = vendor;
return this;
}
/**
* <p>The name of the AccessKey pair.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder vendorAuthAlias(String vendorAuthAlias) {
this.vendorAuthAlias = vendorAuthAlias;
return this;
}
/**
* VendorUid.
*/
public Builder vendorUid(String vendorUid) {
this.vendorUid = vendorUid;
return this;
}
/**
* VendorUserName.
*/
public Builder vendorUserName(String vendorUserName) {
this.vendorUserName = vendorUserName;
return this;
}
public CloudVendorAccountAKs build() {
return new CloudVendorAccountAKs(this);
}
}
}
/**
*
* {@link DescribeCloudVendorAccountAKListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudVendorAccountAKListResponseBody</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.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* <p>The number of entries per page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>55</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public PageInfo build() {
return new PageInfo(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudVendorTrialConfigRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudVendorTrialConfigRequest} extends {@link RequestModel}
*
* <p>DescribeCloudVendorTrialConfigRequest</p>
*/
public class DescribeCloudVendorTrialConfigRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AuthId")
@com.aliyun.core.annotation.Validation(required = true)
private Long authId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Vendor")
@com.aliyun.core.annotation.Validation(required = true)
private String vendor;
private DescribeCloudVendorTrialConfigRequest(Builder builder) {
super(builder);
this.authId = builder.authId;
this.vendor = builder.vendor;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudVendorTrialConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return authId
*/
public Long getAuthId() {
return this.authId;
}
/**
* @return vendor
*/
public String getVendor() {
return this.vendor;
}
public static final class Builder extends Request.Builder<DescribeCloudVendorTrialConfigRequest, Builder> {
private Long authId;
private String vendor;
private Builder() {
super();
}
private Builder(DescribeCloudVendorTrialConfigRequest request) {
super(request);
this.authId = request.authId;
this.vendor = request.vendor;
}
/**
* <p>Unique ID of the AK.</p>
* <blockquote>
* <h2>You can call <a href="~~DescribeCloudVendorAccountAKList~~">DescribeCloudVendorAccountAKList</a> to get the AuthId.</h2>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>23**</p>
*/
public Builder authId(Long authId) {
this.putQueryParameter("AuthId", authId);
this.authId = authId;
return this;
}
/**
* <p>Cloud asset vendor. Values:</p>
* <ul>
* <li><strong>Tencent</strong>: Tencent Cloud</li>
* <li><strong>AWS</strong>: Amazon Web Services</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>AWS</p>
*/
public Builder vendor(String vendor) {
this.putQueryParameter("Vendor", vendor);
this.vendor = vendor;
return this;
}
@Override
public DescribeCloudVendorTrialConfigRequest build() {
return new DescribeCloudVendorTrialConfigRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudVendorTrialConfigResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudVendorTrialConfigResponse} extends {@link TeaModel}
*
* <p>DescribeCloudVendorTrialConfigResponse</p>
*/
public class DescribeCloudVendorTrialConfigResponse 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 DescribeCloudVendorTrialConfigResponseBody body;
private DescribeCloudVendorTrialConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCloudVendorTrialConfigResponse 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 DescribeCloudVendorTrialConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCloudVendorTrialConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCloudVendorTrialConfigResponseBody body);
@Override
DescribeCloudVendorTrialConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCloudVendorTrialConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCloudVendorTrialConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCloudVendorTrialConfigResponse 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(DescribeCloudVendorTrialConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCloudVendorTrialConfigResponse build() {
return new DescribeCloudVendorTrialConfigResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCloudVendorTrialConfigResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCloudVendorTrialConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudVendorTrialConfigResponseBody</p>
*/
public class DescribeCloudVendorTrialConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCloudVendorTrialConfigResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCloudVendorTrialConfigResponseBody 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(DescribeCloudVendorTrialConfigResponseBody model) {
this.data = model.data;
this.requestId = model.requestId;
}
/**
* <p>Returned data.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.</p>
*
* <strong>example:</strong>
* <p>43313389-DED8-5BB7-8CB9-F22CDEB7****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCloudVendorTrialConfigResponseBody build() {
return new DescribeCloudVendorTrialConfigResponseBody(this);
}
}
/**
*
* {@link DescribeCloudVendorTrialConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeCloudVendorTrialConfigResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AuthInfo")
private String authInfo;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private Data(Builder builder) {
this.authInfo = builder.authInfo;
this.message = builder.message;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return authInfo
*/
public String getAuthInfo() {
return this.authInfo;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String authInfo;
private String message;
private String status;
private Builder() {
}
private Builder(Data model) {
this.authInfo = model.authInfo;
this.message = model.message;
this.status = model.status;
}
/**
* <p>Multi-cloud configuration information:</p>
* <ul>
* <li><em>AWS</em>: Output parameters sqsQueueName, sqsRegion</li>
* <li><em>Tencent</em>: Output parameters kafkaUserName, kafkaBootstrapServers, kafkaTopic</li>
* </ul>
*
* <strong>example:</strong>
* <p>{"sqsRegion":"us-west-2","sqsQueueName":"****"}</p>
*/
public Builder authInfo(String authInfo) {
this.authInfo = authInfo;
return this;
}
/**
* <p>Error message returned when connection fails.</p>
*
* <strong>example:</strong>
* <p>No relevant queue found</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>The access status of the Trail configuration. Values:</p>
* <ul>
* <li><strong>init</strong>: Initialization in progress</li>
* <li><strong>verify</strong>: Configuration verification in progress</li>
* <li><strong>enable</strong>: Configuration enabled</li>
* <li><strong>disable</strong>: Configuration disabled</li>
* <li><strong>error</strong>: Configuration access error</li>
* <li><strong>timeout</strong>: Configuration access timeout</li>
* </ul>
*
* <strong>example:</strong>
* <p>init</p>
*/
public Builder status(String status) {
this.status = status;
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/DescribeClusterBasicInfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterBasicInfoRequest} extends {@link RequestModel}
*
* <p>DescribeClusterBasicInfoRequest</p>
*/
public class DescribeClusterBasicInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetType")
@com.aliyun.core.annotation.Validation(required = true)
private String targetType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private DescribeClusterBasicInfoRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.targetType = builder.targetType;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterBasicInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<DescribeClusterBasicInfoRequest, Builder> {
private String clusterId;
private String targetType;
private String type;
private Builder() {
super();
}
private Builder(DescribeClusterBasicInfoRequest request) {
super(request);
this.clusterId = request.clusterId;
this.targetType = request.targetType;
this.type = request.type;
}
/**
* <p>The ID of the cluster that you want to query.</p>
* <blockquote>
* <p>You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>c870ec78ecbcb41d2a35c679823ef****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The dimension from which you want to configure the feature. Valid values:</p>
* <ul>
* <li><strong>Cluster</strong>: the ID of the cluster</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Cluster</p>
*/
public Builder targetType(String targetType) {
this.putQueryParameter("TargetType", targetType);
this.targetType = targetType;
return this;
}
/**
* <p>The type of the feature. Valid values:</p>
* <ul>
* <li><strong>containerNetwork</strong>: container network topology</li>
* <li><strong>interceptionSwitch</strong>: cluster microsegmentation</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>containerNetwork</p>
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DescribeClusterBasicInfoRequest build() {
return new DescribeClusterBasicInfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterBasicInfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterBasicInfoResponse} extends {@link TeaModel}
*
* <p>DescribeClusterBasicInfoResponse</p>
*/
public class DescribeClusterBasicInfoResponse 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 DescribeClusterBasicInfoResponseBody body;
private DescribeClusterBasicInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterBasicInfoResponse 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 DescribeClusterBasicInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterBasicInfoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterBasicInfoResponseBody body);
@Override
DescribeClusterBasicInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterBasicInfoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClusterBasicInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterBasicInfoResponse 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(DescribeClusterBasicInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterBasicInfoResponse build() {
return new DescribeClusterBasicInfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterBasicInfoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterBasicInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterBasicInfoResponseBody</p>
*/
public class DescribeClusterBasicInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterInfo")
private ClusterInfo clusterInfo;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClusterBasicInfoResponseBody(Builder builder) {
this.clusterInfo = builder.clusterInfo;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterBasicInfoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterInfo
*/
public ClusterInfo getClusterInfo() {
return this.clusterInfo;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ClusterInfo clusterInfo;
private String requestId;
private Builder() {
}
private Builder(DescribeClusterBasicInfoResponseBody model) {
this.clusterInfo = model.clusterInfo;
this.requestId = model.requestId;
}
/**
* <p>The detailed information about the cluster.</p>
*/
public Builder clusterInfo(ClusterInfo clusterInfo) {
this.clusterInfo = clusterInfo;
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-E3322413BB68</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterBasicInfoResponseBody build() {
return new DescribeClusterBasicInfoResponseBody(this);
}
}
/**
*
* {@link DescribeClusterBasicInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterBasicInfoResponseBody</p>
*/
public static class ClusterInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.NameInMap("ClusterType")
private String clusterType;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("CurrentVersion")
private String currentVersion;
@com.aliyun.core.annotation.NameInMap("InstanceCount")
private Integer instanceCount;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("State")
private String state;
@com.aliyun.core.annotation.NameInMap("TargetResult")
private Boolean targetResult;
private ClusterInfo(Builder builder) {
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.clusterType = builder.clusterType;
this.createTime = builder.createTime;
this.currentVersion = builder.currentVersion;
this.instanceCount = builder.instanceCount;
this.regionId = builder.regionId;
this.state = builder.state;
this.targetResult = builder.targetResult;
}
public static Builder builder() {
return new Builder();
}
public static ClusterInfo create() {
return builder().build();
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return clusterType
*/
public String getClusterType() {
return this.clusterType;
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return currentVersion
*/
public String getCurrentVersion() {
return this.currentVersion;
}
/**
* @return instanceCount
*/
public Integer getInstanceCount() {
return this.instanceCount;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return targetResult
*/
public Boolean getTargetResult() {
return this.targetResult;
}
public static final class Builder {
private String clusterId;
private String clusterName;
private String clusterType;
private Long createTime;
private String currentVersion;
private Integer instanceCount;
private String regionId;
private String state;
private Boolean targetResult;
private Builder() {
}
private Builder(ClusterInfo model) {
this.clusterId = model.clusterId;
this.clusterName = model.clusterName;
this.clusterType = model.clusterType;
this.createTime = model.createTime;
this.currentVersion = model.currentVersion;
this.instanceCount = model.instanceCount;
this.regionId = model.regionId;
this.state = model.state;
this.targetResult = model.targetResult;
}
/**
* <p>The ID of cluster.</p>
*
* <strong>example:</strong>
* <p>c870ec78ecbcb41d2a35c679823ef****</p>
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* <p>The name of the cluster.</p>
*
* <strong>example:</strong>
* <p>testackpro</p>
*/
public Builder clusterName(String clusterName) {
this.clusterName = clusterName;
return this;
}
/**
* <p>The type of the cluster. Valid values:</p>
* <ul>
* <li><strong>ManagedKubernetes</strong>: managed Kubernetes cluster</li>
* <li><strong>NotManagedKubernetes</strong>: non-managed Kubernetes cluster</li>
* <li><strong>PrivateKubernetes</strong>: private cluster</li>
* <li><strong>kubernetes</strong>: dedicated Kubernetes cluster</li>
* <li><strong>ask</strong>: dedicated ASK cluster</li>
* </ul>
*
* <strong>example:</strong>
* <p>kubernetes</p>
*/
public Builder clusterType(String clusterType) {
this.clusterType = clusterType;
return this;
}
/**
* <p>The timestamp when the cluster was created. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1662038134000</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The version of the cluster.</p>
*
* <strong>example:</strong>
* <p>1.22.10-aliyun.1</p>
*/
public Builder currentVersion(String currentVersion) {
this.currentVersion = currentVersion;
return this;
}
/**
* <p>The number of instances in the cluster.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder instanceCount(Integer instanceCount) {
this.instanceCount = instanceCount;
return this;
}
/**
* <p>The ID of the region in which the cluster is deployed.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The status of the cluster. Valid values:</p>
* <ul>
* <li><strong>unavailable</strong></li>
* <li><strong>Available</strong></li>
* <li><strong>Creating</strong></li>
* <li><strong>CreateFailed</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>Available</p>
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* <p>Indicates whether the cluster is enabled. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The cluster is enabled.</li>
* <li><strong>false</strong>: The cluster is disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder targetResult(Boolean targetResult) {
this.targetResult = targetResult;
return this;
}
public ClusterInfo build() {
return new ClusterInfo(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterHostSecuritySummaryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterHostSecuritySummaryRequest} extends {@link RequestModel}
*
* <p>DescribeClusterHostSecuritySummaryRequest</p>
*/
public class DescribeClusterHostSecuritySummaryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerFieldName")
private String containerFieldName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerFieldValue")
private String containerFieldValue;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("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("TargetType")
private String targetType;
private DescribeClusterHostSecuritySummaryRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.containerFieldName = builder.containerFieldName;
this.containerFieldValue = builder.containerFieldValue;
this.resourceOwnerId = builder.resourceOwnerId;
this.sourceIp = builder.sourceIp;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterHostSecuritySummaryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return containerFieldName
*/
public String getContainerFieldName() {
return this.containerFieldName;
}
/**
* @return containerFieldValue
*/
public String getContainerFieldValue() {
return this.containerFieldValue;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder extends Request.Builder<DescribeClusterHostSecuritySummaryRequest, Builder> {
private String clusterId;
private String containerFieldName;
private String containerFieldValue;
private Long resourceOwnerId;
private String sourceIp;
private String targetType;
private Builder() {
super();
}
private Builder(DescribeClusterHostSecuritySummaryRequest request) {
super(request);
this.clusterId = request.clusterId;
this.containerFieldName = request.containerFieldName;
this.containerFieldValue = request.containerFieldValue;
this.resourceOwnerId = request.resourceOwnerId;
this.sourceIp = request.sourceIp;
this.targetType = request.targetType;
}
/**
* <p>The ID of the container cluster.</p>
*
* <strong>example:</strong>
* <p>c3aaf6c8085f84791882eef200cd2****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The key of the condition that is used to query containers. Valid values:</p>
* <ul>
* <li><strong>instanceId</strong>: the instance ID</li>
* <li><strong>appName</strong>: the name of the application</li>
* <li><strong>clusterId</strong>: the ID of the cluster</li>
* <li><strong>regionId</strong>: the region ID</li>
* <li><strong>nodeName</strong>: the name of the node</li>
* <li><strong>namespace</strong>: the namespace</li>
* <li><strong>clusterName</strong>: the name of the cluster</li>
* <li><strong>image</strong>: the name of the image</li>
* <li><strong>imageRepoName</strong>: the name of the image repository</li>
* <li><strong>imageRepoNamespace</strong>: the namespace to which the image repository belongs</li>
* <li><strong>imageRepoTag</strong>: the tag that is added to the image repository</li>
* <li><strong>imageDigest</strong>: the digest of the image</li>
* </ul>
*
* <strong>example:</strong>
* <p>clusterId</p>
*/
public Builder containerFieldName(String containerFieldName) {
this.putQueryParameter("ContainerFieldName", containerFieldName);
this.containerFieldName = containerFieldName;
return this;
}
/**
* <p>The value of the condition that is used to query containers.</p>
*
* <strong>example:</strong>
* <p>c1fdb5fd8d42e425d88fd73eec7be****</p>
*/
public Builder containerFieldValue(String containerFieldValue) {
this.putQueryParameter("ContainerFieldValue", containerFieldValue);
this.containerFieldValue = containerFieldValue;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The source IP address.</p>
*
* <strong>example:</strong>
* <p>222.71.XXX.XXX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
/**
* <p>The type of the query. Valid values:</p>
* <ul>
* <li><strong>containerId</strong></li>
* <li><strong>uuid</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>uuid</p>
*/
public Builder targetType(String targetType) {
this.putQueryParameter("TargetType", targetType);
this.targetType = targetType;
return this;
}
@Override
public DescribeClusterHostSecuritySummaryRequest build() {
return new DescribeClusterHostSecuritySummaryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterHostSecuritySummaryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterHostSecuritySummaryResponse} extends {@link TeaModel}
*
* <p>DescribeClusterHostSecuritySummaryResponse</p>
*/
public class DescribeClusterHostSecuritySummaryResponse 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 DescribeClusterHostSecuritySummaryResponseBody body;
private DescribeClusterHostSecuritySummaryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterHostSecuritySummaryResponse 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 DescribeClusterHostSecuritySummaryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterHostSecuritySummaryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterHostSecuritySummaryResponseBody body);
@Override
DescribeClusterHostSecuritySummaryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterHostSecuritySummaryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClusterHostSecuritySummaryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterHostSecuritySummaryResponse 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(DescribeClusterHostSecuritySummaryResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterHostSecuritySummaryResponse build() {
return new DescribeClusterHostSecuritySummaryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterHostSecuritySummaryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterHostSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterHostSecuritySummaryResponseBody</p>
*/
public class DescribeClusterHostSecuritySummaryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterHostEvent")
private ClusterHostEvent clusterHostEvent;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClusterHostSecuritySummaryResponseBody(Builder builder) {
this.clusterHostEvent = builder.clusterHostEvent;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterHostSecuritySummaryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterHostEvent
*/
public ClusterHostEvent getClusterHostEvent() {
return this.clusterHostEvent;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ClusterHostEvent clusterHostEvent;
private String requestId;
private Builder() {
}
private Builder(DescribeClusterHostSecuritySummaryResponseBody model) {
this.clusterHostEvent = model.clusterHostEvent;
this.requestId = model.requestId;
}
/**
* <p>The alert details of the hosts.</p>
*/
public Builder clusterHostEvent(ClusterHostEvent clusterHostEvent) {
this.clusterHostEvent = clusterHostEvent;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0B48AB3C-84FC-424D-A01D-B9270EF4****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterHostSecuritySummaryResponseBody build() {
return new DescribeClusterHostSecuritySummaryResponseBody(this);
}
}
/**
*
* {@link DescribeClusterHostSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterHostSecuritySummaryResponseBody</p>
*/
public static class AlarmEvent extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private AlarmEvent(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static AlarmEvent create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(AlarmEvent model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of alerts.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The alert level. Valid values:</p>
* <ul>
* <li><strong>serious</strong></li>
* <li><strong>suspicious</strong></li>
* <li><strong>remind</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>remind</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public AlarmEvent build() {
return new AlarmEvent(this);
}
}
}
/**
*
* {@link DescribeClusterHostSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterHostSecuritySummaryResponseBody</p>
*/
public static class BaselineEvent extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private BaselineEvent(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static BaselineEvent create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(BaselineEvent model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of baselines.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The risk level of the baseline. Valid values:</p>
* <ul>
* <li><strong>high</strong></li>
* <li><strong>medium</strong></li>
* <li><strong>low</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>medium</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public BaselineEvent build() {
return new BaselineEvent(this);
}
}
}
/**
*
* {@link DescribeClusterHostSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterHostSecuritySummaryResponseBody</p>
*/
public static class VulEvent extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private VulEvent(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static VulEvent create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(VulEvent model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of vulnerabilities.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The risk level of the vulnerability. Valid values:</p>
* <ul>
* <li><strong>asap</strong>: high. You must fix the vulnerability at the earliest opportunity.</li>
* <li><strong>nntf</strong>: medium. You can fix the vulnerability based on your business requirements.</li>
* <li><strong>later</strong>: low. You can ignore the vulnerability.</li>
* </ul>
*
* <strong>example:</strong>
* <p>later</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public VulEvent build() {
return new VulEvent(this);
}
}
}
/**
*
* {@link DescribeClusterHostSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterHostSecuritySummaryResponseBody</p>
*/
public static class ClusterHostEvent extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AlarmEvent")
private java.util.List<AlarmEvent> alarmEvent;
@com.aliyun.core.annotation.NameInMap("BaselineEvent")
private java.util.List<BaselineEvent> baselineEvent;
@com.aliyun.core.annotation.NameInMap("VulEvent")
private java.util.List<VulEvent> vulEvent;
private ClusterHostEvent(Builder builder) {
this.alarmEvent = builder.alarmEvent;
this.baselineEvent = builder.baselineEvent;
this.vulEvent = builder.vulEvent;
}
public static Builder builder() {
return new Builder();
}
public static ClusterHostEvent create() {
return builder().build();
}
/**
* @return alarmEvent
*/
public java.util.List<AlarmEvent> getAlarmEvent() {
return this.alarmEvent;
}
/**
* @return baselineEvent
*/
public java.util.List<BaselineEvent> getBaselineEvent() {
return this.baselineEvent;
}
/**
* @return vulEvent
*/
public java.util.List<VulEvent> getVulEvent() {
return this.vulEvent;
}
public static final class Builder {
private java.util.List<AlarmEvent> alarmEvent;
private java.util.List<BaselineEvent> baselineEvent;
private java.util.List<VulEvent> vulEvent;
private Builder() {
}
private Builder(ClusterHostEvent model) {
this.alarmEvent = model.alarmEvent;
this.baselineEvent = model.baselineEvent;
this.vulEvent = model.vulEvent;
}
/**
* <p>The alert details of the host.</p>
*/
public Builder alarmEvent(java.util.List<AlarmEvent> alarmEvent) {
this.alarmEvent = alarmEvent;
return this;
}
/**
* <p>The baseline details of the host.</p>
*/
public Builder baselineEvent(java.util.List<BaselineEvent> baselineEvent) {
this.baselineEvent = baselineEvent;
return this;
}
/**
* <p>The vulnerability details of the host.</p>
*/
public Builder vulEvent(java.util.List<VulEvent> vulEvent) {
this.vulEvent = vulEvent;
return this;
}
public ClusterHostEvent build() {
return new ClusterHostEvent(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterImageSecuritySummaryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterImageSecuritySummaryRequest} extends {@link RequestModel}
*
* <p>DescribeClusterImageSecuritySummaryRequest</p>
*/
public class DescribeClusterImageSecuritySummaryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerFieldName")
private String containerFieldName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ContainerFieldValue")
private String containerFieldValue;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageDigest")
private String imageDigest;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageRepoName")
private String imageRepoName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageRepoNamespace")
private String imageRepoNamespace;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageTag")
private String imageTag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
private DescribeClusterImageSecuritySummaryRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.containerFieldName = builder.containerFieldName;
this.containerFieldValue = builder.containerFieldValue;
this.imageDigest = builder.imageDigest;
this.imageRepoName = builder.imageRepoName;
this.imageRepoNamespace = builder.imageRepoNamespace;
this.imageTag = builder.imageTag;
this.resourceOwnerId = builder.resourceOwnerId;
this.sourceIp = builder.sourceIp;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterImageSecuritySummaryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return containerFieldName
*/
public String getContainerFieldName() {
return this.containerFieldName;
}
/**
* @return containerFieldValue
*/
public String getContainerFieldValue() {
return this.containerFieldValue;
}
/**
* @return imageDigest
*/
public String getImageDigest() {
return this.imageDigest;
}
/**
* @return imageRepoName
*/
public String getImageRepoName() {
return this.imageRepoName;
}
/**
* @return imageRepoNamespace
*/
public String getImageRepoNamespace() {
return this.imageRepoNamespace;
}
/**
* @return imageTag
*/
public String getImageTag() {
return this.imageTag;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
public static final class Builder extends Request.Builder<DescribeClusterImageSecuritySummaryRequest, Builder> {
private String clusterId;
private String containerFieldName;
private String containerFieldValue;
private String imageDigest;
private String imageRepoName;
private String imageRepoNamespace;
private String imageTag;
private Long resourceOwnerId;
private String sourceIp;
private Builder() {
super();
}
private Builder(DescribeClusterImageSecuritySummaryRequest request) {
super(request);
this.clusterId = request.clusterId;
this.containerFieldName = request.containerFieldName;
this.containerFieldValue = request.containerFieldValue;
this.imageDigest = request.imageDigest;
this.imageRepoName = request.imageRepoName;
this.imageRepoNamespace = request.imageRepoNamespace;
this.imageTag = request.imageTag;
this.resourceOwnerId = request.resourceOwnerId;
this.sourceIp = request.sourceIp;
}
/**
* <p>The ID of the cluster.</p>
*
* <strong>example:</strong>
* <p>c3aaf6c8085f84791882eef200cd2****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The key of the condition that is used to query containers. Valid values:</p>
* <ul>
* <li><strong>instanceId</strong>: the instance ID of the container</li>
* <li><strong>clusterId</strong>: the ID of the cluster</li>
* <li><strong>regionId</strong>: the region ID of the container</li>
* <li><strong>clusterName</strong>: the name of the cluster</li>
* <li><strong>image</strong>: the name of the image</li>
* <li><strong>imageRepoName</strong>: the name of the image repository</li>
* <li><strong>imageRepoNamespace</strong>: the namespace to which the image repository belongs</li>
* <li><strong>imageRepoTag</strong>: the tag that is added to the image repository</li>
* <li><strong>imageDigest</strong>: the digest of the image</li>
* <li><strong>clusterType</strong>: the type of the cluster</li>
* <li><strong>hostIp</strong>: the public IP address</li>
* <li><strong>pod</strong>: the pod</li>
* <li><strong>podIp</strong>: the IP address of the pod</li>
* <li><strong>containerId</strong>: the ID of the container</li>
* <li><strong>vulStatus</strong>: whether vulnerabilities are detected on the container</li>
* <li><strong>alarmStatus</strong>: whether alerts are generated for the container</li>
* <li><strong>riskStatus</strong>: whether risks are detected on the container</li>
* <li><strong>riskLevel</strong>: the risk level of the container</li>
* <li><strong>containerScope</strong>: the type of the container</li>
* </ul>
*
* <strong>example:</strong>
* <p>clusterId</p>
*/
public Builder containerFieldName(String containerFieldName) {
this.putQueryParameter("ContainerFieldName", containerFieldName);
this.containerFieldName = containerFieldName;
return this;
}
/**
* <p>The value of the condition that is used to query containers.</p>
*
* <strong>example:</strong>
* <p>c2ac28b2d0c734df29a21d29f18ac****</p>
*/
public Builder containerFieldValue(String containerFieldValue) {
this.putQueryParameter("ContainerFieldValue", containerFieldValue);
this.containerFieldValue = containerFieldValue;
return this;
}
/**
* <p>The digest of the image.</p>
*
* <strong>example:</strong>
* <p>402902de6480a020b9f29e7105e77b8a218bc1cccbc3935d3b38c8ea9ba2****</p>
*/
public Builder imageDigest(String imageDigest) {
this.putQueryParameter("ImageDigest", imageDigest);
this.imageDigest = imageDigest;
return this;
}
/**
* <p>The name of the image repository.</p>
*
* <strong>example:</strong>
* <p>repo</p>
*/
public Builder imageRepoName(String imageRepoName) {
this.putQueryParameter("ImageRepoName", imageRepoName);
this.imageRepoName = imageRepoName;
return this;
}
/**
* <p>The namespace of the image repository.</p>
*
* <strong>example:</strong>
* <p>namespace</p>
*/
public Builder imageRepoNamespace(String imageRepoNamespace) {
this.putQueryParameter("ImageRepoNamespace", imageRepoNamespace);
this.imageRepoNamespace = imageRepoNamespace;
return this;
}
/**
* <p>The tag of the image.</p>
*
* <strong>example:</strong>
* <p>3.54.0.1</p>
*/
public Builder imageTag(String imageTag) {
this.putQueryParameter("ImageTag", imageTag);
this.imageTag = imageTag;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The source IP address.</p>
*
* <strong>example:</strong>
* <p>60.190.XXX.XXX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
@Override
public DescribeClusterImageSecuritySummaryRequest build() {
return new DescribeClusterImageSecuritySummaryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterImageSecuritySummaryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterImageSecuritySummaryResponse} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponse</p>
*/
public class DescribeClusterImageSecuritySummaryResponse 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 DescribeClusterImageSecuritySummaryResponseBody body;
private DescribeClusterImageSecuritySummaryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterImageSecuritySummaryResponse 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 DescribeClusterImageSecuritySummaryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterImageSecuritySummaryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterImageSecuritySummaryResponseBody body);
@Override
DescribeClusterImageSecuritySummaryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterImageSecuritySummaryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClusterImageSecuritySummaryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterImageSecuritySummaryResponse 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(DescribeClusterImageSecuritySummaryResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterImageSecuritySummaryResponse build() {
return new DescribeClusterImageSecuritySummaryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterImageSecuritySummaryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterImageSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponseBody</p>
*/
public class DescribeClusterImageSecuritySummaryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterImageEvent")
private ClusterImageEvent clusterImageEvent;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClusterImageSecuritySummaryResponseBody(Builder builder) {
this.clusterImageEvent = builder.clusterImageEvent;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterImageSecuritySummaryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterImageEvent
*/
public ClusterImageEvent getClusterImageEvent() {
return this.clusterImageEvent;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ClusterImageEvent clusterImageEvent;
private String requestId;
private Builder() {
}
private Builder(DescribeClusterImageSecuritySummaryResponseBody model) {
this.clusterImageEvent = model.clusterImageEvent;
this.requestId = model.requestId;
}
/**
* <p>The information about the image-related security events.</p>
*/
public Builder clusterImageEvent(ClusterImageEvent clusterImageEvent) {
this.clusterImageEvent = clusterImageEvent;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterImageSecuritySummaryResponseBody build() {
return new DescribeClusterImageSecuritySummaryResponseBody(this);
}
}
/**
*
* {@link DescribeClusterImageSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponseBody</p>
*/
public static class ImageBaseline extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private ImageBaseline(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static ImageBaseline create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(ImageBaseline model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of baselines.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The risk level. Valid values:</p>
* <ul>
* <li><strong>high</strong></li>
* <li><strong>medium</strong></li>
* <li><strong>low</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>medium</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public ImageBaseline build() {
return new ImageBaseline(this);
}
}
}
/**
*
* {@link DescribeClusterImageSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponseBody</p>
*/
public static class ImageCveVul extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private ImageCveVul(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static ImageCveVul create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(ImageCveVul model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of vulnerabilities.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The alert level. Valid values:</p>
* <ul>
* <li><strong>asap</strong>: high. You must fix the vulnerability at the earliest opportunity.</li>
* <li><strong>nntf</strong>: medium. You can fix the vulnerability based on your business requirements.</li>
* <li><strong>later</strong>: low. You can ignore the vulnerability.</li>
* </ul>
*
* <strong>example:</strong>
* <p>later</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public ImageCveVul build() {
return new ImageCveVul(this);
}
}
}
/**
*
* {@link DescribeClusterImageSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponseBody</p>
*/
public static class ImageMaliciousFile extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private ImageMaliciousFile(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static ImageMaliciousFile create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(ImageMaliciousFile model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of malicious samples.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The risk level. Valid values:</p>
* <ul>
* <li><strong>high</strong></li>
* <li><strong>medium</strong></li>
* <li><strong>low</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>medium</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public ImageMaliciousFile build() {
return new ImageMaliciousFile(this);
}
}
}
/**
*
* {@link DescribeClusterImageSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponseBody</p>
*/
public static class ImageScaVul extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
private ImageScaVul(Builder builder) {
this.count = builder.count;
this.riskLevel = builder.riskLevel;
}
public static Builder builder() {
return new Builder();
}
public static ImageScaVul create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
public static final class Builder {
private Long count;
private String riskLevel;
private Builder() {
}
private Builder(ImageScaVul model) {
this.count = model.count;
this.riskLevel = model.riskLevel;
}
/**
* <p>The number of image application vulnerabilities.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The alert level. Valid values:</p>
* <ul>
* <li><strong>asap</strong>: high. You must fix the vulnerability at the earliest opportunity.</li>
* <li><strong>nntf</strong>: medium. You can fix the vulnerability based on your business requirements.</li>
* <li><strong>later</strong>: low. You can ignore the vulnerability.</li>
* </ul>
*
* <strong>example:</strong>
* <p>later</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
public ImageScaVul build() {
return new ImageScaVul(this);
}
}
}
/**
*
* {@link DescribeClusterImageSecuritySummaryResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterImageSecuritySummaryResponseBody</p>
*/
public static class ClusterImageEvent extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ImageBaseline")
private java.util.List<ImageBaseline> imageBaseline;
@com.aliyun.core.annotation.NameInMap("ImageCveVul")
private java.util.List<ImageCveVul> imageCveVul;
@com.aliyun.core.annotation.NameInMap("ImageMaliciousFile")
private java.util.List<ImageMaliciousFile> imageMaliciousFile;
@com.aliyun.core.annotation.NameInMap("ImageScaVul")
private java.util.List<ImageScaVul> imageScaVul;
private ClusterImageEvent(Builder builder) {
this.imageBaseline = builder.imageBaseline;
this.imageCveVul = builder.imageCveVul;
this.imageMaliciousFile = builder.imageMaliciousFile;
this.imageScaVul = builder.imageScaVul;
}
public static Builder builder() {
return new Builder();
}
public static ClusterImageEvent create() {
return builder().build();
}
/**
* @return imageBaseline
*/
public java.util.List<ImageBaseline> getImageBaseline() {
return this.imageBaseline;
}
/**
* @return imageCveVul
*/
public java.util.List<ImageCveVul> getImageCveVul() {
return this.imageCveVul;
}
/**
* @return imageMaliciousFile
*/
public java.util.List<ImageMaliciousFile> getImageMaliciousFile() {
return this.imageMaliciousFile;
}
/**
* @return imageScaVul
*/
public java.util.List<ImageScaVul> getImageScaVul() {
return this.imageScaVul;
}
public static final class Builder {
private java.util.List<ImageBaseline> imageBaseline;
private java.util.List<ImageCveVul> imageCveVul;
private java.util.List<ImageMaliciousFile> imageMaliciousFile;
private java.util.List<ImageScaVul> imageScaVul;
private Builder() {
}
private Builder(ClusterImageEvent model) {
this.imageBaseline = model.imageBaseline;
this.imageCveVul = model.imageCveVul;
this.imageMaliciousFile = model.imageMaliciousFile;
this.imageScaVul = model.imageScaVul;
}
/**
* <p>The information about image baseline risks.</p>
*/
public Builder imageBaseline(java.util.List<ImageBaseline> imageBaseline) {
this.imageBaseline = imageBaseline;
return this;
}
/**
* <p>The information about image system vulnerabilities.</p>
*/
public Builder imageCveVul(java.util.List<ImageCveVul> imageCveVul) {
this.imageCveVul = imageCveVul;
return this;
}
/**
* <p>The information about malicious image samples.</p>
*/
public Builder imageMaliciousFile(java.util.List<ImageMaliciousFile> imageMaliciousFile) {
this.imageMaliciousFile = imageMaliciousFile;
return this;
}
/**
* <p>The information about image application vulnerabilities.</p>
*/
public Builder imageScaVul(java.util.List<ImageScaVul> imageScaVul) {
this.imageScaVul = imageScaVul;
return this;
}
public ClusterImageEvent build() {
return new ClusterImageEvent(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterInfoListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterInfoListRequest} extends {@link RequestModel}
*
* <p>DescribeClusterInfoListRequest</p>
*/
public class DescribeClusterInfoListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Target")
private String target;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetType")
@com.aliyun.core.annotation.Validation(required = true)
private String targetType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private DescribeClusterInfoListRequest(Builder builder) {
super(builder);
this.target = builder.target;
this.targetType = builder.targetType;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterInfoListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return target
*/
public String getTarget() {
return this.target;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<DescribeClusterInfoListRequest, Builder> {
private String target;
private String targetType;
private String type;
private Builder() {
super();
}
private Builder(DescribeClusterInfoListRequest request) {
super(request);
this.target = request.target;
this.targetType = request.targetType;
this.type = request.type;
}
/**
* <p>The operation value. The value specifies the ID of the cluster.</p>
*
* <strong>example:</strong>
* <p>c23551de6149343e8a54e69fbefe6****</p>
*/
public Builder target(String target) {
this.putQueryParameter("Target", target);
this.target = target;
return this;
}
/**
* <p>The dimension based on which you want to configure the feature. Valid values:</p>
* <ul>
* <li><strong>Cluster</strong>: the ID of the cluster</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Cluster</p>
*/
public Builder targetType(String targetType) {
this.putQueryParameter("TargetType", targetType);
this.targetType = targetType;
return this;
}
/**
* <p>The type of the feature. Valid values:</p>
* <ul>
* <li><strong>containerNetwork</strong>: container network</li>
* <li><strong>interceptionSwitch</strong>: cluster microsegmentation</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>containerNetwork</p>
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DescribeClusterInfoListRequest build() {
return new DescribeClusterInfoListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterInfoListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterInfoListResponse} extends {@link TeaModel}
*
* <p>DescribeClusterInfoListResponse</p>
*/
public class DescribeClusterInfoListResponse 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 DescribeClusterInfoListResponseBody body;
private DescribeClusterInfoListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterInfoListResponse 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 DescribeClusterInfoListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterInfoListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterInfoListResponseBody body);
@Override
DescribeClusterInfoListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterInfoListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClusterInfoListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterInfoListResponse 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(DescribeClusterInfoListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterInfoListResponse build() {
return new DescribeClusterInfoListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterInfoListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterInfoListResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterInfoListResponseBody</p>
*/
public class DescribeClusterInfoListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterList")
private java.util.List<ClusterList> clusterList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClusterInfoListResponseBody(Builder builder) {
this.clusterList = builder.clusterList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterInfoListResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterList
*/
public java.util.List<ClusterList> getClusterList() {
return this.clusterList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<ClusterList> clusterList;
private String requestId;
private Builder() {
}
private Builder(DescribeClusterInfoListResponseBody model) {
this.clusterList = model.clusterList;
this.requestId = model.requestId;
}
/**
* <p>An array that consists of the information about clusters.</p>
*/
public Builder clusterList(java.util.List<ClusterList> clusterList) {
this.clusterList = clusterList;
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 DescribeClusterInfoListResponseBody build() {
return new DescribeClusterInfoListResponseBody(this);
}
}
/**
*
* {@link DescribeClusterInfoListResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterInfoListResponseBody</p>
*/
public static class ClusterList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.NameInMap("ClusterType")
private String clusterType;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("State")
private String state;
@com.aliyun.core.annotation.NameInMap("TargetResult")
private Boolean targetResult;
private ClusterList(Builder builder) {
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.clusterType = builder.clusterType;
this.regionId = builder.regionId;
this.state = builder.state;
this.targetResult = builder.targetResult;
}
public static Builder builder() {
return new Builder();
}
public static ClusterList create() {
return builder().build();
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return clusterType
*/
public String getClusterType() {
return this.clusterType;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return targetResult
*/
public Boolean getTargetResult() {
return this.targetResult;
}
public static final class Builder {
private String clusterId;
private String clusterName;
private String clusterType;
private String regionId;
private String state;
private Boolean targetResult;
private Builder() {
}
private Builder(ClusterList model) {
this.clusterId = model.clusterId;
this.clusterName = model.clusterName;
this.clusterType = model.clusterType;
this.regionId = model.regionId;
this.state = model.state;
this.targetResult = model.targetResult;
}
/**
* <p>The ID of the container cluster.</p>
*
* <strong>example:</strong>
* <p>cfeb7a9f99ce740e98c5595d0fe37****</p>
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* <p>The name of the container cluster.</p>
*
* <strong>example:</strong>
* <p>test111</p>
*/
public Builder clusterName(String clusterName) {
this.clusterName = clusterName;
return this;
}
/**
* <p>The type of the cluster. Valid values:</p>
* <ul>
* <li><strong>ManagedKubernetes</strong>: managed Kubernetes cluster.</li>
* <li><strong>NotManagedKubernetes</strong>: non-managed Kubernetes cluster.</li>
* <li><strong>PrivateKubernetes</strong>: private cluster.</li>
* <li><strong>kubernetes</strong>: dedicated Kubernetes cluster.</li>
* <li><strong>ask</strong>: dedicated serverless Kubernetes (ASK) cluster.</li>
* </ul>
*
* <strong>example:</strong>
* <p>ManagedKubernetes</p>
*/
public Builder clusterType(String clusterType) {
this.clusterType = clusterType;
return this;
}
/**
* <p>The region in which the cluster resides.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The status of the cluster. Valid values:</p>
* <ul>
* <li><strong>unavailable</strong>: The cluster is unavailable.</li>
* <li><strong>Available</strong>: The cluster is available.</li>
* <li><strong>Creating</strong>: The cluster is being created.</li>
* <li><strong>CreateFailed</strong>: The cluster failed to be created.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Available</p>
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* <p>Indicates whether container network topology was enabled. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder targetResult(Boolean targetResult) {
this.targetResult = targetResult;
return this;
}
public ClusterList build() {
return new ClusterList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterNetworkRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterNetworkRequest} extends {@link RequestModel}
*
* <p>DescribeClusterNetworkRequest</p>
*/
public class DescribeClusterNetworkRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
@com.aliyun.core.annotation.Validation(required = true)
private Long endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
@com.aliyun.core.annotation.Validation(required = true)
private Long startTime;
private DescribeClusterNetworkRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterNetworkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<DescribeClusterNetworkRequest, Builder> {
private Long endTime;
private Long startTime;
private Builder() {
super();
}
private Builder(DescribeClusterNetworkRequest request) {
super(request);
this.endTime = request.endTime;
this.startTime = request.startTime;
}
/**
* <p>The end timestamp of the query. Unit: milliseconds.</p>
* <blockquote>
* <p>The days between the start timestamp and the end timestamp cannot exceed <strong>seven</strong> days.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1656038940435</p>
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The start timestamp of the query. Unit: milliseconds.</p>
* <blockquote>
* <p>The days between the start timestamp and the end timestamp cannot exceed <strong>seven</strong> days.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1656038740435</p>
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeClusterNetworkRequest build() {
return new DescribeClusterNetworkRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterNetworkResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterNetworkResponse} extends {@link TeaModel}
*
* <p>DescribeClusterNetworkResponse</p>
*/
public class DescribeClusterNetworkResponse 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 DescribeClusterNetworkResponseBody body;
private DescribeClusterNetworkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterNetworkResponse 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 DescribeClusterNetworkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterNetworkResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterNetworkResponseBody body);
@Override
DescribeClusterNetworkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterNetworkResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClusterNetworkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterNetworkResponse 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(DescribeClusterNetworkResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterNetworkResponse build() {
return new DescribeClusterNetworkResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterNetworkResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterNetworkResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterNetworkResponseBody</p>
*/
public class DescribeClusterNetworkResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterNetwork")
private ClusterNetwork clusterNetwork;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClusterNetworkResponseBody(Builder builder) {
this.clusterNetwork = builder.clusterNetwork;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterNetworkResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterNetwork
*/
public ClusterNetwork getClusterNetwork() {
return this.clusterNetwork;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ClusterNetwork clusterNetwork;
private String requestId;
private Builder() {
}
private Builder(DescribeClusterNetworkResponseBody model) {
this.clusterNetwork = model.clusterNetwork;
this.requestId = model.requestId;
}
/**
* <p>Information about the network topology edge in the cluster.</p>
*/
public Builder clusterNetwork(ClusterNetwork clusterNetwork) {
this.clusterNetwork = clusterNetwork;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>C286491D-4A2F-589A-B63B-D2AD3DA9BD71</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterNetworkResponseBody build() {
return new DescribeClusterNetworkResponseBody(this);
}
}
/**
*
* {@link DescribeClusterNetworkResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterNetworkResponseBody</p>
*/
public static class Edge extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DstNodeId")
private String dstNodeId;
@com.aliyun.core.annotation.NameInMap("DstNodeType")
private String dstNodeType;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("Port")
private String port;
@com.aliyun.core.annotation.NameInMap("SrcNodeId")
private String srcNodeId;
@com.aliyun.core.annotation.NameInMap("SrcNodeType")
private String srcNodeType;
private Edge(Builder builder) {
this.dstNodeId = builder.dstNodeId;
this.dstNodeType = builder.dstNodeType;
this.id = builder.id;
this.port = builder.port;
this.srcNodeId = builder.srcNodeId;
this.srcNodeType = builder.srcNodeType;
}
public static Builder builder() {
return new Builder();
}
public static Edge create() {
return builder().build();
}
/**
* @return dstNodeId
*/
public String getDstNodeId() {
return this.dstNodeId;
}
/**
* @return dstNodeType
*/
public String getDstNodeType() {
return this.dstNodeType;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return port
*/
public String getPort() {
return this.port;
}
/**
* @return srcNodeId
*/
public String getSrcNodeId() {
return this.srcNodeId;
}
/**
* @return srcNodeType
*/
public String getSrcNodeType() {
return this.srcNodeType;
}
public static final class Builder {
private String dstNodeId;
private String dstNodeType;
private String id;
private String port;
private String srcNodeId;
private String srcNodeType;
private Builder() {
}
private Builder(Edge model) {
this.dstNodeId = model.dstNodeId;
this.dstNodeType = model.dstNodeType;
this.id = model.id;
this.port = model.port;
this.srcNodeId = model.srcNodeId;
this.srcNodeType = model.srcNodeType;
}
/**
* <p>The ID of the destination node.</p>
*
* <strong>example:</strong>
* <p>cfb41a869c71e4678a97021582dd8****</p>
*/
public Builder dstNodeId(String dstNodeId) {
this.dstNodeId = dstNodeId;
return this;
}
/**
* <p>The type of the destination node. Valid values:</p>
* <ul>
* <li>Set the value to <strong>cluster</strong>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>cluster</p>
*/
public Builder dstNodeType(String dstNodeType) {
this.dstNodeType = dstNodeType;
return this;
}
/**
* <p>The ID of the topology edge.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* <p>The port number of the topology edge.</p>
*
* <strong>example:</strong>
* <p>6164</p>
*/
public Builder port(String port) {
this.port = port;
return this;
}
/**
* <p>The ID of the source node.</p>
*
* <strong>example:</strong>
* <p>cfb41a869c71e4678a97021582dd8****</p>
*/
public Builder srcNodeId(String srcNodeId) {
this.srcNodeId = srcNodeId;
return this;
}
/**
* <p>The type of the source node. Valid values:</p>
* <ul>
* <li><strong>cluster</strong>: a cluster.</li>
* <li><strong>internet</strong>: a network node outside the cluster</li>
* </ul>
*
* <strong>example:</strong>
* <p>cluster</p>
*/
public Builder srcNodeType(String srcNodeType) {
this.srcNodeType = srcNodeType;
return this;
}
public Edge build() {
return new Edge(this);
}
}
}
/**
*
* {@link DescribeClusterNetworkResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterNetworkResponseBody</p>
*/
public static class Node extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CnnfSwitch")
private Integer cnnfSwitch;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("InterceptionType")
private Integer interceptionType;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("NetTopoSwitch")
private String netTopoSwitch;
@com.aliyun.core.annotation.NameInMap("RiskLevel")
private String riskLevel;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Node(Builder builder) {
this.cnnfSwitch = builder.cnnfSwitch;
this.id = builder.id;
this.interceptionType = builder.interceptionType;
this.name = builder.name;
this.netTopoSwitch = builder.netTopoSwitch;
this.riskLevel = builder.riskLevel;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Node create() {
return builder().build();
}
/**
* @return cnnfSwitch
*/
public Integer getCnnfSwitch() {
return this.cnnfSwitch;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return interceptionType
*/
public Integer getInterceptionType() {
return this.interceptionType;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return netTopoSwitch
*/
public String getNetTopoSwitch() {
return this.netTopoSwitch;
}
/**
* @return riskLevel
*/
public String getRiskLevel() {
return this.riskLevel;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private Integer cnnfSwitch;
private String id;
private Integer interceptionType;
private String name;
private String netTopoSwitch;
private String riskLevel;
private String type;
private Builder() {
}
private Builder(Node model) {
this.cnnfSwitch = model.cnnfSwitch;
this.id = model.id;
this.interceptionType = model.interceptionType;
this.name = model.name;
this.netTopoSwitch = model.netTopoSwitch;
this.riskLevel = model.riskLevel;
this.type = model.type;
}
/**
* <p>The status of the microsegmentation switch. Valid values:</p>
* <ul>
* <li><strong>0</strong>: off.</li>
* <li><strong>1</strong>: on.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder cnnfSwitch(Integer cnnfSwitch) {
this.cnnfSwitch = cnnfSwitch;
return this;
}
/**
* <p>The ID of the node.</p>
*
* <strong>example:</strong>
* <p>cfeb7a9f99ce740e98c5595d0fe37****</p>
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* <p>The network type. Valid values:</p>
* <ul>
* <li><strong>0</strong>: classic network.</li>
* <li><strong>1</strong>: virtual private cloud (VPC).</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder interceptionType(Integer interceptionType) {
this.interceptionType = interceptionType;
return this;
}
/**
* <p>The name of the node.</p>
*
* <strong>example:</strong>
* <p>testwww</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the network topology switch. Valid values:</p>
* <ul>
* <li><strong>ON</strong></li>
* <li><strong>OFF</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>ON</p>
*/
public Builder netTopoSwitch(String netTopoSwitch) {
this.netTopoSwitch = netTopoSwitch;
return this;
}
/**
* <p>The risk level. Valid values:</p>
* <ul>
* <li><strong>3</strong>: high.</li>
* <li><strong>2</strong>: medium.</li>
* <li><strong>1</strong>: low.</li>
* <li><strong>0</strong>: secure.</li>
* <li><strong>-1</strong>: unknown.</li>
* </ul>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder riskLevel(String riskLevel) {
this.riskLevel = riskLevel;
return this;
}
/**
* <p>The type of the node. Valid values:</p>
* <ul>
* <li><strong>cluster</strong>: a cluster.</li>
* <li><strong>internet</strong>: a network node outside the cluster.</li>
* </ul>
*
* <strong>example:</strong>
* <p>cluster</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Node build() {
return new Node(this);
}
}
}
/**
*
* {@link DescribeClusterNetworkResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterNetworkResponseBody</p>
*/
public static class ClusterNetwork extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Edge")
private java.util.List<Edge> edge;
@com.aliyun.core.annotation.NameInMap("Node")
private java.util.List<Node> node;
private ClusterNetwork(Builder builder) {
this.edge = builder.edge;
this.node = builder.node;
}
public static Builder builder() {
return new Builder();
}
public static ClusterNetwork create() {
return builder().build();
}
/**
* @return edge
*/
public java.util.List<Edge> getEdge() {
return this.edge;
}
/**
* @return node
*/
public java.util.List<Node> getNode() {
return this.node;
}
public static final class Builder {
private java.util.List<Edge> edge;
private java.util.List<Node> node;
private Builder() {
}
private Builder(ClusterNetwork model) {
this.edge = model.edge;
this.node = model.node;
}
/**
* <p>An array that consists of information about the topology edge.</p>
*/
public Builder edge(java.util.List<Edge> edge) {
this.edge = edge;
return this;
}
/**
* <p>An array that consists of information about the node.</p>
*/
public Builder node(java.util.List<Node> node) {
this.node = node;
return this;
}
public ClusterNetwork build() {
return new ClusterNetwork(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterVulStatisticsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterVulStatisticsRequest} extends {@link RequestModel}
*
* <p>DescribeClusterVulStatisticsRequest</p>
*/
public class DescribeClusterVulStatisticsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Types")
private String types;
private DescribeClusterVulStatisticsRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.types = builder.types;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterVulStatisticsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return types
*/
public String getTypes() {
return this.types;
}
public static final class Builder extends Request.Builder<DescribeClusterVulStatisticsRequest, Builder> {
private String clusterId;
private String types;
private Builder() {
super();
}
private Builder(DescribeClusterVulStatisticsRequest request) {
super(request);
this.clusterId = request.clusterId;
this.types = request.types;
}
/**
* <p>The ID of the container cluster.</p>
*
* <strong>example:</strong>
* <p>c471f0f61b9c04f8380556e922cf1****</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The type of the vulnerabilities. Valid values:</p>
* <ul>
* <li><strong>cve</strong>: Linux software vulnerabilities</li>
* <li><strong>app</strong>: application vulnerabilities</li>
* <li><strong>sca</strong>: vulnerabilities that are detected based on software component analysis</li>
* </ul>
*
* <strong>example:</strong>
* <p>cve,app,sca</p>
*/
public Builder types(String types) {
this.putQueryParameter("Types", types);
this.types = types;
return this;
}
@Override
public DescribeClusterVulStatisticsRequest build() {
return new DescribeClusterVulStatisticsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterVulStatisticsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterVulStatisticsResponse} extends {@link TeaModel}
*
* <p>DescribeClusterVulStatisticsResponse</p>
*/
public class DescribeClusterVulStatisticsResponse 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 DescribeClusterVulStatisticsResponseBody body;
private DescribeClusterVulStatisticsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterVulStatisticsResponse 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 DescribeClusterVulStatisticsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterVulStatisticsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterVulStatisticsResponseBody body);
@Override
DescribeClusterVulStatisticsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterVulStatisticsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeClusterVulStatisticsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterVulStatisticsResponse 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(DescribeClusterVulStatisticsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterVulStatisticsResponse build() {
return new DescribeClusterVulStatisticsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeClusterVulStatisticsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterVulStatisticsResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterVulStatisticsResponseBody</p>
*/
public class DescribeClusterVulStatisticsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VulStat")
private VulStat vulStat;
private DescribeClusterVulStatisticsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.vulStat = builder.vulStat;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterVulStatisticsResponseBody 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(DescribeClusterVulStatisticsResponseBody model) {
this.requestId = model.requestId;
this.vulStat = model.vulStat;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>0B48AB3C-84FC-424D-A01D-B9270EF46038</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 DescribeClusterVulStatisticsResponseBody build() {
return new DescribeClusterVulStatisticsResponseBody(this);
}
}
/**
*
* {@link DescribeClusterVulStatisticsResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterVulStatisticsResponseBody</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>13</p>
*/
public Builder asapCount(String asapCount) {
this.asapCount = asapCount;
return this;
}
/**
* <p>The number of medium-risk vulnerabilities.</p>
*
* <strong>example:</strong>
* <p>21</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/DescribeCommonOverallConfigListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonOverallConfigListRequest} extends {@link RequestModel}
*
* <p>DescribeCommonOverallConfigListRequest</p>
*/
public class DescribeCommonOverallConfigListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TypeList")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> typeList;
private DescribeCommonOverallConfigListRequest(Builder builder) {
super(builder);
this.sourceIp = builder.sourceIp;
this.typeList = builder.typeList;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonOverallConfigListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return typeList
*/
public java.util.List<String> getTypeList() {
return this.typeList;
}
public static final class Builder extends Request.Builder<DescribeCommonOverallConfigListRequest, Builder> {
private String sourceIp;
private java.util.List<String> typeList;
private Builder() {
super();
}
private Builder(DescribeCommonOverallConfigListRequest request) {
super(request);
this.sourceIp = request.sourceIp;
this.typeList = request.typeList;
}
/**
* <p>The source IP address of the request.</p>
*
* <strong>example:</strong>
* <p>119.136.XX.XX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
/**
* <p>The types of the configuration items.</p>
* <blockquote>
* <p> You can query up to 50 types at a time.</p>
* </blockquote>
* <p>This parameter is required.</p>
*/
public Builder typeList(java.util.List<String> typeList) {
this.putQueryParameter("TypeList", typeList);
this.typeList = typeList;
return this;
}
@Override
public DescribeCommonOverallConfigListRequest build() {
return new DescribeCommonOverallConfigListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonOverallConfigListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonOverallConfigListResponse} extends {@link TeaModel}
*
* <p>DescribeCommonOverallConfigListResponse</p>
*/
public class DescribeCommonOverallConfigListResponse 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 DescribeCommonOverallConfigListResponseBody body;
private DescribeCommonOverallConfigListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCommonOverallConfigListResponse 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 DescribeCommonOverallConfigListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCommonOverallConfigListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCommonOverallConfigListResponseBody body);
@Override
DescribeCommonOverallConfigListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCommonOverallConfigListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCommonOverallConfigListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCommonOverallConfigListResponse 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(DescribeCommonOverallConfigListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCommonOverallConfigListResponse build() {
return new DescribeCommonOverallConfigListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonOverallConfigListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonOverallConfigListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonOverallConfigListResponseBody</p>
*/
public class DescribeCommonOverallConfigListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OverallList")
private java.util.List<OverallList> overallList;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCommonOverallConfigListResponseBody(Builder builder) {
this.overallList = builder.overallList;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonOverallConfigListResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return overallList
*/
public java.util.List<OverallList> getOverallList() {
return this.overallList;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<OverallList> overallList;
private String requestId;
private Builder() {
}
private Builder(DescribeCommonOverallConfigListResponseBody model) {
this.overallList = model.overallList;
this.requestId = model.requestId;
}
/**
* <p>The information about the configuration items.</p>
*/
public Builder overallList(java.util.List<OverallList> overallList) {
this.overallList = overallList;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>CE500770-42D3-442E-9DDD-156E0F9F3B45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCommonOverallConfigListResponseBody build() {
return new DescribeCommonOverallConfigListResponseBody(this);
}
}
/**
*
* {@link DescribeCommonOverallConfigListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonOverallConfigListResponseBody</p>
*/
public static class OverallList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AuthVersionList")
private java.util.List<String> authVersionList;
@com.aliyun.core.annotation.NameInMap("Config")
private String config;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private OverallList(Builder builder) {
this.authVersionList = builder.authVersionList;
this.config = builder.config;
this.totalCount = builder.totalCount;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static OverallList create() {
return builder().build();
}
/**
* @return authVersionList
*/
public java.util.List<String> getAuthVersionList() {
return this.authVersionList;
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private java.util.List<String> authVersionList;
private String config;
private Integer totalCount;
private String type;
private Builder() {
}
private Builder(OverallList model) {
this.authVersionList = model.authVersionList;
this.config = model.config;
this.totalCount = model.totalCount;
this.type = model.type;
}
/**
* <p>The editions of Security Center.</p>
*/
public Builder authVersionList(java.util.List<String> authVersionList) {
this.authVersionList = authVersionList;
return this;
}
/**
* <p>Indicates the status of the switch. Valid values:</p>
* <ul>
* <li><strong>off</strong></li>
* <li><strong>on</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* <p>The total number of entries that are returned.</p>
*
* <strong>example:</strong>
* <p>184</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* <p>The type of the configuration. Valid values:</p>
* <ul>
* <li><strong>kdump_switch</strong>: Active defense experience optimization.</li>
* <li><strong>threat_detect</strong>: Adaptive threat detection.</li>
* <li><strong>suspicious_aggregation</strong>: Alert association.</li>
* <li><strong>alidetect</strong>: File detection.</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_38857</strong>: Entrance service performs high-risk operations (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50858</strong>: Web service performs high-risk operations (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50859</strong>: Entrance service performs suspicious operations (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50862</strong>: Cloud Assistant advanced protection (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50867</strong>: Injects malicious files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50868</strong>: Injects suspicious files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_64025</strong>: Entrance service executes commands in an enhanced mode (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51229</strong>: Browser service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51230</strong>: Entrance service performs suspicious operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51232</strong>: System processes perform high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51233</strong>: Java service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51234</strong>: Office components perform high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51235</strong>: Web service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52820</strong>: Injects malicious files (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52826</strong>: Entrance service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_55251</strong>: Database services perform high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_63725</strong>: Entrance service injects suspicious scripts or binary files (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_3277</strong>: Suspicious process startup (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50983</strong>: Obfuscated commands (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51200</strong>: Uses command line to download and run malicious files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_71131</strong>: Entrance service executes sequence of suspicious behavior (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51225</strong>: Powershell executes high-risk commands (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51226</strong>: Powershell executes suspicious commands (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52821</strong>: Suspicious process startup (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57242</strong>: Malicious command execution (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57340</strong>: Uses command line to download and run malicious files (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_39659</strong>: Sensitive registry key protection (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52816</strong>: High-risk account manipulation behavior (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54365</strong>: Creates service auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54366</strong>: Creates high-risk auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54367</strong>: Creates scheduled task auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54368</strong>: Creates registry auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54369</strong>: Creates WMI auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50869</strong>: Unauthorized execution of high-risk commands (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53272</strong>: Exploits kernel vulnerabilities to elevate privileges (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54395</strong>: Unauthorized reading and writing of sensitive files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57897</strong>: Suspected privilege escalation (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52825</strong>: Unauthorized execution of high-risk commands (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_5507</strong>: Malicious drivers (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50876</strong>: Uninstalls security software (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53168</strong>: Process debugging (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54699</strong>: Hijacks dynamic link library (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_62981</strong>: Bypasses security monitoring (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52815</strong>: Loads high-risk drivers (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52823</strong>: Runs high-risk anti-rootkit (ARK) tools (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54373</strong>: Uninstalls security software (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54374</strong>: Intrusion trace cleanup (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54265</strong>: Hijacks the pluggable authentication module (PAM) (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54953</strong>: Hashdump attack (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54383</strong>: MimiKatz credential stealing (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54384</strong>: Hashdump attack (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50861</strong>: Information detection (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52818</strong>: Information detection (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54034</strong>: Intranet scan (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51228</strong>: High-risk lateral penetration tools (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50870</strong>: Rebound shell (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50873</strong>: WebShell executes commands.</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51236</strong>: Rebound shell (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50877</strong>: Malicious program communication (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50884</strong>: Suspicious worm script behavior (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50885</strong>: Malicious script behavior (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51201</strong>: Ransomware (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51202</strong>: Suspected extortion (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52827</strong>: Ransomware (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52828</strong>: Suspected extortion (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52829</strong>: Deletes system backup behavior (Windows).</li>
* </ul>
*
* <strong>example:</strong>
* <p>kdump_switch</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public OverallList build() {
return new OverallList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonOverallConfigRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonOverallConfigRequest} extends {@link RequestModel}
*
* <p>DescribeCommonOverallConfigRequest</p>
*/
public class DescribeCommonOverallConfigRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private DescribeCommonOverallConfigRequest(Builder builder) {
super(builder);
this.sourceIp = builder.sourceIp;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonOverallConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<DescribeCommonOverallConfigRequest, Builder> {
private String sourceIp;
private String type;
private Builder() {
super();
}
private Builder(DescribeCommonOverallConfigRequest request) {
super(request);
this.sourceIp = request.sourceIp;
this.type = request.type;
}
/**
* <p>The source IP address of the request.</p>
*
* <strong>example:</strong>
* <p>59.61.XX.XX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
/**
* <p>The type of the feature. Valid values:</p>
* <ul>
* <li><strong>kdump_switch</strong>: Active defense experience optimization</li>
* <li><strong>threat_detect</strong>: Dynamic adaptive threat detection capability</li>
* <li><strong>suspicious_aggregation</strong>: Alert Association</li>
* <li><strong>alidetect</strong>: File Test</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_3277</strong>: Suspicious process startup</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_5507</strong>: malicious drivers</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_38857</strong>: Entrance service execution high-risk operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50858</strong>: Web service performs high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50859</strong>: Entrance service execution suspicious operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50861</strong>: Information detection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50862</strong>: Cloud Assistant Advanced Protection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50867</strong>: Create malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50868</strong>: Create suspicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50869</strong>: Unauthorized execution of high-risk orders</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50870</strong>: Rebound Shell</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50873</strong>: WebShell execute command</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50876</strong>: Against security software</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50877</strong>: Malicious soft communication</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50884</strong>: Suspicious worm script behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50885</strong>: malicious script behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50983</strong>: obfuscated command</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51200</strong>: Command line download and run malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51201</strong>: ransomware</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51202</strong>: Suspected Extortion</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53168</strong>: process debugging</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53272</strong>: Exploiting Kernel Vulnerabilities to Elevate Privileges</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54034</strong>: Intranet scan</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54265</strong>: Hijacking the PAM Module</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54395</strong>: Unauthorized reading and writing of sensitive files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54699</strong>: Hijack dynamic link library</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54953</strong>: Hashdump Attack</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57897</strong>: suspected privilege escalation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_62981</strong>: Bypassing security monitoring</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_64025</strong>: Ingress service execute command [enhanced mode]</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_39659</strong>: Sensitive Registry Key Protection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51225</strong>: Powershell executes high-risk commands</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51226</strong>: Powershell execute suspicious command</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51228</strong>: High-risk lateral penetration tools</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51229</strong>: Browser service execution a high-risk operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51230</strong>: Entrance service execution suspicious operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51232</strong>: System processes execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51233</strong>: Java service execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51234</strong>: Office components execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51235</strong>: Web service performs high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51236</strong>: Rebound shells</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52815</strong>: Load high-risk drivers</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52816</strong>: high-risk account manipulation behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52818</strong>: Information detection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52820</strong>: Create malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52821</strong>: Suspicious process startup</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52823</strong>: Running high-risk ARK tools</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52825</strong>: Unauthorized execution of high-risk orders</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52826</strong>: Entrance service execution high-risk operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52827</strong>: Ransomware</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52828</strong>: Suspected Extortion</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52829</strong>: delete system backup behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54168</strong>: LSA security permission service protection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54365</strong>: Create service autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54366</strong>: Create high-risk autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54367</strong>: Create scheduled task autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54368</strong>: Create registry autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54369</strong>: Create WMI autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54373</strong>: Against security software</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54374</strong>: Intrusion trace cleanup</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54384</strong>: Hashdump Attack</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_55251</strong>: Database services execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57242</strong>: Malicious command execution</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57340</strong>: Command line download and run malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_62357</strong>: Cloud Assistant service information detection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_63725</strong>: Ingress service implants suspicious script/binary file</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>kdump_switch</p>
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DescribeCommonOverallConfigRequest build() {
return new DescribeCommonOverallConfigRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonOverallConfigResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonOverallConfigResponse} extends {@link TeaModel}
*
* <p>DescribeCommonOverallConfigResponse</p>
*/
public class DescribeCommonOverallConfigResponse 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 DescribeCommonOverallConfigResponseBody body;
private DescribeCommonOverallConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCommonOverallConfigResponse 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 DescribeCommonOverallConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCommonOverallConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCommonOverallConfigResponseBody body);
@Override
DescribeCommonOverallConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCommonOverallConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCommonOverallConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCommonOverallConfigResponse 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(DescribeCommonOverallConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCommonOverallConfigResponse build() {
return new DescribeCommonOverallConfigResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonOverallConfigResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonOverallConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonOverallConfigResponseBody</p>
*/
public class DescribeCommonOverallConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OverallConfig")
private OverallConfig overallConfig;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeCommonOverallConfigResponseBody(Builder builder) {
this.overallConfig = builder.overallConfig;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonOverallConfigResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return overallConfig
*/
public OverallConfig getOverallConfig() {
return this.overallConfig;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private OverallConfig overallConfig;
private String requestId;
private Builder() {
}
private Builder(DescribeCommonOverallConfigResponseBody model) {
this.overallConfig = model.overallConfig;
this.requestId = model.requestId;
}
/**
* <p>The information about the feature.</p>
*/
public Builder overallConfig(OverallConfig overallConfig) {
this.overallConfig = overallConfig;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>6D9CDB47-6191-4415-BE63-7E8B12CD4FBE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCommonOverallConfigResponseBody build() {
return new DescribeCommonOverallConfigResponseBody(this);
}
}
/**
*
* {@link DescribeCommonOverallConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonOverallConfigResponseBody</p>
*/
public static class OverallConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Config")
private String config;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private OverallConfig(Builder builder) {
this.config = builder.config;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static OverallConfig create() {
return builder().build();
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String config;
private String type;
private Builder() {
}
private Builder(OverallConfig model) {
this.config = model.config;
this.type = model.type;
}
/**
* <p>The status of the feature. Valid values:</p>
* <ul>
* <li><strong>on</strong>: enabled</li>
* <li><strong>off</strong>: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* <p>The type of the feature. Valid values:</p>
* <ul>
* <li><strong>kdump_switch</strong>: Active defense experience optimization</li>
* <li><strong>threat_detect</strong>: Dynamic adaptive threat detection capability</li>
* <li><strong>suspicious_aggregation</strong>: Alert Association</li>
* <li><strong>alidetect</strong>: File Test</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_3277</strong>: Suspicious process startup</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_5507</strong>: malicious drivers</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_38857</strong>: Entrance service execution high-risk operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50858</strong>: Web service performs high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50859</strong>: Entrance service execution suspicious operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50861</strong>: Information detection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50862</strong>: Cloud Assistant Advanced Protection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50867</strong>: Create malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50868</strong>: Create suspicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50869</strong>: Unauthorized execution of high-risk orders</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50870</strong>: Rebound Shell</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50873</strong>: WebShell execute command</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50876</strong>: Against security software</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50877</strong>: Malicious soft communication</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50884</strong>: Suspicious worm script behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50885</strong>: malicious script behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50983</strong>: obfuscated command</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51200</strong>: Command line download and run malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51201</strong>: ransomware</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51202</strong>: Suspected Extortion</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53168</strong>: process debugging</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53272</strong>: Exploiting Kernel Vulnerabilities to Elevate Privileges</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54034</strong>: Intranet scan</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54265</strong>: Hijacking the PAM Module</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54395</strong>: Unauthorized reading and writing of sensitive files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54699</strong>: Hijack dynamic link library</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54953</strong>: Hashdump Attack</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57897</strong>: suspected privilege escalation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_62981</strong>: Bypassing security monitoring</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_64025</strong>: Ingress service execute command [enhanced mode]</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_39659</strong>: Sensitive Registry Key Protection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51225</strong>: Powershell executes high-risk commands</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51226</strong>: Powershell execute suspicious command</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51228</strong>: High-risk lateral penetration tools</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51229</strong>: Browser service execution a high-risk operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51230</strong>: Entrance service execution suspicious operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51232</strong>: System processes execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51233</strong>: Java service execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51234</strong>: Office components execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51235</strong>: Web service performs high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51236</strong>: Rebound shells</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52815</strong>: Load high-risk drivers</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52816</strong>: high-risk account manipulation behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52818</strong>: Information detection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52820</strong>: Create malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52821</strong>: Suspicious process startup</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52823</strong>: Running high-risk ARK tools</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52825</strong>: Unauthorized execution of high-risk orders</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52826</strong>: Entrance service execution high-risk operation</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52827</strong>: Ransomware</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52828</strong>: Suspected Extortion</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52829</strong>: delete system backup behavior</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54168</strong>: LSA security permission service protection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54365</strong>: Create service autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54366</strong>: Create high-risk autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54367</strong>: Create scheduled task autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54368</strong>: Create registry autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54369</strong>: Create WMI autorun item</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54373</strong>: Against security software</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54374</strong>: Intrusion trace cleanup</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54384</strong>: Hashdump Attack</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_55251</strong>: Database services execution high-risk operations</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57242</strong>: Malicious command execution</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57340</strong>: Command line download and run malicious files</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_62357</strong>: Cloud Assistant service information detection</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_63725</strong>: Ingress service implants suspicious script/binary file</li>
* </ul>
*
* <strong>example:</strong>
* <p>kdump_switch</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public OverallConfig build() {
return new OverallConfig(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonTargetConfigRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonTargetConfigRequest} extends {@link RequestModel}
*
* <p>DescribeCommonTargetConfigRequest</p>
*/
public class DescribeCommonTargetConfigRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private DescribeCommonTargetConfigRequest(Builder builder) {
super(builder);
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonTargetConfigRequest 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<DescribeCommonTargetConfigRequest, Builder> {
private String type;
private Builder() {
super();
}
private Builder(DescribeCommonTargetConfigRequest request) {
super(request);
this.type = request.type;
}
/**
* <p>The configuration type. Valid values:</p>
* <ul>
* <li><strong>kdump_switch</strong>: Active defense experience optimization.</li>
* <li><strong>threat_detect</strong>: Adaptive threat detection.</li>
* <li><strong>containerNetwork</strong>: Container network topology.</li>
* <li><strong>interceptionSwitch</strong>: Cluster microsegmentation.</li>
* <li><strong>suspicious_aggregation</strong>: Alert association.</li>
* <li><strong>alidetect</strong>: File detection.</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_38857</strong>: Entrance service performs high-risk operations (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50858</strong>: Web service performs high-risk operations (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50859</strong>: Entrance service performs suspicious operations (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50862</strong>: Cloud Assistant advanced protection for Linux.</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50867</strong>: Injects malicious files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50868</strong>: Injects suspicious files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_64025</strong>: Entrance service executes commands in an enhanced mode (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51229</strong>: Browser service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51230</strong>: Entrance service performs suspicious operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51232</strong>: System processes perform high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51233</strong>: Java service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51234</strong>: Office components perform high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51235</strong>: Web service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52820</strong>: Injects malicious files (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52826</strong>: Entrance service performs high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_55251</strong>: Database services perform high-risk operations (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_63725</strong>: Entrance service injects suspicious scripts or binary files (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_3277</strong>: Suspicious process startup (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50983</strong>: Obfuscated commands (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51200</strong>: Uses command line to download and run malicious files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_71131</strong>: Entrance service executes sequence of suspicious behavior (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51225</strong>: Powershell executes high-risk commands (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51226</strong>: Powershell executes suspicious commands (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52821</strong>: Suspicious process startup (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57242</strong>: Malicious command execution (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57340</strong>: Uses command line to download and run malicious files (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_39659</strong>: Sensitive registry key protection (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52816</strong>: High-risk account manipulation behavior (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54365</strong>: Creates service auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54366</strong>: Creates high-risk auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54367</strong>: Creates scheduled task auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54368</strong>: Creates registry auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54369</strong>: Creates WMI auto-startup items (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50869</strong>: Unauthorized execution of high-risk commands (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53272</strong>: Exploits kernel vulnerabilities to elevate privileges (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54395</strong>: Unauthorized reading and writing of sensitive files (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_57897</strong>: Suspected privilege escalation (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52825</strong>: Unauthorized execution of high-risk commands (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_5507</strong>: Malicious drivers (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50876</strong>: Uninstalls security software (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_53168</strong>: Process debugging (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54699</strong>: Hijacks dynamic link library (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_62981</strong>: Bypasses security monitoring (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52815</strong>: Loads high-risk drivers (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52823</strong>: Runs high-risk anti-rootkit (ARK) tools (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54373</strong>: Uninstalls security software (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54374</strong>: Intrusion trace cleanup (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54265</strong>: Hijacks the pluggable authentication module (PAM) (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54953</strong>: Hashdump attack (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54383</strong>: MimiKatz credential stealing (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54384</strong>: Hashdump attack (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50861</strong>: Information detection (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52818</strong>: Information detection (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_54034</strong>: Intranet scan (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51228</strong>: High-risk lateral penetration tools (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50870</strong>: Rebound shell (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50873</strong>: WebShell executes commands.</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51236</strong>: Rebound shell (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50877</strong>: Malicious program communication (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50884</strong>: Suspicious worm script behavior (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_50885</strong>: Malicious script behavior (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51201</strong>: Ransomware (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_51202</strong>: Suspected extortion (Linux).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52827</strong>: Ransomware (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52828</strong>: Suspected extortion (Windows).</li>
* <li><strong>USER-ENABLE-SWITCH-TYPE_52829</strong>: Deletes system backup behavior (Windows).</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>kdump_switch</p>
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DescribeCommonTargetConfigRequest build() {
return new DescribeCommonTargetConfigRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonTargetConfigResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonTargetConfigResponse} extends {@link TeaModel}
*
* <p>DescribeCommonTargetConfigResponse</p>
*/
public class DescribeCommonTargetConfigResponse 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 DescribeCommonTargetConfigResponseBody body;
private DescribeCommonTargetConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCommonTargetConfigResponse 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 DescribeCommonTargetConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCommonTargetConfigResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCommonTargetConfigResponseBody body);
@Override
DescribeCommonTargetConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCommonTargetConfigResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCommonTargetConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCommonTargetConfigResponse 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(DescribeCommonTargetConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCommonTargetConfigResponse build() {
return new DescribeCommonTargetConfigResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonTargetConfigResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonTargetConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonTargetConfigResponseBody</p>
*/
public class DescribeCommonTargetConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TargetList")
private java.util.List<TargetList> targetList;
private DescribeCommonTargetConfigResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.targetList = builder.targetList;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonTargetConfigResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return targetList
*/
public java.util.List<TargetList> getTargetList() {
return this.targetList;
}
public static final class Builder {
private String requestId;
private java.util.List<TargetList> targetList;
private Builder() {
}
private Builder(DescribeCommonTargetConfigResponseBody model) {
this.requestId = model.requestId;
this.targetList = model.targetList;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>An array that consists of the details of the configuration items.</p>
*/
public Builder targetList(java.util.List<TargetList> targetList) {
this.targetList = targetList;
return this;
}
public DescribeCommonTargetConfigResponseBody build() {
return new DescribeCommonTargetConfigResponseBody(this);
}
}
/**
*
* {@link DescribeCommonTargetConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonTargetConfigResponseBody</p>
*/
public static class TargetList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Flag")
private String flag;
@com.aliyun.core.annotation.NameInMap("Target")
private String target;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private TargetList(Builder builder) {
this.flag = builder.flag;
this.target = builder.target;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static TargetList create() {
return builder().build();
}
/**
* @return flag
*/
public String getFlag() {
return this.flag;
}
/**
* @return target
*/
public String getTarget() {
return this.target;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String flag;
private String target;
private String targetType;
private Builder() {
}
private Builder(TargetList model) {
this.flag = model.flag;
this.target = model.target;
this.targetType = model.targetType;
}
/**
* <p>The mode in which the configuration takes effect. Valid values:</p>
* <ul>
* <li><strong>add</strong>: In this mode, the configuration takes effect on the assets.</li>
* <li><strong>del</strong>: In this mode, the configuration does not take effect on the assets.</li>
* </ul>
*
* <strong>example:</strong>
* <p>add</p>
*/
public Builder flag(String flag) {
this.flag = flag;
return this;
}
/**
* <p>The ID of the asset on which the configuration takes effect.</p>
* <blockquote>
* </blockquote>
* <ul>
* <li><p>When you set the <strong>TargetType</strong> parameter to <strong>uuid</strong>, the value of this parameter indicates the UUID of an asset.</p>
* </li>
* <li><p>When you set the <strong>TargetType</strong> parameter to <strong>Cluster</strong>, the value of this parameter indicates the ID of a cluster.</p>
* </li>
* <li><p>When you set the <strong>TargetType</strong> parameter to <strong>image_repo</strong>, the value of this parameter indicates the ID of an image repository.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>c23551de6149343e8a54e69fbefe6****</p>
*/
public Builder target(String target) {
this.target = target;
return this;
}
/**
* <p>The dimension from on which the feature was configured. Valid values:</p>
* <ul>
* <li><strong>uuid</strong>: the UUID of the asset</li>
* <li><strong>Cluster</strong>: the ID of the cluster</li>
* <li><strong>image_repo</strong>: the ID of the image repository</li>
* </ul>
*
* <strong>example:</strong>
* <p>image_repo</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public TargetList build() {
return new TargetList(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonTargetResultListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonTargetResultListRequest} extends {@link RequestModel}
*
* <p>DescribeCommonTargetResultListRequest</p>
*/
public class DescribeCommonTargetResultListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceIp")
private String sourceIp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private DescribeCommonTargetResultListRequest(Builder builder) {
super(builder);
this.sourceIp = builder.sourceIp;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonTargetResultListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return sourceIp
*/
public String getSourceIp() {
return this.sourceIp;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<DescribeCommonTargetResultListRequest, Builder> {
private String sourceIp;
private String type;
private Builder() {
super();
}
private Builder(DescribeCommonTargetResultListRequest request) {
super(request);
this.sourceIp = request.sourceIp;
this.type = request.type;
}
/**
* <p>The source IP address of the request.</p>
*
* <strong>example:</strong>
* <p>113.57.XX.XX</p>
*/
public Builder sourceIp(String sourceIp) {
this.putQueryParameter("SourceIp", sourceIp);
this.sourceIp = sourceIp;
return this;
}
/**
* <p>The type of the configuration item. Valid values:</p>
* <ul>
* <li><strong>webshell_timescan</strong>: webshell detection and removal</li>
* <li><strong>aliscriptengine</strong>: in-depth detection engine</li>
* <li><strong>alidetect</strong>: installation scope of local file detection</li>
* <li><strong>alidetect-scan-enable</strong>: detection scope of local file detection</li>
* </ul>
* <blockquote>
* <p> You can call the <a href="~~ListClientUserDefineRules~~">ListClientUserDefineRules</a> and <a href="~~ListSystemClientRules~~">ListSystemClientRules</a> operations to obtain more types of custom and system configuration items.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>webshell_timescan</p>
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DescribeCommonTargetResultListRequest build() {
return new DescribeCommonTargetResultListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonTargetResultListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonTargetResultListResponse} extends {@link TeaModel}
*
* <p>DescribeCommonTargetResultListResponse</p>
*/
public class DescribeCommonTargetResultListResponse 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 DescribeCommonTargetResultListResponseBody body;
private DescribeCommonTargetResultListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCommonTargetResultListResponse 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 DescribeCommonTargetResultListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCommonTargetResultListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCommonTargetResultListResponseBody body);
@Override
DescribeCommonTargetResultListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCommonTargetResultListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeCommonTargetResultListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCommonTargetResultListResponse 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(DescribeCommonTargetResultListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCommonTargetResultListResponse build() {
return new DescribeCommonTargetResultListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeCommonTargetResultListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeCommonTargetResultListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonTargetResultListResponseBody</p>
*/
public class DescribeCommonTargetResultListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TargetConfig")
private TargetConfig targetConfig;
private DescribeCommonTargetResultListResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.targetConfig = builder.targetConfig;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCommonTargetResultListResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return targetConfig
*/
public TargetConfig getTargetConfig() {
return this.targetConfig;
}
public static final class Builder {
private String requestId;
private TargetConfig targetConfig;
private Builder() {
}
private Builder(DescribeCommonTargetResultListResponseBody model) {
this.requestId = model.requestId;
this.targetConfig = model.targetConfig;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>6673D49C-A9AB-40DD-B4A2-B92306701AE7</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the configuration item.</p>
*/
public Builder targetConfig(TargetConfig targetConfig) {
this.targetConfig = targetConfig;
return this;
}
public DescribeCommonTargetResultListResponseBody build() {
return new DescribeCommonTargetResultListResponseBody(this);
}
}
/**
*
* {@link DescribeCommonTargetResultListResponseBody} extends {@link TeaModel}
*
* <p>DescribeCommonTargetResultListResponseBody</p>
*/
public static class TargetConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Flag")
private String flag;
@com.aliyun.core.annotation.NameInMap("TargetDefault")
private String targetDefault;
@com.aliyun.core.annotation.NameInMap("TargetList")
private java.util.List<String> targetList;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private String totalCount;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private TargetConfig(Builder builder) {
this.flag = builder.flag;
this.targetDefault = builder.targetDefault;
this.targetList = builder.targetList;
this.targetType = builder.targetType;
this.totalCount = builder.totalCount;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static TargetConfig create() {
return builder().build();
}
/**
* @return flag
*/
public String getFlag() {
return this.flag;
}
/**
* @return targetDefault
*/
public String getTargetDefault() {
return this.targetDefault;
}
/**
* @return targetList
*/
public java.util.List<String> getTargetList() {
return this.targetList;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
/**
* @return totalCount
*/
public String getTotalCount() {
return this.totalCount;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String flag;
private String targetDefault;
private java.util.List<String> targetList;
private String targetType;
private String totalCount;
private String type;
private Builder() {
}
private Builder(TargetConfig model) {
this.flag = model.flag;
this.targetDefault = model.targetDefault;
this.targetList = model.targetList;
this.targetType = model.targetType;
this.totalCount = model.totalCount;
this.type = model.type;
}
/**
* <p>The identifier that indicates whether the configuration item is applied to the server. Valid values:</p>
* <ul>
* <li><strong>add</strong>: applied</li>
* <li><strong>del</strong>: not applied</li>
* </ul>
*
* <strong>example:</strong>
* <p>del</p>
*/
public Builder flag(String flag) {
this.flag = flag;
return this;
}
/**
* <p>The default identifier.</p>
*
* <strong>example:</strong>
* <p>add</p>
*/
public Builder targetDefault(String targetDefault) {
this.targetDefault = targetDefault;
return this;
}
/**
* <p>An array that consists of the IDs of the server groups or the UUIDs of the servers.</p>
* <blockquote>
* <p> If <strong>uuid</strong> is returned for the <strong>TargetType</strong> parameter, <strong>UUIDs</strong> of the servers are returned. If <strong>groupId</strong> is returned for the <strong>TargetType</strong> parameter, IDs of the server groups are returned.</p>
* </blockquote>
*/
public Builder targetList(java.util.List<String> targetList) {
this.targetList = targetList;
return this;
}
/**
* <p>The type of the server to which the configuration item is applied. Valid values:</p>
* <ul>
* <li><strong>uuid</strong>: a server</li>
* <li><strong>groupId</strong>: a server group</li>
* </ul>
*
* <strong>example:</strong>
* <p>uuid</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>22</p>
*/
public Builder totalCount(String totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* <p>The type of the configuration item. Valid values:</p>
* <ul>
* <li><strong>webshell_timescan</strong>: webshell detection and removal</li>
* <li><strong>aliscriptengine</strong>: in-depth detection engine</li>
* <li><strong>alidetect</strong>: installation scope of local file detection</li>
* <li><strong>alidetect-scan-enable</strong>: detection scope of local file detection</li>
* </ul>
*
* <strong>example:</strong>
* <p>webshell_timescan</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public TargetConfig build() {
return new TargetConfig(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeConcernNecessityRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeConcernNecessityRequest} extends {@link RequestModel}
*
* <p>DescribeConcernNecessityRequest</p>
*/
public class DescribeConcernNecessityRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Lang")
private String lang;
private DescribeConcernNecessityRequest(Builder builder) {
super(builder);
this.lang = builder.lang;
}
public static Builder builder() {
return new Builder();
}
public static DescribeConcernNecessityRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
public static final class Builder extends Request.Builder<DescribeConcernNecessityRequest, Builder> {
private String lang;
private Builder() {
super();
}
private Builder(DescribeConcernNecessityRequest request) {
super(request);
this.lang = request.lang;
}
/**
* <p>The language of the content within the request and response. Valid values:</p>
* <ul>
* <li><strong>zh</strong>: Chinese</li>
* <li><strong>en</strong>: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh</p>
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
@Override
public DescribeConcernNecessityRequest build() {
return new DescribeConcernNecessityRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeConcernNecessityResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeConcernNecessityResponse} extends {@link TeaModel}
*
* <p>DescribeConcernNecessityResponse</p>
*/
public class DescribeConcernNecessityResponse 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 DescribeConcernNecessityResponseBody body;
private DescribeConcernNecessityResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeConcernNecessityResponse 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 DescribeConcernNecessityResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeConcernNecessityResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeConcernNecessityResponseBody body);
@Override
DescribeConcernNecessityResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeConcernNecessityResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeConcernNecessityResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeConcernNecessityResponse 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(DescribeConcernNecessityResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeConcernNecessityResponse build() {
return new DescribeConcernNecessityResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeConcernNecessityResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeConcernNecessityResponseBody} extends {@link TeaModel}
*
* <p>DescribeConcernNecessityResponseBody</p>
*/
public class DescribeConcernNecessityResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConcernNecessity")
private java.util.List<String> concernNecessity;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeConcernNecessityResponseBody(Builder builder) {
this.concernNecessity = builder.concernNecessity;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeConcernNecessityResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return concernNecessity
*/
public java.util.List<String> getConcernNecessity() {
return this.concernNecessity;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<String> concernNecessity;
private String requestId;
private Builder() {
}
private Builder(DescribeConcernNecessityResponseBody model) {
this.concernNecessity = model.concernNecessity;
this.requestId = model.requestId;
}
/**
* <p>The priorities to fix the vulnerabilities. Valid values:</p>
* <ul>
* <li>asap: high</li>
* <li>later: medium</li>
* <li>nntf: low</li>
* </ul>
*/
public Builder concernNecessity(java.util.List<String> concernNecessity) {
this.concernNecessity = concernNecessity;
return this;
}
/**
* <p>The ID of the request, which is used to locate and troubleshoot issues.</p>
*
* <strong>example:</strong>
* <p>ECC6B3E3-D496-512D-B46D-E6996A6B63EE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeConcernNecessityResponseBody build() {
return new DescribeConcernNecessityResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeContainerAppsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeContainerAppsRequest} extends {@link RequestModel}
*
* <p>DescribeContainerAppsRequest</p>
*/
public class DescribeContainerAppsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CurrentPage")
@com.aliyun.core.annotation.Validation(required = true)
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FieldValue")
private String fieldValue;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(required = true)
private Integer pageSize;
private DescribeContainerAppsRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.currentPage = builder.currentPage;
this.fieldValue = builder.fieldValue;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static DescribeContainerAppsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return fieldValue
*/
public String getFieldValue() {
return this.fieldValue;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<DescribeContainerAppsRequest, Builder> {
private String clusterId;
private Integer currentPage;
private String fieldValue;
private Integer pageSize;
private Builder() {
super();
}
private Builder(DescribeContainerAppsRequest request) {
super(request);
this.clusterId = request.clusterId;
this.currentPage = request.currentPage;
this.fieldValue = request.fieldValue;
this.pageSize = request.pageSize;
}
/**
* <p>The ID of the container cluster.</p>
*
* <strong>example:</strong>
* <p>ca0a686115432429ca26cf780f5e9fff5</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>The page number.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>The application value that you want to query. Fuzzy match is supported.</p>
*
* <strong>example:</strong>
* <p>cas-adad-qeqwe</p>
*/
public Builder fieldValue(String fieldValue) {
this.putQueryParameter("FieldValue", fieldValue);
this.fieldValue = fieldValue;
return this;
}
/**
* <p>The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.</p>
* <blockquote>
* <p> We recommend that you do not leave this parameter empty.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public DescribeContainerAppsRequest build() {
return new DescribeContainerAppsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203 | java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/DescribeContainerAppsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sas20181203.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeContainerAppsResponse} extends {@link TeaModel}
*
* <p>DescribeContainerAppsResponse</p>
*/
public class DescribeContainerAppsResponse 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 DescribeContainerAppsResponseBody body;
private DescribeContainerAppsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeContainerAppsResponse 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 DescribeContainerAppsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeContainerAppsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeContainerAppsResponseBody body);
@Override
DescribeContainerAppsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeContainerAppsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DescribeContainerAppsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeContainerAppsResponse 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(DescribeContainerAppsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeContainerAppsResponse build() {
return new DescribeContainerAppsResponse(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.