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/GetServiceTrailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServiceTrailResponse} extends {@link TeaModel} * * <p>GetServiceTrailResponse</p> */ public class GetServiceTrailResponse 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 GetServiceTrailResponseBody body; private GetServiceTrailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetServiceTrailResponse 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 GetServiceTrailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetServiceTrailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetServiceTrailResponseBody body); @Override GetServiceTrailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetServiceTrailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetServiceTrailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetServiceTrailResponse 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(GetServiceTrailResponseBody body) { this.body = body; return this; } @Override public GetServiceTrailResponse build() { return new GetServiceTrailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetServiceTrailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServiceTrailResponseBody} extends {@link TeaModel} * * <p>GetServiceTrailResponseBody</p> */ public class GetServiceTrailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ServiceTrail") private ServiceTrail serviceTrail; private GetServiceTrailResponseBody(Builder builder) { this.requestId = builder.requestId; this.serviceTrail = builder.serviceTrail; } public static Builder builder() { return new Builder(); } public static GetServiceTrailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return serviceTrail */ public ServiceTrail getServiceTrail() { return this.serviceTrail; } public static final class Builder { private String requestId; private ServiceTrail serviceTrail; private Builder() { } private Builder(GetServiceTrailResponseBody model) { this.requestId = model.requestId; this.serviceTrail = model.serviceTrail; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C699E4E4-F2F4-58FC-A949-457FFE59****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The configurations of the service trail.</p> */ public Builder serviceTrail(ServiceTrail serviceTrail) { this.serviceTrail = serviceTrail; return this; } public GetServiceTrailResponseBody build() { return new GetServiceTrailResponseBody(this); } } /** * * {@link GetServiceTrailResponseBody} extends {@link TeaModel} * * <p>GetServiceTrailResponseBody</p> */ public static class ServiceTrail extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("CreateTime") private Long createTime; @com.aliyun.core.annotation.NameInMap("UpdateTime") private Long updateTime; private ServiceTrail(Builder builder) { this.config = builder.config; this.createTime = builder.createTime; this.updateTime = builder.updateTime; } public static Builder builder() { return new Builder(); } public static ServiceTrail create() { return builder().build(); } /** * @return config */ public String getConfig() { return this.config; } /** * @return createTime */ public Long getCreateTime() { return this.createTime; } /** * @return updateTime */ public Long getUpdateTime() { return this.updateTime; } public static final class Builder { private String config; private Long createTime; private Long updateTime; private Builder() { } private Builder(ServiceTrail model) { this.config = model.config; this.createTime = model.createTime; this.updateTime = model.updateTime; } /** * <p>The status of the service trail. Valid values:</p> * <ul> * <li><strong>on:</strong></li> * <li><strong>off:</strong></li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The timestamp generated when the service trail was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1687250241000</p> */ public Builder createTime(Long createTime) { this.createTime = createTime; return this; } /** * <p>The timestamp generated when the service trail was last updated. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1687250241000</p> */ public Builder updateTime(Long updateTime) { this.updateTime = updateTime; return this; } public ServiceTrail build() { return new ServiceTrail(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetStrategyTemplateDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetStrategyTemplateDetailRequest} extends {@link RequestModel} * * <p>GetStrategyTemplateDetailRequest</p> */ public class GetStrategyTemplateDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; private GetStrategyTemplateDetailRequest(Builder builder) { super(builder); this.strategyId = builder.strategyId; } public static Builder builder() { return new Builder(); } public static GetStrategyTemplateDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } public static final class Builder extends Request.Builder<GetStrategyTemplateDetailRequest, Builder> { private Long strategyId; private Builder() { super(); } private Builder(GetStrategyTemplateDetailRequest request) { super(request); this.strategyId = request.strategyId; } /** * <p>The ID of the template.</p> * <blockquote> * <p> You can call the <a href="~~GetOpaStrategyTemplateSummary~~">GetOpaStrategyTemplateSummary</a> operation to query the IDs of templates.</p> * </blockquote> * * <strong>example:</strong> * <p>2</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } @Override public GetStrategyTemplateDetailRequest build() { return new GetStrategyTemplateDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetStrategyTemplateDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetStrategyTemplateDetailResponse} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponse</p> */ public class GetStrategyTemplateDetailResponse 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 GetStrategyTemplateDetailResponseBody body; private GetStrategyTemplateDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetStrategyTemplateDetailResponse 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 GetStrategyTemplateDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetStrategyTemplateDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetStrategyTemplateDetailResponseBody body); @Override GetStrategyTemplateDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetStrategyTemplateDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetStrategyTemplateDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetStrategyTemplateDetailResponse 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(GetStrategyTemplateDetailResponseBody body) { this.body = body; return this; } @Override public GetStrategyTemplateDetailResponse build() { return new GetStrategyTemplateDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetStrategyTemplateDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public class GetStrategyTemplateDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetStrategyTemplateDetailResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetStrategyTemplateDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetStrategyTemplateDetailResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The response code. The status code <strong>200</strong> indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of the template.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1E36BEEA-0B27-58CC-8319-50279203B048</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetStrategyTemplateDetailResponseBody build() { return new GetStrategyTemplateDetailResponseBody(this); } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class Item extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private Item(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static Item create() { return builder().build(); } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String id; private String name; private Builder() { } private Builder(Item model) { this.id = model.id; this.name = model.name; } /** * <p>The unique identifier of the baseline check item.</p> * * <strong>example:</strong> * <p>ak_leak</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the baseline check item.</p> * * <strong>example:</strong> * <p>Access Key plaintext storage</p> */ public Builder name(String name) { this.name = name; return this; } public Item build() { return new Item(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class Baseline extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<Item> item; @com.aliyun.core.annotation.NameInMap("RiskLevel") private java.util.List<String> riskLevel; private Baseline(Builder builder) { this.item = builder.item; this.riskLevel = builder.riskLevel; } public static Builder builder() { return new Builder(); } public static Baseline create() { return builder().build(); } /** * @return item */ public java.util.List<Item> getItem() { return this.item; } /** * @return riskLevel */ public java.util.List<String> getRiskLevel() { return this.riskLevel; } public static final class Builder { private java.util.List<Item> item; private java.util.List<String> riskLevel; private Builder() { } private Builder(Baseline model) { this.item = model.item; this.riskLevel = model.riskLevel; } /** * <p>The baseline items.</p> */ public Builder item(java.util.List<Item> item) { this.item = item; return this; } /** * <p>The severities of the baselines. Valid values:</p> * <ul> * <li><strong>high</strong></li> * <li><strong>medium</strong></li> * <li><strong>low</strong></li> * </ul> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public Baseline build() { return new Baseline(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class MaliciousFileItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private MaliciousFileItem(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static MaliciousFileItem create() { return builder().build(); } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String id; private String name; private Builder() { } private Builder(MaliciousFileItem model) { this.id = model.id; this.name = model.name; } /** * <p>The unique identifier of the malicious sample.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the malicious sample.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } public MaliciousFileItem build() { return new MaliciousFileItem(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class MaliciousFile extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<MaliciousFileItem> item; @com.aliyun.core.annotation.NameInMap("RiskLevel") private java.util.List<String> riskLevel; private MaliciousFile(Builder builder) { this.item = builder.item; this.riskLevel = builder.riskLevel; } public static Builder builder() { return new Builder(); } public static MaliciousFile create() { return builder().build(); } /** * @return item */ public java.util.List<MaliciousFileItem> getItem() { return this.item; } /** * @return riskLevel */ public java.util.List<String> getRiskLevel() { return this.riskLevel; } public static final class Builder { private java.util.List<MaliciousFileItem> item; private java.util.List<String> riskLevel; private Builder() { } private Builder(MaliciousFile model) { this.item = model.item; this.riskLevel = model.riskLevel; } /** * <p>The items on which malicious samples are detected.</p> */ public Builder item(java.util.List<MaliciousFileItem> item) { this.item = item; return this; } /** * <p>The severities of the malicious samples.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public MaliciousFile build() { return new MaliciousFile(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class VulItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private VulItem(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static VulItem create() { return builder().build(); } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String id; private String name; private Builder() { } private Builder(VulItem model) { this.id = model.id; this.name = model.name; } /** * <p>The ID of the vulnerability.</p> * * <strong>example:</strong> * <p>AVD-2023-1680169</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>ezOffice evoInterfaceServlet Info Leak</p> */ public Builder name(String name) { this.name = name; return this; } public VulItem build() { return new VulItem(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class Vul extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<VulItem> item; @com.aliyun.core.annotation.NameInMap("RiskLevel") private java.util.List<String> riskLevel; private Vul(Builder builder) { this.item = builder.item; this.riskLevel = builder.riskLevel; } public static Builder builder() { return new Builder(); } public static Vul create() { return builder().build(); } /** * @return item */ public java.util.List<VulItem> getItem() { return this.item; } /** * @return riskLevel */ public java.util.List<String> getRiskLevel() { return this.riskLevel; } public static final class Builder { private java.util.List<VulItem> item; private java.util.List<String> riskLevel; private Builder() { } private Builder(Vul model) { this.item = model.item; this.riskLevel = model.riskLevel; } /** * <p>The items on which vulnerabilities are detected.</p> */ public Builder item(java.util.List<VulItem> item) { this.item = item; return this; } /** * <p>The severities of the vulnerabilities.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public Vul build() { return new Vul(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class AlarmDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("Baseline") private Baseline baseline; @com.aliyun.core.annotation.NameInMap("MaliciousFile") private MaliciousFile maliciousFile; @com.aliyun.core.annotation.NameInMap("Vul") private Vul vul; private AlarmDetail(Builder builder) { this.baseline = builder.baseline; this.maliciousFile = builder.maliciousFile; this.vul = builder.vul; } public static Builder builder() { return new Builder(); } public static AlarmDetail create() { return builder().build(); } /** * @return baseline */ public Baseline getBaseline() { return this.baseline; } /** * @return maliciousFile */ public MaliciousFile getMaliciousFile() { return this.maliciousFile; } /** * @return vul */ public Vul getVul() { return this.vul; } public static final class Builder { private Baseline baseline; private MaliciousFile maliciousFile; private Vul vul; private Builder() { } private Builder(AlarmDetail model) { this.baseline = model.baseline; this.maliciousFile = model.maliciousFile; this.vul = model.vul; } /** * <p>The configuration of the baseline.</p> */ public Builder baseline(Baseline baseline) { this.baseline = baseline; return this; } /** * <p>The configuration of the alert rule for the malicious sample.</p> */ public Builder maliciousFile(MaliciousFile maliciousFile) { this.maliciousFile = maliciousFile; return this; } /** * <p>The configuration of the vulnerability detection rule.</p> */ public Builder vul(Vul vul) { this.vul = vul; return this; } public AlarmDetail build() { return new AlarmDetail(this); } } } /** * * {@link GetStrategyTemplateDetailResponseBody} extends {@link TeaModel} * * <p>GetStrategyTemplateDetailResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AlarmDetail") private AlarmDetail alarmDetail; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ImageName") private java.util.List<String> imageName; @com.aliyun.core.annotation.NameInMap("Label") private java.util.List<String> label; @com.aliyun.core.annotation.NameInMap("MaliciousImage") private Boolean maliciousImage; @com.aliyun.core.annotation.NameInMap("Namespace") private java.util.List<String> namespace; @com.aliyun.core.annotation.NameInMap("RuleAction") private Integer ruleAction; @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; @com.aliyun.core.annotation.NameInMap("StrategyName") private String strategyName; @com.aliyun.core.annotation.NameInMap("StrategyTemplateId") private Long strategyTemplateId; @com.aliyun.core.annotation.NameInMap("UnScanedImage") private Boolean unScanedImage; @com.aliyun.core.annotation.NameInMap("WhiteList") private java.util.List<String> whiteList; private Data(Builder builder) { this.alarmDetail = builder.alarmDetail; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.description = builder.description; this.imageName = builder.imageName; this.label = builder.label; this.maliciousImage = builder.maliciousImage; this.namespace = builder.namespace; this.ruleAction = builder.ruleAction; this.strategyId = builder.strategyId; this.strategyName = builder.strategyName; this.strategyTemplateId = builder.strategyTemplateId; this.unScanedImage = builder.unScanedImage; this.whiteList = builder.whiteList; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return alarmDetail */ public AlarmDetail getAlarmDetail() { return this.alarmDetail; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return imageName */ public java.util.List<String> getImageName() { return this.imageName; } /** * @return label */ public java.util.List<String> getLabel() { return this.label; } /** * @return maliciousImage */ public Boolean getMaliciousImage() { return this.maliciousImage; } /** * @return namespace */ public java.util.List<String> getNamespace() { return this.namespace; } /** * @return ruleAction */ public Integer getRuleAction() { return this.ruleAction; } /** * @return strategyId */ public Long getStrategyId() { return this.strategyId; } /** * @return strategyName */ public String getStrategyName() { return this.strategyName; } /** * @return strategyTemplateId */ public Long getStrategyTemplateId() { return this.strategyTemplateId; } /** * @return unScanedImage */ public Boolean getUnScanedImage() { return this.unScanedImage; } /** * @return whiteList */ public java.util.List<String> getWhiteList() { return this.whiteList; } public static final class Builder { private AlarmDetail alarmDetail; private String clusterId; private String clusterName; private String description; private java.util.List<String> imageName; private java.util.List<String> label; private Boolean maliciousImage; private java.util.List<String> namespace; private Integer ruleAction; private Long strategyId; private String strategyName; private Long strategyTemplateId; private Boolean unScanedImage; private java.util.List<String> whiteList; private Builder() { } private Builder(Data model) { this.alarmDetail = model.alarmDetail; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.description = model.description; this.imageName = model.imageName; this.label = model.label; this.maliciousImage = model.maliciousImage; this.namespace = model.namespace; this.ruleAction = model.ruleAction; this.strategyId = model.strategyId; this.strategyName = model.strategyName; this.strategyTemplateId = model.strategyTemplateId; this.unScanedImage = model.unScanedImage; this.whiteList = model.whiteList; } /** * <p>The configuration of the rule.</p> */ public Builder alarmDetail(AlarmDetail alarmDetail) { this.alarmDetail = alarmDetail; return this; } /** * <p>The cluster ID.</p> * * <strong>example:</strong> * <p>c8ca91e0907d94efaba7fb0827eb9****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The name of the cluster.</p> * * <strong>example:</strong> * <p>hhht-cluster-02</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The description of the rule.</p> * * <strong>example:</strong> * <p>Custom defense configuration</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The names of images.</p> */ public Builder imageName(java.util.List<String> imageName) { this.imageName = imageName; return this; } /** * <p>The tags that are added to the containers.</p> */ public Builder label(java.util.List<String> label) { this.label = label; return this; } /** * <p>Indicates whether the rule supports malicious Internet images. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder maliciousImage(Boolean maliciousImage) { this.maliciousImage = maliciousImage; return this; } /** * <p>The namespaces.</p> */ public Builder namespace(java.util.List<String> namespace) { this.namespace = namespace; return this; } /** * <p>The action on requests. Valid values:</p> * <ul> * <li><strong>1</strong>: trigger alerts</li> * <li><strong>2</strong>: block</li> * <li><strong>3</strong>: allow</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder ruleAction(Integer ruleAction) { this.ruleAction = ruleAction; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>1005</p> */ public Builder strategyId(Long strategyId) { this.strategyId = strategyId; return this; } /** * <p>The name of the rule.</p> * * <strong>example:</strong> * <p>Blank template</p> */ public Builder strategyName(String strategyName) { this.strategyName = strategyName; return this; } /** * <p>The ID of the template.</p> * * <strong>example:</strong> * <p>1204</p> */ public Builder strategyTemplateId(Long strategyTemplateId) { this.strategyTemplateId = strategyTemplateId; return this; } /** * <p>Indicates whether the rule supports unscanned images. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder unScanedImage(Boolean unScanedImage) { this.unScanedImage = unScanedImage; return this; } /** * <p>The whitelists of tags that are added to images.</p> */ public Builder whiteList(java.util.List<String> whiteList) { this.whiteList = whiteList; 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/GetSupportedModulesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSupportedModulesRequest} extends {@link RequestModel} * * <p>GetSupportedModulesRequest</p> */ public class GetSupportedModulesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private GetSupportedModulesRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static GetSupportedModulesRequest 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<GetSupportedModulesRequest, Builder> { private String lang; private Builder() { super(); } private Builder(GetSupportedModulesRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public GetSupportedModulesRequest build() { return new GetSupportedModulesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSupportedModulesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSupportedModulesResponse} extends {@link TeaModel} * * <p>GetSupportedModulesResponse</p> */ public class GetSupportedModulesResponse 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 GetSupportedModulesResponseBody body; private GetSupportedModulesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSupportedModulesResponse 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 GetSupportedModulesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSupportedModulesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSupportedModulesResponseBody body); @Override GetSupportedModulesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSupportedModulesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSupportedModulesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSupportedModulesResponse 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(GetSupportedModulesResponseBody body) { this.body = body; return this; } @Override public GetSupportedModulesResponse build() { return new GetSupportedModulesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSupportedModulesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSupportedModulesResponseBody} extends {@link TeaModel} * * <p>GetSupportedModulesResponseBody</p> */ public class GetSupportedModulesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SupportedModuleResponse") private java.util.List<SupportedModuleResponse> supportedModuleResponse; private GetSupportedModulesResponseBody(Builder builder) { this.requestId = builder.requestId; this.supportedModuleResponse = builder.supportedModuleResponse; } public static Builder builder() { return new Builder(); } public static GetSupportedModulesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return supportedModuleResponse */ public java.util.List<SupportedModuleResponse> getSupportedModuleResponse() { return this.supportedModuleResponse; } public static final class Builder { private String requestId; private java.util.List<SupportedModuleResponse> supportedModuleResponse; private Builder() { } private Builder(GetSupportedModulesResponseBody model) { this.requestId = model.requestId; this.supportedModuleResponse = model.supportedModuleResponse; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C699E4E4-F2F4-58FC-A949-457FFE59****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The supported modules. The module information is classified by cloud service provider.</p> */ public Builder supportedModuleResponse(java.util.List<SupportedModuleResponse> supportedModuleResponse) { this.supportedModuleResponse = supportedModuleResponse; return this; } public GetSupportedModulesResponseBody build() { return new GetSupportedModulesResponseBody(this); } } /** * * {@link GetSupportedModulesResponseBody} extends {@link TeaModel} * * <p>GetSupportedModulesResponseBody</p> */ public static class SupportedModules extends TeaModel { @com.aliyun.core.annotation.NameInMap("Module") private String module; @com.aliyun.core.annotation.NameInMap("ModuleDisp") private String moduleDisp; private SupportedModules(Builder builder) { this.module = builder.module; this.moduleDisp = builder.moduleDisp; } public static Builder builder() { return new Builder(); } public static SupportedModules create() { return builder().build(); } /** * @return module */ public String getModule() { return this.module; } /** * @return moduleDisp */ public String getModuleDisp() { return this.moduleDisp; } public static final class Builder { private String module; private String moduleDisp; private Builder() { } private Builder(SupportedModules model) { this.module = model.module; this.moduleDisp = model.moduleDisp; } /** * <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 display name of the module.</p> * * <strong>example:</strong> * <p>Configuration assessment</p> */ public Builder moduleDisp(String moduleDisp) { this.moduleDisp = moduleDisp; return this; } public SupportedModules build() { return new SupportedModules(this); } } } /** * * {@link GetSupportedModulesResponseBody} extends {@link TeaModel} * * <p>GetSupportedModulesResponseBody</p> */ public static class SupportedModuleResponse extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportedModules") private java.util.List<SupportedModules> supportedModules; @com.aliyun.core.annotation.NameInMap("Vendor") private String vendor; private SupportedModuleResponse(Builder builder) { this.supportedModules = builder.supportedModules; this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static SupportedModuleResponse create() { return builder().build(); } /** * @return supportedModules */ public java.util.List<SupportedModules> getSupportedModules() { return this.supportedModules; } /** * @return vendor */ public String getVendor() { return this.vendor; } public static final class Builder { private java.util.List<SupportedModules> supportedModules; private String vendor; private Builder() { } private Builder(SupportedModuleResponse model) { this.supportedModules = model.supportedModules; this.vendor = model.vendor; } /** * <p>The modules supported by the cloud service provider.</p> */ public Builder supportedModules(java.util.List<SupportedModules> supportedModules) { this.supportedModules = supportedModules; 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; } public SupportedModuleResponse build() { return new SupportedModuleResponse(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSuspiciousStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSuspiciousStatisticsRequest} extends {@link RequestModel} * * <p>GetSuspiciousStatisticsRequest</p> */ public class GetSuspiciousStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupIdList") @com.aliyun.core.annotation.Validation(required = true) private String groupIdList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private GetSuspiciousStatisticsRequest(Builder builder) { super(builder); this.groupIdList = builder.groupIdList; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static GetSuspiciousStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupIdList */ public String getGroupIdList() { return this.groupIdList; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<GetSuspiciousStatisticsRequest, Builder> { private String groupIdList; private String sourceIp; private Builder() { super(); } private Builder(GetSuspiciousStatisticsRequest request) { super(request); this.groupIdList = request.groupIdList; this.sourceIp = request.sourceIp; } /** * <p>The ID of the asset group. Separate multiple IDs with commas (,).</p> * <blockquote> * <p>You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of asset groups.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>9997897</p> */ public Builder groupIdList(String groupIdList) { this.putQueryParameter("GroupIdList", groupIdList); this.groupIdList = groupIdList; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>10.12.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } @Override public GetSuspiciousStatisticsRequest build() { return new GetSuspiciousStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSuspiciousStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSuspiciousStatisticsResponse} extends {@link TeaModel} * * <p>GetSuspiciousStatisticsResponse</p> */ public class GetSuspiciousStatisticsResponse 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 GetSuspiciousStatisticsResponseBody body; private GetSuspiciousStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSuspiciousStatisticsResponse 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 GetSuspiciousStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSuspiciousStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSuspiciousStatisticsResponseBody body); @Override GetSuspiciousStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSuspiciousStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSuspiciousStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSuspiciousStatisticsResponse 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(GetSuspiciousStatisticsResponseBody body) { this.body = body; return this; } @Override public GetSuspiciousStatisticsResponse build() { return new GetSuspiciousStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSuspiciousStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSuspiciousStatisticsResponseBody} extends {@link TeaModel} * * <p>GetSuspiciousStatisticsResponseBody</p> */ public class GetSuspiciousStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RemindCount") private Integer remindCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SeriousCount") private Integer seriousCount; @com.aliyun.core.annotation.NameInMap("SuspiciousCount") private Integer suspiciousCount; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private GetSuspiciousStatisticsResponseBody(Builder builder) { this.remindCount = builder.remindCount; this.requestId = builder.requestId; this.seriousCount = builder.seriousCount; this.suspiciousCount = builder.suspiciousCount; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static GetSuspiciousStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return remindCount */ public Integer getRemindCount() { return this.remindCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return seriousCount */ public Integer getSeriousCount() { return this.seriousCount; } /** * @return suspiciousCount */ public Integer getSuspiciousCount() { return this.suspiciousCount; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer remindCount; private String requestId; private Integer seriousCount; private Integer suspiciousCount; private Integer totalCount; private Builder() { } private Builder(GetSuspiciousStatisticsResponseBody model) { this.remindCount = model.remindCount; this.requestId = model.requestId; this.seriousCount = model.seriousCount; this.suspiciousCount = model.suspiciousCount; this.totalCount = model.totalCount; } /** * <p>The number of alerts whose Emergency level is Reminder.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder remindCount(Integer remindCount) { this.remindCount = remindCount; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>84092B42-1A59-4F34-8DF8-1D93520990A5</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of alerts whose Emergency level is Urgent.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder seriousCount(Integer seriousCount) { this.seriousCount = seriousCount; return this; } /** * <p>The number of alerts whose Emergency level is Suspicious.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder suspiciousCount(Integer suspiciousCount) { this.suspiciousCount = suspiciousCount; return this; } /** * <p>The total number of alerts.</p> * * <strong>example:</strong> * <p>9</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public GetSuspiciousStatisticsResponseBody build() { return new GetSuspiciousStatisticsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSwitchRegionDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSwitchRegionDetailRequest} extends {@link RequestModel} * * <p>GetSwitchRegionDetailRequest</p> */ public class GetSwitchRegionDetailRequest 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("Type") private String type; private GetSwitchRegionDetailRequest(Builder builder) { super(builder); this.lang = builder.lang; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static GetSwitchRegionDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<GetSwitchRegionDetailRequest, Builder> { private String lang; private String type; private Builder() { super(); } private Builder(GetSwitchRegionDetailRequest request) { super(request); this.lang = request.lang; this.type = request.type; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>en</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The type of the migration operation. Valid values:</p> * <ul> * <li><strong>sg_switch</strong>: the migration of a server from a region in the Chinese mainland to the Singapore region.</li> * <li><strong>sls_meta_version_switch_stage_1</strong>: the upgrade of log dictionaries.</li> * </ul> * * <strong>example:</strong> * <p>sg_switch</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public GetSwitchRegionDetailRequest build() { return new GetSwitchRegionDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSwitchRegionDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSwitchRegionDetailResponse} extends {@link TeaModel} * * <p>GetSwitchRegionDetailResponse</p> */ public class GetSwitchRegionDetailResponse 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 GetSwitchRegionDetailResponseBody body; private GetSwitchRegionDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSwitchRegionDetailResponse 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 GetSwitchRegionDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSwitchRegionDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSwitchRegionDetailResponseBody body); @Override GetSwitchRegionDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSwitchRegionDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSwitchRegionDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSwitchRegionDetailResponse 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(GetSwitchRegionDetailResponseBody body) { this.body = body; return this; } @Override public GetSwitchRegionDetailResponse build() { return new GetSwitchRegionDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSwitchRegionDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSwitchRegionDetailResponseBody} extends {@link TeaModel} * * <p>GetSwitchRegionDetailResponseBody</p> */ public class GetSwitchRegionDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetSwitchRegionDetailResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetSwitchRegionDetailResponseBody 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(GetSwitchRegionDetailResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The response parameters.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>30CBF632-109F-596F-97F2-451C8B2A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetSwitchRegionDetailResponseBody build() { return new GetSwitchRegionDetailResponseBody(this); } } /** * * {@link GetSwitchRegionDetailResponseBody} extends {@link TeaModel} * * <p>GetSwitchRegionDetailResponseBody</p> */ public static class RegionStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("EcsCount") private Integer ecsCount; @com.aliyun.core.annotation.NameInMap("GmtPlanSwitchTime") private Long gmtPlanSwitchTime; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private RegionStatus(Builder builder) { this.ecsCount = builder.ecsCount; this.gmtPlanSwitchTime = builder.gmtPlanSwitchTime; this.regionId = builder.regionId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static RegionStatus create() { return builder().build(); } /** * @return ecsCount */ public Integer getEcsCount() { return this.ecsCount; } /** * @return gmtPlanSwitchTime */ public Long getGmtPlanSwitchTime() { return this.gmtPlanSwitchTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private Integer ecsCount; private Long gmtPlanSwitchTime; private String regionId; private Integer status; private Builder() { } private Builder(RegionStatus model) { this.ecsCount = model.ecsCount; this.gmtPlanSwitchTime = model.gmtPlanSwitchTime; this.regionId = model.regionId; this.status = model.status; } /** * <p>The number of ECS instances.</p> * * <strong>example:</strong> * <p>27</p> */ public Builder ecsCount(Integer ecsCount) { this.ecsCount = ecsCount; return this; } /** * <p>The time when the migration is scheduled.</p> * * <strong>example:</strong> * <p>1692858597000</p> */ public Builder gmtPlanSwitchTime(Long gmtPlanSwitchTime) { this.gmtPlanSwitchTime = gmtPlanSwitchTime; return this; } /** * <p>The region in which the server resides.</p> * * <strong>example:</strong> * <p>us-east-1</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The migration status. Valid values:</p> * <ul> * <li><strong>0</strong>: pending</li> * <li><strong>1</strong>: successful</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.status = status; return this; } public RegionStatus build() { return new RegionStatus(this); } } } /** * * {@link GetSwitchRegionDetailResponseBody} extends {@link TeaModel} * * <p>GetSwitchRegionDetailResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("GmtIsAgreeModified") private Long gmtIsAgreeModified; @com.aliyun.core.annotation.NameInMap("GmtNoticed") private Long gmtNoticed; @com.aliyun.core.annotation.NameInMap("IsAgree") private String isAgree; @com.aliyun.core.annotation.NameInMap("IsNoticed") private String isNoticed; @com.aliyun.core.annotation.NameInMap("NeedSwitch") private Boolean needSwitch; @com.aliyun.core.annotation.NameInMap("RegionStatus") private java.util.List<RegionStatus> regionStatus; private Data(Builder builder) { this.gmtIsAgreeModified = builder.gmtIsAgreeModified; this.gmtNoticed = builder.gmtNoticed; this.isAgree = builder.isAgree; this.isNoticed = builder.isNoticed; this.needSwitch = builder.needSwitch; this.regionStatus = builder.regionStatus; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return gmtIsAgreeModified */ public Long getGmtIsAgreeModified() { return this.gmtIsAgreeModified; } /** * @return gmtNoticed */ public Long getGmtNoticed() { return this.gmtNoticed; } /** * @return isAgree */ public String getIsAgree() { return this.isAgree; } /** * @return isNoticed */ public String getIsNoticed() { return this.isNoticed; } /** * @return needSwitch */ public Boolean getNeedSwitch() { return this.needSwitch; } /** * @return regionStatus */ public java.util.List<RegionStatus> getRegionStatus() { return this.regionStatus; } public static final class Builder { private Long gmtIsAgreeModified; private Long gmtNoticed; private String isAgree; private String isNoticed; private Boolean needSwitch; private java.util.List<RegionStatus> regionStatus; private Builder() { } private Builder(Data model) { this.gmtIsAgreeModified = model.gmtIsAgreeModified; this.gmtNoticed = model.gmtNoticed; this.isAgree = model.isAgree; this.isNoticed = model.isNoticed; this.needSwitch = model.needSwitch; this.regionStatus = model.regionStatus; } /** * <p>The time when the permissions were modified.</p> * * <strong>example:</strong> * <p>1692858597000</p> */ public Builder gmtIsAgreeModified(Long gmtIsAgreeModified) { this.gmtIsAgreeModified = gmtIsAgreeModified; return this; } /** * <p>The notification time.</p> * * <strong>example:</strong> * <p>1692858597000</p> */ public Builder gmtNoticed(Long gmtNoticed) { this.gmtNoticed = gmtNoticed; return this; } /** * <p>Indicates whether the migration is approved.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isAgree(String isAgree) { this.isAgree = isAgree; return this; } /** * <p>Indicates whether the notification is sent.</p> * * <strong>example:</strong> * <p>YES</p> */ public Builder isNoticed(String isNoticed) { this.isNoticed = isNoticed; return this; } /** * NeedSwitch. */ public Builder needSwitch(Boolean needSwitch) { this.needSwitch = needSwitch; return this; } /** * <p>The status of the switching to the region.</p> */ public Builder regionStatus(java.util.List<RegionStatus> regionStatus) { this.regionStatus = regionStatus; 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/GetTenantCheckAvailableRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetTenantCheckAvailableRequest} extends {@link RequestModel} * * <p>GetTenantCheckAvailableRequest</p> */ public class GetTenantCheckAvailableRequest extends Request { private GetTenantCheckAvailableRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetTenantCheckAvailableRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetTenantCheckAvailableRequest, Builder> { private Builder() { super(); } private Builder(GetTenantCheckAvailableRequest request) { super(request); } @Override public GetTenantCheckAvailableRequest build() { return new GetTenantCheckAvailableRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetTenantCheckAvailableResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetTenantCheckAvailableResponse} extends {@link TeaModel} * * <p>GetTenantCheckAvailableResponse</p> */ public class GetTenantCheckAvailableResponse 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 GetTenantCheckAvailableResponseBody body; private GetTenantCheckAvailableResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetTenantCheckAvailableResponse 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 GetTenantCheckAvailableResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetTenantCheckAvailableResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetTenantCheckAvailableResponseBody body); @Override GetTenantCheckAvailableResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetTenantCheckAvailableResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetTenantCheckAvailableResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetTenantCheckAvailableResponse 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(GetTenantCheckAvailableResponseBody body) { this.body = body; return this; } @Override public GetTenantCheckAvailableResponse build() { return new GetTenantCheckAvailableResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetTenantCheckAvailableResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetTenantCheckAvailableResponseBody} extends {@link TeaModel} * * <p>GetTenantCheckAvailableResponseBody</p> */ public class GetTenantCheckAvailableResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetTenantCheckAvailableResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetTenantCheckAvailableResponseBody 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(GetTenantCheckAvailableResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The response parameters.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>69BFFCDE-37D6-5A49-A8BC-BB03AC83****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetTenantCheckAvailableResponseBody build() { return new GetTenantCheckAvailableResponseBody(this); } } /** * * {@link GetTenantCheckAvailableResponseBody} extends {@link TeaModel} * * <p>GetTenantCheckAvailableResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("NextScanTime") private Long nextScanTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private Data(Builder builder) { this.nextScanTime = builder.nextScanTime; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return nextScanTime */ public Long getNextScanTime() { return this.nextScanTime; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private Long nextScanTime; private Integer status; private Builder() { } private Builder(Data model) { this.nextScanTime = model.nextScanTime; this.status = model.status; } /** * <p>The timestamp when you can submit a quick scan task.</p> * * <strong>example:</strong> * <p>1725530005357</p> */ public Builder nextScanTime(Long nextScanTime) { this.nextScanTime = nextScanTime; return this; } /** * <p>The status of the quick scan task. Enumerated values:</p> * <ul> * <li>0: You can submit a quick scan task.</li> * <li>1: The current task is not complete. You cannot submit a quick scan task.</li> * <li>2: The free quota for this week is exhausted. You must wait for the next free scan period.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer 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/GetUserLangRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetUserLangRequest} extends {@link RequestModel} * * <p>GetUserLangRequest</p> */ public class GetUserLangRequest extends Request { private GetUserLangRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetUserLangRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetUserLangRequest, Builder> { private Builder() { super(); } private Builder(GetUserLangRequest request) { super(request); } @Override public GetUserLangRequest build() { return new GetUserLangRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetUserLangResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetUserLangResponse} extends {@link TeaModel} * * <p>GetUserLangResponse</p> */ public class GetUserLangResponse 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 GetUserLangResponseBody body; private GetUserLangResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetUserLangResponse 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 GetUserLangResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetUserLangResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetUserLangResponseBody body); @Override GetUserLangResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetUserLangResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetUserLangResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetUserLangResponse 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(GetUserLangResponseBody body) { this.body = body; return this; } @Override public GetUserLangResponse build() { return new GetUserLangResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetUserLangResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetUserLangResponseBody} extends {@link TeaModel} * * <p>GetUserLangResponseBody</p> */ public class GetUserLangResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SasUserLang") private SasUserLang sasUserLang; private GetUserLangResponseBody(Builder builder) { this.requestId = builder.requestId; this.sasUserLang = builder.sasUserLang; } public static Builder builder() { return new Builder(); } public static GetUserLangResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sasUserLang */ public SasUserLang getSasUserLang() { return this.sasUserLang; } public static final class Builder { private String requestId; private SasUserLang sasUserLang; private Builder() { } private Builder(GetUserLangResponseBody model) { this.requestId = model.requestId; this.sasUserLang = model.sasUserLang; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>23AD0BD2-8771-5647-819E-6BA51E21****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The language settings.</p> */ public Builder sasUserLang(SasUserLang sasUserLang) { this.sasUserLang = sasUserLang; return this; } public GetUserLangResponseBody build() { return new GetUserLangResponseBody(this); } } /** * * {@link GetUserLangResponseBody} extends {@link TeaModel} * * <p>GetUserLangResponseBody</p> */ public static class SasUserLang extends TeaModel { @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private SasUserLang(Builder builder) { this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static SasUserLang create() { return builder().build(); } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder { private String lang; private Builder() { } private Builder(SasUserLang model) { this.lang = model.lang; } /** * <p>The language specified for log analysis. Valid values:</p> * <ul> * <li>zh: Chinese</li> * <li>en: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.lang = lang; return this; } public SasUserLang build() { return new SasUserLang(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVirusScanConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVirusScanConfigRequest} extends {@link RequestModel} * * <p>GetVirusScanConfigRequest</p> */ public class GetVirusScanConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; private GetVirusScanConfigRequest(Builder builder) { super(builder); this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static GetVirusScanConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<GetVirusScanConfigRequest, Builder> { private String taskType; private Builder() { super(); } private Builder(GetVirusScanConfigRequest request) { super(request); this.taskType = request.taskType; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>VIRUS_VUL_SCHEDULE_SCAN</strong>: a virus scan task.</li> * </ul> * * <strong>example:</strong> * <p>VIRUS_VUL_SCHEDULE_SCAN</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public GetVirusScanConfigRequest build() { return new GetVirusScanConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVirusScanConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVirusScanConfigResponse} extends {@link TeaModel} * * <p>GetVirusScanConfigResponse</p> */ public class GetVirusScanConfigResponse 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 GetVirusScanConfigResponseBody body; private GetVirusScanConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetVirusScanConfigResponse 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 GetVirusScanConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetVirusScanConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetVirusScanConfigResponseBody body); @Override GetVirusScanConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetVirusScanConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetVirusScanConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetVirusScanConfigResponse 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(GetVirusScanConfigResponseBody body) { this.body = body; return this; } @Override public GetVirusScanConfigResponse build() { return new GetVirusScanConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVirusScanConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVirusScanConfigResponseBody} extends {@link TeaModel} * * <p>GetVirusScanConfigResponseBody</p> */ public class GetVirusScanConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetVirusScanConfigResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetVirusScanConfigResponseBody 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(GetVirusScanConfigResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The data returned if the request was successful.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>028CF634-5268-5660-9575-48C9ED6BDEFC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetVirusScanConfigResponseBody build() { return new GetVirusScanConfigResponseBody(this); } } /** * * {@link GetVirusScanConfigResponseBody} extends {@link TeaModel} * * <p>GetVirusScanConfigResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AdditionType") private java.util.List<String> additionType; @com.aliyun.core.annotation.NameInMap("ConfigId") private String configId; @com.aliyun.core.annotation.NameInMap("Enable") private Integer enable; @com.aliyun.core.annotation.NameInMap("IntervalPeriod") private Integer intervalPeriod; @com.aliyun.core.annotation.NameInMap("PeriodUnit") private String periodUnit; @com.aliyun.core.annotation.NameInMap("ScanPath") private java.util.List<String> scanPath; @com.aliyun.core.annotation.NameInMap("ScanType") private String scanType; @com.aliyun.core.annotation.NameInMap("SelectionKey") private String selectionKey; @com.aliyun.core.annotation.NameInMap("TargetEndTime") private Integer targetEndTime; @com.aliyun.core.annotation.NameInMap("TargetStartTime") private Integer targetStartTime; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; private Data(Builder builder) { this.additionType = builder.additionType; this.configId = builder.configId; this.enable = builder.enable; this.intervalPeriod = builder.intervalPeriod; this.periodUnit = builder.periodUnit; this.scanPath = builder.scanPath; this.scanType = builder.scanType; this.selectionKey = builder.selectionKey; this.targetEndTime = builder.targetEndTime; this.targetStartTime = builder.targetStartTime; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return additionType */ public java.util.List<String> getAdditionType() { return this.additionType; } /** * @return configId */ public String getConfigId() { return this.configId; } /** * @return enable */ public Integer getEnable() { return this.enable; } /** * @return intervalPeriod */ public Integer getIntervalPeriod() { return this.intervalPeriod; } /** * @return periodUnit */ public String getPeriodUnit() { return this.periodUnit; } /** * @return scanPath */ public java.util.List<String> getScanPath() { return this.scanPath; } /** * @return scanType */ public String getScanType() { return this.scanType; } /** * @return selectionKey */ public String getSelectionKey() { return this.selectionKey; } /** * @return targetEndTime */ public Integer getTargetEndTime() { return this.targetEndTime; } /** * @return targetStartTime */ public Integer getTargetStartTime() { return this.targetStartTime; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder { private java.util.List<String> additionType; private String configId; private Integer enable; private Integer intervalPeriod; private String periodUnit; private java.util.List<String> scanPath; private String scanType; private String selectionKey; private Integer targetEndTime; private Integer targetStartTime; private String taskType; private Builder() { } private Builder(Data model) { this.additionType = model.additionType; this.configId = model.configId; this.enable = model.enable; this.intervalPeriod = model.intervalPeriod; this.periodUnit = model.periodUnit; this.scanPath = model.scanPath; this.scanType = model.scanType; this.selectionKey = model.selectionKey; this.targetEndTime = model.targetEndTime; this.targetStartTime = model.targetStartTime; this.taskType = model.taskType; } /** * <p>Extended scan types.</p> */ public Builder additionType(java.util.List<String> additionType) { this.additionType = additionType; return this; } /** * <p>The ID of the task configuration.</p> * <blockquote> * <p>You can call the <a href="~~DescribeCycleTaskList~~">DescribeCycleTaskList</a> operation to query the IDs of task configurations.</p> * </blockquote> * * <strong>example:</strong> * <p>97a1fed216908e417407344e1505xxxx</p> */ public Builder configId(String configId) { this.configId = configId; return this; } /** * <p>Indicates whether the periodic scan feature is enabled. Valid value:</p> * <ul> * <li><strong>1</strong>: The feature is enabled</li> * <li><strong>0</strong>: The feature is disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder enable(Integer enable) { this.enable = enable; return this; } /** * <p>The interval at which virus scan tasks are run.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder intervalPeriod(Integer intervalPeriod) { this.intervalPeriod = intervalPeriod; return this; } /** * <p>The unit of the interval at which virus scan tasks are run.</p> * <ul> * <li>The value is fixed as <strong>day</strong>.</li> * </ul> * * <strong>example:</strong> * <p>day</p> */ public Builder periodUnit(String periodUnit) { this.periodUnit = periodUnit; return this; } /** * <p>The file paths.</p> */ public Builder scanPath(java.util.List<String> scanPath) { this.scanPath = scanPath; return this; } /** * <p>The type of the virus scan task. Valid values:</p> * <ul> * <li><strong>system</strong>: automatic scan.</li> * <li><strong>user</strong>: custom scan.</li> * </ul> * * <strong>example:</strong> * <p>user</p> */ public Builder scanType(String scanType) { this.scanType = scanType; return this; } /** * <p>The key that stores the asset information.</p> * <blockquote> * <p>You can call the <a href="~~GetAssetSelectionConfig~~">GetAssetSelectionConfig</a> operation to obtain the key value.</p> * </blockquote> * * <strong>example:</strong> * <p>345ddbea-a57f-437e-832f-fb7a1202xxxx</p> */ public Builder selectionKey(String selectionKey) { this.selectionKey = selectionKey; return this; } /** * <p>The end time of the virus scan task. The time is a time frame.</p> * * <strong>example:</strong> * <p>6</p> */ public Builder targetEndTime(Integer targetEndTime) { this.targetEndTime = targetEndTime; return this; } /** * <p>The start time of the virus scan task. The time is a time frame.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder targetStartTime(Integer targetStartTime) { this.targetStartTime = targetStartTime; return this; } /** * <p>The type of the task. Valid value:</p> * <ul> * <li><strong>VIRUS_VUL_SCHEDULE_SCAN</strong>: a virus scan task.</li> * </ul> * * <strong>example:</strong> * <p>VIRUS_VUL_SCHEDULE_SCAN</p> */ public Builder taskType(String taskType) { this.taskType = taskType; 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/GetVirusScanLatestTaskStatisticRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVirusScanLatestTaskStatisticRequest} extends {@link RequestModel} * * <p>GetVirusScanLatestTaskStatisticRequest</p> */ public class GetVirusScanLatestTaskStatisticRequest extends Request { private GetVirusScanLatestTaskStatisticRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetVirusScanLatestTaskStatisticRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetVirusScanLatestTaskStatisticRequest, Builder> { private Builder() { super(); } private Builder(GetVirusScanLatestTaskStatisticRequest request) { super(request); } @Override public GetVirusScanLatestTaskStatisticRequest build() { return new GetVirusScanLatestTaskStatisticRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVirusScanLatestTaskStatisticResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVirusScanLatestTaskStatisticResponse} extends {@link TeaModel} * * <p>GetVirusScanLatestTaskStatisticResponse</p> */ public class GetVirusScanLatestTaskStatisticResponse 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 GetVirusScanLatestTaskStatisticResponseBody body; private GetVirusScanLatestTaskStatisticResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetVirusScanLatestTaskStatisticResponse 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 GetVirusScanLatestTaskStatisticResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetVirusScanLatestTaskStatisticResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetVirusScanLatestTaskStatisticResponseBody body); @Override GetVirusScanLatestTaskStatisticResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetVirusScanLatestTaskStatisticResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetVirusScanLatestTaskStatisticResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetVirusScanLatestTaskStatisticResponse 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(GetVirusScanLatestTaskStatisticResponseBody body) { this.body = body; return this; } @Override public GetVirusScanLatestTaskStatisticResponse build() { return new GetVirusScanLatestTaskStatisticResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVirusScanLatestTaskStatisticResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVirusScanLatestTaskStatisticResponseBody} extends {@link TeaModel} * * <p>GetVirusScanLatestTaskStatisticResponseBody</p> */ public class GetVirusScanLatestTaskStatisticResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetVirusScanLatestTaskStatisticResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetVirusScanLatestTaskStatisticResponseBody 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(GetVirusScanLatestTaskStatisticResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The information about the virus scan task.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetVirusScanLatestTaskStatisticResponseBody build() { return new GetVirusScanLatestTaskStatisticResponseBody(this); } } /** * * {@link GetVirusScanLatestTaskStatisticResponseBody} extends {@link TeaModel} * * <p>GetVirusScanLatestTaskStatisticResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CompleteMachine") private Integer completeMachine; @com.aliyun.core.annotation.NameInMap("MachineName") private String machineName; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("RiskLevel") private String riskLevel; @com.aliyun.core.annotation.NameInMap("SafeMachine") private Integer safeMachine; @com.aliyun.core.annotation.NameInMap("ScanMachine") private Integer scanMachine; @com.aliyun.core.annotation.NameInMap("ScanPath") private java.util.List<String> scanPath; @com.aliyun.core.annotation.NameInMap("ScanTime") private Long scanTime; @com.aliyun.core.annotation.NameInMap("ScanType") private String scanType; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("SuspiciousCount") private Integer suspiciousCount; @com.aliyun.core.annotation.NameInMap("SuspiciousMachine") private Integer suspiciousMachine; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("UnCompleteMachine") private Integer unCompleteMachine; private Data(Builder builder) { this.completeMachine = builder.completeMachine; this.machineName = builder.machineName; this.progress = builder.progress; this.riskLevel = builder.riskLevel; this.safeMachine = builder.safeMachine; this.scanMachine = builder.scanMachine; this.scanPath = builder.scanPath; this.scanTime = builder.scanTime; this.scanType = builder.scanType; this.status = builder.status; this.suspiciousCount = builder.suspiciousCount; this.suspiciousMachine = builder.suspiciousMachine; this.taskId = builder.taskId; this.unCompleteMachine = builder.unCompleteMachine; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return completeMachine */ public Integer getCompleteMachine() { return this.completeMachine; } /** * @return machineName */ public String getMachineName() { return this.machineName; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return riskLevel */ public String getRiskLevel() { return this.riskLevel; } /** * @return safeMachine */ public Integer getSafeMachine() { return this.safeMachine; } /** * @return scanMachine */ public Integer getScanMachine() { return this.scanMachine; } /** * @return scanPath */ public java.util.List<String> getScanPath() { return this.scanPath; } /** * @return scanTime */ public Long getScanTime() { return this.scanTime; } /** * @return scanType */ public String getScanType() { return this.scanType; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return suspiciousCount */ public Integer getSuspiciousCount() { return this.suspiciousCount; } /** * @return suspiciousMachine */ public Integer getSuspiciousMachine() { return this.suspiciousMachine; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return unCompleteMachine */ public Integer getUnCompleteMachine() { return this.unCompleteMachine; } public static final class Builder { private Integer completeMachine; private String machineName; private String progress; private String riskLevel; private Integer safeMachine; private Integer scanMachine; private java.util.List<String> scanPath; private Long scanTime; private String scanType; private Integer status; private Integer suspiciousCount; private Integer suspiciousMachine; private String taskId; private Integer unCompleteMachine; private Builder() { } private Builder(Data model) { this.completeMachine = model.completeMachine; this.machineName = model.machineName; this.progress = model.progress; this.riskLevel = model.riskLevel; this.safeMachine = model.safeMachine; this.scanMachine = model.scanMachine; this.scanPath = model.scanPath; this.scanTime = model.scanTime; this.scanType = model.scanType; this.status = model.status; this.suspiciousCount = model.suspiciousCount; this.suspiciousMachine = model.suspiciousMachine; this.taskId = model.taskId; this.unCompleteMachine = model.unCompleteMachine; } /** * <p>The number of machines on which the virus scan task is complete.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder completeMachine(Integer completeMachine) { this.completeMachine = completeMachine; return this; } /** * <p>The name of the machine.</p> * * <strong>example:</strong> * <p>testMahine1</p> */ public Builder machineName(String machineName) { this.machineName = machineName; return this; } /** * <p>The progress of the virus scan task in percentage.</p> * * <strong>example:</strong> * <p>92</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The highest risk level of the detected alerts. 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; } /** * <p>The number of safe machines that are detected.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder safeMachine(Integer safeMachine) { this.safeMachine = safeMachine; return this; } /** * <p>The number of machines that are scanned.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder scanMachine(Integer scanMachine) { this.scanMachine = scanMachine; return this; } /** * <p>The paths of files that were scanned. This value is returned only when ScanType is set to user.</p> */ public Builder scanPath(java.util.List<String> scanPath) { this.scanPath = scanPath; return this; } /** * <p>The timestamp generated when the virus scan task was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1681145862000</p> */ public Builder scanTime(Long scanTime) { this.scanTime = scanTime; return this; } /** * <p>The type of the virus scan. Valid values:</p> * <ul> * <li><strong>system</strong>: automatic scan.</li> * <li><strong>user</strong>: custom scan.</li> * </ul> * * <strong>example:</strong> * <p>system</p> */ public Builder scanType(String scanType) { this.scanType = scanType; return this; } /** * <p>The status of the virus scan task.</p> * <p><strong>Valid values for a main task</strong>:</p> * <ul> * <li><strong>0</strong>: The main task is to be started.</li> * <li><strong>10</strong>: The main task is running.</li> * <li><strong>100</strong>: The main task is complete.</li> * </ul> * <p><strong>Valid values for a subtask</strong>:</p> * <ul> * <li><strong>0</strong>: The subtask is to be started.</li> * <li><strong>20</strong>: The scan script is sent.</li> * <li><strong>50</strong>: The subtask is running.</li> * <li><strong>100</strong>: The subtask is complete.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The number of alerts that are detected.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder suspiciousCount(Integer suspiciousCount) { this.suspiciousCount = suspiciousCount; return this; } /** * <p>The number of suspicious machines that are detected.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder suspiciousMachine(Integer suspiciousMachine) { this.suspiciousMachine = suspiciousMachine; return this; } /** * <p>The ID of the virus scan task.</p> * * <strong>example:</strong> * <p>fc98d58eb56f699d49bf7ebbd6d7****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The number of machines on which the virus scan task was not complete or failed.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder unCompleteMachine(Integer unCompleteMachine) { this.unCompleteMachine = unCompleteMachine; 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/GetVulStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVulStatisticsRequest} extends {@link RequestModel} * * <p>GetVulStatisticsRequest</p> */ public class GetVulStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupIdList") @com.aliyun.core.annotation.Validation(required = true) private String groupIdList; @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 String typeList; private GetVulStatisticsRequest(Builder builder) { super(builder); this.groupIdList = builder.groupIdList; this.sourceIp = builder.sourceIp; this.typeList = builder.typeList; } public static Builder builder() { return new Builder(); } public static GetVulStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupIdList */ public String getGroupIdList() { return this.groupIdList; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return typeList */ public String getTypeList() { return this.typeList; } public static final class Builder extends Request.Builder<GetVulStatisticsRequest, Builder> { private String groupIdList; private String sourceIp; private String typeList; private Builder() { super(); } private Builder(GetVulStatisticsRequest request) { super(request); this.groupIdList = request.groupIdList; this.sourceIp = request.sourceIp; this.typeList = request.typeList; } /** * <p>The ID of the asset group. Separate multiple IDs with commas (,).</p> * <blockquote> * <p> You can call the <a href="~~DescribeAllGroups~~">DescribeAllGroups</a> operation to query the IDs of asset groups.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>9997897</p> */ public Builder groupIdList(String groupIdList) { this.putQueryParameter("GroupIdList", groupIdList); this.groupIdList = groupIdList; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>10.12.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The type of the vulnerability whose statistics you want to query. Separate multiple types with commas (,). Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerability</li> * <li><strong>sys</strong>: Windows system vulnerability</li> * <li><strong>cms</strong>: Web-CMS vulnerability</li> * <li><strong>emg</strong>: urgent vulnerability</li> * <li><strong>app</strong>: vulnerability detected by using a web scanner</li> * <li><strong>sca</strong>: vulnerability detected based on software component analysis</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cve</p> */ public Builder typeList(String typeList) { this.putQueryParameter("TypeList", typeList); this.typeList = typeList; return this; } @Override public GetVulStatisticsRequest build() { return new GetVulStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVulStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVulStatisticsResponse} extends {@link TeaModel} * * <p>GetVulStatisticsResponse</p> */ public class GetVulStatisticsResponse 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 GetVulStatisticsResponseBody body; private GetVulStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetVulStatisticsResponse 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 GetVulStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetVulStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetVulStatisticsResponseBody body); @Override GetVulStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetVulStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetVulStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetVulStatisticsResponse 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(GetVulStatisticsResponseBody body) { this.body = body; return this; } @Override public GetVulStatisticsResponse build() { return new GetVulStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVulStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVulStatisticsResponseBody} extends {@link TeaModel} * * <p>GetVulStatisticsResponseBody</p> */ public class GetVulStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VulAsapSum") private Integer vulAsapSum; @com.aliyun.core.annotation.NameInMap("VulLaterSum") private Integer vulLaterSum; @com.aliyun.core.annotation.NameInMap("VulNntfSum") private Integer vulNntfSum; private GetVulStatisticsResponseBody(Builder builder) { this.requestId = builder.requestId; this.vulAsapSum = builder.vulAsapSum; this.vulLaterSum = builder.vulLaterSum; this.vulNntfSum = builder.vulNntfSum; } public static Builder builder() { return new Builder(); } public static GetVulStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vulAsapSum */ public Integer getVulAsapSum() { return this.vulAsapSum; } /** * @return vulLaterSum */ public Integer getVulLaterSum() { return this.vulLaterSum; } /** * @return vulNntfSum */ public Integer getVulNntfSum() { return this.vulNntfSum; } public static final class Builder { private String requestId; private Integer vulAsapSum; private Integer vulLaterSum; private Integer vulNntfSum; private Builder() { } private Builder(GetVulStatisticsResponseBody model) { this.requestId = model.requestId; this.vulAsapSum = model.vulAsapSum; this.vulLaterSum = model.vulLaterSum; this.vulNntfSum = model.vulNntfSum; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>3FE272FA-7263-4554-A90F-A7857945A6D5</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The number of vulnerabilities that have the high priority.</p> * * <strong>example:</strong> * <p>16</p> */ public Builder vulAsapSum(Integer vulAsapSum) { this.vulAsapSum = vulAsapSum; return this; } /** * <p>The number of vulnerabilities that have the medium priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vulLaterSum(Integer vulLaterSum) { this.vulLaterSum = vulLaterSum; return this; } /** * <p>The number of vulnerabilities that have the low priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder vulNntfSum(Integer vulNntfSum) { this.vulNntfSum = vulNntfSum; return this; } public GetVulStatisticsResponseBody build() { return new GetVulStatisticsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVulWhitelistRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVulWhitelistRequest} extends {@link RequestModel} * * <p>GetVulWhitelistRequest</p> */ public class GetVulWhitelistRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VulWhitelistId") private Long vulWhitelistId; private GetVulWhitelistRequest(Builder builder) { super(builder); this.vulWhitelistId = builder.vulWhitelistId; } public static Builder builder() { return new Builder(); } public static GetVulWhitelistRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return vulWhitelistId */ public Long getVulWhitelistId() { return this.vulWhitelistId; } public static final class Builder extends Request.Builder<GetVulWhitelistRequest, Builder> { private Long vulWhitelistId; private Builder() { super(); } private Builder(GetVulWhitelistRequest request) { super(request); this.vulWhitelistId = request.vulWhitelistId; } /** * <p>The ID of the whitelist.</p> * * <strong>example:</strong> * <p>1275</p> */ public Builder vulWhitelistId(Long vulWhitelistId) { this.putQueryParameter("VulWhitelistId", vulWhitelistId); this.vulWhitelistId = vulWhitelistId; return this; } @Override public GetVulWhitelistRequest build() { return new GetVulWhitelistRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVulWhitelistResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVulWhitelistResponse} extends {@link TeaModel} * * <p>GetVulWhitelistResponse</p> */ public class GetVulWhitelistResponse 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 GetVulWhitelistResponseBody body; private GetVulWhitelistResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetVulWhitelistResponse 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 GetVulWhitelistResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetVulWhitelistResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetVulWhitelistResponseBody body); @Override GetVulWhitelistResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetVulWhitelistResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetVulWhitelistResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetVulWhitelistResponse 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(GetVulWhitelistResponseBody body) { this.body = body; return this; } @Override public GetVulWhitelistResponse build() { return new GetVulWhitelistResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetVulWhitelistResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetVulWhitelistResponseBody} extends {@link TeaModel} * * <p>GetVulWhitelistResponseBody</p> */ public class GetVulWhitelistResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VulWhitelist") private VulWhitelist vulWhitelist; private GetVulWhitelistResponseBody(Builder builder) { this.requestId = builder.requestId; this.vulWhitelist = builder.vulWhitelist; } public static Builder builder() { return new Builder(); } public static GetVulWhitelistResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vulWhitelist */ public VulWhitelist getVulWhitelist() { return this.vulWhitelist; } public static final class Builder { private String requestId; private VulWhitelist vulWhitelist; private Builder() { } private Builder(GetVulWhitelistResponseBody model) { this.requestId = model.requestId; this.vulWhitelist = model.vulWhitelist; } /** * <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>The information about the whitelist.</p> */ public Builder vulWhitelist(VulWhitelist vulWhitelist) { this.vulWhitelist = vulWhitelist; return this; } public GetVulWhitelistResponseBody build() { return new GetVulWhitelistResponseBody(this); } } /** * * {@link GetVulWhitelistResponseBody} extends {@link TeaModel} * * <p>GetVulWhitelistResponseBody</p> */ public static class VulWhitelist extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliasName") private String aliasName; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Reason") private String reason; @com.aliyun.core.annotation.NameInMap("Target") private String target; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Whitelist") private String whitelist; private VulWhitelist(Builder builder) { this.aliasName = builder.aliasName; this.id = builder.id; this.name = builder.name; this.reason = builder.reason; this.target = builder.target; this.type = builder.type; this.whitelist = builder.whitelist; } public static Builder builder() { return new Builder(); } public static VulWhitelist create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return id */ public Long getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return target */ public String getTarget() { return this.target; } /** * @return type */ public String getType() { return this.type; } /** * @return whitelist */ public String getWhitelist() { return this.whitelist; } public static final class Builder { private String aliasName; private Long id; private String name; private String reason; private String target; private String type; private String whitelist; private Builder() { } private Builder(VulWhitelist model) { this.aliasName = model.aliasName; this.id = model.id; this.name = model.name; this.reason = model.reason; this.target = model.target; this.type = model.type; this.whitelist = model.whitelist; } /** * <p>The alias of the vulnerability.</p> * * <strong>example:</strong> * <p>RHSA-2017:3263: curl security update</p> */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * <p>The ID of the whitelist.</p> * * <strong>example:</strong> * <p>1275</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the vulnerability.</p> * * <strong>example:</strong> * <p>oval:com.redhat.rhsa:def:20173263</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The reason why the vulnerability is added to the whitelist.</p> * * <strong>example:</strong> * <p>Ignore</p> */ public Builder reason(String reason) { this.reason = reason; return this; } /** * <p>The application scope of the rule. The value is a JSON string that contains the following fields:</p> * <ul> * <li><p><strong>type</strong>: the type of the assets to which the rule is applied. Valid values:</p> * <ul> * <li><strong>Uuid</strong>: server</li> * <li><strong>GroupId</strong>: server group</li> * </ul> * </li> * <li><p><strong>groupIds</strong>: the ID of the server group</p> * </li> * <li><p><strong>uuids</strong>: the UUID of the server</p> * </li> * </ul> * <blockquote> * <p>If this parameter is empty, the rule is applied to all types of assets.</p> * </blockquote> * * <strong>example:</strong> * <p>{ * &quot;type&quot;: &quot;GroupId&quot;, * &quot;uuids&quot;: [], * &quot;groupIds&quot;: [ * 10782678 * ] * }</p> */ public Builder target(String target) { this.target = target; return this; } /** * <p>The type of the vulnerability.</p> * * <strong>example:</strong> * <p>cve</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The information about the vulnerability that is added to the whitelist. The value is a JSON string that contains the following fields:</p> * <ul> * <li><p><strong>Name</strong>: the name of the vulnerability.</p> * </li> * <li><p><strong>Type</strong>: the type of the vulnerability. Valid values:</p> * <ul> * <li><strong>cve</strong>: Linux software vulnerability</li> * <li><strong>sys</strong>: Windows system vulnerability</li> * <li><strong>cms</strong>: Web-CMS vulnerability</li> * <li><strong>app</strong>: application vulnerability</li> * <li><strong>emg</strong>: urgent vulnerabilities</li> * </ul> * </li> * <li><p><strong>AliasName</strong>: the alias of the vulnerability.</p> * </li> * </ul> * * <strong>example:</strong> * <p>[ * { * &quot;Name&quot;: &quot;oval:com.redhat.rhsa:def:20173263&quot;, * &quot;Type&quot;: &quot;cve&quot;, * &quot;AliasName&quot;: &quot;RHSA-2017:3263: curl security update&quot; * } * ]</p> */ public Builder whitelist(String whitelist) { this.whitelist = whitelist; return this; } public VulWhitelist build() { return new VulWhitelist(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GrantSwitchAgreementRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GrantSwitchAgreementRequest} extends {@link RequestModel} * * <p>GrantSwitchAgreementRequest</p> */ public class GrantSwitchAgreementRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsAgree") private Boolean isAgree; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsImmediate") private Boolean isImmediate; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private GrantSwitchAgreementRequest(Builder builder) { super(builder); this.isAgree = builder.isAgree; this.isImmediate = builder.isImmediate; this.lang = builder.lang; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static GrantSwitchAgreementRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return isAgree */ public Boolean getIsAgree() { return this.isAgree; } /** * @return isImmediate */ public Boolean getIsImmediate() { return this.isImmediate; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<GrantSwitchAgreementRequest, Builder> { private Boolean isAgree; private Boolean isImmediate; private String lang; private String type; private Builder() { super(); } private Builder(GrantSwitchAgreementRequest request) { super(request); this.isAgree = request.isAgree; this.isImmediate = request.isImmediate; this.lang = request.lang; this.type = request.type; } /** * <p>Indicates whether to agree to migrate the client connections from overseas servers to the Singapore center.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isAgree(Boolean isAgree) { this.putQueryParameter("IsAgree", isAgree); this.isAgree = isAgree; return this; } /** * IsImmediate. */ public Builder isImmediate(Boolean isImmediate) { this.putQueryParameter("IsImmediate", isImmediate); this.isImmediate = isImmediate; return this; } /** * <p>The language type for requests and responses. The default value is <strong>zh</strong>. Possible 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>Switching type. Possible values:</p> * <ul> * <li><strong>sg_switch</strong>: Migrate client connections from overseas servers to Singapore</li> * </ul> * * <strong>example:</strong> * <p>sg_switch</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public GrantSwitchAgreementRequest build() { return new GrantSwitchAgreementRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GrantSwitchAgreementResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GrantSwitchAgreementResponse} extends {@link TeaModel} * * <p>GrantSwitchAgreementResponse</p> */ public class GrantSwitchAgreementResponse 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 GrantSwitchAgreementResponseBody body; private GrantSwitchAgreementResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GrantSwitchAgreementResponse 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 GrantSwitchAgreementResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GrantSwitchAgreementResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GrantSwitchAgreementResponseBody body); @Override GrantSwitchAgreementResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GrantSwitchAgreementResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GrantSwitchAgreementResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GrantSwitchAgreementResponse 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(GrantSwitchAgreementResponseBody body) { this.body = body; return this; } @Override public GrantSwitchAgreementResponse build() { return new GrantSwitchAgreementResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GrantSwitchAgreementResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GrantSwitchAgreementResponseBody} extends {@link TeaModel} * * <p>GrantSwitchAgreementResponseBody</p> */ public class GrantSwitchAgreementResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GrantSwitchAgreementResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GrantSwitchAgreementResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String code; private String message; private String requestId; private Builder() { } private Builder(GrantSwitchAgreementResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; } /** * <p>Code number.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The message returned with the request result.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request, and can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>11C96623-E106-59C9-866D-A6C82911459F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GrantSwitchAgreementResponseBody build() { return new GrantSwitchAgreementResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleMaliciousFilesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleMaliciousFilesRequest} extends {@link RequestModel} * * <p>HandleMaliciousFilesRequest</p> */ public class HandleMaliciousFilesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FileIdList") private java.util.List<Long> fileIdList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Operation") private String operation; private HandleMaliciousFilesRequest(Builder builder) { super(builder); this.fileIdList = builder.fileIdList; this.operation = builder.operation; } public static Builder builder() { return new Builder(); } public static HandleMaliciousFilesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return fileIdList */ public java.util.List<Long> getFileIdList() { return this.fileIdList; } /** * @return operation */ public String getOperation() { return this.operation; } public static final class Builder extends Request.Builder<HandleMaliciousFilesRequest, Builder> { private java.util.List<Long> fileIdList; private String operation; private Builder() { super(); } private Builder(HandleMaliciousFilesRequest request) { super(request); this.fileIdList = request.fileIdList; this.operation = request.operation; } /** * <p>List of file IDs to be processed.</p> * <blockquote> * <h2>You can call <a href="~~ListAgentlessMaliciousFiles~~">ListAgentlessMaliciousFiles</a> to get the IDs.</h2> * </blockquote> */ public Builder fileIdList(java.util.List<Long> fileIdList) { this.putQueryParameter("FileIdList", fileIdList); this.fileIdList = fileIdList; return this; } /** * <p>Type of operation:</p> * <ul> * <li>addWhitelist: Add to whitelist</li> * <li>offWhitelist: Remove from whitelist</li> * </ul> * * <strong>example:</strong> * <p>addWhitelist</p> */ public Builder operation(String operation) { this.putQueryParameter("Operation", operation); this.operation = operation; return this; } @Override public HandleMaliciousFilesRequest build() { return new HandleMaliciousFilesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleMaliciousFilesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleMaliciousFilesResponse} extends {@link TeaModel} * * <p>HandleMaliciousFilesResponse</p> */ public class HandleMaliciousFilesResponse 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 HandleMaliciousFilesResponseBody body; private HandleMaliciousFilesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static HandleMaliciousFilesResponse 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 HandleMaliciousFilesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<HandleMaliciousFilesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(HandleMaliciousFilesResponseBody body); @Override HandleMaliciousFilesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<HandleMaliciousFilesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private HandleMaliciousFilesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(HandleMaliciousFilesResponse 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(HandleMaliciousFilesResponseBody body) { this.body = body; return this; } @Override public HandleMaliciousFilesResponse build() { return new HandleMaliciousFilesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleMaliciousFilesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>HandleMaliciousFilesResponseBody</p> */ public class HandleMaliciousFilesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private HandleMaliciousFilesResponseBody(Builder builder) { this.code = builder.code; this.httpStatusCode = builder.httpStatusCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static HandleMaliciousFilesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Integer httpStatusCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(HandleMaliciousFilesResponseBody model) { this.code = model.code; this.httpStatusCode = model.httpStatusCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>Result code, <strong>200</strong> indicates success, any other value indicates failure. The caller can use this field to determine the reason for the failure.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>Return message of the request.</p> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The unique identifier generated by Alibaba Cloud for this request.</p> * * <strong>example:</strong> * <p>09969D2C-4FAD-429E-BFBF-9A60DEF8B****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the API call was successful. Values:</p> * <ul> * <li><strong>true</strong>: Success</li> * <li><strong>false</strong>: Failure</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public HandleMaliciousFilesResponseBody build() { return new HandleMaliciousFilesResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleSecurityEventsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleSecurityEventsRequest} extends {@link RequestModel} * * <p>HandleSecurityEventsRequest</p> */ public class HandleSecurityEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MarkBatch") private String markBatch; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MarkMissParam") private String markMissParam; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperationCode") @com.aliyun.core.annotation.Validation(required = true) private String operationCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperationParams") private String operationParams; @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("SecurityEventIds") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> securityEventIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; private HandleSecurityEventsRequest(Builder builder) { super(builder); this.markBatch = builder.markBatch; this.markMissParam = builder.markMissParam; this.operationCode = builder.operationCode; this.operationParams = builder.operationParams; this.remark = builder.remark; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; this.securityEventIds = builder.securityEventIds; this.sourceIp = builder.sourceIp; } public static Builder builder() { return new Builder(); } public static HandleSecurityEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return markBatch */ public String getMarkBatch() { return this.markBatch; } /** * @return markMissParam */ public String getMarkMissParam() { return this.markMissParam; } /** * @return operationCode */ public String getOperationCode() { return this.operationCode; } /** * @return operationParams */ public String getOperationParams() { return this.operationParams; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } /** * @return securityEventIds */ public java.util.List<String> getSecurityEventIds() { return this.securityEventIds; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } public static final class Builder extends Request.Builder<HandleSecurityEventsRequest, Builder> { private String markBatch; private String markMissParam; private String operationCode; private String operationParams; private String remark; private Long resourceDirectoryAccountId; private java.util.List<String> securityEventIds; private String sourceIp; private Builder() { super(); } private Builder(HandleSecurityEventsRequest request) { super(request); this.markBatch = request.markBatch; this.markMissParam = request.markMissParam; this.operationCode = request.operationCode; this.operationParams = request.operationParams; this.remark = request.remark; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; this.securityEventIds = request.securityEventIds; this.sourceIp = request.sourceIp; } /** * <p>Specifies whether to add multiple alert events to the whitelist at a time. Valid values:</p> * <ul> * <li><strong>true</strong>: yes</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder markBatch(String markBatch) { this.putQueryParameter("MarkBatch", markBatch); this.markBatch = markBatch; return this; } /** * <p>The whitelist rule. The value of this parameter is in the JSON format and contains the following fields:</p> * <ul> * <li><p><strong>field</strong>: The field based on which alert events are added to the whitelist.</p> * </li> * <li><p><strong>operate</strong>: The method that is used to added alert events to the whitelist. Valid values:</p> * <ul> * <li><strong>notContains</strong>: does not contain</li> * <li><strong>contains</strong>: contains</li> * <li><strong>regex</strong>: matches by regular expression</li> * <li><strong>strEqual</strong>: equals</li> * <li><strong>strNotEqual</strong>: does not equal</li> * </ul> * </li> * <li><p><strong>fieldValue</strong>: The value of the field based on which alert events are added to the whitelist.</p> * </li> * <li><p><strong>uuid</strong>: The application scope of the whitelist rule. Valid values:</p> * <ul> * <li><strong>part</strong>: the current asset</li> * <li><strong>ALL</strong>: all assets</li> * </ul> * </li> * </ul> * <blockquote> * <p> You can call the <a href="~~DescribeSecurityEventOperations~~">DescribeSecurityEventOperations</a> operation to obtain the fields that you can specify for <strong>field</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>[{&quot;uuid&quot;:&quot;part&quot;,&quot;field&quot;:&quot;gmtModified&quot;,&quot;operate&quot;:&quot;contains&quot;,&quot;fieldValue&quot;:&quot;asd&quot;},{&quot;uuid&quot;:&quot;part&quot;,&quot;field&quot;:&quot;loginUser&quot;,&quot;operate&quot;:&quot;contains&quot;,&quot;fieldValue&quot;:&quot;vff&quot;}]</p> */ public Builder markMissParam(String markMissParam) { this.putQueryParameter("MarkMissParam", markMissParam); this.markMissParam = markMissParam; return this; } /** * <p>The operation that you want to perform to handle the alert events. Valid values:</p> * <ul> * <li><strong>block_ip</strong>: blocks the source IP address.</li> * <li><strong>advance_mark_mis_info</strong>: adds the alert events to the whitelist.</li> * <li><strong>ignore</strong>: ignores the alert events.</li> * <li><strong>manual_handled</strong>: marks the alert events as manually handled.</li> * <li><strong>kill_process</strong>: terminates the malicious process.</li> * <li><strong>cleanup</strong>: performs in-depth virus detection and removal.</li> * <li><strong>kill_and_quara</strong>: kills the malicious processes and quarantines the source file.</li> * <li><strong>disable_malicious_defense</strong>: stops the container on which the alerting files or processes exist.</li> * <li><strong>client_problem_check</strong>: performs troubleshooting.</li> * <li><strong>quara</strong>: quarantines the source file of the malicious process.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>block_ip</p> */ public Builder operationCode(String operationCode) { this.putQueryParameter("OperationCode", operationCode); this.operationCode = operationCode; return this; } /** * <p>The configuration of the operation that you want to perform to handle the alert events.</p> * <blockquote> * <p> If you set OperationCode to <code>kill_and_quara</code> or <code>block_ip</code>, you must specify OperationParams. If you set OperationCode to other values, you can leave OperationParams empty.</p> * </blockquote> * * <strong>example:</strong> * <p>{}</p> */ public Builder operationParams(String operationParams) { this.putQueryParameter("OperationParams", operationParams); this.operationParams = operationParams; return this; } /** * <p>The remarks of the handling operation.</p> * * <strong>example:</strong> * <p>remark test.</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>16670360956*****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } /** * <p>The IDs of the alert events.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[&quot;909361&quot;]</p> */ public Builder securityEventIds(java.util.List<String> securityEventIds) { this.putQueryParameter("SecurityEventIds", securityEventIds); this.securityEventIds = securityEventIds; 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; } @Override public HandleSecurityEventsRequest build() { return new HandleSecurityEventsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleSecurityEventsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleSecurityEventsResponse} extends {@link TeaModel} * * <p>HandleSecurityEventsResponse</p> */ public class HandleSecurityEventsResponse 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 HandleSecurityEventsResponseBody body; private HandleSecurityEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static HandleSecurityEventsResponse 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 HandleSecurityEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<HandleSecurityEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(HandleSecurityEventsResponseBody body); @Override HandleSecurityEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<HandleSecurityEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private HandleSecurityEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(HandleSecurityEventsResponse 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(HandleSecurityEventsResponseBody body) { this.body = body; return this; } @Override public HandleSecurityEventsResponse build() { return new HandleSecurityEventsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleSecurityEventsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleSecurityEventsResponseBody} extends {@link TeaModel} * * <p>HandleSecurityEventsResponseBody</p> */ public class HandleSecurityEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("HandleSecurityEventsResponse") private HandleSecurityEventsResponse handleSecurityEventsResponse; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private HandleSecurityEventsResponseBody(Builder builder) { this.handleSecurityEventsResponse = builder.handleSecurityEventsResponse; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static HandleSecurityEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return handleSecurityEventsResponse */ public HandleSecurityEventsResponse getHandleSecurityEventsResponse() { return this.handleSecurityEventsResponse; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private HandleSecurityEventsResponse handleSecurityEventsResponse; private String requestId; private Builder() { } private Builder(HandleSecurityEventsResponseBody model) { this.handleSecurityEventsResponse = model.handleSecurityEventsResponse; this.requestId = model.requestId; } /** * <p>The handling result of the alert events.</p> */ public Builder handleSecurityEventsResponse(HandleSecurityEventsResponse handleSecurityEventsResponse) { this.handleSecurityEventsResponse = handleSecurityEventsResponse; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>FF0020B9-999F-5DE2-985F-DB282BDA5311</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public HandleSecurityEventsResponseBody build() { return new HandleSecurityEventsResponseBody(this); } } /** * * {@link HandleSecurityEventsResponseBody} extends {@link TeaModel} * * <p>HandleSecurityEventsResponseBody</p> */ public static class HandleSecurityEventsResponse extends TeaModel { @com.aliyun.core.annotation.NameInMap("TaskId") private Long taskId; private HandleSecurityEventsResponse(Builder builder) { this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static HandleSecurityEventsResponse create() { return builder().build(); } /** * @return taskId */ public Long getTaskId() { return this.taskId; } public static final class Builder { private Long taskId; private Builder() { } private Builder(HandleSecurityEventsResponse model) { this.taskId = model.taskId; } /** * <p>The ID of the task to handle the alert events.</p> * * <strong>example:</strong> * <p>15411</p> */ public Builder taskId(Long taskId) { this.taskId = taskId; return this; } public HandleSecurityEventsResponse build() { return new HandleSecurityEventsResponse(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleSimilarSecurityEventsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleSimilarSecurityEventsRequest} extends {@link RequestModel} * * <p>HandleSimilarSecurityEventsRequest</p> */ public class HandleSimilarSecurityEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MarkMissParam") private String markMissParam; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperationCode") @com.aliyun.core.annotation.Validation(required = true) private String operationCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperationParams") private String operationParams; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @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("TaskId") @com.aliyun.core.annotation.Validation(required = true) private Long taskId; private HandleSimilarSecurityEventsRequest(Builder builder) { super(builder); this.markMissParam = builder.markMissParam; this.operationCode = builder.operationCode; this.operationParams = builder.operationParams; this.remark = builder.remark; this.resourceOwnerId = builder.resourceOwnerId; this.sourceIp = builder.sourceIp; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static HandleSimilarSecurityEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return markMissParam */ public String getMarkMissParam() { return this.markMissParam; } /** * @return operationCode */ public String getOperationCode() { return this.operationCode; } /** * @return operationParams */ public String getOperationParams() { return this.operationParams; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return taskId */ public Long getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<HandleSimilarSecurityEventsRequest, Builder> { private String markMissParam; private String operationCode; private String operationParams; private String remark; private Long resourceOwnerId; private String sourceIp; private Long taskId; private Builder() { super(); } private Builder(HandleSimilarSecurityEventsRequest request) { super(request); this.markMissParam = request.markMissParam; this.operationCode = request.operationCode; this.operationParams = request.operationParams; this.remark = request.remark; this.resourceOwnerId = request.resourceOwnerId; this.sourceIp = request.sourceIp; this.taskId = request.taskId; } /** * <p>The whitelist rule. For example, if you want to add a file that contains the string a to the whitelist based on the MD5 hash value, set this parameter to {&quot;field&quot;:&quot;md5&quot;,&quot;operate&quot;:&quot;contains&quot;,&quot;fieldValue&quot;:&quot;aa&quot;}.</p> * * <strong>example:</strong> * <p>{&quot;field&quot;:&quot;md5&quot;,&quot;operate&quot;:&quot;contains&quot;,&quot;fieldValue&quot;:&quot;aa&quot;}</p> */ public Builder markMissParam(String markMissParam) { this.putQueryParameter("MarkMissParam", markMissParam); this.markMissParam = markMissParam; return this; } /** * <p>The operation that you want to perform to handle the alert events.</p> * <blockquote> * <p> You can call the <a href="~~DescribeSecurityEventOperations~~">DescribeSecurityEventOperations</a> operation to query the operations.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>offline_handled</p> */ public Builder operationCode(String operationCode) { this.putQueryParameter("OperationCode", operationCode); this.operationCode = operationCode; return this; } /** * <p>The configuration of the operation that you want to perform to handle the alert events. The value of this parameter is in the JSON format.</p> * <blockquote> * <p> If you set <strong>OperationCode</strong> to <strong>kill_and_quara</strong>, <strong>block_ip</strong>, or <strong>virus_quara</strong>, you must specify OperationParams. If you set <strong>OperationCode</strong> to other values, you can leave OperationParams empty. If you set <strong>OperationCode</strong> to <strong>block_ip</strong>, the value of OperationParams must consist of the following fields:</p> * </blockquote> * <blockquote> * <ul> * <li><strong>expireTime</strong>: the end time of locking. Unit: milliseconds.</li> * </ul> * </blockquote> * <blockquote> * <p> If you set <strong>OperationCode</strong> to <strong>kill_and_quara</strong>, the value of OperationParams must consist of the following fields:</p> * </blockquote> * <blockquote> * <ul> * <li><strong>subOperation</strong>: the method of detection and removal. Valid values:</li> * </ul> * </blockquote> * <blockquote> * <pre><code>* **killAndQuaraFileByMd5andPath**: terminates the process and quarantines the source file of the process. * * **killByMd5andPath**: terminates the running process. * </code></pre> * </blockquote> * <blockquote> * <p> If you set <strong>OperationCode</strong> to <strong>virus_quara</strong>, the value of OperationParams consists of the following fields:</p> * </blockquote> * <blockquote> * <ul> * <li><strong>subOperation</strong>: the method of detection and removal. Valid values:</li> * </ul> * </blockquote> * <blockquote> * <pre><code>* **quaraFileByMd5andPath**: quarantines the source file of the process. * </code></pre> * </blockquote> * * <strong>example:</strong> * <p>{&quot;expireTime&quot;:1646208726195}</p> */ public Builder operationParams(String operationParams) { this.putQueryParameter("OperationParams", operationParams); this.operationParams = operationParams; return this; } /** * <p>The remark of the operation.</p> * * <strong>example:</strong> * <p>remark test.</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The ID of the task that handles the alert events at a time.</p> * <blockquote> * <p> You can call the <a href="~~CreateSimilarSecurityEventsQueryTask~~">CreateSimilarSecurityEventsQueryTask</a> operation to query the IDs of tasks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>666038</p> */ public Builder taskId(Long taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public HandleSimilarSecurityEventsRequest build() { return new HandleSimilarSecurityEventsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleSimilarSecurityEventsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleSimilarSecurityEventsResponse} extends {@link TeaModel} * * <p>HandleSimilarSecurityEventsResponse</p> */ public class HandleSimilarSecurityEventsResponse 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 HandleSimilarSecurityEventsResponseBody body; private HandleSimilarSecurityEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static HandleSimilarSecurityEventsResponse 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 HandleSimilarSecurityEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<HandleSimilarSecurityEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(HandleSimilarSecurityEventsResponseBody body); @Override HandleSimilarSecurityEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<HandleSimilarSecurityEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private HandleSimilarSecurityEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(HandleSimilarSecurityEventsResponse 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(HandleSimilarSecurityEventsResponseBody body) { this.body = body; return this; } @Override public HandleSimilarSecurityEventsResponse build() { return new HandleSimilarSecurityEventsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/HandleSimilarSecurityEventsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HandleSimilarSecurityEventsResponseBody} extends {@link TeaModel} * * <p>HandleSimilarSecurityEventsResponseBody</p> */ public class HandleSimilarSecurityEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private HandleSimilarSecurityEventsResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static HandleSimilarSecurityEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(HandleSimilarSecurityEventsResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>A3653911-33A6-5268-8B91-7690471F7AA1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public HandleSimilarSecurityEventsResponseBody build() { return new HandleSimilarSecurityEventsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreCheckItemsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreCheckItemsRequest} extends {@link RequestModel} * * <p>IgnoreCheckItemsRequest</p> */ public class IgnoreCheckItemsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CheckAndRiskTypeList") private java.util.List<CheckAndRiskTypeList> checkAndRiskTypeList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CheckIds") private java.util.List<Long> checkIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerItems") private java.util.List<ContainerItems> containerItems; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Reason") private String reason; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private Integer type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UuidList") private java.util.List<String> uuidList; private IgnoreCheckItemsRequest(Builder builder) { super(builder); this.checkAndRiskTypeList = builder.checkAndRiskTypeList; this.checkIds = builder.checkIds; this.containerItems = builder.containerItems; this.lang = builder.lang; this.reason = builder.reason; this.source = builder.source; this.type = builder.type; this.uuidList = builder.uuidList; } public static Builder builder() { return new Builder(); } public static IgnoreCheckItemsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return checkAndRiskTypeList */ public java.util.List<CheckAndRiskTypeList> getCheckAndRiskTypeList() { return this.checkAndRiskTypeList; } /** * @return checkIds */ public java.util.List<Long> getCheckIds() { return this.checkIds; } /** * @return containerItems */ public java.util.List<ContainerItems> getContainerItems() { return this.containerItems; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return source */ public String getSource() { return this.source; } /** * @return type */ public Integer getType() { return this.type; } /** * @return uuidList */ public java.util.List<String> getUuidList() { return this.uuidList; } public static final class Builder extends Request.Builder<IgnoreCheckItemsRequest, Builder> { private java.util.List<CheckAndRiskTypeList> checkAndRiskTypeList; private java.util.List<Long> checkIds; private java.util.List<ContainerItems> containerItems; private String lang; private String reason; private String source; private Integer type; private java.util.List<String> uuidList; private Builder() { super(); } private Builder(IgnoreCheckItemsRequest request) { super(request); this.checkAndRiskTypeList = request.checkAndRiskTypeList; this.checkIds = request.checkIds; this.containerItems = request.containerItems; this.lang = request.lang; this.reason = request.reason; this.source = request.source; this.type = request.type; this.uuidList = request.uuidList; } /** * <p>The information about check items.</p> */ public Builder checkAndRiskTypeList(java.util.List<CheckAndRiskTypeList> checkAndRiskTypeList) { this.putQueryParameter("CheckAndRiskTypeList", checkAndRiskTypeList); this.checkAndRiskTypeList = checkAndRiskTypeList; return this; } /** * <p>The IDs of check items.</p> */ public Builder checkIds(java.util.List<Long> checkIds) { this.putQueryParameter("CheckIds", checkIds); this.checkIds = checkIds; return this; } /** * <p>List of container names that need to be whitelisted.</p> */ public Builder containerItems(java.util.List<ContainerItems> containerItems) { this.putQueryParameter("ContainerItems", containerItems); this.containerItems = containerItems; 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 reason why you add the risk item to the whitelist.</p> * * <strong>example:</strong> * <p>already config in another way</p> */ public Builder reason(String reason) { this.putQueryParameter("Reason", reason); this.reason = reason; return this; } /** * <p>The data source. Valid values:</p> * <ul> * <li><strong>default</strong>: host baseline</li> * <li><strong>agentless</strong>: agentless baseline</li> * </ul> * * <strong>example:</strong> * <p>agentless</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The operation that you want to perform on the risk item.Valid values:</p> * <ul> * <li><strong>1</strong>: adds the risk item to the whitelist</li> * <li><strong>2</strong>: removes the risk item from the whitelist</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder type(Integer type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUIDs of the servers.</p> * <blockquote> * <p>You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> */ public Builder uuidList(java.util.List<String> uuidList) { this.putQueryParameter("UuidList", uuidList); this.uuidList = uuidList; return this; } @Override public IgnoreCheckItemsRequest build() { return new IgnoreCheckItemsRequest(this); } } /** * * {@link IgnoreCheckItemsRequest} extends {@link TeaModel} * * <p>IgnoreCheckItemsRequest</p> */ public static class CheckAndRiskTypeList extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckId") private Long checkId; @com.aliyun.core.annotation.NameInMap("RiskType") private String riskType; private CheckAndRiskTypeList(Builder builder) { this.checkId = builder.checkId; this.riskType = builder.riskType; } public static Builder builder() { return new Builder(); } public static CheckAndRiskTypeList create() { return builder().build(); } /** * @return checkId */ public Long getCheckId() { return this.checkId; } /** * @return riskType */ public String getRiskType() { return this.riskType; } public static final class Builder { private Long checkId; private String riskType; private Builder() { } private Builder(CheckAndRiskTypeList model) { this.checkId = model.checkId; this.riskType = model.riskType; } /** * <p>The ID of the check item.</p> * * <strong>example:</strong> * <p>52</p> */ public Builder checkId(Long checkId) { this.checkId = checkId; return this; } /** * <p>The baseline type of the check item.</p> * * <strong>example:</strong> * <p>weak_password</p> */ public Builder riskType(String riskType) { this.riskType = riskType; return this; } public CheckAndRiskTypeList build() { return new CheckAndRiskTypeList(this); } } } /** * * {@link IgnoreCheckItemsRequest} extends {@link TeaModel} * * <p>IgnoreCheckItemsRequest</p> */ public static class ContainerItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerNames") private String containerNames; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ContainerItems(Builder builder) { this.containerNames = builder.containerNames; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ContainerItems create() { return builder().build(); } /** * @return containerNames */ public String getContainerNames() { return this.containerNames; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String containerNames; private String uuid; private Builder() { } private Builder(ContainerItems model) { this.containerNames = model.containerNames; this.uuid = model.uuid; } /** * <p>The names of the containers that need to be whitelisted for the current asset, separated by English commas.</p> * * <strong>example:</strong> * <p>&quot;anythingllm,ChuanhuChat&quot;</p> */ public Builder containerNames(String containerNames) { this.containerNames = containerNames; return this; } /** * <p>The UUID of the server.</p> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/141932.html">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> * * <strong>example:</strong> * <p>14eb2fb6-ab02-4869-a1e1-2cdb0f7*****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public ContainerItems build() { return new ContainerItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreCheckItemsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreCheckItemsResponse} extends {@link TeaModel} * * <p>IgnoreCheckItemsResponse</p> */ public class IgnoreCheckItemsResponse 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 IgnoreCheckItemsResponseBody body; private IgnoreCheckItemsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static IgnoreCheckItemsResponse 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 IgnoreCheckItemsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<IgnoreCheckItemsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(IgnoreCheckItemsResponseBody body); @Override IgnoreCheckItemsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<IgnoreCheckItemsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private IgnoreCheckItemsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(IgnoreCheckItemsResponse 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(IgnoreCheckItemsResponseBody body) { this.body = body; return this; } @Override public IgnoreCheckItemsResponse build() { return new IgnoreCheckItemsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreCheckItemsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreCheckItemsResponseBody} extends {@link TeaModel} * * <p>IgnoreCheckItemsResponseBody</p> */ public class IgnoreCheckItemsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private IgnoreCheckItemsResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static IgnoreCheckItemsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(IgnoreCheckItemsResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>11EBEC99-B4B5-542E-8C17-B87B624C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public IgnoreCheckItemsResponseBody build() { return new IgnoreCheckItemsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreHcCheckWarningsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreHcCheckWarningsRequest} extends {@link RequestModel} * * <p>IgnoreHcCheckWarningsRequest</p> */ public class IgnoreHcCheckWarningsRequest 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("CheckWarningIds") private String checkWarningIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Reason") private String reason; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RiskId") private String riskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @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 Long type; private IgnoreHcCheckWarningsRequest(Builder builder) { super(builder); this.checkIds = builder.checkIds; this.checkWarningIds = builder.checkWarningIds; this.reason = builder.reason; this.riskId = builder.riskId; this.source = builder.source; this.sourceIp = builder.sourceIp; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static IgnoreHcCheckWarningsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return checkIds */ public String getCheckIds() { return this.checkIds; } /** * @return checkWarningIds */ public String getCheckWarningIds() { return this.checkWarningIds; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return riskId */ public String getRiskId() { return this.riskId; } /** * @return source */ public String getSource() { return this.source; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return type */ public Long getType() { return this.type; } public static final class Builder extends Request.Builder<IgnoreHcCheckWarningsRequest, Builder> { private String checkIds; private String checkWarningIds; private String reason; private String riskId; private String source; private String sourceIp; private Long type; private Builder() { super(); } private Builder(IgnoreHcCheckWarningsRequest request) { super(request); this.checkIds = request.checkIds; this.checkWarningIds = request.checkWarningIds; this.reason = request.reason; this.riskId = request.riskId; this.source = request.source; this.sourceIp = request.sourceIp; this.type = request.type; } /** * <p>The ID of the check item.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/116182.html">DescribeCheckWarnings</a> operation to query the IDs of check items.</p> * </blockquote> * * <strong>example:</strong> * <p>21313</p> */ public Builder checkIds(String checkIds) { this.putQueryParameter("CheckIds", checkIds); this.checkIds = checkIds; return this; } /** * <p>The ID of the alert that is triggered by the check item. Separate multiple IDs with commas (,).</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/116182.html">DescribeCheckWarnings</a> operation to query the IDs of alerts that are triggered by check items.</p> * </blockquote> * * <strong>example:</strong> * <p>98146905,98146907</p> */ public Builder checkWarningIds(String checkWarningIds) { this.putQueryParameter("CheckWarningIds", checkWarningIds); this.checkWarningIds = checkWarningIds; return this; } /** * <p>The reason for the current operation.</p> * * <strong>example:</strong> * <p>ignore</p> */ public Builder reason(String reason) { this.putQueryParameter("Reason", reason); this.reason = reason; return this; } /** * <p>The ID of the risk item that you want to ignore or cancel ignoring.</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 risk items.</p> * </blockquote> * * <strong>example:</strong> * <p>51</p> */ public Builder riskId(String riskId) { this.putQueryParameter("RiskId", riskId); this.riskId = riskId; return this; } /** * <p>The data source. If this parameter is left empty, the server baseline results are queried by default. Valid values:</p> * <ul> * <li><strong>default</strong>: server</li> * <li><strong>agentless</strong></li> * </ul> * * <strong>example:</strong> * <p>agentless</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The type of the operation that you want to perform. Valid values:</p> * <ul> * <li><strong>1</strong>: ignores a risk item</li> * <li><strong>2</strong>: cancels ignoring a risk item</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder type(Long type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public IgnoreHcCheckWarningsRequest build() { return new IgnoreHcCheckWarningsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreHcCheckWarningsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreHcCheckWarningsResponse} extends {@link TeaModel} * * <p>IgnoreHcCheckWarningsResponse</p> */ public class IgnoreHcCheckWarningsResponse 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 IgnoreHcCheckWarningsResponseBody body; private IgnoreHcCheckWarningsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static IgnoreHcCheckWarningsResponse 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 IgnoreHcCheckWarningsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<IgnoreHcCheckWarningsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(IgnoreHcCheckWarningsResponseBody body); @Override IgnoreHcCheckWarningsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<IgnoreHcCheckWarningsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private IgnoreHcCheckWarningsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(IgnoreHcCheckWarningsResponse 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(IgnoreHcCheckWarningsResponseBody body) { this.body = body; return this; } @Override public IgnoreHcCheckWarningsResponse build() { return new IgnoreHcCheckWarningsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreHcCheckWarningsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreHcCheckWarningsResponseBody} extends {@link TeaModel} * * <p>IgnoreHcCheckWarningsResponseBody</p> */ public class IgnoreHcCheckWarningsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private IgnoreHcCheckWarningsResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static IgnoreHcCheckWarningsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(IgnoreHcCheckWarningsResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B113119F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public IgnoreHcCheckWarningsResponseBody build() { return new IgnoreHcCheckWarningsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreIdcProbeScanResultRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreIdcProbeScanResultRequest} extends {@link RequestModel} * * <p>IgnoreIdcProbeScanResultRequest</p> */ public class IgnoreIdcProbeScanResultRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IgnoreAction") @com.aliyun.core.annotation.Validation(required = true) private Integer ignoreAction; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScanResultIds") @com.aliyun.core.annotation.Validation(required = true) private String scanResultIds; private IgnoreIdcProbeScanResultRequest(Builder builder) { super(builder); this.ignoreAction = builder.ignoreAction; this.scanResultIds = builder.scanResultIds; } public static Builder builder() { return new Builder(); } public static IgnoreIdcProbeScanResultRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ignoreAction */ public Integer getIgnoreAction() { return this.ignoreAction; } /** * @return scanResultIds */ public String getScanResultIds() { return this.scanResultIds; } public static final class Builder extends Request.Builder<IgnoreIdcProbeScanResultRequest, Builder> { private Integer ignoreAction; private String scanResultIds; private Builder() { super(); } private Builder(IgnoreIdcProbeScanResultRequest request) { super(request); this.ignoreAction = request.ignoreAction; this.scanResultIds = request.scanResultIds; } /** * <p>The operation that you want to perform. Valid values:</p> * <ul> * <li><strong>1</strong>: adds the scan result to the whitelist.</li> * <li><strong>2</strong>: ignores the scan result.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder ignoreAction(Integer ignoreAction) { this.putQueryParameter("IgnoreAction", ignoreAction); this.ignoreAction = ignoreAction; return this; } /** * <p>The ID of the scan result. Separate multiple IDs with commas (,).</p> * <blockquote> * <p> You can call the <a href="~~DescribeIdcProbeScanResultList~~">DescribeIdcProbeScanResultList</a> operation to query the ID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>332098932,332098964,332098963</p> */ public Builder scanResultIds(String scanResultIds) { this.putQueryParameter("ScanResultIds", scanResultIds); this.scanResultIds = scanResultIds; return this; } @Override public IgnoreIdcProbeScanResultRequest build() { return new IgnoreIdcProbeScanResultRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreIdcProbeScanResultResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreIdcProbeScanResultResponse} extends {@link TeaModel} * * <p>IgnoreIdcProbeScanResultResponse</p> */ public class IgnoreIdcProbeScanResultResponse 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 IgnoreIdcProbeScanResultResponseBody body; private IgnoreIdcProbeScanResultResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static IgnoreIdcProbeScanResultResponse 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 IgnoreIdcProbeScanResultResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<IgnoreIdcProbeScanResultResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(IgnoreIdcProbeScanResultResponseBody body); @Override IgnoreIdcProbeScanResultResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<IgnoreIdcProbeScanResultResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private IgnoreIdcProbeScanResultResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(IgnoreIdcProbeScanResultResponse 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(IgnoreIdcProbeScanResultResponseBody body) { this.body = body; return this; } @Override public IgnoreIdcProbeScanResultResponse build() { return new IgnoreIdcProbeScanResultResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/IgnoreIdcProbeScanResultResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link IgnoreIdcProbeScanResultResponseBody} extends {@link TeaModel} * * <p>IgnoreIdcProbeScanResultResponseBody</p> */ public class IgnoreIdcProbeScanResultResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private IgnoreIdcProbeScanResultResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static IgnoreIdcProbeScanResultResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(IgnoreIdcProbeScanResultResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E30282D8-AB2D-5EB1-998B-2DDFA948D49D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public IgnoreIdcProbeScanResultResponseBody build() { return new IgnoreIdcProbeScanResultResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallAegisForLingjunRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallAegisForLingjunRequest} extends {@link RequestModel} * * <p>InstallAegisForLingjunRequest</p> */ public class InstallAegisForLingjunRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private java.util.List<String> uuids; private InstallAegisForLingjunRequest(Builder builder) { super(builder); this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static InstallAegisForLingjunRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return uuids */ public java.util.List<String> getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<InstallAegisForLingjunRequest, Builder> { private java.util.List<String> uuids; private Builder() { super(); } private Builder(InstallAegisForLingjunRequest request) { super(request); this.uuids = request.uuids; } /** * <p>List of unique UUIDs for Lingjun bare metal.</p> */ public Builder uuids(java.util.List<String> uuids) { String uuidsShrink = shrink(uuids, "Uuids", "json"); this.putQueryParameter("Uuids", uuidsShrink); this.uuids = uuids; return this; } @Override public InstallAegisForLingjunRequest build() { return new InstallAegisForLingjunRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallAegisForLingjunResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallAegisForLingjunResponse} extends {@link TeaModel} * * <p>InstallAegisForLingjunResponse</p> */ public class InstallAegisForLingjunResponse 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 InstallAegisForLingjunResponseBody body; private InstallAegisForLingjunResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InstallAegisForLingjunResponse 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 InstallAegisForLingjunResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InstallAegisForLingjunResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InstallAegisForLingjunResponseBody body); @Override InstallAegisForLingjunResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InstallAegisForLingjunResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InstallAegisForLingjunResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InstallAegisForLingjunResponse 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(InstallAegisForLingjunResponseBody body) { this.body = body; return this; } @Override public InstallAegisForLingjunResponse build() { return new InstallAegisForLingjunResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallAegisForLingjunResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallAegisForLingjunResponseBody} extends {@link TeaModel} * * <p>InstallAegisForLingjunResponseBody</p> */ public class InstallAegisForLingjunResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InvokeTasks") private java.util.List<InvokeTasks> invokeTasks; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private InstallAegisForLingjunResponseBody(Builder builder) { this.invokeTasks = builder.invokeTasks; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static InstallAegisForLingjunResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return invokeTasks */ public java.util.List<InvokeTasks> getInvokeTasks() { return this.invokeTasks; } /** * @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<InvokeTasks> invokeTasks; private String requestId; private Boolean success; private Builder() { } private Builder(InstallAegisForLingjunResponseBody model) { this.invokeTasks = model.invokeTasks; this.requestId = model.requestId; this.success = model.success; } /** * <p>List of installation tasks returned.</p> */ public Builder invokeTasks(java.util.List<InvokeTasks> invokeTasks) { this.invokeTasks = invokeTasks; 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>7BC55C8F-226E-5AF5-9A2C-2EC43864****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the API call was successful. Values:</p> * <ul> * <li><strong>true</strong>: The API call was successful.</li> * <li><strong>false</strong>: The API call failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public InstallAegisForLingjunResponseBody build() { return new InstallAegisForLingjunResponseBody(this); } } /** * * {@link InstallAegisForLingjunResponseBody} extends {@link TeaModel} * * <p>InstallAegisForLingjunResponseBody</p> */ public static class InvokeTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("InvokeId") private String invokeId; @com.aliyun.core.annotation.NameInMap("Uuids") private java.util.List<String> uuids; private InvokeTasks(Builder builder) { this.invokeId = builder.invokeId; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static InvokeTasks create() { return builder().build(); } /** * @return invokeId */ public String getInvokeId() { return this.invokeId; } /** * @return uuids */ public java.util.List<String> getUuids() { return this.uuids; } public static final class Builder { private String invokeId; private java.util.List<String> uuids; private Builder() { } private Builder(InvokeTasks model) { this.invokeId = model.invokeId; this.uuids = model.uuids; } /** * <p>Installation task ID for the Lingjun machine.</p> * * <strong>example:</strong> * <p>t-hz05r677e6w****</p> */ public Builder invokeId(String invokeId) { this.invokeId = invokeId; return this; } /** * <p>List of unique UUIDs for Lingjun bare metal.</p> */ public Builder uuids(java.util.List<String> uuids) { this.uuids = uuids; return this; } public InvokeTasks build() { return new InvokeTasks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallBackupClientRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallBackupClientRequest} extends {@link RequestModel} * * <p>InstallBackupClientRequest</p> */ public class InstallBackupClientRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PolicyVersion") @com.aliyun.core.annotation.Validation(required = true) private String policyVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UuidList") private java.util.List<String> uuidList; private InstallBackupClientRequest(Builder builder) { super(builder); this.policyVersion = builder.policyVersion; this.uuid = builder.uuid; this.uuidList = builder.uuidList; } public static Builder builder() { return new Builder(); } public static InstallBackupClientRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return policyVersion */ public String getPolicyVersion() { return this.policyVersion; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return uuidList */ public java.util.List<String> getUuidList() { return this.uuidList; } public static final class Builder extends Request.Builder<InstallBackupClientRequest, Builder> { private String policyVersion; private String uuid; private java.util.List<String> uuidList; private Builder() { super(); } private Builder(InstallBackupClientRequest request) { super(request); this.policyVersion = request.policyVersion; this.uuid = request.uuid; this.uuidList = request.uuidList; } /** * <p>The version of the anti-ransomware policy. Valid values:</p> * <ul> * <li><strong>1.0.0</strong></li> * <li><strong>2.0.0</strong></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2.0.0</p> */ public Builder policyVersion(String policyVersion) { this.putQueryParameter("PolicyVersion", policyVersion); this.policyVersion = policyVersion; return this; } /** * <p>The UUID of the server on which you want to install the anti-ransomware agent.</p> * <blockquote> * <p>You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers. You must specify at least one of the UuidList and Uuid parameters.</p> * </blockquote> * * <strong>example:</strong> * <p>inet-617eddab-7df4-4a51-b217-a3f59194****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } /** * <p>The UUIDs of servers on which you want to install the anti-ransomware agent.</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>[&quot;3bb30859-b3b5-4f28-868f-b0892c98****&quot;, &quot;3bb30859-b3b5-4f28-868f-b0892c98****&quot;]</p> */ public Builder uuidList(java.util.List<String> uuidList) { this.putQueryParameter("UuidList", uuidList); this.uuidList = uuidList; return this; } @Override public InstallBackupClientRequest build() { return new InstallBackupClientRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallBackupClientResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallBackupClientResponse} extends {@link TeaModel} * * <p>InstallBackupClientResponse</p> */ public class InstallBackupClientResponse 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 InstallBackupClientResponseBody body; private InstallBackupClientResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InstallBackupClientResponse 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 InstallBackupClientResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InstallBackupClientResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InstallBackupClientResponseBody body); @Override InstallBackupClientResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InstallBackupClientResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InstallBackupClientResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InstallBackupClientResponse 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(InstallBackupClientResponseBody body) { this.body = body; return this; } @Override public InstallBackupClientResponse build() { return new InstallBackupClientResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallBackupClientResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallBackupClientResponseBody} extends {@link TeaModel} * * <p>InstallBackupClientResponseBody</p> */ public class InstallBackupClientResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private InstallBackupClientResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InstallBackupClientResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(InstallBackupClientResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>D0D6E6E4-CB8C-4897-B852-46AEFDA04B21</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public InstallBackupClientResponseBody build() { return new InstallBackupClientResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallCloudMonitorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallCloudMonitorRequest} extends {@link RequestModel} * * <p>InstallCloudMonitorRequest</p> */ public class InstallCloudMonitorRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AgentAccessKey") private String agentAccessKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AgentSecretKey") private String agentSecretKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ArgusVersion") @com.aliyun.core.annotation.Validation(required = true) private String argusVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIdList") private java.util.List<String> instanceIdList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UuidList") private java.util.List<String> uuidList; private InstallCloudMonitorRequest(Builder builder) { super(builder); this.agentAccessKey = builder.agentAccessKey; this.agentSecretKey = builder.agentSecretKey; this.argusVersion = builder.argusVersion; this.instanceIdList = builder.instanceIdList; this.uuidList = builder.uuidList; } public static Builder builder() { return new Builder(); } public static InstallCloudMonitorRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return agentAccessKey */ public String getAgentAccessKey() { return this.agentAccessKey; } /** * @return agentSecretKey */ public String getAgentSecretKey() { return this.agentSecretKey; } /** * @return argusVersion */ public String getArgusVersion() { return this.argusVersion; } /** * @return instanceIdList */ public java.util.List<String> getInstanceIdList() { return this.instanceIdList; } /** * @return uuidList */ public java.util.List<String> getUuidList() { return this.uuidList; } public static final class Builder extends Request.Builder<InstallCloudMonitorRequest, Builder> { private String agentAccessKey; private String agentSecretKey; private String argusVersion; private java.util.List<String> instanceIdList; private java.util.List<String> uuidList; private Builder() { super(); } private Builder(InstallCloudMonitorRequest request) { super(request); this.agentAccessKey = request.agentAccessKey; this.agentSecretKey = request.agentSecretKey; this.argusVersion = request.argusVersion; this.instanceIdList = request.instanceIdList; this.uuidList = request.uuidList; } /** * <p>The AccessKey ID that is required to install the CloudMonitor agent. You can call the <a href="https://help.aliyun.com/document_detail/114948.html">DescribeMonitoringAgentAccessKey</a> operation to query the AccessKey ID.</p> * <blockquote> * <p>This parameter is required only when you install the CloudMonitor agent on servers that are not deployed on Alibaba Cloud.</p> * </blockquote> * * <strong>example:</strong> * <p>usY*****R_U</p> */ public Builder agentAccessKey(String agentAccessKey) { this.putQueryParameter("AgentAccessKey", agentAccessKey); this.agentAccessKey = agentAccessKey; return this; } /** * <p>The AccessKey secret that is required to install the CloudMonitor agent. You can call the <a href="https://help.aliyun.com/document_detail/114948.html">DescribeMonitoringAgentAccessKey</a> operation to query the AccessKey secret.</p> * <blockquote> * <p>This parameter is required only when you install the CloudMonitor agent on servers that are not deployed on Alibaba Cloud.</p> * </blockquote> * * <strong>example:</strong> * <p>UCxF2R1sIO90XlU9****</p> */ public Builder agentSecretKey(String agentSecretKey) { this.putQueryParameter("AgentSecretKey", agentSecretKey); this.agentSecretKey = agentSecretKey; return this; } /** * <p>The version of the CloudMonitor agent that you want to install on the servers. For more information about the latest version of the CloudMonitor agent, see <a href="https://help.aliyun.com/document_detail/183431.html">Overview</a>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>3.5.6</p> */ public Builder argusVersion(String argusVersion) { this.putQueryParameter("ArgusVersion", argusVersion); this.argusVersion = argusVersion; return this; } /** * <p>The IDs of the servers on which you want to install the CloudMonitor agent. Separate multiple IDs with commas (,).</p> */ public Builder instanceIdList(java.util.List<String> instanceIdList) { this.putQueryParameter("InstanceIdList", instanceIdList); this.instanceIdList = instanceIdList; return this; } /** * <p>The UUIDs of the servers on which you want to install the CloudMonitor agent. Separate multiple UUIDs with commas (,).</p> */ public Builder uuidList(java.util.List<String> uuidList) { this.putQueryParameter("UuidList", uuidList); this.uuidList = uuidList; return this; } @Override public InstallCloudMonitorRequest build() { return new InstallCloudMonitorRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallCloudMonitorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallCloudMonitorResponse} extends {@link TeaModel} * * <p>InstallCloudMonitorResponse</p> */ public class InstallCloudMonitorResponse 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 InstallCloudMonitorResponseBody body; private InstallCloudMonitorResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InstallCloudMonitorResponse 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 InstallCloudMonitorResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InstallCloudMonitorResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InstallCloudMonitorResponseBody body); @Override InstallCloudMonitorResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InstallCloudMonitorResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InstallCloudMonitorResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InstallCloudMonitorResponse 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(InstallCloudMonitorResponseBody body) { this.body = body; return this; } @Override public InstallCloudMonitorResponse build() { return new InstallCloudMonitorResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallCloudMonitorResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallCloudMonitorResponseBody} extends {@link TeaModel} * * <p>InstallCloudMonitorResponseBody</p> */ public class InstallCloudMonitorResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private InstallCloudMonitorResponseBody(Builder builder) { this.code = builder.code; this.httpStatusCode = builder.httpStatusCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static InstallCloudMonitorResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Integer httpStatusCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(InstallCloudMonitorResponseBody model) { this.code = model.code; this.httpStatusCode = model.httpStatusCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The error code returned if the request fails.</p> * * <strong>example:</strong> * <p>IllegalParam</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The HTTP status code returned.</p> * * <strong>example:</strong> * <p>400</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>The error message returned.</p> * * <strong>example:</strong> * <p>There was an error with your request.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F92AFB96-FACC-57E7-928E-678D04B94CAE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The request was successful.</li> * <li><strong>false</strong>: The request failed.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder success(Boolean success) { this.success = success; return this; } public InstallCloudMonitorResponseBody build() { return new InstallCloudMonitorResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallHybridProxyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallHybridProxyRequest} extends {@link RequestModel} * * <p>InstallHybridProxyRequest</p> */ public class InstallHybridProxyRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstallCode") private String installCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("YundunUuids") private java.util.List<String> yundunUuids; private InstallHybridProxyRequest(Builder builder) { super(builder); this.clusterName = builder.clusterName; this.installCode = builder.installCode; this.yundunUuids = builder.yundunUuids; } public static Builder builder() { return new Builder(); } public static InstallHybridProxyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return installCode */ public String getInstallCode() { return this.installCode; } /** * @return yundunUuids */ public java.util.List<String> getYundunUuids() { return this.yundunUuids; } public static final class Builder extends Request.Builder<InstallHybridProxyRequest, Builder> { private String clusterName; private String installCode; private java.util.List<String> yundunUuids; private Builder() { super(); } private Builder(InstallHybridProxyRequest request) { super(request); this.clusterName = request.clusterName; this.installCode = request.installCode; this.yundunUuids = request.yundunUuids; } /** * <p>The cluster name.</p> * * <strong>example:</strong> * <p>proxy-test</p> */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } /** * <p>The installation code.</p> * * <strong>example:</strong> * <p>Z9c8SA</p> */ public Builder installCode(String installCode) { this.putQueryParameter("InstallCode", installCode); this.installCode = installCode; return this; } /** * <p>The UUIDs of the proxy servers.</p> */ public Builder yundunUuids(java.util.List<String> yundunUuids) { this.putQueryParameter("YundunUuids", yundunUuids); this.yundunUuids = yundunUuids; return this; } @Override public InstallHybridProxyRequest build() { return new InstallHybridProxyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallHybridProxyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallHybridProxyResponse} extends {@link TeaModel} * * <p>InstallHybridProxyResponse</p> */ public class InstallHybridProxyResponse 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 InstallHybridProxyResponseBody body; private InstallHybridProxyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InstallHybridProxyResponse 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 InstallHybridProxyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InstallHybridProxyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InstallHybridProxyResponseBody body); @Override InstallHybridProxyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InstallHybridProxyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InstallHybridProxyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InstallHybridProxyResponse 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(InstallHybridProxyResponseBody body) { this.body = body; return this; } @Override public InstallHybridProxyResponse build() { return new InstallHybridProxyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallHybridProxyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallHybridProxyResponseBody} extends {@link TeaModel} * * <p>InstallHybridProxyResponseBody</p> */ public class InstallHybridProxyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private InstallHybridProxyResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InstallHybridProxyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(InstallHybridProxyResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E55BE5DB-E2DF-57EB-A0C5-7A85EEA67A4C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public InstallHybridProxyResponseBody build() { return new InstallHybridProxyResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallPmAgentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallPmAgentRequest} extends {@link RequestModel} * * <p>InstallPmAgentRequest</p> */ public class InstallPmAgentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceIp") private String sourceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") @com.aliyun.core.annotation.Validation(required = true) private String uuids; private InstallPmAgentRequest(Builder builder) { super(builder); this.lang = builder.lang; this.sourceIp = builder.sourceIp; this.type = builder.type; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static InstallPmAgentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return sourceIp */ public String getSourceIp() { return this.sourceIp; } /** * @return type */ public String getType() { return this.type; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<InstallPmAgentRequest, Builder> { private String lang; private String sourceIp; private String type; private String uuids; private Builder() { super(); } private Builder(InstallPmAgentRequest request) { super(request); this.lang = request.lang; this.sourceIp = request.sourceIp; this.type = request.type; this.uuids = request.uuids; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The source IP address of the request.</p> * * <strong>example:</strong> * <p>58.35.xx.xx</p> */ public Builder sourceIp(String sourceIp) { this.putQueryParameter("SourceIp", sourceIp); this.sourceIp = sourceIp; return this; } /** * <p>The type of the client.</p> * <ul> * <li><strong>aliyun_assist</strong>: Cloud Assistant client</li> * <li><strong>aliyun_monitor</strong>: CloudMonitor client</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aliyun_monitor</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUID of the server. If you specify multiple UUIDs, separate the UUIDs with commas (,).</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>inet-a6444920-d303-4ccf-ab87-a1d3cd49****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public InstallPmAgentRequest build() { return new InstallPmAgentRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallPmAgentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallPmAgentResponse} extends {@link TeaModel} * * <p>InstallPmAgentResponse</p> */ public class InstallPmAgentResponse 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 InstallPmAgentResponseBody body; private InstallPmAgentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InstallPmAgentResponse 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 InstallPmAgentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InstallPmAgentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InstallPmAgentResponseBody body); @Override InstallPmAgentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InstallPmAgentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InstallPmAgentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InstallPmAgentResponse 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(InstallPmAgentResponseBody body) { this.body = body; return this; } @Override public InstallPmAgentResponse build() { return new InstallPmAgentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallPmAgentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallPmAgentResponseBody} extends {@link TeaModel} * * <p>InstallPmAgentResponseBody</p> */ public class InstallPmAgentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private InstallPmAgentResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InstallPmAgentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(InstallPmAgentResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>D49B5134-9511-5736-B447-BEE0AC66****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public InstallPmAgentResponseBody build() { return new InstallPmAgentResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallUniBackupAgentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallUniBackupAgentRequest} extends {@link RequestModel} * * <p>InstallUniBackupAgentRequest</p> */ public class InstallUniBackupAgentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PolicyId") @com.aliyun.core.annotation.Validation(required = true) private Long policyId; private InstallUniBackupAgentRequest(Builder builder) { super(builder); this.policyId = builder.policyId; } public static Builder builder() { return new Builder(); } public static InstallUniBackupAgentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return policyId */ public Long getPolicyId() { return this.policyId; } public static final class Builder extends Request.Builder<InstallUniBackupAgentRequest, Builder> { private Long policyId; private Builder() { super(); } private Builder(InstallUniBackupAgentRequest request) { super(request); this.policyId = request.policyId; } /** * <p>The ID of the anti-ransomware policy.</p> * <blockquote> * <p>You can call the <a href="~~DescribeUniBackupPolicies~~">DescribeUniBackupPolicies</a> operation to query the IDs of anti-ransomware policies.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder policyId(Long policyId) { this.putQueryParameter("PolicyId", policyId); this.policyId = policyId; return this; } @Override public InstallUniBackupAgentRequest build() { return new InstallUniBackupAgentRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallUniBackupAgentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallUniBackupAgentResponse} extends {@link TeaModel} * * <p>InstallUniBackupAgentResponse</p> */ public class InstallUniBackupAgentResponse 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 InstallUniBackupAgentResponseBody body; private InstallUniBackupAgentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static InstallUniBackupAgentResponse 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 InstallUniBackupAgentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<InstallUniBackupAgentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(InstallUniBackupAgentResponseBody body); @Override InstallUniBackupAgentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<InstallUniBackupAgentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private InstallUniBackupAgentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(InstallUniBackupAgentResponse 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(InstallUniBackupAgentResponseBody body) { this.body = body; return this; } @Override public InstallUniBackupAgentResponse build() { return new InstallUniBackupAgentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/InstallUniBackupAgentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstallUniBackupAgentResponseBody} extends {@link TeaModel} * * <p>InstallUniBackupAgentResponseBody</p> */ public class InstallUniBackupAgentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private InstallUniBackupAgentResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InstallUniBackupAgentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(InstallUniBackupAgentResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>53ACA55D-0325-5056-A72D-D0EC0B9C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public InstallUniBackupAgentResponseBody build() { return new InstallUniBackupAgentResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/JoinWebLockProcessWhiteListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link JoinWebLockProcessWhiteListRequest} extends {@link RequestModel} * * <p>JoinWebLockProcessWhiteListRequest</p> */ public class JoinWebLockProcessWhiteListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessPaths") private java.util.List<String> processPaths; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private String uuids; private JoinWebLockProcessWhiteListRequest(Builder builder) { super(builder); this.processPaths = builder.processPaths; this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static JoinWebLockProcessWhiteListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return processPaths */ public java.util.List<String> getProcessPaths() { return this.processPaths; } /** * @return uuids */ public String getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<JoinWebLockProcessWhiteListRequest, Builder> { private java.util.List<String> processPaths; private String uuids; private Builder() { super(); } private Builder(JoinWebLockProcessWhiteListRequest request) { super(request); this.processPaths = request.processPaths; this.uuids = request.uuids; } /** * <p>The paths of the processes.</p> */ public Builder processPaths(java.util.List<String> processPaths) { this.putQueryParameter("ProcessPaths", processPaths); this.processPaths = processPaths; return this; } /** * <p>The UUIDs of the servers on which the processes run. Separate multiple UUIDs with commas (,).</p> * * <strong>example:</strong> * <p>0c1714dc-f7a3-4265-8364-7aa3fce8****,1cc45e7d-7698-4b2c-89d8-e8cba407****</p> */ public Builder uuids(String uuids) { this.putQueryParameter("Uuids", uuids); this.uuids = uuids; return this; } @Override public JoinWebLockProcessWhiteListRequest build() { return new JoinWebLockProcessWhiteListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/JoinWebLockProcessWhiteListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link JoinWebLockProcessWhiteListResponse} extends {@link TeaModel} * * <p>JoinWebLockProcessWhiteListResponse</p> */ public class JoinWebLockProcessWhiteListResponse 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 JoinWebLockProcessWhiteListResponseBody body; private JoinWebLockProcessWhiteListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static JoinWebLockProcessWhiteListResponse 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 JoinWebLockProcessWhiteListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<JoinWebLockProcessWhiteListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(JoinWebLockProcessWhiteListResponseBody body); @Override JoinWebLockProcessWhiteListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<JoinWebLockProcessWhiteListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private JoinWebLockProcessWhiteListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(JoinWebLockProcessWhiteListResponse 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(JoinWebLockProcessWhiteListResponseBody body) { this.body = body; return this; } @Override public JoinWebLockProcessWhiteListResponse build() { return new JoinWebLockProcessWhiteListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/JoinWebLockProcessWhiteListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link JoinWebLockProcessWhiteListResponseBody} extends {@link TeaModel} * * <p>JoinWebLockProcessWhiteListResponseBody</p> */ public class JoinWebLockProcessWhiteListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private JoinWebLockProcessWhiteListResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static JoinWebLockProcessWhiteListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(JoinWebLockProcessWhiteListResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>A47D621A-193E-5BDA-ADFA-A0D3133E199C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public JoinWebLockProcessWhiteListResponseBody build() { return new JoinWebLockProcessWhiteListResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAccountsInResourceDirectoryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAccountsInResourceDirectoryRequest} extends {@link RequestModel} * * <p>ListAccountsInResourceDirectoryRequest</p> */ public class ListAccountsInResourceDirectoryRequest extends Request { private ListAccountsInResourceDirectoryRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListAccountsInResourceDirectoryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListAccountsInResourceDirectoryRequest, Builder> { private Builder() { super(); } private Builder(ListAccountsInResourceDirectoryRequest request) { super(request); } @Override public ListAccountsInResourceDirectoryRequest build() { return new ListAccountsInResourceDirectoryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAccountsInResourceDirectoryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAccountsInResourceDirectoryResponse} extends {@link TeaModel} * * <p>ListAccountsInResourceDirectoryResponse</p> */ public class ListAccountsInResourceDirectoryResponse 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 ListAccountsInResourceDirectoryResponseBody body; private ListAccountsInResourceDirectoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAccountsInResourceDirectoryResponse 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 ListAccountsInResourceDirectoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAccountsInResourceDirectoryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAccountsInResourceDirectoryResponseBody body); @Override ListAccountsInResourceDirectoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAccountsInResourceDirectoryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAccountsInResourceDirectoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAccountsInResourceDirectoryResponse 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(ListAccountsInResourceDirectoryResponseBody body) { this.body = body; return this; } @Override public ListAccountsInResourceDirectoryResponse build() { return new ListAccountsInResourceDirectoryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAccountsInResourceDirectoryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAccountsInResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>ListAccountsInResourceDirectoryResponseBody</p> */ public class ListAccountsInResourceDirectoryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Accounts") private java.util.List<Accounts> accounts; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAccountsInResourceDirectoryResponseBody(Builder builder) { this.accounts = builder.accounts; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAccountsInResourceDirectoryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accounts */ public java.util.List<Accounts> getAccounts() { return this.accounts; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Accounts> accounts; private String requestId; private Builder() { } private Builder(ListAccountsInResourceDirectoryResponseBody model) { this.accounts = model.accounts; this.requestId = model.requestId; } /** * <p>The members in the resource directory.</p> */ public Builder accounts(java.util.List<Accounts> accounts) { this.accounts = accounts; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>B7A839E8-70AE-591D-8D9E-C5419A2240DB</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAccountsInResourceDirectoryResponseBody build() { return new ListAccountsInResourceDirectoryResponseBody(this); } } /** * * {@link ListAccountsInResourceDirectoryResponseBody} extends {@link TeaModel} * * <p>ListAccountsInResourceDirectoryResponseBody</p> */ public static class Accounts extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.NameInMap("BuySas") @Deprecated private Integer buySas; @com.aliyun.core.annotation.NameInMap("BuySasNew") private Boolean buySasNew; @com.aliyun.core.annotation.NameInMap("ChargeType") private Integer chargeType; @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("FolderId") private String folderId; @com.aliyun.core.annotation.NameInMap("InstanceBuyType") private Integer instanceBuyType; @com.aliyun.core.annotation.NameInMap("IsMaAccount") private String isMaAccount; @com.aliyun.core.annotation.NameInMap("IsMarked") private String isMarked; @com.aliyun.core.annotation.NameInMap("IsSasDaAccount") private String isSasDaAccount; @com.aliyun.core.annotation.NameInMap("IsSiemControlAccount") private String isSiemControlAccount; @com.aliyun.core.annotation.NameInMap("IsSiemDaAccount") private String isSiemDaAccount; @com.aliyun.core.annotation.NameInMap("PostPayModuleSwitch") private String postPayModuleSwitch; @com.aliyun.core.annotation.NameInMap("SaleInstance") private String saleInstance; @com.aliyun.core.annotation.NameInMap("SasVersion") private String sasVersion; private Accounts(Builder builder) { this.accountId = builder.accountId; this.buySas = builder.buySas; this.buySasNew = builder.buySasNew; this.chargeType = builder.chargeType; this.displayName = builder.displayName; this.folderId = builder.folderId; this.instanceBuyType = builder.instanceBuyType; this.isMaAccount = builder.isMaAccount; this.isMarked = builder.isMarked; this.isSasDaAccount = builder.isSasDaAccount; this.isSiemControlAccount = builder.isSiemControlAccount; this.isSiemDaAccount = builder.isSiemDaAccount; this.postPayModuleSwitch = builder.postPayModuleSwitch; this.saleInstance = builder.saleInstance; this.sasVersion = builder.sasVersion; } public static Builder builder() { return new Builder(); } public static Accounts create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return buySas */ public Integer getBuySas() { return this.buySas; } /** * @return buySasNew */ public Boolean getBuySasNew() { return this.buySasNew; } /** * @return chargeType */ public Integer getChargeType() { return this.chargeType; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return folderId */ public String getFolderId() { return this.folderId; } /** * @return instanceBuyType */ public Integer getInstanceBuyType() { return this.instanceBuyType; } /** * @return isMaAccount */ public String getIsMaAccount() { return this.isMaAccount; } /** * @return isMarked */ public String getIsMarked() { return this.isMarked; } /** * @return isSasDaAccount */ public String getIsSasDaAccount() { return this.isSasDaAccount; } /** * @return isSiemControlAccount */ public String getIsSiemControlAccount() { return this.isSiemControlAccount; } /** * @return isSiemDaAccount */ public String getIsSiemDaAccount() { return this.isSiemDaAccount; } /** * @return postPayModuleSwitch */ public String getPostPayModuleSwitch() { return this.postPayModuleSwitch; } /** * @return saleInstance */ public String getSaleInstance() { return this.saleInstance; } /** * @return sasVersion */ public String getSasVersion() { return this.sasVersion; } public static final class Builder { private String accountId; private Integer buySas; private Boolean buySasNew; private Integer chargeType; private String displayName; private String folderId; private Integer instanceBuyType; private String isMaAccount; private String isMarked; private String isSasDaAccount; private String isSiemControlAccount; private String isSiemDaAccount; private String postPayModuleSwitch; private String saleInstance; private String sasVersion; private Builder() { } private Builder(Accounts model) { this.accountId = model.accountId; this.buySas = model.buySas; this.buySasNew = model.buySasNew; this.chargeType = model.chargeType; this.displayName = model.displayName; this.folderId = model.folderId; this.instanceBuyType = model.instanceBuyType; this.isMaAccount = model.isMaAccount; this.isMarked = model.isMarked; this.isSasDaAccount = model.isSasDaAccount; this.isSiemControlAccount = model.isSiemControlAccount; this.isSiemDaAccount = model.isSiemDaAccount; this.postPayModuleSwitch = model.postPayModuleSwitch; this.saleInstance = model.saleInstance; this.sasVersion = model.sasVersion; } /** * <p>The Alibaba Cloud account ID of the member.</p> * * <strong>example:</strong> * <p>180803538814****</p> */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * BuySas. */ public Builder buySas(Integer buySas) { this.buySas = buySas; return this; } /** * BuySasNew. */ public Builder buySasNew(Boolean buySasNew) { this.buySasNew = buySasNew; return this; } /** * ChargeType. */ public Builder chargeType(Integer chargeType) { this.chargeType = chargeType; return this; } /** * <p>The name of the member.</p> * * <strong>example:</strong> * <p>abc**</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The ID of the folder in the resource directory.</p> * * <strong>example:</strong> * <p>fd-cE2SQP****</p> */ public Builder folderId(String folderId) { this.folderId = folderId; return this; } /** * InstanceBuyType. */ public Builder instanceBuyType(Integer instanceBuyType) { this.instanceBuyType = instanceBuyType; return this; } /** * <p>Indicates whether the member is an administrator account of the resource directory. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>no</p> */ public Builder isMaAccount(String isMaAccount) { this.isMaAccount = isMaAccount; return this; } /** * <p>Indicates whether the member is marked as followed.</p> * * <strong>example:</strong> * <p>no</p> */ public Builder isMarked(String isMarked) { this.isMarked = isMarked; return this; } /** * <p>Indicates whether the member is a delegated administrator account of Security Center. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>no</p> */ public Builder isSasDaAccount(String isSasDaAccount) { this.isSasDaAccount = isSasDaAccount; return this; } /** * <p>Indicates whether the member is an account of the threat analysis and response feature. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>no</p> */ public Builder isSiemControlAccount(String isSiemControlAccount) { this.isSiemControlAccount = isSiemControlAccount; return this; } /** * <p>Indicates whether the member is a delegated administrator account of the threat analysis and response feature. Valid values:</p> * <ul> * <li><strong>yes</strong></li> * <li><strong>no</strong></li> * </ul> * * <strong>example:</strong> * <p>no</p> */ public Builder isSiemDaAccount(String isSiemDaAccount) { this.isSiemDaAccount = isSiemDaAccount; return this; } /** * PostPayModuleSwitch. */ public Builder postPayModuleSwitch(String postPayModuleSwitch) { this.postPayModuleSwitch = postPayModuleSwitch; return this; } /** * SaleInstance. */ public Builder saleInstance(String saleInstance) { this.saleInstance = saleInstance; return this; } /** * <p>The edition of Security Center that you use. Valid value:</p> * <ul> * <li><strong>0</strong> or <strong>1</strong>: Basic</li> * <li><strong>2</strong> or <strong>3</strong>: Enterprise</li> * <li><strong>5</strong>: Advanced</li> * <li><strong>6</strong>: Anti-virus</li> * <li><strong>7</strong>: Ultimate</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder sasVersion(String sasVersion) { this.sasVersion = sasVersion; return this; } public Accounts build() { return new Accounts(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAegisContainerPluginRuleRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAegisContainerPluginRuleRequest} extends {@link RequestModel} * * <p>ListAegisContainerPluginRuleRequest</p> */ public class ListAegisContainerPluginRuleRequest 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") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleType") private Integer ruleType; private ListAegisContainerPluginRuleRequest(Builder builder) { super(builder); this.criteria = builder.criteria; this.currentPage = builder.currentPage; this.lang = builder.lang; this.pageSize = builder.pageSize; this.ruleType = builder.ruleType; } public static Builder builder() { return new Builder(); } public static ListAegisContainerPluginRuleRequest 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 lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return ruleType */ public Integer getRuleType() { return this.ruleType; } public static final class Builder extends Request.Builder<ListAegisContainerPluginRuleRequest, Builder> { private String criteria; private Integer currentPage; private String lang; private Integer pageSize; private Integer ruleType; private Builder() { super(); } private Builder(ListAegisContainerPluginRuleRequest request) { super(request); this.criteria = request.criteria; this.currentPage = request.currentPage; this.lang = request.lang; this.pageSize = request.pageSize; this.ruleType = request.ruleType; } /** * <p>The query condition.</p> * * <strong>example:</strong> * <p>[{&quot;name&quot;: &quot;name&quot;, &quot;value&quot;: &quot;test-1818&quot;}]</p> */ public Builder criteria(String criteria) { this.putQueryParameter("Criteria", criteria); this.criteria = criteria; 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 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.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The type of the rule. Valid values:</p> * <ul> * <li><strong>0</strong>: custom</li> * <li><strong>1</strong>: system</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder ruleType(Integer ruleType) { this.putQueryParameter("RuleType", ruleType); this.ruleType = ruleType; return this; } @Override public ListAegisContainerPluginRuleRequest build() { return new ListAegisContainerPluginRuleRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAegisContainerPluginRuleResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAegisContainerPluginRuleResponse} extends {@link TeaModel} * * <p>ListAegisContainerPluginRuleResponse</p> */ public class ListAegisContainerPluginRuleResponse 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 ListAegisContainerPluginRuleResponseBody body; private ListAegisContainerPluginRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAegisContainerPluginRuleResponse 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 ListAegisContainerPluginRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAegisContainerPluginRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAegisContainerPluginRuleResponseBody body); @Override ListAegisContainerPluginRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAegisContainerPluginRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAegisContainerPluginRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAegisContainerPluginRuleResponse 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(ListAegisContainerPluginRuleResponseBody body) { this.body = body; return this; } @Override public ListAegisContainerPluginRuleResponse build() { return new ListAegisContainerPluginRuleResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAegisContainerPluginRuleResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAegisContainerPluginRuleResponseBody} extends {@link TeaModel} * * <p>ListAegisContainerPluginRuleResponseBody</p> */ public class ListAegisContainerPluginRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RuleList") private java.util.List<RuleList> ruleList; private ListAegisContainerPluginRuleResponseBody(Builder builder) { this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.ruleList = builder.ruleList; } public static Builder builder() { return new Builder(); } public static ListAegisContainerPluginRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return ruleList */ public java.util.List<RuleList> getRuleList() { return this.ruleList; } public static final class Builder { private PageInfo pageInfo; private String requestId; private java.util.List<RuleList> ruleList; private Builder() { } private Builder(ListAegisContainerPluginRuleResponseBody model) { this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.ruleList = model.ruleList; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>CE500770-42D3-442E-9DDD-156E0F9F3B45</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The rules.</p> */ public Builder ruleList(java.util.List<RuleList> ruleList) { this.ruleList = ruleList; return this; } public ListAegisContainerPluginRuleResponseBody build() { return new ListAegisContainerPluginRuleResponseBody(this); } } /** * * {@link ListAegisContainerPluginRuleResponseBody} extends {@link TeaModel} * * <p>ListAegisContainerPluginRuleResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>69</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } /** * * {@link ListAegisContainerPluginRuleResponseBody} extends {@link TeaModel} * * <p>ListAegisContainerPluginRuleResponseBody</p> */ public static class Policies extends TeaModel { @com.aliyun.core.annotation.NameInMap("PolicyKey") private String policyKey; @com.aliyun.core.annotation.NameInMap("PolicyName") private String policyName; private Policies(Builder builder) { this.policyKey = builder.policyKey; this.policyName = builder.policyName; } public static Builder builder() { return new Builder(); } public static Policies create() { return builder().build(); } /** * @return policyKey */ public String getPolicyKey() { return this.policyKey; } /** * @return policyName */ public String getPolicyName() { return this.policyName; } public static final class Builder { private String policyKey; private String policyName; private Builder() { } private Builder(Policies model) { this.policyKey = model.policyKey; this.policyName = model.policyName; } /** * <p>The policy key.</p> * * <strong>example:</strong> * <p>system_auto_****</p> */ public Builder policyKey(String policyKey) { this.policyKey = policyKey; return this; } /** * <p>The name of the policy.</p> * * <strong>example:</strong> * <p>System self-starting task****</p> */ public Builder policyName(String policyName) { this.policyName = policyName; return this; } public Policies build() { return new Policies(this); } } } /** * * {@link ListAegisContainerPluginRuleResponseBody} extends {@link TeaModel} * * <p>ListAegisContainerPluginRuleResponseBody</p> */ public static class RuleList extends TeaModel { @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private Long gmtModified; @com.aliyun.core.annotation.NameInMap("Mode") private Integer mode; @com.aliyun.core.annotation.NameInMap("Policies") private java.util.List<Policies> policies; @com.aliyun.core.annotation.NameInMap("RuleDescription") private String ruleDescription; @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.NameInMap("RuleTemplateId") private String ruleTemplateId; @com.aliyun.core.annotation.NameInMap("RuleTemplateName") private String ruleTemplateName; @com.aliyun.core.annotation.NameInMap("SelectedPolicy") private java.util.List<String> selectedPolicy; @com.aliyun.core.annotation.NameInMap("SwitchId") private String switchId; @com.aliyun.core.annotation.NameInMap("WhiteImages") private java.util.List<String> whiteImages; private RuleList(Builder builder) { this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.mode = builder.mode; this.policies = builder.policies; this.ruleDescription = builder.ruleDescription; this.ruleId = builder.ruleId; this.ruleName = builder.ruleName; this.ruleTemplateId = builder.ruleTemplateId; this.ruleTemplateName = builder.ruleTemplateName; this.selectedPolicy = builder.selectedPolicy; this.switchId = builder.switchId; this.whiteImages = builder.whiteImages; } public static Builder builder() { return new Builder(); } public static RuleList create() { return builder().build(); } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return mode */ public Integer getMode() { return this.mode; } /** * @return policies */ public java.util.List<Policies> getPolicies() { return this.policies; } /** * @return ruleDescription */ public String getRuleDescription() { return this.ruleDescription; } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleTemplateId */ public String getRuleTemplateId() { return this.ruleTemplateId; } /** * @return ruleTemplateName */ public String getRuleTemplateName() { return this.ruleTemplateName; } /** * @return selectedPolicy */ public java.util.List<String> getSelectedPolicy() { return this.selectedPolicy; } /** * @return switchId */ public String getSwitchId() { return this.switchId; } /** * @return whiteImages */ public java.util.List<String> getWhiteImages() { return this.whiteImages; } public static final class Builder { private Long gmtCreate; private Long gmtModified; private Integer mode; private java.util.List<Policies> policies; private String ruleDescription; private Long ruleId; private String ruleName; private String ruleTemplateId; private String ruleTemplateName; private java.util.List<String> selectedPolicy; private String switchId; private java.util.List<String> whiteImages; private Builder() { } private Builder(RuleList model) { this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.mode = model.mode; this.policies = model.policies; this.ruleDescription = model.ruleDescription; this.ruleId = model.ruleId; this.ruleName = model.ruleName; this.ruleTemplateId = model.ruleTemplateId; this.ruleTemplateName = model.ruleTemplateName; this.selectedPolicy = model.selectedPolicy; this.switchId = model.switchId; this.whiteImages = model.whiteImages; } /** * <p>The time when the rule was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1676355025000</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The time when the rule was modified. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1681985833000</p> */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The action of the rule. Valid values:</p> * <ul> * <li><strong>1</strong>: Alert</li> * <li><strong>2</strong>: Block</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder mode(Integer mode) { this.mode = mode; return this; } /** * <p>An array that consists of policies.</p> */ public Builder policies(java.util.List<Policies> policies) { this.policies = policies; return this; } /** * <p>The description of the rule.</p> * * <strong>example:</strong> * <p>system_call</p> */ public Builder ruleDescription(String ruleDescription) { this.ruleDescription = ruleDescription; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>30****</p> */ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; return this; } /** * <p>The name of the rule.</p> * * <strong>example:</strong> * <p>test-18****</p> */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * <p>The ID of the rule template. The ListSystemClientRules operation returns the ID of a rule template.</p> * * <strong>example:</strong> * <p>868**</p> */ public Builder ruleTemplateId(String ruleTemplateId) { this.ruleTemplateId = ruleTemplateId; return this; } /** * <p>The name of the rule template.</p> * * <strong>example:</strong> * <p>system_call</p> */ public Builder ruleTemplateName(String ruleTemplateName) { this.ruleTemplateName = ruleTemplateName; return this; } /** * <p>The fields in the value of the rule subtype.</p> */ public Builder selectedPolicy(java.util.List<String> selectedPolicy) { this.selectedPolicy = selectedPolicy; return this; } /** * <p>The switch ID of the rule.</p> * * <strong>example:</strong> * <p>USER-ENABLE-SWITCH-TYPE_****</p> */ public Builder switchId(String switchId) { this.switchId = switchId; return this; } /** * <p>The images that are added to the whitelist of the rule.</p> */ public Builder whiteImages(java.util.List<String> whiteImages) { this.whiteImages = whiteImages; return this; } public RuleList build() { return new RuleList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAegisForLingjunStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAegisForLingjunStatusRequest} extends {@link RequestModel} * * <p>ListAegisForLingjunStatusRequest</p> */ public class ListAegisForLingjunStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuids") private java.util.List<String> uuids; private ListAegisForLingjunStatusRequest(Builder builder) { super(builder); this.uuids = builder.uuids; } public static Builder builder() { return new Builder(); } public static ListAegisForLingjunStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return uuids */ public java.util.List<String> getUuids() { return this.uuids; } public static final class Builder extends Request.Builder<ListAegisForLingjunStatusRequest, Builder> { private java.util.List<String> uuids; private Builder() { super(); } private Builder(ListAegisForLingjunStatusRequest request) { super(request); this.uuids = request.uuids; } /** * <p>List of unique UUIDs for Lingjun bare metal.</p> */ public Builder uuids(java.util.List<String> uuids) { String uuidsShrink = shrink(uuids, "Uuids", "json"); this.putQueryParameter("Uuids", uuidsShrink); this.uuids = uuids; return this; } @Override public ListAegisForLingjunStatusRequest build() { return new ListAegisForLingjunStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAegisForLingjunStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAegisForLingjunStatusResponse} extends {@link TeaModel} * * <p>ListAegisForLingjunStatusResponse</p> */ public class ListAegisForLingjunStatusResponse 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 ListAegisForLingjunStatusResponseBody body; private ListAegisForLingjunStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAegisForLingjunStatusResponse 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 ListAegisForLingjunStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAegisForLingjunStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAegisForLingjunStatusResponseBody body); @Override ListAegisForLingjunStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAegisForLingjunStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAegisForLingjunStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAegisForLingjunStatusResponse 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(ListAegisForLingjunStatusResponseBody body) { this.body = body; return this; } @Override public ListAegisForLingjunStatusResponse build() { return new ListAegisForLingjunStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAegisForLingjunStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAegisForLingjunStatusResponseBody} extends {@link TeaModel} * * <p>ListAegisForLingjunStatusResponseBody</p> */ public class ListAegisForLingjunStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InvokeTasks") private java.util.List<InvokeTasks> invokeTasks; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListAegisForLingjunStatusResponseBody(Builder builder) { this.invokeTasks = builder.invokeTasks; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListAegisForLingjunStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return invokeTasks */ public java.util.List<InvokeTasks> getInvokeTasks() { return this.invokeTasks; } /** * @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<InvokeTasks> invokeTasks; private String requestId; private Boolean success; private Builder() { } private Builder(ListAegisForLingjunStatusResponseBody model) { this.invokeTasks = model.invokeTasks; this.requestId = model.requestId; this.success = model.success; } /** * <p>List of returned installation tasks.</p> */ public Builder invokeTasks(java.util.List<InvokeTasks> invokeTasks) { this.invokeTasks = invokeTasks; 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>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the API call was successful. Values:</p> * <ul> * <li><strong>true</strong>: Success</li> * <li><strong>false</strong>: Failure</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ListAegisForLingjunStatusResponseBody build() { return new ListAegisForLingjunStatusResponseBody(this); } } /** * * {@link ListAegisForLingjunStatusResponseBody} extends {@link TeaModel} * * <p>ListAegisForLingjunStatusResponseBody</p> */ public static class InvokeTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("InvokeId") private String invokeId; @com.aliyun.core.annotation.NameInMap("Result") private String result; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private InvokeTasks(Builder builder) { this.invokeId = builder.invokeId; this.result = builder.result; this.status = builder.status; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static InvokeTasks create() { return builder().build(); } /** * @return invokeId */ public String getInvokeId() { return this.invokeId; } /** * @return result */ public String getResult() { return this.result; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private String invokeId; private String result; private Integer status; private String uuid; private Builder() { } private Builder(InvokeTasks model) { this.invokeId = model.invokeId; this.result = model.result; this.status = model.status; this.uuid = model.uuid; } /** * <p>Installation task ID for the Lingjun machine.</p> * * <strong>example:</strong> * <p>t-bj05dlbzple****</p> */ public Builder invokeId(String invokeId) { this.invokeId = invokeId; return this; } /** * <p>Installation processing result. Values:</p> * <ul> * <li>success: Installation successful</li> * <li>fail: Installation failed</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder result(String result) { this.result = result; return this; } /** * <p>Installation status. Values:</p> * <ul> * <li><strong>1</strong>: Installation successful</li> * <li><strong>0</strong>: Installation failed</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>Unique UUID for Lingjun bare metal.</p> * * <strong>example:</strong> * <p>inet-8e3fbd56-122c-4011-b692-4d048076****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public InvokeTasks build() { return new InvokeTasks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessAssetRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessAssetRequest} extends {@link RequestModel} * * <p>ListAgentlessAssetRequest</p> */ public class ListAgentlessAssetRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DiskType") private String diskType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Platform") private String platform; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScanRegionId") private String scanRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private Integer targetType; private ListAgentlessAssetRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.diskType = builder.diskType; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.pageSize = builder.pageSize; this.platform = builder.platform; this.scanRegionId = builder.scanRegionId; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static ListAgentlessAssetRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return diskType */ public String getDiskType() { return this.diskType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return platform */ public String getPlatform() { return this.platform; } /** * @return scanRegionId */ public String getScanRegionId() { return this.scanRegionId; } /** * @return targetType */ public Integer getTargetType() { return this.targetType; } public static final class Builder extends Request.Builder<ListAgentlessAssetRequest, Builder> { private Integer currentPage; private String diskType; private String instanceId; private String instanceName; private Integer pageSize; private String platform; private String scanRegionId; private Integer targetType; private Builder() { super(); } private Builder(ListAgentlessAssetRequest request) { super(request); this.currentPage = request.currentPage; this.diskType = request.diskType; this.instanceId = request.instanceId; this.instanceName = request.instanceName; this.pageSize = request.pageSize; this.platform = request.platform; this.scanRegionId = request.scanRegionId; this.targetType = request.targetType; } /** * <p>The page number in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The type of the cloud disk. Values:</p> * <ul> * <li><p><strong>system</strong>: System disk</p> * </li> * <li><p><strong>data</strong>: Data disk</p> * </li> * </ul> * * <strong>example:</strong> * <p>data</p> */ public Builder diskType(String diskType) { this.putQueryParameter("DiskType", diskType); this.diskType = diskType; return this; } /** * <p>The ID of the asset instance.</p> * * <strong>example:</strong> * <p>s-bp1g6wxdwps7s9dz****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The name of the asset instance.</p> * * <strong>example:</strong> * <p>ca_cpm_******</p> */ public Builder instanceName(String instanceName) { this.putQueryParameter("InstanceName", instanceName); this.instanceName = instanceName; return this; } /** * <p>The maximum number of items to return per page in a paginated query.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The type of the operating system.</p> * * <strong>example:</strong> * <p>CentOS</p> */ public Builder platform(String platform) { this.putQueryParameter("Platform", platform); this.platform = platform; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder scanRegionId(String scanRegionId) { this.putQueryParameter("ScanRegionId", scanRegionId); this.scanRegionId = scanRegionId; return this; } /** * <p>The type of the detection target. Values:</p> * <ul> * <li><p><strong>3</strong>: User snapshot</p> * </li> * <li><p><strong>4</strong>: User-defined image</p> * </li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder targetType(Integer targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } @Override public ListAgentlessAssetRequest build() { return new ListAgentlessAssetRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessAssetResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessAssetResponse} extends {@link TeaModel} * * <p>ListAgentlessAssetResponse</p> */ public class ListAgentlessAssetResponse 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 ListAgentlessAssetResponseBody body; private ListAgentlessAssetResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentlessAssetResponse 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 ListAgentlessAssetResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentlessAssetResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentlessAssetResponseBody body); @Override ListAgentlessAssetResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentlessAssetResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentlessAssetResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentlessAssetResponse 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(ListAgentlessAssetResponseBody body) { this.body = body; return this; } @Override public ListAgentlessAssetResponse build() { return new ListAgentlessAssetResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessAssetResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessAssetResponseBody} extends {@link TeaModel} * * <p>ListAgentlessAssetResponseBody</p> */ public class ListAgentlessAssetResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssetList") private java.util.List<AssetList> assetList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAgentlessAssetResponseBody(Builder builder) { this.assetList = builder.assetList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAgentlessAssetResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return assetList */ public java.util.List<AssetList> getAssetList() { return this.assetList; } /** * @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<AssetList> assetList; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListAgentlessAssetResponseBody model) { this.assetList = model.assetList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The list of returned assets.</p> */ public Builder assetList(java.util.List<AssetList> assetList) { this.assetList = assetList; return this; } /** * <p>Pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAgentlessAssetResponseBody build() { return new ListAgentlessAssetResponseBody(this); } } /** * * {@link ListAgentlessAssetResponseBody} extends {@link TeaModel} * * <p>ListAgentlessAssetResponseBody</p> */ public static class AssetList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DiskType") private String diskType; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("Platform") private String platform; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("TargetType") private Integer targetType; private AssetList(Builder builder) { this.diskType = builder.diskType; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.platform = builder.platform; this.regionId = builder.regionId; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static AssetList create() { return builder().build(); } /** * @return diskType */ public String getDiskType() { return this.diskType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return platform */ public String getPlatform() { return this.platform; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return targetType */ public Integer getTargetType() { return this.targetType; } public static final class Builder { private String diskType; private String instanceId; private String instanceName; private String platform; private String regionId; private Integer targetType; private Builder() { } private Builder(AssetList model) { this.diskType = model.diskType; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.platform = model.platform; this.regionId = model.regionId; this.targetType = model.targetType; } /** * <p>The type of the cloud disk. Values:</p> * <ul> * <li><p>system: System disk.</p> * </li> * <li><p>data: Data disk.</p> * </li> * </ul> * * <strong>example:</strong> * <p>system</p> */ public Builder diskType(String diskType) { this.diskType = diskType; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>s-rj9gda4wolo0zixi****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>TestInstanceName</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>Operating system type.</p> * * <strong>example:</strong> * <p>CentOS</p> */ public Builder platform(String platform) { this.platform = platform; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The type of the asset. Values:</p> * <ul> * <li><p><strong>3</strong>: User snapshot</p> * </li> * <li><p><strong>4</strong>: User-defined image</p> * </li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder targetType(Integer targetType) { this.targetType = targetType; return this; } public AssetList build() { return new AssetList(this); } } } /** * * {@link ListAgentlessAssetResponseBody} extends {@link TeaModel} * * <p>ListAgentlessAssetResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The current page number in a paginated query.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The maximum number of items to display per page in a paginated query.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of items.</p> * * <strong>example:</strong> * <p>90</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/ListAgentlessMaliciousFilesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessMaliciousFilesRequest} extends {@link RequestModel} * * <p>ListAgentlessMaliciousFilesRequest</p> */ public class ListAgentlessMaliciousFilesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dealed") private String dealed; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventId") private Long eventId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FuzzyMaliciousName") private String fuzzyMaliciousName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Levels") private String levels; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaliciousMd5") private String maliciousMd5; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaliciousType") private String maliciousType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private String 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("ScanRange") private java.util.List<String> scanRange; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ListAgentlessMaliciousFilesRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.dealed = builder.dealed; this.eventId = builder.eventId; this.fuzzyMaliciousName = builder.fuzzyMaliciousName; this.lang = builder.lang; this.levels = builder.levels; this.maliciousMd5 = builder.maliciousMd5; this.maliciousType = builder.maliciousType; this.pageSize = builder.pageSize; this.remark = builder.remark; this.scanRange = builder.scanRange; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ListAgentlessMaliciousFilesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return dealed */ public String getDealed() { return this.dealed; } /** * @return eventId */ public Long getEventId() { return this.eventId; } /** * @return fuzzyMaliciousName */ public String getFuzzyMaliciousName() { return this.fuzzyMaliciousName; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return levels */ public String getLevels() { return this.levels; } /** * @return maliciousMd5 */ public String getMaliciousMd5() { return this.maliciousMd5; } /** * @return maliciousType */ public String getMaliciousType() { return this.maliciousType; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return scanRange */ public java.util.List<String> getScanRange() { return this.scanRange; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<ListAgentlessMaliciousFilesRequest, Builder> { private Integer currentPage; private String dealed; private Long eventId; private String fuzzyMaliciousName; private String lang; private String levels; private String maliciousMd5; private String maliciousType; private String pageSize; private String remark; private java.util.List<String> scanRange; private String uuid; private Builder() { super(); } private Builder(ListAgentlessMaliciousFilesRequest request) { super(request); this.currentPage = request.currentPage; this.dealed = request.dealed; this.eventId = request.eventId; this.fuzzyMaliciousName = request.fuzzyMaliciousName; this.lang = request.lang; this.levels = request.levels; this.maliciousMd5 = request.maliciousMd5; this.maliciousType = request.maliciousType; this.pageSize = request.pageSize; this.remark = request.remark; this.scanRange = request.scanRange; this.uuid = request.uuid; } /** * <p>The page number.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>Specifies whether the vulnerability is handled. Valid values:</p> * <ul> * <li>Y: The vulnerability is handled.</li> * <li>N: The vulnerability is not handled.</li> * </ul> * * <strong>example:</strong> * <p>Y</p> */ public Builder dealed(String dealed) { this.putQueryParameter("Dealed", dealed); this.dealed = dealed; return this; } /** * <p>The event ID.</p> * * <strong>example:</strong> * <p>81****</p> */ public Builder eventId(Long eventId) { this.putQueryParameter("EventId", eventId); this.eventId = eventId; return this; } /** * <p>The name of the malicious file that you want to query.</p> * <blockquote> * <p>Fuzzy match is supported.</p> * </blockquote> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder fuzzyMaliciousName(String fuzzyMaliciousName) { this.putQueryParameter("FuzzyMaliciousName", fuzzyMaliciousName); this.fuzzyMaliciousName = fuzzyMaliciousName; 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 severities of the malicious files. Separate multiple values with commas (,). Valid values:</p> * <ul> * <li>serious</li> * <li>suspicious</li> * <li>remind</li> * </ul> * * <strong>example:</strong> * <p>remind,suspicious</p> */ public Builder levels(String levels) { this.putQueryParameter("Levels", levels); this.levels = levels; return this; } /** * <p>The MD5 hash value of the malicious file.</p> * * <strong>example:</strong> * <p>d836968041f7683b5459****</p> */ public Builder maliciousMd5(String maliciousMd5) { this.putQueryParameter("MaliciousMd5", maliciousMd5); this.maliciousMd5 = maliciousMd5; return this; } /** * <p>The alert type.</p> * <p>Valid values when Lang is set to zh:</p> * <ul> * <li>WebShell</li> * <li>Malicious Software</li> * <li>Malicious Script</li> * </ul> * <p>Valid values when Lang is set to en:</p> * <ul> * <li>WebShell</li> * <li>Malicious Software</li> * <li>Malicious Script</li> * </ul> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder maliciousType(String maliciousType) { this.putQueryParameter("MaliciousType", maliciousType); this.maliciousType = maliciousType; return this; } /** * <p>The number of entries per page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The remarks for the asset affected by the vulnerability. The value can be the private IP address, public IP address, or name of the asset. Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>192.168.XX.XX</p> */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; return this; } /** * <p>The source of the malicious file.</p> */ public Builder scanRange(java.util.List<String> scanRange) { this.putQueryParameter("ScanRange", scanRange); this.scanRange = scanRange; return this; } /** * <p>The UUID of the asset.</p> * * <strong>example:</strong> * <p>d2d94e8b-bb25-4744-8004-1e08a53c****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public ListAgentlessMaliciousFilesRequest build() { return new ListAgentlessMaliciousFilesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessMaliciousFilesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessMaliciousFilesResponse} extends {@link TeaModel} * * <p>ListAgentlessMaliciousFilesResponse</p> */ public class ListAgentlessMaliciousFilesResponse 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 ListAgentlessMaliciousFilesResponseBody body; private ListAgentlessMaliciousFilesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentlessMaliciousFilesResponse 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 ListAgentlessMaliciousFilesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentlessMaliciousFilesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentlessMaliciousFilesResponseBody body); @Override ListAgentlessMaliciousFilesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentlessMaliciousFilesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentlessMaliciousFilesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentlessMaliciousFilesResponse 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(ListAgentlessMaliciousFilesResponseBody body) { this.body = body; return this; } @Override public ListAgentlessMaliciousFilesResponse build() { return new ListAgentlessMaliciousFilesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessMaliciousFilesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>ListAgentlessMaliciousFilesResponseBody</p> */ public class ListAgentlessMaliciousFilesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAgentlessMaliciousFilesResponseBody(Builder builder) { this.list = builder.list; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAgentlessMaliciousFilesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<List> list; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListAgentlessMaliciousFilesResponseBody model) { this.list = model.list; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The malicious files.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>CE343162-35BF-565E-B85E-8E3B7A2B****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAgentlessMaliciousFilesResponseBody build() { return new ListAgentlessMaliciousFilesResponseBody(this); } } /** * * {@link ListAgentlessMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>ListAgentlessMaliciousFilesResponseBody</p> */ public static class Details extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NameKey") private String nameKey; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Details(Builder builder) { this.name = builder.name; this.nameKey = builder.nameKey; this.type = builder.type; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Details create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return nameKey */ public String getNameKey() { return this.nameKey; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String nameKey; private String type; private String value; private Builder() { } private Builder(Details model) { this.name = model.name; this.nameKey = model.nameKey; this.type = model.type; this.value = model.value; } /** * <p>The name of the detailed item.</p> * * <strong>example:</strong> * <p>MD5</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The name key of the detailed item.</p> * * <strong>example:</strong> * <p>${suspicious.mp.db.maliciousfilemd5}</p> */ public Builder nameKey(String nameKey) { this.nameKey = nameKey; return this; } /** * <p>The type of the detailed item.</p> * * <strong>example:</strong> * <p>text</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The value of the detailed item.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder value(String value) { this.value = value; return this; } public Details build() { return new Details(this); } } } /** * * {@link ListAgentlessMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>ListAgentlessMaliciousFilesResponseBody</p> */ public static class Notes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Note") private String note; @com.aliyun.core.annotation.NameInMap("NoteId") private String noteId; @com.aliyun.core.annotation.NameInMap("NoteTime") private String noteTime; private Notes(Builder builder) { this.note = builder.note; this.noteId = builder.noteId; this.noteTime = builder.noteTime; } public static Builder builder() { return new Builder(); } public static Notes create() { return builder().build(); } /** * @return note */ public String getNote() { return this.note; } /** * @return noteId */ public String getNoteId() { return this.noteId; } /** * @return noteTime */ public String getNoteTime() { return this.noteTime; } public static final class Builder { private String note; private String noteId; private String noteTime; private Builder() { } private Builder(Notes model) { this.note = model.note; this.noteId = model.noteId; this.noteTime = model.noteTime; } /** * <p>The remark.</p> * * <strong>example:</strong> * <p>Serious***</p> */ public Builder note(String note) { this.note = note; return this; } /** * <p>The ID of the remark.</p> * * <strong>example:</strong> * <p>50****</p> */ public Builder noteId(String noteId) { this.noteId = noteId; return this; } /** * <p>The time when the remark was created.</p> * * <strong>example:</strong> * <p>2023-04-27 14:49:21</p> */ public Builder noteTime(String noteTime) { this.noteTime = noteTime; return this; } public Notes build() { return new Notes(this); } } } /** * * {@link ListAgentlessMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>ListAgentlessMaliciousFilesResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Details") private java.util.List<Details> details; @com.aliyun.core.annotation.NameInMap("DownloadUrl") private String downloadUrl; @com.aliyun.core.annotation.NameInMap("FilePath") private Long filePath; @com.aliyun.core.annotation.NameInMap("FirstScanTimestamp") private Long firstScanTimestamp; @com.aliyun.core.annotation.NameInMap("HighLight") private String highLight; @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("LatestScanTimestamp") private Long latestScanTimestamp; @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("MaliciousMd5") private String maliciousMd5; @com.aliyun.core.annotation.NameInMap("MaliciousName") private String maliciousName; @com.aliyun.core.annotation.NameInMap("MaliciousType") private String maliciousType; @com.aliyun.core.annotation.NameInMap("Notes") private java.util.List<Notes> notes; @com.aliyun.core.annotation.NameInMap("OperateResult") private String operateResult; @com.aliyun.core.annotation.NameInMap("OperateTimestamp") private String operateTimestamp; @com.aliyun.core.annotation.NameInMap("Partition") private String partition; @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("Uuid") private String uuid; private List(Builder builder) { this.details = builder.details; this.downloadUrl = builder.downloadUrl; this.filePath = builder.filePath; this.firstScanTimestamp = builder.firstScanTimestamp; this.highLight = builder.highLight; this.id = builder.id; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.latestScanTimestamp = builder.latestScanTimestamp; this.level = builder.level; this.maliciousMd5 = builder.maliciousMd5; this.maliciousName = builder.maliciousName; this.maliciousType = builder.maliciousType; this.notes = builder.notes; this.operateResult = builder.operateResult; this.operateTimestamp = builder.operateTimestamp; this.partition = builder.partition; this.targetId = builder.targetId; this.targetName = builder.targetName; this.targetType = builder.targetType; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return details */ public java.util.List<Details> getDetails() { return this.details; } /** * @return downloadUrl */ public String getDownloadUrl() { return this.downloadUrl; } /** * @return filePath */ public Long getFilePath() { return this.filePath; } /** * @return firstScanTimestamp */ public Long getFirstScanTimestamp() { return this.firstScanTimestamp; } /** * @return highLight */ public String getHighLight() { return this.highLight; } /** * @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 latestScanTimestamp */ public Long getLatestScanTimestamp() { return this.latestScanTimestamp; } /** * @return level */ public String getLevel() { return this.level; } /** * @return maliciousMd5 */ public String getMaliciousMd5() { return this.maliciousMd5; } /** * @return maliciousName */ public String getMaliciousName() { return this.maliciousName; } /** * @return maliciousType */ public String getMaliciousType() { return this.maliciousType; } /** * @return notes */ public java.util.List<Notes> getNotes() { return this.notes; } /** * @return operateResult */ public String getOperateResult() { return this.operateResult; } /** * @return operateTimestamp */ public String getOperateTimestamp() { return this.operateTimestamp; } /** * @return partition */ public String getPartition() { return this.partition; } /** * @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 uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private java.util.List<Details> details; private String downloadUrl; private Long filePath; private Long firstScanTimestamp; private String highLight; private Long id; private String instanceName; private String internetIp; private String intranetIp; private Long latestScanTimestamp; private String level; private String maliciousMd5; private String maliciousName; private String maliciousType; private java.util.List<Notes> notes; private String operateResult; private String operateTimestamp; private String partition; private String targetId; private String targetName; private String targetType; private String uuid; private Builder() { } private Builder(List model) { this.details = model.details; this.downloadUrl = model.downloadUrl; this.filePath = model.filePath; this.firstScanTimestamp = model.firstScanTimestamp; this.highLight = model.highLight; this.id = model.id; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.latestScanTimestamp = model.latestScanTimestamp; this.level = model.level; this.maliciousMd5 = model.maliciousMd5; this.maliciousName = model.maliciousName; this.maliciousType = model.maliciousType; this.notes = model.notes; this.operateResult = model.operateResult; this.operateTimestamp = model.operateTimestamp; this.partition = model.partition; this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; this.uuid = model.uuid; } /** * <p>The details of the alert event.</p> */ public Builder details(java.util.List<Details> details) { this.details = details; return this; } /** * <p>The URL to download the malicious image sample.</p> * * <strong>example:</strong> * <p><a href="https://upgrade-rule-pkg.oss-cn-beijing.aliyuncs.com/totalpackage/rule/V3.166.2/totalpackage_rule_V3.16_6.2_tip_20230220110">https://upgrade-rule-pkg.oss-cn-beijing.aliyuncs.com/totalpackage/rule/V3.166.2/totalpackage_rule_V3.16_6.2_tip_20230220110</a>****</p> */ public Builder downloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; return this; } /** * <p>The file path.</p> * * <strong>example:</strong> * <p>/root/etc/g****</p> */ public Builder filePath(Long filePath) { this.filePath = filePath; return this; } /** * <p>The timestamp generated when the first scan was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder firstScanTimestamp(Long firstScanTimestamp) { this.firstScanTimestamp = firstScanTimestamp; return this; } /** * <p>The highlighted JSON string.</p> * * <strong>example:</strong> * <p>{&quot;highlight&quot;:{&quot;ruleVersion&quot;:&quot;20230223&quot;,&quot;ruleId&quot;:600139,&quot;events&quot;:[[207,284]]}}</p> */ public Builder highLight(String highLight) { this.highLight = highLight; return this; } /** * <p>The event ID.</p> * * <strong>example:</strong> * <p>1****</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the asset.</p> * * <strong>example:</strong> * <p>sql-test-001****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the 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 timestamp generated when the last scan was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder latestScanTimestamp(Long latestScanTimestamp) { this.latestScanTimestamp = latestScanTimestamp; return this; } /** * <p>The severity of the malicious file. Valid values:</p> * <ul> * <li>serious</li> * <li>suspicious</li> * <li>remind</li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The MD5 hash value of the malicious file.</p> * * <strong>example:</strong> * <p>1f2e13a7c51ee89316ae50066515****</p> */ public Builder maliciousMd5(String maliciousMd5) { this.maliciousMd5 = maliciousMd5; return this; } /** * <p>The name of the malicious file.</p> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder maliciousName(String maliciousName) { this.maliciousName = maliciousName; return this; } /** * <p>The type of the virus.</p> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder maliciousType(String maliciousType) { this.maliciousType = maliciousType; return this; } /** * <p>The remarks.</p> */ public Builder notes(java.util.List<Notes> notes) { this.notes = notes; return this; } /** * <p>The handling result of the alert.</p> * * <strong>example:</strong> * <p>addWhitelist.USER.Success</p> */ public Builder operateResult(String operateResult) { this.operateResult = operateResult; return this; } /** * <p>The timestamp generated when the alert is handled. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder operateTimestamp(String operateTimestamp) { this.operateTimestamp = operateTimestamp; return this; } /** * <p>The partition of the disk.</p> * * <strong>example:</strong> * <p>/dev/xvda1</p> */ public Builder partition(String partition) { this.partition = partition; return this; } /** * <p>The ID of the asset that is scanned.</p> * * <strong>example:</strong> * <p>m-****</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>jenkins****</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>2: The scanned asset is an image.</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } /** * <p>The UUID of the asset.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public List build() { return new List(this); } } } /** * * {@link ListAgentlessMaliciousFilesResponseBody} extends {@link TeaModel} * * <p>ListAgentlessMaliciousFilesResponseBody</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>23</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/ListAgentlessRegionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRegionRequest} extends {@link RequestModel} * * <p>ListAgentlessRegionRequest</p> */ public class ListAgentlessRegionRequest extends Request { private ListAgentlessRegionRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static ListAgentlessRegionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<ListAgentlessRegionRequest, Builder> { private Builder() { super(); } private Builder(ListAgentlessRegionRequest request) { super(request); } @Override public ListAgentlessRegionRequest build() { return new ListAgentlessRegionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRegionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRegionResponse} extends {@link TeaModel} * * <p>ListAgentlessRegionResponse</p> */ public class ListAgentlessRegionResponse 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 ListAgentlessRegionResponseBody body; private ListAgentlessRegionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentlessRegionResponse 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 ListAgentlessRegionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentlessRegionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentlessRegionResponseBody body); @Override ListAgentlessRegionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentlessRegionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentlessRegionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentlessRegionResponse 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(ListAgentlessRegionResponseBody body) { this.body = body; return this; } @Override public ListAgentlessRegionResponse build() { return new ListAgentlessRegionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRegionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRegionResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRegionResponseBody</p> */ public class ListAgentlessRegionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RegionList") private java.util.List<String> regionList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAgentlessRegionResponseBody(Builder builder) { this.regionList = builder.regionList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAgentlessRegionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return regionList */ public java.util.List<String> getRegionList() { return this.regionList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> regionList; private String requestId; private Builder() { } private Builder(ListAgentlessRegionResponseBody model) { this.regionList = model.regionList; this.requestId = model.requestId; } /** * <p>The information about the regions.</p> */ public Builder regionList(java.util.List<String> regionList) { this.regionList = regionList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7E0618A9-D5EF-4220-9471-C42B5E92****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAgentlessRegionResponseBody build() { return new ListAgentlessRegionResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRelateMaliciousRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRelateMaliciousRequest} extends {@link RequestModel} * * <p>ListAgentlessRelateMaliciousRequest</p> */ public class ListAgentlessRelateMaliciousRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true) private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventId") private Long eventId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private String pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Scenario") private String scenario; private ListAgentlessRelateMaliciousRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.eventId = builder.eventId; this.lang = builder.lang; this.pageSize = builder.pageSize; this.scenario = builder.scenario; } public static Builder builder() { return new Builder(); } public static ListAgentlessRelateMaliciousRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return eventId */ public Long getEventId() { return this.eventId; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return scenario */ public String getScenario() { return this.scenario; } public static final class Builder extends Request.Builder<ListAgentlessRelateMaliciousRequest, Builder> { private Integer currentPage; private Long eventId; private String lang; private String pageSize; private String scenario; private Builder() { super(); } private Builder(ListAgentlessRelateMaliciousRequest request) { super(request); this.currentPage = request.currentPage; this.eventId = request.eventId; this.lang = request.lang; this.pageSize = request.pageSize; this.scenario = request.scenario; } /** * <p>The number of the page to return.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The ID of the event.</p> * * <strong>example:</strong> * <p>80****</p> */ public Builder eventId(Long eventId) { this.putQueryParameter("EventId", eventId); this.eventId = eventId; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The number of entries to return on each page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The scenarios of batch handling. Valid values:</p> * <ul> * <li>same_file_md5: the same MD5 hash value.</li> * <li>default: the same alert type. This is the default value.</li> * </ul> * * <strong>example:</strong> * <p>default</p> */ public Builder scenario(String scenario) { this.putQueryParameter("Scenario", scenario); this.scenario = scenario; return this; } @Override public ListAgentlessRelateMaliciousRequest build() { return new ListAgentlessRelateMaliciousRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRelateMaliciousResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRelateMaliciousResponse} extends {@link TeaModel} * * <p>ListAgentlessRelateMaliciousResponse</p> */ public class ListAgentlessRelateMaliciousResponse 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 ListAgentlessRelateMaliciousResponseBody body; private ListAgentlessRelateMaliciousResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentlessRelateMaliciousResponse 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 ListAgentlessRelateMaliciousResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentlessRelateMaliciousResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentlessRelateMaliciousResponseBody body); @Override ListAgentlessRelateMaliciousResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentlessRelateMaliciousResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentlessRelateMaliciousResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentlessRelateMaliciousResponse 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(ListAgentlessRelateMaliciousResponseBody body) { this.body = body; return this; } @Override public ListAgentlessRelateMaliciousResponse build() { return new ListAgentlessRelateMaliciousResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRelateMaliciousResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRelateMaliciousResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRelateMaliciousResponseBody</p> */ public class ListAgentlessRelateMaliciousResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAgentlessRelateMaliciousResponseBody(Builder builder) { this.list = builder.list; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAgentlessRelateMaliciousResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<List> list; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListAgentlessRelateMaliciousResponseBody model) { this.list = model.list; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The list of hosts that are associated with the risk.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>FCA270CC-24C8-5DA1-9184-20F2605C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAgentlessRelateMaliciousResponseBody build() { return new ListAgentlessRelateMaliciousResponseBody(this); } } /** * * {@link ListAgentlessRelateMaliciousResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRelateMaliciousResponseBody</p> */ public static class Details extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NameKey") private String nameKey; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Details(Builder builder) { this.name = builder.name; this.nameKey = builder.nameKey; this.type = builder.type; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Details create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return nameKey */ public String getNameKey() { return this.nameKey; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String nameKey; private String type; private String value; private Builder() { } private Builder(Details model) { this.name = model.name; this.nameKey = model.nameKey; this.type = model.type; this.value = model.value; } /** * <p>The name of the detailed item.</p> * * <strong>example:</strong> * <p>MD5</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The name key of the detailed item.</p> * * <strong>example:</strong> * <p>${suspicious.mp.db.maliciousfilemd5}</p> */ public Builder nameKey(String nameKey) { this.nameKey = nameKey; return this; } /** * <p>The type of the detailed item.</p> * * <strong>example:</strong> * <p>text</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The value of the detailed item.</p> * * <strong>example:</strong> * <p>1f2e13a7c51ee89316ae50066515****</p> */ public Builder value(String value) { this.value = value; return this; } public Details build() { return new Details(this); } } } /** * * {@link ListAgentlessRelateMaliciousResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRelateMaliciousResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("Details") private java.util.List<Details> details; @com.aliyun.core.annotation.NameInMap("DownloadUrl") private String downloadUrl; @com.aliyun.core.annotation.NameInMap("FilePath") private String filePath; @com.aliyun.core.annotation.NameInMap("FirstScanTimestamp") private Long firstScanTimestamp; @com.aliyun.core.annotation.NameInMap("HighLight") private String highLight; @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("LatestScanTimestamp") private Long latestScanTimestamp; @com.aliyun.core.annotation.NameInMap("Level") private String level; @com.aliyun.core.annotation.NameInMap("MaliciousMd5") private String maliciousMd5; @com.aliyun.core.annotation.NameInMap("MaliciousName") private String maliciousName; @com.aliyun.core.annotation.NameInMap("MaliciousType") private String maliciousType; @com.aliyun.core.annotation.NameInMap("OperateResult") private String operateResult; @com.aliyun.core.annotation.NameInMap("OperateTimestamp") private String operateTimestamp; @com.aliyun.core.annotation.NameInMap("Partition") private String partition; @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("Uuid") private String uuid; private List(Builder builder) { this.details = builder.details; this.downloadUrl = builder.downloadUrl; this.filePath = builder.filePath; this.firstScanTimestamp = builder.firstScanTimestamp; this.highLight = builder.highLight; this.id = builder.id; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.latestScanTimestamp = builder.latestScanTimestamp; this.level = builder.level; this.maliciousMd5 = builder.maliciousMd5; this.maliciousName = builder.maliciousName; this.maliciousType = builder.maliciousType; this.operateResult = builder.operateResult; this.operateTimestamp = builder.operateTimestamp; this.partition = builder.partition; this.targetId = builder.targetId; this.targetName = builder.targetName; this.targetType = builder.targetType; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return details */ public java.util.List<Details> getDetails() { return this.details; } /** * @return downloadUrl */ public String getDownloadUrl() { return this.downloadUrl; } /** * @return filePath */ public String getFilePath() { return this.filePath; } /** * @return firstScanTimestamp */ public Long getFirstScanTimestamp() { return this.firstScanTimestamp; } /** * @return highLight */ public String getHighLight() { return this.highLight; } /** * @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 latestScanTimestamp */ public Long getLatestScanTimestamp() { return this.latestScanTimestamp; } /** * @return level */ public String getLevel() { return this.level; } /** * @return maliciousMd5 */ public String getMaliciousMd5() { return this.maliciousMd5; } /** * @return maliciousName */ public String getMaliciousName() { return this.maliciousName; } /** * @return maliciousType */ public String getMaliciousType() { return this.maliciousType; } /** * @return operateResult */ public String getOperateResult() { return this.operateResult; } /** * @return operateTimestamp */ public String getOperateTimestamp() { return this.operateTimestamp; } /** * @return partition */ public String getPartition() { return this.partition; } /** * @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 uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private java.util.List<Details> details; private String downloadUrl; private String filePath; private Long firstScanTimestamp; private String highLight; private Long id; private String instanceName; private String internetIp; private String intranetIp; private Long latestScanTimestamp; private String level; private String maliciousMd5; private String maliciousName; private String maliciousType; private String operateResult; private String operateTimestamp; private String partition; private String targetId; private String targetName; private String targetType; private String uuid; private Builder() { } private Builder(List model) { this.details = model.details; this.downloadUrl = model.downloadUrl; this.filePath = model.filePath; this.firstScanTimestamp = model.firstScanTimestamp; this.highLight = model.highLight; this.id = model.id; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.latestScanTimestamp = model.latestScanTimestamp; this.level = model.level; this.maliciousMd5 = model.maliciousMd5; this.maliciousName = model.maliciousName; this.maliciousType = model.maliciousType; this.operateResult = model.operateResult; this.operateTimestamp = model.operateTimestamp; this.partition = model.partition; this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; this.uuid = model.uuid; } /** * <p>The details of the alert events.</p> */ public Builder details(java.util.List<Details> details) { this.details = details; return this; } /** * <p>The URL to download the malicious image sample.</p> * * <strong>example:</strong> * <p><a href="https://upgrade-rule-pkg.oss-cn-beijing.aliyuncs.com/totalpackage/">https://upgrade-rule-pkg.oss-cn-beijing.aliyuncs.com/totalpackage/</a>***</p> */ public Builder downloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; return this; } /** * <p>The file path.</p> * * <strong>example:</strong> * <p>/root/logs/arms/tracelogs/log****</p> */ public Builder filePath(String filePath) { this.filePath = filePath; return this; } /** * <p>The timestamp when the first scan was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder firstScanTimestamp(Long firstScanTimestamp) { this.firstScanTimestamp = firstScanTimestamp; return this; } /** * <p>The highlighted JSON string.</p> * * <strong>example:</strong> * <p>{&quot;highlight&quot;:{&quot;ruleVersion&quot;:&quot;20230223&quot;,&quot;ruleId&quot;:600139,&quot;events&quot;:[[207,284]]}}</p> */ public Builder highLight(String highLight) { this.highLight = highLight; return this; } /** * <p>The event ID.</p> * * <strong>example:</strong> * <p>8012</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the asset.</p> * * <strong>example:</strong> * <p>sql-test-0****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>172.25.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The timestamp when the last scan was performed. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder latestScanTimestamp(Long latestScanTimestamp) { this.latestScanTimestamp = latestScanTimestamp; return this; } /** * <p>The severity of the malicious file. Valid values:</p> * <ul> * <li>serious</li> * <li>suspicious</li> * <li>remind</li> * </ul> * * <strong>example:</strong> * <p>serious</p> */ public Builder level(String level) { this.level = level; return this; } /** * <p>The MD5 hash value of the malicious file.</p> * * <strong>example:</strong> * <p>1f2e13a7c51ee89316ae50066515****</p> */ public Builder maliciousMd5(String maliciousMd5) { this.maliciousMd5 = maliciousMd5; return this; } /** * <p>The name of the malicious file.</p> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder maliciousName(String maliciousName) { this.maliciousName = maliciousName; return this; } /** * <p>The type of the virus.</p> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder maliciousType(String maliciousType) { this.maliciousType = maliciousType; return this; } /** * <p>The handling result of the alert.</p> * * <strong>example:</strong> * <p>addWhitelist.USER.Success</p> */ public Builder operateResult(String operateResult) { this.operateResult = operateResult; return this; } /** * <p>The timestamp when the alert is handled. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder operateTimestamp(String operateTimestamp) { this.operateTimestamp = operateTimestamp; return this; } /** * <p>The partition of the disk.</p> * * <strong>example:</strong> * <p>/dev/xvda1</p> */ public Builder partition(String partition) { this.partition = partition; return this; } /** * <p>The ID of the task object.</p> * * <strong>example:</strong> * <p>m-****</p> */ public Builder targetId(String targetId) { this.targetId = targetId; return this; } /** * <p>The name of the task object.</p> * * <strong>example:</strong> * <p>image_***</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The type of the task object. Valid values:</p> * <ul> * <li><strong>1</strong>: snapshot.</li> * <li><strong>2</strong>: image.</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public List build() { return new List(this); } } } /** * * {@link ListAgentlessRelateMaliciousResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRelateMaliciousResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.count = builder.count; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer count; private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.count = model.count; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>197</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/ListAgentlessRiskUuidRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRiskUuidRequest} extends {@link RequestModel} * * <p>ListAgentlessRiskUuidRequest</p> */ public class ListAgentlessRiskUuidRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineName") private String machineName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Risk") private Boolean risk; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private Integer targetType; private ListAgentlessRiskUuidRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.machineName = builder.machineName; this.pageSize = builder.pageSize; this.risk = builder.risk; this.targetName = builder.targetName; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static ListAgentlessRiskUuidRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @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 machineName */ public String getMachineName() { return this.machineName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return risk */ public Boolean getRisk() { return this.risk; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return targetType */ public Integer getTargetType() { return this.targetType; } public static final class Builder extends Request.Builder<ListAgentlessRiskUuidRequest, Builder> { private Integer currentPage; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private String machineName; private Integer pageSize; private Boolean risk; private String targetName; private Integer targetType; private Builder() { super(); } private Builder(ListAgentlessRiskUuidRequest request) { super(request); this.currentPage = request.currentPage; this.instanceId = request.instanceId; this.instanceName = request.instanceName; this.internetIp = request.internetIp; this.intranetIp = request.intranetIp; this.machineName = request.machineName; this.pageSize = request.pageSize; this.risk = request.risk; this.targetName = request.targetName; this.targetType = request.targetType; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The instance ID of the asset.</p> * * <strong>example:</strong> * <p>s-bp1g6wxdwps7s9dz****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The instance name of the asset.</p> * * <strong>example:</strong> * <p>ca_cpm_****</p> */ public Builder instanceName(String instanceName) { this.putQueryParameter("InstanceName", instanceName); this.instanceName = instanceName; return this; } /** * <p>The public IP address of the asset that you want to query.</p> * * <strong>example:</strong> * <p>1.1.XX.XX</p> */ public Builder internetIp(String internetIp) { this.putQueryParameter("InternetIp", internetIp); this.internetIp = internetIp; return this; } /** * <p>The private IP address of the asset that you want to query.</p> * * <strong>example:</strong> * <p>172.26.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.putQueryParameter("IntranetIp", intranetIp); this.intranetIp = intranetIp; return this; } /** * <p>The name of the instance.</p> * * <strong>example:</strong> * <p>oracle-win-001****</p> */ public Builder machineName(String machineName) { this.putQueryParameter("MachineName", machineName); this.machineName = machineName; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Specifies whether risks exist. Valid values:</p> * <ul> * <li><strong>true</strong>: Risks exist.</li> * <li><strong>false</strong>: Risks do not exist.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder risk(Boolean risk) { this.putQueryParameter("Risk", risk); this.risk = risk; return this; } /** * <p>The name of the detection object.</p> * * <strong>example:</strong> * <p>source-test-obj-0****</p> */ public Builder targetName(String targetName) { this.putQueryParameter("TargetName", targetName); this.targetName = targetName; return this; } /** * <p>Specifies the type of the object being inspected. Valid values:</p> * <ul> * <li><strong>1</strong>: Host Snapshot.</li> * <li><strong>2</strong>: Host Image.</li> * <li><strong>3</strong>: User Snapshot.</li> * <li><strong>4</strong>: User Image.</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder targetType(Integer targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } @Override public ListAgentlessRiskUuidRequest build() { return new ListAgentlessRiskUuidRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRiskUuidResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRiskUuidResponse} extends {@link TeaModel} * * <p>ListAgentlessRiskUuidResponse</p> */ public class ListAgentlessRiskUuidResponse 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 ListAgentlessRiskUuidResponseBody body; private ListAgentlessRiskUuidResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentlessRiskUuidResponse 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 ListAgentlessRiskUuidResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentlessRiskUuidResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentlessRiskUuidResponseBody body); @Override ListAgentlessRiskUuidResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentlessRiskUuidResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentlessRiskUuidResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentlessRiskUuidResponse 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(ListAgentlessRiskUuidResponseBody body) { this.body = body; return this; } @Override public ListAgentlessRiskUuidResponse build() { return new ListAgentlessRiskUuidResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessRiskUuidResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessRiskUuidResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRiskUuidResponseBody</p> */ public class ListAgentlessRiskUuidResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("List") private java.util.List<List> list; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ListAgentlessRiskUuidResponseBody(Builder builder) { this.list = builder.list; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListAgentlessRiskUuidResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return list */ public java.util.List<List> getList() { return this.list; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<List> list; private PageInfo pageInfo; private String requestId; private Builder() { } private Builder(ListAgentlessRiskUuidResponseBody model) { this.list = model.list; this.pageInfo = model.pageInfo; this.requestId = model.requestId; } /** * <p>The information about the hosts.</p> */ public Builder list(java.util.List<List> list) { this.list = list; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>05AE6B16-741A-5A75-9BF0-BC747DD9****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListAgentlessRiskUuidResponseBody build() { return new ListAgentlessRiskUuidResponseBody(this); } } /** * * {@link ListAgentlessRiskUuidResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRiskUuidResponseBody</p> */ public static class List extends TeaModel { @com.aliyun.core.annotation.NameInMap("BaselineCount") private Integer baselineCount; @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("MaliciousCount") private Integer maliciousCount; @com.aliyun.core.annotation.NameInMap("ScanTime") private Long scanTime; @com.aliyun.core.annotation.NameInMap("TargetId") private String targetId; @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; @com.aliyun.core.annotation.NameInMap("VulCount") private Integer vulCount; private List(Builder builder) { this.baselineCount = builder.baselineCount; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.maliciousCount = builder.maliciousCount; this.scanTime = builder.scanTime; this.targetId = builder.targetId; this.targetName = builder.targetName; this.uuid = builder.uuid; this.vulCount = builder.vulCount; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return baselineCount */ public Integer getBaselineCount() { return this.baselineCount; } /** * @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 maliciousCount */ public Integer getMaliciousCount() { return this.maliciousCount; } /** * @return scanTime */ public Long getScanTime() { return this.scanTime; } /** * @return targetId */ public String getTargetId() { return this.targetId; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return uuid */ public String getUuid() { return this.uuid; } /** * @return vulCount */ public Integer getVulCount() { return this.vulCount; } public static final class Builder { private Integer baselineCount; private String instanceId; private String instanceName; private String internetIp; private String intranetIp; private Integer maliciousCount; private Long scanTime; private String targetId; private String targetName; private String uuid; private Integer vulCount; private Builder() { } private Builder(List model) { this.baselineCount = model.baselineCount; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.internetIp = model.internetIp; this.intranetIp = model.intranetIp; this.maliciousCount = model.maliciousCount; this.scanTime = model.scanTime; this.targetId = model.targetId; this.targetName = model.targetName; this.uuid = model.uuid; this.vulCount = model.vulCount; } /** * <p>The number of baseline risks.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder baselineCount(Integer baselineCount) { this.baselineCount = baselineCount; return this; } /** * <p>The instance ID of the asset.</p> * * <strong>example:</strong> * <p>s-bp1g6wxdwps7s9dz****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name of the asset.</p> * * <strong>example:</strong> * <p>sql-test-0****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The public IP address of the server.</p> * * <strong>example:</strong> * <p>8.210.XX.XX</p> */ public Builder internetIp(String internetIp) { this.internetIp = internetIp; return this; } /** * <p>The private IP address of the server.</p> * * <strong>example:</strong> * <p>172.25.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.intranetIp = intranetIp; return this; } /** * <p>The number of malicious samples.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder maliciousCount(Integer maliciousCount) { this.maliciousCount = maliciousCount; return this; } /** * <p>The timestamp of the detection. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>168257753****</p> */ public Builder scanTime(Long scanTime) { this.scanTime = scanTime; return this; } /** * <p>The ID of the asset that is detected.</p> * * <strong>example:</strong> * <p>30****</p> */ public Builder targetId(String targetId) { this.targetId = targetId; return this; } /** * <p>The name of the asset that is detected.</p> * * <strong>example:</strong> * <p>test****</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>49e25e0f-bb51-4a5a-a1b3-13a4ddaa****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } /** * <p>The number of detected vulnerabilities.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder vulCount(Integer vulCount) { this.vulCount = vulCount; return this; } public List build() { return new List(this); } } } /** * * {@link ListAgentlessRiskUuidResponseBody} extends {@link TeaModel} * * <p>ListAgentlessRiskUuidResponseBody</p> */ public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageInfo(Builder builder) { this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer currentPage; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(PageInfo model) { this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>69</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/ListAgentlessTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessTaskRequest} extends {@link RequestModel} * * <p>ListAgentlessTaskRequest</p> */ public class ListAgentlessTaskRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetIp") private String internetIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntranetIp") private String intranetIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineName") private String machineName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RootTask") private Boolean rootTask; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RootTaskId") private String rootTaskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetType") private Integer targetType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private ListAgentlessTaskRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.endTime = builder.endTime; this.internetIp = builder.internetIp; this.intranetIp = builder.intranetIp; this.lang = builder.lang; this.machineName = builder.machineName; this.pageSize = builder.pageSize; this.rootTask = builder.rootTask; this.rootTaskId = builder.rootTaskId; this.startTime = builder.startTime; this.status = builder.status; this.targetName = builder.targetName; this.targetType = builder.targetType; this.taskId = builder.taskId; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static ListAgentlessTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return internetIp */ public String getInternetIp() { return this.internetIp; } /** * @return intranetIp */ public String getIntranetIp() { return this.intranetIp; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return machineName */ public String getMachineName() { return this.machineName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return rootTask */ public Boolean getRootTask() { return this.rootTask; } /** * @return rootTaskId */ public String getRootTaskId() { return this.rootTaskId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return targetType */ public Integer getTargetType() { return this.targetType; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<ListAgentlessTaskRequest, Builder> { private Integer currentPage; private Long endTime; private String internetIp; private String intranetIp; private String lang; private String machineName; private Integer pageSize; private Boolean rootTask; private String rootTaskId; private Long startTime; private Integer status; private String targetName; private Integer targetType; private String taskId; private String uuid; private Builder() { super(); } private Builder(ListAgentlessTaskRequest request) { super(request); this.currentPage = request.currentPage; this.endTime = request.endTime; this.internetIp = request.internetIp; this.intranetIp = request.intranetIp; this.lang = request.lang; this.machineName = request.machineName; this.pageSize = request.pageSize; this.rootTask = request.rootTask; this.rootTaskId = request.rootTaskId; this.startTime = request.startTime; this.status = request.status; this.targetName = request.targetName; this.targetType = request.targetType; this.taskId = request.taskId; this.uuid = request.uuid; } /** * <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 end timestamp of the task.</p> * * <strong>example:</strong> * <p>1635575219000</p> */ public Builder endTime(Long endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The public IP address of the asset that you want to query.</p> * * <strong>example:</strong> * <p>1.1.XX.XX</p> */ public Builder internetIp(String internetIp) { this.putQueryParameter("InternetIp", internetIp); this.internetIp = internetIp; return this; } /** * <p>The private IP address of the asset that you want to query.</p> * * <strong>example:</strong> * <p>172.26.XX.XX</p> */ public Builder intranetIp(String intranetIp) { this.putQueryParameter("IntranetIp", intranetIp); this.intranetIp = intranetIp; return this; } /** * <p>The language type. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the instance.</p> * * <strong>example:</strong> * <p>oracle-win-001****</p> */ public Builder machineName(String machineName) { this.putQueryParameter("MachineName", machineName); this.machineName = machineName; return this; } /** * <p>The number of entries to return on each page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>Specifies whether to query main tasks. Valid values:</p> * <ul> * <li><strong>true</strong>: queries main tasks.</li> * <li><strong>false</strong>: queries subtasks.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder rootTask(Boolean rootTask) { this.putQueryParameter("RootTask", rootTask); this.rootTask = rootTask; return this; } /** * <p>The ID of the main task.</p> * * <strong>example:</strong> * <p>12c27343861610c5db3f7a2573b4****</p> */ public Builder rootTaskId(String rootTaskId) { this.putQueryParameter("RootTaskId", rootTaskId); this.rootTaskId = rootTaskId; return this; } /** * <p>The start timestamp of the task.</p> * * <strong>example:</strong> * <p>1651290987000</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The status of the detection task.</p> * <ul> * <li><strong>1</strong>: The detection task is in progress.</li> * <li><strong>2</strong>: The detection task is complete.</li> * <li><strong>3</strong>: The detection task fails.</li> * <li><strong>4</strong>: The detection task times out.</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The name of the asset that you want to detect.</p> * * <strong>example:</strong> * <p>source-test-obj-0****</p> */ public Builder targetName(String targetName) { this.putQueryParameter("TargetName", targetName); this.targetName = targetName; return this; } /** * <p>The type of the asset that you want to detect. Valid values:</p> * <ul> * <li><strong>1</strong>: snapshot</li> * <li><strong>2</strong>: image</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder targetType(Integer targetType) { this.putQueryParameter("TargetType", targetType); this.targetType = targetType; return this; } /** * <p>The ID of the main task. If you want to query subtasks of a main task, you must specify this parameter.</p> * * <strong>example:</strong> * <p>d7b2acf8d362742123e4a84e1bf8****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>e4af3620-6895-4e2f-a641-a9d8fb53****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public ListAgentlessTaskRequest build() { return new ListAgentlessTaskRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/ListAgentlessTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAgentlessTaskResponse} extends {@link TeaModel} * * <p>ListAgentlessTaskResponse</p> */ public class ListAgentlessTaskResponse 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 ListAgentlessTaskResponseBody body; private ListAgentlessTaskResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAgentlessTaskResponse 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 ListAgentlessTaskResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAgentlessTaskResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAgentlessTaskResponseBody body); @Override ListAgentlessTaskResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAgentlessTaskResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAgentlessTaskResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAgentlessTaskResponse 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(ListAgentlessTaskResponseBody body) { this.body = body; return this; } @Override public ListAgentlessTaskResponse build() { return new ListAgentlessTaskResponse(this); } } }