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/GetInterceptionRuleDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionRuleDetailRequest} extends {@link RequestModel} * * <p>GetInterceptionRuleDetailRequest</p> */ public class GetInterceptionRuleDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleId") @com.aliyun.core.annotation.Validation(required = true) private String ruleId; private GetInterceptionRuleDetailRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static GetInterceptionRuleDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return ruleId */ public String getRuleId() { return this.ruleId; } public static final class Builder extends Request.Builder<GetInterceptionRuleDetailRequest, Builder> { private String clusterId; private String ruleId; private Builder() { super(); } private Builder(GetInterceptionRuleDetailRequest request) { super(request); this.clusterId = request.clusterId; this.ruleId = request.ruleId; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p>You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of container clusters.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>c7f60fdabc84xxx</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The ID of the rule.</p> * <blockquote> * <p>You can call the <a href="~~ListInterceptionRulePage~~">ListInterceptionRulePage</a> operation to query the IDs of rules.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>500002</p> */ public Builder ruleId(String ruleId) { this.putQueryParameter("RuleId", ruleId); this.ruleId = ruleId; return this; } @Override public GetInterceptionRuleDetailRequest build() { return new GetInterceptionRuleDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionRuleDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionRuleDetailResponse} extends {@link TeaModel} * * <p>GetInterceptionRuleDetailResponse</p> */ public class GetInterceptionRuleDetailResponse 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 GetInterceptionRuleDetailResponseBody body; private GetInterceptionRuleDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetInterceptionRuleDetailResponse 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 GetInterceptionRuleDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetInterceptionRuleDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetInterceptionRuleDetailResponseBody body); @Override GetInterceptionRuleDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetInterceptionRuleDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetInterceptionRuleDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetInterceptionRuleDetailResponse 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(GetInterceptionRuleDetailResponseBody body) { this.body = body; return this; } @Override public GetInterceptionRuleDetailResponse build() { return new GetInterceptionRuleDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionRuleDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionRuleDetailResponseBody} extends {@link TeaModel} * * <p>GetInterceptionRuleDetailResponseBody</p> */ public class GetInterceptionRuleDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InterceptionRuleDetail") private InterceptionRuleDetail interceptionRuleDetail; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetInterceptionRuleDetailResponseBody(Builder builder) { this.interceptionRuleDetail = builder.interceptionRuleDetail; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetInterceptionRuleDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return interceptionRuleDetail */ public InterceptionRuleDetail getInterceptionRuleDetail() { return this.interceptionRuleDetail; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private InterceptionRuleDetail interceptionRuleDetail; private String requestId; private Builder() { } private Builder(GetInterceptionRuleDetailResponseBody model) { this.interceptionRuleDetail = model.interceptionRuleDetail; this.requestId = model.requestId; } /** * <p>The details of the rule.</p> */ public Builder interceptionRuleDetail(InterceptionRuleDetail interceptionRuleDetail) { this.interceptionRuleDetail = interceptionRuleDetail; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9FBC6E47-7508-xxx</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetInterceptionRuleDetailResponseBody build() { return new GetInterceptionRuleDetailResponseBody(this); } } /** * * {@link GetInterceptionRuleDetailResponseBody} extends {@link TeaModel} * * <p>GetInterceptionRuleDetailResponseBody</p> */ public static class DstTarget extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ImageList") private java.util.List<String> imageList; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("Ports") private java.util.List<String> ports; @com.aliyun.core.annotation.NameInMap("RuleType") private String ruleType; @com.aliyun.core.annotation.NameInMap("TagList") private java.util.List<String> tagList; @com.aliyun.core.annotation.NameInMap("TargetId") private Integer targetId; @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private DstTarget(Builder builder) { this.appName = builder.appName; this.imageList = builder.imageList; this.namespace = builder.namespace; this.ports = builder.ports; this.ruleType = builder.ruleType; this.tagList = builder.tagList; this.targetId = builder.targetId; this.targetName = builder.targetName; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static DstTarget create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return imageList */ public java.util.List<String> getImageList() { return this.imageList; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return ports */ public java.util.List<String> getPorts() { return this.ports; } /** * @return ruleType */ public String getRuleType() { return this.ruleType; } /** * @return tagList */ public java.util.List<String> getTagList() { return this.tagList; } /** * @return targetId */ public Integer getTargetId() { return this.targetId; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String appName; private java.util.List<String> imageList; private String namespace; private java.util.List<String> ports; private String ruleType; private java.util.List<String> tagList; private Integer targetId; private String targetName; private String targetType; private Builder() { } private Builder(DstTarget model) { this.appName = model.appName; this.imageList = model.imageList; this.namespace = model.namespace; this.ports = model.ports; this.ruleType = model.ruleType; this.tagList = model.tagList; this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>console</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>An array that consists of the name of the image specified for the network object.</p> */ public Builder imageList(java.util.List<String> imageList) { this.imageList = imageList; return this; } /** * <p>The namespace to which the network object belongs.</p> * * <strong>example:</strong> * <p>kube-system</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>An array that consists of the port range of the destination network object.</p> */ public Builder ports(java.util.List<String> ports) { this.ports = ports; return this; } /** * <p>The type of the rule.</p> * * <strong>example:</strong> * <p>customize</p> */ public Builder ruleType(String ruleType) { this.ruleType = ruleType; return this; } /** * <p>An array that consists of the labels specified for the network object.</p> */ public Builder tagList(java.util.List<String> tagList) { this.tagList = tagList; return this; } /** * <p>The ID of the network object.</p> * * <strong>example:</strong> * <p>200014</p> */ public Builder targetId(Integer targetId) { this.targetId = targetId; return this; } /** * <p>The name of the object.</p> * * <strong>example:</strong> * <p>demo4-be1</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The type of the network object.</p> * * <strong>example:</strong> * <p>IMAGE</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public DstTarget build() { return new DstTarget(this); } } } /** * * {@link GetInterceptionRuleDetailResponseBody} extends {@link TeaModel} * * <p>GetInterceptionRuleDetailResponseBody</p> */ public static class SrcTarget extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ImageList") private java.util.List<String> imageList; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("RuleType") private String ruleType; @com.aliyun.core.annotation.NameInMap("TagList") private java.util.List<String> tagList; @com.aliyun.core.annotation.NameInMap("TargetId") private Integer targetId; @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private SrcTarget(Builder builder) { this.appName = builder.appName; this.imageList = builder.imageList; this.namespace = builder.namespace; this.ruleType = builder.ruleType; this.tagList = builder.tagList; this.targetId = builder.targetId; this.targetName = builder.targetName; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static SrcTarget create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return imageList */ public java.util.List<String> getImageList() { return this.imageList; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return ruleType */ public String getRuleType() { return this.ruleType; } /** * @return tagList */ public java.util.List<String> getTagList() { return this.tagList; } /** * @return targetId */ public Integer getTargetId() { return this.targetId; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String appName; private java.util.List<String> imageList; private String namespace; private String ruleType; private java.util.List<String> tagList; private Integer targetId; private String targetName; private String targetType; private Builder() { } private Builder(SrcTarget model) { this.appName = model.appName; this.imageList = model.imageList; this.namespace = model.namespace; this.ruleType = model.ruleType; this.tagList = model.tagList; this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>console</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The images of the network object.</p> */ public Builder imageList(java.util.List<String> imageList) { this.imageList = imageList; return this; } /** * <p>The namespace to which the network object belongs.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>The type of the rule.</p> * * <strong>example:</strong> * <p>customize</p> */ public Builder ruleType(String ruleType) { this.ruleType = ruleType; return this; } /** * <p>The labels specified for the network object.</p> */ public Builder tagList(java.util.List<String> tagList) { this.tagList = tagList; return this; } /** * <p>The ID of the network object.</p> * * <strong>example:</strong> * <p>300635</p> */ public Builder targetId(Integer targetId) { this.targetId = targetId; return this; } /** * <p>The name of the object.</p> * * <strong>example:</strong> * <p>dmz</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The type of the network object.</p> * * <strong>example:</strong> * <p>IMAGE</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public SrcTarget build() { return new SrcTarget(this); } } } /** * * {@link GetInterceptionRuleDetailResponseBody} extends {@link TeaModel} * * <p>GetInterceptionRuleDetailResponseBody</p> */ public static class InterceptionRuleDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("DstTarget") private DstTarget dstTarget; @com.aliyun.core.annotation.NameInMap("InterceptType") private Long interceptType; @com.aliyun.core.annotation.NameInMap("OrderIndex") private Long orderIndex; @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.NameInMap("RuleSwitch") private Integer ruleSwitch; @com.aliyun.core.annotation.NameInMap("RuleType") private String ruleType; @com.aliyun.core.annotation.NameInMap("SrcTarget") private SrcTarget srcTarget; private InterceptionRuleDetail(Builder builder) { this.dstTarget = builder.dstTarget; this.interceptType = builder.interceptType; this.orderIndex = builder.orderIndex; this.ruleId = builder.ruleId; this.ruleName = builder.ruleName; this.ruleSwitch = builder.ruleSwitch; this.ruleType = builder.ruleType; this.srcTarget = builder.srcTarget; } public static Builder builder() { return new Builder(); } public static InterceptionRuleDetail create() { return builder().build(); } /** * @return dstTarget */ public DstTarget getDstTarget() { return this.dstTarget; } /** * @return interceptType */ public Long getInterceptType() { return this.interceptType; } /** * @return orderIndex */ public Long getOrderIndex() { return this.orderIndex; } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleSwitch */ public Integer getRuleSwitch() { return this.ruleSwitch; } /** * @return ruleType */ public String getRuleType() { return this.ruleType; } /** * @return srcTarget */ public SrcTarget getSrcTarget() { return this.srcTarget; } public static final class Builder { private DstTarget dstTarget; private Long interceptType; private Long orderIndex; private Long ruleId; private String ruleName; private Integer ruleSwitch; private String ruleType; private SrcTarget srcTarget; private Builder() { } private Builder(InterceptionRuleDetail model) { this.dstTarget = model.dstTarget; this.interceptType = model.interceptType; this.orderIndex = model.orderIndex; this.ruleId = model.ruleId; this.ruleName = model.ruleName; this.ruleSwitch = model.ruleSwitch; this.ruleType = model.ruleType; this.srcTarget = model.srcTarget; } /** * <p>The destination network object.</p> */ public Builder dstTarget(DstTarget dstTarget) { this.dstTarget = dstTarget; return this; } /** * <p>The interception mode. Valid values:</p> * <ul> * <li><strong>0</strong>: monitor</li> * <li><strong>1</strong>: block</li> * <li><strong>2</strong>: alert</li> * <li><strong>3</strong>: allow</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder interceptType(Long interceptType) { this.interceptType = interceptType; return this; } /** * <p>The priority of the rule. Valid values: 1 to 1000. A smaller value indicates a higher priority.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder orderIndex(Long orderIndex) { this.orderIndex = orderIndex; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>467</p> */ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; return this; } /** * <p>The name of the rule.</p> * * <strong>example:</strong> * <p>dmz-frontend-accept</p> */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * <p>The status of the defense rule. Valid values:</p> * <ul> * <li><strong>1</strong>: The rule is enabled.</li> * <li><strong>0</strong>: The rule is disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder ruleSwitch(Integer ruleSwitch) { this.ruleSwitch = ruleSwitch; return this; } /** * <p>The type of the rule. Valid values:</p> * <ul> * <li><strong>suggest</strong>: a suggestion rule</li> * <li><strong>customize</strong>: a custom rule</li> * </ul> * * <strong>example:</strong> * <p>customize</p> */ public Builder ruleType(String ruleType) { this.ruleType = ruleType; return this; } /** * <p>The source network object.</p> */ public Builder srcTarget(SrcTarget srcTarget) { this.srcTarget = srcTarget; return this; } public InterceptionRuleDetail build() { return new InterceptionRuleDetail(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionSummaryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionSummaryRequest} extends {@link RequestModel} * * <p>GetInterceptionSummaryRequest</p> */ public class GetInterceptionSummaryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; private GetInterceptionSummaryRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; } public static Builder builder() { return new Builder(); } public static GetInterceptionSummaryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } public static final class Builder extends Request.Builder<GetInterceptionSummaryRequest, Builder> { private String clusterId; private Builder() { super(); } private Builder(GetInterceptionSummaryRequest request) { super(request); this.clusterId = request.clusterId; } /** * <p>The ID of the cluster.</p> * <blockquote> * <p>You can call the <a href="https://help.aliyun.com/document_detail/421736.html">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c2999***bb61b</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } @Override public GetInterceptionSummaryRequest build() { return new GetInterceptionSummaryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionSummaryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionSummaryResponse} extends {@link TeaModel} * * <p>GetInterceptionSummaryResponse</p> */ public class GetInterceptionSummaryResponse 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 GetInterceptionSummaryResponseBody body; private GetInterceptionSummaryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetInterceptionSummaryResponse 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 GetInterceptionSummaryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetInterceptionSummaryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetInterceptionSummaryResponseBody body); @Override GetInterceptionSummaryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetInterceptionSummaryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetInterceptionSummaryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetInterceptionSummaryResponse 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(GetInterceptionSummaryResponseBody body) { this.body = body; return this; } @Override public GetInterceptionSummaryResponse build() { return new GetInterceptionSummaryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionSummaryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionSummaryResponseBody} extends {@link TeaModel} * * <p>GetInterceptionSummaryResponseBody</p> */ public class GetInterceptionSummaryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InterceptionSummary") private InterceptionSummary interceptionSummary; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetInterceptionSummaryResponseBody(Builder builder) { this.interceptionSummary = builder.interceptionSummary; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetInterceptionSummaryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return interceptionSummary */ public InterceptionSummary getInterceptionSummary() { return this.interceptionSummary; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private InterceptionSummary interceptionSummary; private String requestId; private Builder() { } private Builder(GetInterceptionSummaryResponseBody model) { this.interceptionSummary = model.interceptionSummary; this.requestId = model.requestId; } /** * <p>The statistics.</p> */ public Builder interceptionSummary(InterceptionSummary interceptionSummary) { this.interceptionSummary = interceptionSummary; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>F35F45B0-5D6B-4238-BE02-A62D0760E840</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetInterceptionSummaryResponseBody build() { return new GetInterceptionSummaryResponseBody(this); } } /** * * {@link GetInterceptionSummaryResponseBody} extends {@link TeaModel} * * <p>GetInterceptionSummaryResponseBody</p> */ public static class InterceptionSummary extends TeaModel { @com.aliyun.core.annotation.NameInMap("CloseClusterCount") private Integer closeClusterCount; @com.aliyun.core.annotation.NameInMap("CloseRuleCount") private Integer closeRuleCount; @com.aliyun.core.annotation.NameInMap("ClusterCount") private Integer clusterCount; @com.aliyun.core.annotation.NameInMap("InterceptionCountInDays") private Integer interceptionCountInDays; @com.aliyun.core.annotation.NameInMap("OpenClusterCount") private Integer openClusterCount; @com.aliyun.core.annotation.NameInMap("OpenRuleCount") private Integer openRuleCount; @com.aliyun.core.annotation.NameInMap("RiskCount180Day") private Long riskCount180Day; @com.aliyun.core.annotation.NameInMap("RiskCount30Day") private Long riskCount30Day; @com.aliyun.core.annotation.NameInMap("RiskCountToday") private Long riskCountToday; @com.aliyun.core.annotation.NameInMap("RuleCount") private Integer ruleCount; private InterceptionSummary(Builder builder) { this.closeClusterCount = builder.closeClusterCount; this.closeRuleCount = builder.closeRuleCount; this.clusterCount = builder.clusterCount; this.interceptionCountInDays = builder.interceptionCountInDays; this.openClusterCount = builder.openClusterCount; this.openRuleCount = builder.openRuleCount; this.riskCount180Day = builder.riskCount180Day; this.riskCount30Day = builder.riskCount30Day; this.riskCountToday = builder.riskCountToday; this.ruleCount = builder.ruleCount; } public static Builder builder() { return new Builder(); } public static InterceptionSummary create() { return builder().build(); } /** * @return closeClusterCount */ public Integer getCloseClusterCount() { return this.closeClusterCount; } /** * @return closeRuleCount */ public Integer getCloseRuleCount() { return this.closeRuleCount; } /** * @return clusterCount */ public Integer getClusterCount() { return this.clusterCount; } /** * @return interceptionCountInDays */ public Integer getInterceptionCountInDays() { return this.interceptionCountInDays; } /** * @return openClusterCount */ public Integer getOpenClusterCount() { return this.openClusterCount; } /** * @return openRuleCount */ public Integer getOpenRuleCount() { return this.openRuleCount; } /** * @return riskCount180Day */ public Long getRiskCount180Day() { return this.riskCount180Day; } /** * @return riskCount30Day */ public Long getRiskCount30Day() { return this.riskCount30Day; } /** * @return riskCountToday */ public Long getRiskCountToday() { return this.riskCountToday; } /** * @return ruleCount */ public Integer getRuleCount() { return this.ruleCount; } public static final class Builder { private Integer closeClusterCount; private Integer closeRuleCount; private Integer clusterCount; private Integer interceptionCountInDays; private Integer openClusterCount; private Integer openRuleCount; private Long riskCount180Day; private Long riskCount30Day; private Long riskCountToday; private Integer ruleCount; private Builder() { } private Builder(InterceptionSummary model) { this.closeClusterCount = model.closeClusterCount; this.closeRuleCount = model.closeRuleCount; this.clusterCount = model.clusterCount; this.interceptionCountInDays = model.interceptionCountInDays; this.openClusterCount = model.openClusterCount; this.openRuleCount = model.openRuleCount; this.riskCount180Day = model.riskCount180Day; this.riskCount30Day = model.riskCount30Day; this.riskCountToday = model.riskCountToday; this.ruleCount = model.ruleCount; } /** * <p>The number of clusters that are not protected.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder closeClusterCount(Integer closeClusterCount) { this.closeClusterCount = closeClusterCount; return this; } /** * <p>The number of disabled cluster defense rules.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder closeRuleCount(Integer closeRuleCount) { this.closeRuleCount = closeRuleCount; return this; } /** * <p>The total number of clusters.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder clusterCount(Integer clusterCount) { this.clusterCount = clusterCount; return this; } /** * <p>The total number of interception records for the specified cluster.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder interceptionCountInDays(Integer interceptionCountInDays) { this.interceptionCountInDays = interceptionCountInDays; return this; } /** * <p>The number of clusters that are protected.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder openClusterCount(Integer openClusterCount) { this.openClusterCount = openClusterCount; return this; } /** * <p>The number of enabled cluster defense rules.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder openRuleCount(Integer openRuleCount) { this.openRuleCount = openRuleCount; return this; } /** * <p>The number of security risks that are detected in the last 180 days.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder riskCount180Day(Long riskCount180Day) { this.riskCount180Day = riskCount180Day; return this; } /** * <p>The number of security risks that are detected in the last 30 days.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder riskCount30Day(Long riskCount30Day) { this.riskCount30Day = riskCount30Day; return this; } /** * <p>The number of security risks that are detected in the last 24 hours.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder riskCountToday(Long riskCountToday) { this.riskCountToday = riskCountToday; return this; } /** * <p>The total number of cluster defense rules.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder ruleCount(Integer ruleCount) { this.ruleCount = ruleCount; return this; } public InterceptionSummary build() { return new InterceptionSummary(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionTargetDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionTargetDetailRequest} extends {@link RequestModel} * * <p>GetInterceptionTargetDetailRequest</p> */ public class GetInterceptionTargetDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetId") @com.aliyun.core.annotation.Validation(required = true) private Long targetId; private GetInterceptionTargetDetailRequest(Builder builder) { super(builder); this.targetId = builder.targetId; } public static Builder builder() { return new Builder(); } public static GetInterceptionTargetDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return targetId */ public Long getTargetId() { return this.targetId; } public static final class Builder extends Request.Builder<GetInterceptionTargetDetailRequest, Builder> { private Long targetId; private Builder() { super(); } private Builder(GetInterceptionTargetDetailRequest request) { super(request); this.targetId = request.targetId; } /** * <p>The ID of the network object.</p> * <blockquote> * <p>You can call the <a href="~~ListInterceptionTargetPage~~">ListInterceptionTargetPage</a> operation to query the IDs of network objects.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>402008</p> */ public Builder targetId(Long targetId) { this.putQueryParameter("TargetId", targetId); this.targetId = targetId; return this; } @Override public GetInterceptionTargetDetailRequest build() { return new GetInterceptionTargetDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionTargetDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionTargetDetailResponse} extends {@link TeaModel} * * <p>GetInterceptionTargetDetailResponse</p> */ public class GetInterceptionTargetDetailResponse 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 GetInterceptionTargetDetailResponseBody body; private GetInterceptionTargetDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetInterceptionTargetDetailResponse 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 GetInterceptionTargetDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetInterceptionTargetDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetInterceptionTargetDetailResponseBody body); @Override GetInterceptionTargetDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetInterceptionTargetDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetInterceptionTargetDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetInterceptionTargetDetailResponse 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(GetInterceptionTargetDetailResponseBody body) { this.body = body; return this; } @Override public GetInterceptionTargetDetailResponse build() { return new GetInterceptionTargetDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetInterceptionTargetDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInterceptionTargetDetailResponseBody} extends {@link TeaModel} * * <p>GetInterceptionTargetDetailResponseBody</p> */ public class GetInterceptionTargetDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RuleTarget") private RuleTarget ruleTarget; private GetInterceptionTargetDetailResponseBody(Builder builder) { this.requestId = builder.requestId; this.ruleTarget = builder.ruleTarget; } public static Builder builder() { return new Builder(); } public static GetInterceptionTargetDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return ruleTarget */ public RuleTarget getRuleTarget() { return this.ruleTarget; } public static final class Builder { private String requestId; private RuleTarget ruleTarget; private Builder() { } private Builder(GetInterceptionTargetDetailResponseBody model) { this.requestId = model.requestId; this.ruleTarget = model.ruleTarget; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about the network object.</p> */ public Builder ruleTarget(RuleTarget ruleTarget) { this.ruleTarget = ruleTarget; return this; } public GetInterceptionTargetDetailResponseBody build() { return new GetInterceptionTargetDetailResponseBody(this); } } /** * * {@link GetInterceptionTargetDetailResponseBody} extends {@link TeaModel} * * <p>GetInterceptionTargetDetailResponseBody</p> */ public static class RuleTarget extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("ImageList") private java.util.List<String> imageList; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("TagList") private java.util.List<String> tagList; @com.aliyun.core.annotation.NameInMap("TargetId") private Long targetId; @com.aliyun.core.annotation.NameInMap("TargetName") private String targetName; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private RuleTarget(Builder builder) { this.appName = builder.appName; this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.imageList = builder.imageList; this.namespace = builder.namespace; this.tagList = builder.tagList; this.targetId = builder.targetId; this.targetName = builder.targetName; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static RuleTarget create() { return builder().build(); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return imageList */ public java.util.List<String> getImageList() { return this.imageList; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return tagList */ public java.util.List<String> getTagList() { return this.tagList; } /** * @return targetId */ public Long getTargetId() { return this.targetId; } /** * @return targetName */ public String getTargetName() { return this.targetName; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String appName; private String clusterId; private String clusterName; private java.util.List<String> imageList; private String namespace; private java.util.List<String> tagList; private Long targetId; private String targetName; private String targetType; private Builder() { } private Builder(RuleTarget model) { this.appName = model.appName; this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.imageList = model.imageList; this.namespace = model.namespace; this.tagList = model.tagList; this.targetId = model.targetId; this.targetName = model.targetName; this.targetType = model.targetType; } /** * <p>The name of the application to which the network object belongs.</p> * * <strong>example:</strong> * <p>netperf-client</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the container cluster.</p> * * <strong>example:</strong> * <p>ca6e6594def8d4be8b2795fd12c32****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The name of the container cluster.</p> * * <strong>example:</strong> * <p>sas-test-cnnf</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>An array that consists of the images of the network object.</p> */ public Builder imageList(java.util.List<String> imageList) { this.imageList = imageList; return this; } /** * <p>The namespace.</p> * * <strong>example:</strong> * <p>secondary</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>An array that consists of the labels specified for the network object.</p> */ public Builder tagList(java.util.List<String> tagList) { this.tagList = tagList; return this; } /** * <p>The ID of the network object.</p> * * <strong>example:</strong> * <p>400723</p> */ public Builder targetId(Long targetId) { this.targetId = targetId; return this; } /** * <p>The name of the network object.</p> * * <strong>example:</strong> * <p>destination-test-obj-Na3cF</p> */ public Builder targetName(String targetName) { this.targetName = targetName; return this; } /** * <p>The type of the network object. Valid values:</p> * <ul> * <li><strong>IMAGE</strong>: image</li> * </ul> * * <strong>example:</strong> * <p>IMAGE</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public RuleTarget build() { return new RuleTarget(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLastOnceTaskInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLastOnceTaskInfoRequest} extends {@link RequestModel} * * <p>GetLastOnceTaskInfoRequest</p> */ public class GetLastOnceTaskInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskName") @com.aliyun.core.annotation.Validation(required = true) private String taskName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") @com.aliyun.core.annotation.Validation(required = true) private String taskType; private GetLastOnceTaskInfoRequest(Builder builder) { super(builder); this.source = builder.source; this.taskName = builder.taskName; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static GetLastOnceTaskInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return source */ public String getSource() { return this.source; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<GetLastOnceTaskInfoRequest, Builder> { private String source; private String taskName; private String taskType; private Builder() { super(); } private Builder(GetLastOnceTaskInfoRequest request) { super(request); this.source = request.source; this.taskName = request.taskName; this.taskType = request.taskType; } /** * <p>The source of the task.</p> * * <strong>example:</strong> * <p>console_batch</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The name of the task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: client diagnosis task</li> * <li><strong>CLIENT_DEV_OPS</strong>: O&amp;M task of Cloud Assistant</li> * <li><strong>ASSETS_COLLECTION</strong>: asset collection task</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ASSETS_COLLECTION</p> */ public Builder taskName(String taskName) { this.putQueryParameter("TaskName", taskName); this.taskName = taskName; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: client diagnosis task</li> * <li><strong>CLIENT_DEV_OPS</strong>: O&amp;M task of Cloud Assistant</li> * <li><strong>ASSETS_COLLECTION</strong>: asset collection task</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ASSETS_COLLECTION</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public GetLastOnceTaskInfoRequest build() { return new GetLastOnceTaskInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLastOnceTaskInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLastOnceTaskInfoResponse} extends {@link TeaModel} * * <p>GetLastOnceTaskInfoResponse</p> */ public class GetLastOnceTaskInfoResponse 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 GetLastOnceTaskInfoResponseBody body; private GetLastOnceTaskInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLastOnceTaskInfoResponse 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 GetLastOnceTaskInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetLastOnceTaskInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetLastOnceTaskInfoResponseBody body); @Override GetLastOnceTaskInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLastOnceTaskInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetLastOnceTaskInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetLastOnceTaskInfoResponse 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(GetLastOnceTaskInfoResponseBody body) { this.body = body; return this; } @Override public GetLastOnceTaskInfoResponse build() { return new GetLastOnceTaskInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLastOnceTaskInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLastOnceTaskInfoResponseBody} extends {@link TeaModel} * * <p>GetLastOnceTaskInfoResponseBody</p> */ public class GetLastOnceTaskInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CollectTime") private Long collectTime; @com.aliyun.core.annotation.NameInMap("FinishCount") private Integer finishCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private Long taskId; @com.aliyun.core.annotation.NameInMap("TaskInfo") private TaskInfo taskInfo; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private GetLastOnceTaskInfoResponseBody(Builder builder) { this.collectTime = builder.collectTime; this.finishCount = builder.finishCount; this.requestId = builder.requestId; this.taskId = builder.taskId; this.taskInfo = builder.taskInfo; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static GetLastOnceTaskInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return collectTime */ public Long getCollectTime() { return this.collectTime; } /** * @return finishCount */ public Integer getFinishCount() { return this.finishCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public Long getTaskId() { return this.taskId; } /** * @return taskInfo */ public TaskInfo getTaskInfo() { return this.taskInfo; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Long collectTime; private Integer finishCount; private String requestId; private Long taskId; private TaskInfo taskInfo; private Integer totalCount; private Builder() { } private Builder(GetLastOnceTaskInfoResponseBody model) { this.collectTime = model.collectTime; this.finishCount = model.finishCount; this.requestId = model.requestId; this.taskId = model.taskId; this.taskInfo = model.taskInfo; this.totalCount = model.totalCount; } /** * <p>The time at which the task was run.</p> * * <strong>example:</strong> * <p>1671184531000</p> */ public Builder collectTime(Long collectTime) { this.collectTime = collectTime; return this; } /** * <p>The number of tasks that have been completed.</p> * * <strong>example:</strong> * <p>67</p> */ public Builder finishCount(Integer finishCount) { this.finishCount = finishCount; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>BE120DAB-F4E7-4C53-ADC3-A97578AB****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The ID of the latest scan task.</p> * * <strong>example:</strong> * <p>3f65e1f1bb13118891a889d569a3****</p> */ public Builder taskId(Long taskId) { this.taskId = taskId; return this; } /** * <p>The information about the latest task.</p> */ public Builder taskInfo(TaskInfo taskInfo) { this.taskInfo = taskInfo; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>44</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public GetLastOnceTaskInfoResponseBody build() { return new GetLastOnceTaskInfoResponseBody(this); } } /** * * {@link GetLastOnceTaskInfoResponseBody} extends {@link TeaModel} * * <p>GetLastOnceTaskInfoResponseBody</p> */ public static class TaskInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("Result") private String result; @com.aliyun.core.annotation.NameInMap("Status") private String status; private TaskInfo(Builder builder) { this.progress = builder.progress; this.result = builder.result; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static TaskInfo create() { return builder().build(); } /** * @return progress */ public Integer getProgress() { return this.progress; } /** * @return result */ public String getResult() { return this.result; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private Integer progress; private String result; private String status; private Builder() { } private Builder(TaskInfo model) { this.progress = model.progress; this.result = model.result; this.status = model.status; } /** * <p>The progress of the task in percentage.</p> * * <strong>example:</strong> * <p>69</p> */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * <p>The result of the scan task. Valid values:</p> * <ul> * <li><strong>SUCCESS</strong>: The task is successful.</li> * <li><strong>TASK_NOT_SUPPORT_REGION</strong>: The images are deployed in a region that is not supported by container image scan.</li> * <li><strong>TASK_NOT_EXISTS</strong>: The task does not exist.</li> * </ul> * * <strong>example:</strong> * <p>SUCCESS</p> */ public Builder result(String result) { this.result = result; return this; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>INIT</strong>: The task is not started.</li> * <li><strong>START</strong>: The task is started.</li> * <li><strong>SUCCESS</strong>: The task is complete.</li> * <li><strong>TIMEOUT</strong>: The task timed out.</li> * </ul> * * <strong>example:</strong> * <p>SUCCESS</p> */ public Builder status(String status) { this.status = status; return this; } public TaskInfo build() { return new TaskInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLocalDefaultRegionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLocalDefaultRegionRequest} extends {@link RequestModel} * * <p>GetLocalDefaultRegionRequest</p> */ public class GetLocalDefaultRegionRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Vendor") private String vendor; private GetLocalDefaultRegionRequest(Builder builder) { super(builder); this.vendor = builder.vendor; } public static Builder builder() { return new Builder(); } public static GetLocalDefaultRegionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return vendor */ public String getVendor() { return this.vendor; } public static final class Builder extends Request.Builder<GetLocalDefaultRegionRequest, Builder> { private String vendor; private Builder() { super(); } private Builder(GetLocalDefaultRegionRequest request) { super(request); this.vendor = request.vendor; } /** * <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.putQueryParameter("Vendor", vendor); this.vendor = vendor; return this; } @Override public GetLocalDefaultRegionRequest build() { return new GetLocalDefaultRegionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLocalDefaultRegionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLocalDefaultRegionResponse} extends {@link TeaModel} * * <p>GetLocalDefaultRegionResponse</p> */ public class GetLocalDefaultRegionResponse 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 GetLocalDefaultRegionResponseBody body; private GetLocalDefaultRegionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLocalDefaultRegionResponse 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 GetLocalDefaultRegionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetLocalDefaultRegionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetLocalDefaultRegionResponseBody body); @Override GetLocalDefaultRegionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLocalDefaultRegionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetLocalDefaultRegionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetLocalDefaultRegionResponse 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(GetLocalDefaultRegionResponseBody body) { this.body = body; return this; } @Override public GetLocalDefaultRegionResponse build() { return new GetLocalDefaultRegionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLocalDefaultRegionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLocalDefaultRegionResponseBody} extends {@link TeaModel} * * <p>GetLocalDefaultRegionResponseBody</p> */ public class GetLocalDefaultRegionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private GetLocalDefaultRegionResponseBody(Builder builder) { this.requestId = builder.requestId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GetLocalDefaultRegionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String requestId; private Integer status; private Builder() { } private Builder(GetLocalDefaultRegionResponseBody model) { this.requestId = model.requestId; this.status = model.status; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F6D23860-55C2-55AA-B484-****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The access type of the multi-cloud site. Valid values:</p> * <ul> * <li><strong>0</strong>: The current site is not the default site of the multi-cloud site. You can specify a site as the default site of the multi-cloud site.</li> * <li><strong>1</strong>: The current site is the default site of the multi-cloud site.</li> * <li><strong>2</strong>: Another site is set as the default site of the multi-cloud site.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } public GetLocalDefaultRegionResponseBody build() { return new GetLocalDefaultRegionResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLogMetaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLogMetaRequest} extends {@link RequestModel} * * <p>GetLogMetaRequest</p> */ public class GetLogMetaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LogStore") @com.aliyun.core.annotation.Validation(required = true) private String logStore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceDirectoryAccountId") private Long resourceDirectoryAccountId; private GetLogMetaRequest(Builder builder) { super(builder); this.logStore = builder.logStore; this.resourceDirectoryAccountId = builder.resourceDirectoryAccountId; } public static Builder builder() { return new Builder(); } public static GetLogMetaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return logStore */ public String getLogStore() { return this.logStore; } /** * @return resourceDirectoryAccountId */ public Long getResourceDirectoryAccountId() { return this.resourceDirectoryAccountId; } public static final class Builder extends Request.Builder<GetLogMetaRequest, Builder> { private String logStore; private Long resourceDirectoryAccountId; private Builder() { super(); } private Builder(GetLogMetaRequest request) { super(request); this.logStore = request.logStore; this.resourceDirectoryAccountId = request.resourceDirectoryAccountId; } /** * <p>The name of the dedicated Logstore in which logs are stored.</p> * <blockquote> * <p> You can call the <a href="~~DescribeLogMeta~~">DescribeLogMeta</a> operation to query the name of the Logstore.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aegis-log-login</p> */ public Builder logStore(String logStore) { this.putQueryParameter("LogStore", logStore); this.logStore = logStore; return this; } /** * <p>The Alibaba Cloud account ID of the member in the resource directory.</p> * <blockquote> * <p> You can call the <a href="~~DescribeMonitorAccounts~~">DescribeMonitorAccounts</a> operation to obtain the IDs.</p> * </blockquote> * * <strong>example:</strong> * <p>127608589417****</p> */ public Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId) { this.putQueryParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); this.resourceDirectoryAccountId = resourceDirectoryAccountId; return this; } @Override public GetLogMetaRequest build() { return new GetLogMetaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLogMetaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLogMetaResponse} extends {@link TeaModel} * * <p>GetLogMetaResponse</p> */ public class GetLogMetaResponse 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 GetLogMetaResponseBody body; private GetLogMetaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogMetaResponse 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 GetLogMetaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogMetaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetLogMetaResponseBody body); @Override GetLogMetaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogMetaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetLogMetaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetLogMetaResponse 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(GetLogMetaResponseBody body) { this.body = body; return this; } @Override public GetLogMetaResponse build() { return new GetLogMetaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetLogMetaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetLogMetaResponseBody} extends {@link TeaModel} * * <p>GetLogMetaResponseBody</p> */ public class GetLogMetaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogMeta") private LogMeta logMeta; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetLogMetaResponseBody(Builder builder) { this.logMeta = builder.logMeta; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetLogMetaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logMeta */ public LogMeta getLogMeta() { return this.logMeta; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private LogMeta logMeta; private String requestId; private Builder() { } private Builder(GetLogMetaResponseBody model) { this.logMeta = model.logMeta; this.requestId = model.requestId; } /** * <p>The data of a data shipping task.</p> */ public Builder logMeta(LogMeta logMeta) { this.logMeta = logMeta; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3956048F-9D73-5EDB-834B-4827BB48****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetLogMetaResponseBody build() { return new GetLogMetaResponseBody(this); } } /** * * {@link GetLogMetaResponseBody} extends {@link TeaModel} * * <p>GetLogMetaResponseBody</p> */ public static class LogMeta extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogStore") private String logStore; @com.aliyun.core.annotation.NameInMap("Project") private String project; @com.aliyun.core.annotation.NameInMap("Status") private String status; private LogMeta(Builder builder) { this.logStore = builder.logStore; this.project = builder.project; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static LogMeta create() { return builder().build(); } /** * @return logStore */ public String getLogStore() { return this.logStore; } /** * @return project */ public String getProject() { return this.project; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String logStore; private String project; private String status; private Builder() { } private Builder(LogMeta model) { this.logStore = model.logStore; this.project = model.project; this.status = model.status; } /** * <p>The name of the dedicated Logstore in which logs are stored.</p> * * <strong>example:</strong> * <p>aegis-log-login</p> */ public Builder logStore(String logStore) { this.logStore = logStore; return this; } /** * <p>The Simple Log Service project.</p> * * <strong>example:</strong> * <p>sas-log</p> */ public Builder project(String project) { this.project = project; return this; } /** * <p>The status of a data shipping task of a log. Valid values:</p> * <ul> * <li><strong>enabled</strong></li> * <li><strong>disabled</strong></li> * </ul> * * <strong>example:</strong> * <p>enabled</p> */ public Builder status(String status) { this.status = status; return this; } public LogMeta build() { return new LogMeta(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetMaliciousFileWhitelistConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetMaliciousFileWhitelistConfigRequest} extends {@link RequestModel} * * <p>GetMaliciousFileWhitelistConfigRequest</p> */ public class GetMaliciousFileWhitelistConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ConfigId") private Long configId; private GetMaliciousFileWhitelistConfigRequest(Builder builder) { super(builder); this.configId = builder.configId; } public static Builder builder() { return new Builder(); } public static GetMaliciousFileWhitelistConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return configId */ public Long getConfigId() { return this.configId; } public static final class Builder extends Request.Builder<GetMaliciousFileWhitelistConfigRequest, Builder> { private Long configId; private Builder() { super(); } private Builder(GetMaliciousFileWhitelistConfigRequest request) { super(request); this.configId = request.configId; } /** * <p>The ID of the whitelist rule.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder configId(Long configId) { this.putQueryParameter("ConfigId", configId); this.configId = configId; return this; } @Override public GetMaliciousFileWhitelistConfigRequest build() { return new GetMaliciousFileWhitelistConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetMaliciousFileWhitelistConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetMaliciousFileWhitelistConfigResponse} extends {@link TeaModel} * * <p>GetMaliciousFileWhitelistConfigResponse</p> */ public class GetMaliciousFileWhitelistConfigResponse 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 GetMaliciousFileWhitelistConfigResponseBody body; private GetMaliciousFileWhitelistConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetMaliciousFileWhitelistConfigResponse 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 GetMaliciousFileWhitelistConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetMaliciousFileWhitelistConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetMaliciousFileWhitelistConfigResponseBody body); @Override GetMaliciousFileWhitelistConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetMaliciousFileWhitelistConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetMaliciousFileWhitelistConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetMaliciousFileWhitelistConfigResponse 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(GetMaliciousFileWhitelistConfigResponseBody body) { this.body = body; return this; } @Override public GetMaliciousFileWhitelistConfigResponse build() { return new GetMaliciousFileWhitelistConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetMaliciousFileWhitelistConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetMaliciousFileWhitelistConfigResponseBody} extends {@link TeaModel} * * <p>GetMaliciousFileWhitelistConfigResponseBody</p> */ public class GetMaliciousFileWhitelistConfigResponseBody 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("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 GetMaliciousFileWhitelistConfigResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; 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 GetMaliciousFileWhitelistConfigResponseBody 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 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 Data data; private Integer httpStatusCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetMaliciousFileWhitelistConfigResponseBody model) { this.code = model.code; this.data = model.data; this.httpStatusCode = model.httpStatusCode; 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 response parameters.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The HTTP status code. The value 200 indicates that the request was successful.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; 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>F8B6F758-BCD4-597A-8A2C-DA5A552C****</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 GetMaliciousFileWhitelistConfigResponseBody build() { return new GetMaliciousFileWhitelistConfigResponseBody(this); } } /** * * {@link GetMaliciousFileWhitelistConfigResponseBody} extends {@link TeaModel} * * <p>GetMaliciousFileWhitelistConfigResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private String count; @com.aliyun.core.annotation.NameInMap("EventName") private String eventName; @com.aliyun.core.annotation.NameInMap("Field") private String field; @com.aliyun.core.annotation.NameInMap("FieldValue") private String fieldValue; @com.aliyun.core.annotation.NameInMap("GmtCreate") private String gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private String gmtModified; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Operator") private String operator; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; @com.aliyun.core.annotation.NameInMap("TargetValue") private String targetValue; private Data(Builder builder) { this.count = builder.count; this.eventName = builder.eventName; this.field = builder.field; this.fieldValue = builder.fieldValue; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.id = builder.id; this.operator = builder.operator; this.source = builder.source; this.targetType = builder.targetType; this.targetValue = builder.targetValue; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return count */ public String getCount() { return this.count; } /** * @return eventName */ public String getEventName() { return this.eventName; } /** * @return field */ public String getField() { return this.field; } /** * @return fieldValue */ public String getFieldValue() { return this.fieldValue; } /** * @return gmtCreate */ public String getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return id */ public Long getId() { return this.id; } /** * @return operator */ public String getOperator() { return this.operator; } /** * @return source */ public String getSource() { return this.source; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return targetValue */ public String getTargetValue() { return this.targetValue; } public static final class Builder { private String count; private String eventName; private String field; private String fieldValue; private String gmtCreate; private String gmtModified; private Long id; private String operator; private String source; private String targetType; private String targetValue; private Builder() { } private Builder(Data model) { this.count = model.count; this.eventName = model.eventName; this.field = model.field; this.fieldValue = model.fieldValue; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.id = model.id; this.operator = model.operator; this.source = model.source; this.targetType = model.targetType; this.targetValue = model.targetValue; } /** * <p>The number of assets on which the whitelist rule takes effect.</p> * <blockquote> * <p> The value of this parameter is returned only if the value of TargetType is SELECTION_KEY.</p> * </blockquote> * * <strong>example:</strong> * <p>0</p> */ public Builder count(String count) { this.count = count; return this; } /** * <p>The name of the alert.</p> * <ul> * <li>The value is fixed as ALL, which indicates all alert types.</li> * </ul> * * <strong>example:</strong> * <p>ALL</p> */ public Builder eventName(String eventName) { this.eventName = eventName; return this; } /** * <p>The field that is used in the whitelist rule.</p> * * <strong>example:</strong> * <p>fileMd5</p> */ public Builder field(String field) { this.field = field; return this; } /** * <p>The value of the field that is used in the whitelist rule.</p> * * <strong>example:</strong> * <p>b2cf9747ee49d8d9b105cf16e078cc16</p> */ public Builder fieldValue(String fieldValue) { this.fieldValue = fieldValue; return this; } /** * <p>The creation time.</p> * * <strong>example:</strong> * <p>1671607025000</p> */ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The modification time.</p> * * <strong>example:</strong> * <p>1674095396000</p> */ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The ID of the whitelist rule.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The logical operator that is used in the whitelist rule.</p> * <ul> * <li>The value is fixed as strEqual, which indicates the equality operator (=).</li> * </ul> * * <strong>example:</strong> * <p>strEqual</p> */ public Builder operator(String operator) { this.operator = operator; return this; } /** * <p>The feature to which this operation belongs.</p> * <ul> * <li>The value is fixed as agentless, which indicates the agentless detection feature.</li> * </ul> * * <strong>example:</strong> * <p>agentless</p> */ public Builder source(String source) { this.source = source; return this; } /** * <p>The type of the assets on which the whitelist rule takes effect. Valid values:</p> * <ul> * <li>ALL: all assets</li> * <li>SELECTION_KEY: selected assets</li> * </ul> * * <strong>example:</strong> * <p>ALL</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } /** * <p>The assets on which the whitelist rule takes effect. Valid values:</p> * <ul> * <li>ALL: all assets</li> * <li>Others: selected assets</li> * </ul> * * <strong>example:</strong> * <p>ALL</p> */ public Builder targetValue(String targetValue) { this.targetValue = targetValue; 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/GetModuleConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleConfigRequest} extends {@link RequestModel} * * <p>GetModuleConfigRequest</p> */ public class GetModuleConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private String currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; private GetModuleConfigRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static GetModuleConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public String getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<GetModuleConfigRequest, Builder> { private String currentPage; private String pageSize; private Builder() { super(); } private Builder(GetModuleConfigRequest request) { super(request); this.currentPage = request.currentPage; this.pageSize = request.pageSize; } /** * <p>The number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(String currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>10</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public GetModuleConfigRequest build() { return new GetModuleConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetModuleConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleConfigResponse} extends {@link TeaModel} * * <p>GetModuleConfigResponse</p> */ public class GetModuleConfigResponse 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 GetModuleConfigResponseBody body; private GetModuleConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetModuleConfigResponse 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 GetModuleConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetModuleConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetModuleConfigResponseBody body); @Override GetModuleConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetModuleConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetModuleConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetModuleConfigResponse 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(GetModuleConfigResponseBody body) { this.body = body; return this; } @Override public GetModuleConfigResponse build() { return new GetModuleConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetModuleConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleConfigResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigResponseBody</p> */ public class GetModuleConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("ModuleConfigList") private java.util.List<ModuleConfigList> moduleConfigList; @com.aliyun.core.annotation.NameInMap("PageInfo") private PageInfo pageInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetModuleConfigResponseBody(Builder builder) { this.httpStatusCode = builder.httpStatusCode; this.moduleConfigList = builder.moduleConfigList; this.pageInfo = builder.pageInfo; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetModuleConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return moduleConfigList */ public java.util.List<ModuleConfigList> getModuleConfigList() { return this.moduleConfigList; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer httpStatusCode; private java.util.List<ModuleConfigList> moduleConfigList; private PageInfo pageInfo; private String requestId; private Boolean success; private Builder() { } private Builder(GetModuleConfigResponseBody model) { this.httpStatusCode = model.httpStatusCode; this.moduleConfigList = model.moduleConfigList; this.pageInfo = model.pageInfo; this.requestId = model.requestId; this.success = model.success; } /** * <p>The response code returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>An array that consists of the configurations of the module.</p> */ public Builder moduleConfigList(java.util.List<ModuleConfigList> moduleConfigList) { this.moduleConfigList = moduleConfigList; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>291B49F9-1685-4005-9D34-606B6F78****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetModuleConfigResponseBody build() { return new GetModuleConfigResponseBody(this); } } /** * * {@link GetModuleConfigResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupId") private Integer groupId; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private Items(Builder builder) { this.groupId = builder.groupId; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.ip = builder.ip; this.region = builder.region; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return groupId */ public Integer getGroupId() { return this.groupId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return region */ public String getRegion() { return this.region; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder { private Integer groupId; private String instanceId; private String instanceName; private String ip; private String region; private String uuid; private Builder() { } private Builder(Items model) { this.groupId = model.groupId; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.ip = model.ip; this.region = model.region; this.uuid = model.uuid; } /** * <p>The ID of the server group to which the server belongs.</p> * * <strong>example:</strong> * <p>5562414</p> */ public Builder groupId(Integer groupId) { this.groupId = groupId; return this; } /** * <p>The instance ID of the server.</p> * * <strong>example:</strong> * <p>i-uf6435dn4t59b9av****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name of the server.</p> * * <strong>example:</strong> * <p>inStanceName****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The IP address of the server.</p> * * <strong>example:</strong> * <p>2.2.X.X</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The region in which the server resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder region(String region) { this.region = region; return this; } /** * <p>The UUID of the server.</p> * * <strong>example:</strong> * <p>a47e3713-ed22-4015-93a3-d88ebe6****</p> */ public Builder uuid(String uuid) { this.uuid = uuid; return this; } public Items build() { return new Items(this); } } } /** * * {@link GetModuleConfigResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigResponseBody</p> */ public static class ModuleConfigList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigName") private String configName; @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @com.aliyun.core.annotation.NameInMap("ModuleName") private String moduleName; private ModuleConfigList(Builder builder) { this.configName = builder.configName; this.items = builder.items; this.moduleName = builder.moduleName; } public static Builder builder() { return new Builder(); } public static ModuleConfigList create() { return builder().build(); } /** * @return configName */ public String getConfigName() { return this.configName; } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } public static final class Builder { private String configName; private java.util.List<Items> items; private String moduleName; private Builder() { } private Builder(ModuleConfigList model) { this.configName = model.configName; this.items = model.items; this.moduleName = model.moduleName; } /** * <p>The name of the configuration.</p> * * <strong>example:</strong> * <p>timescan</p> */ public Builder configName(String configName) { this.configName = configName; return this; } /** * <p>An array that consists of the configuration items.</p> */ public Builder items(java.util.List<Items> items) { this.items = items; return this; } /** * <p>The name of the module.</p> * * <strong>example:</strong> * <p>alihids</p> */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } public ModuleConfigList build() { return new ModuleConfigList(this); } } } /** * * {@link GetModuleConfigResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigResponseBody</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>100</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>100</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/GetModuleConfigStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleConfigStatusRequest} extends {@link RequestModel} * * <p>GetModuleConfigStatusRequest</p> */ public class GetModuleConfigStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ModuleNames") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> moduleNames; private GetModuleConfigStatusRequest(Builder builder) { super(builder); this.moduleNames = builder.moduleNames; } public static Builder builder() { return new Builder(); } public static GetModuleConfigStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return moduleNames */ public java.util.List<String> getModuleNames() { return this.moduleNames; } public static final class Builder extends Request.Builder<GetModuleConfigStatusRequest, Builder> { private java.util.List<String> moduleNames; private Builder() { super(); } private Builder(GetModuleConfigStatusRequest request) { super(request); this.moduleNames = request.moduleNames; } /** * <p>The service modules that you want to query.</p> * <p>This parameter is required.</p> */ public Builder moduleNames(java.util.List<String> moduleNames) { String moduleNamesShrink = shrink(moduleNames, "ModuleNames", "json"); this.putQueryParameter("ModuleNames", moduleNamesShrink); this.moduleNames = moduleNames; return this; } @Override public GetModuleConfigStatusRequest build() { return new GetModuleConfigStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetModuleConfigStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleConfigStatusResponse} extends {@link TeaModel} * * <p>GetModuleConfigStatusResponse</p> */ public class GetModuleConfigStatusResponse 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 GetModuleConfigStatusResponseBody body; private GetModuleConfigStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetModuleConfigStatusResponse 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 GetModuleConfigStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetModuleConfigStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetModuleConfigStatusResponseBody body); @Override GetModuleConfigStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetModuleConfigStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetModuleConfigStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetModuleConfigStatusResponse 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(GetModuleConfigStatusResponseBody body) { this.body = body; return this; } @Override public GetModuleConfigStatusResponse build() { return new GetModuleConfigStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetModuleConfigStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleConfigStatusResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigStatusResponseBody</p> */ public class GetModuleConfigStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetModuleConfigStatusResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetModuleConfigStatusResponseBody 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(GetModuleConfigStatusResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The data returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>843E4805-****-7EE12FA8DBFD</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetModuleConfigStatusResponseBody build() { return new GetModuleConfigStatusResponseBody(this); } } /** * * {@link GetModuleConfigStatusResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigStatusResponseBody</p> */ public static class ModuleConfigResults extends TeaModel { @com.aliyun.core.annotation.NameInMap("ModuleName") private String moduleName; @com.aliyun.core.annotation.NameInMap("Pass") private Boolean pass; private ModuleConfigResults(Builder builder) { this.moduleName = builder.moduleName; this.pass = builder.pass; } public static Builder builder() { return new Builder(); } public static ModuleConfigResults create() { return builder().build(); } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } /** * @return pass */ public Boolean getPass() { return this.pass; } public static final class Builder { private String moduleName; private Boolean pass; private Builder() { } private Builder(ModuleConfigResults model) { this.moduleName = model.moduleName; this.pass = model.pass; } /** * <p>The name of the check item. Valid values:</p> * <ul> * <li><strong>Ransom</strong>: The anti-ransomware policy is enabled.</li> * <li><strong>WebLock</strong>: The web tamper proofing feature is enabled.</li> * <li><strong>Rasp</strong>: Applications are added to the application protection feature.</li> * <li><strong>Image</strong>: The container images that can be scanned are specified.</li> * <li><strong>Virus</strong>: The periodic virus scan policy is enabled.</li> * </ul> * * <strong>example:</strong> * <p>Ransom</p> */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } /** * <p>Indicates whether the service module passed the status check. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder pass(Boolean pass) { this.pass = pass; return this; } public ModuleConfigResults build() { return new ModuleConfigResults(this); } } } /** * * {@link GetModuleConfigStatusResponseBody} extends {@link TeaModel} * * <p>GetModuleConfigStatusResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ModuleConfigResults") private java.util.List<ModuleConfigResults> moduleConfigResults; private Data(Builder builder) { this.moduleConfigResults = builder.moduleConfigResults; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return moduleConfigResults */ public java.util.List<ModuleConfigResults> getModuleConfigResults() { return this.moduleConfigResults; } public static final class Builder { private java.util.List<ModuleConfigResults> moduleConfigResults; private Builder() { } private Builder(Data model) { this.moduleConfigResults = model.moduleConfigResults; } /** * <p>The check results of the service modules.</p> */ public Builder moduleConfigResults(java.util.List<ModuleConfigResults> moduleConfigResults) { this.moduleConfigResults = moduleConfigResults; 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/GetModuleTrialAuthInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleTrialAuthInfoRequest} extends {@link RequestModel} * * <p>GetModuleTrialAuthInfoRequest</p> */ public class GetModuleTrialAuthInfoRequest 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("ModuleCode") private String moduleCode; private GetModuleTrialAuthInfoRequest(Builder builder) { super(builder); this.lang = builder.lang; this.moduleCode = builder.moduleCode; } public static Builder builder() { return new Builder(); } public static GetModuleTrialAuthInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return moduleCode */ public String getModuleCode() { return this.moduleCode; } public static final class Builder extends Request.Builder<GetModuleTrialAuthInfoRequest, Builder> { private String lang; private String moduleCode; private Builder() { super(); } private Builder(GetModuleTrialAuthInfoRequest request) { super(request); this.lang = request.lang; this.moduleCode = request.moduleCode; } /** * <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 code of the feature. Valid values:</p> * <ul> * <li><strong>vulFix</strong>: vulnerability fixing.</li> * <li><strong>cloudSiem</strong>: threat analysis and response.</li> * </ul> * * <strong>example:</strong> * <p>vulFix</p> */ public Builder moduleCode(String moduleCode) { this.putQueryParameter("ModuleCode", moduleCode); this.moduleCode = moduleCode; return this; } @Override public GetModuleTrialAuthInfoRequest build() { return new GetModuleTrialAuthInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetModuleTrialAuthInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleTrialAuthInfoResponse} extends {@link TeaModel} * * <p>GetModuleTrialAuthInfoResponse</p> */ public class GetModuleTrialAuthInfoResponse 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 GetModuleTrialAuthInfoResponseBody body; private GetModuleTrialAuthInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetModuleTrialAuthInfoResponse 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 GetModuleTrialAuthInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetModuleTrialAuthInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetModuleTrialAuthInfoResponseBody body); @Override GetModuleTrialAuthInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetModuleTrialAuthInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetModuleTrialAuthInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetModuleTrialAuthInfoResponse 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(GetModuleTrialAuthInfoResponseBody body) { this.body = body; return this; } @Override public GetModuleTrialAuthInfoResponse build() { return new GetModuleTrialAuthInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetModuleTrialAuthInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetModuleTrialAuthInfoResponseBody} extends {@link TeaModel} * * <p>GetModuleTrialAuthInfoResponseBody</p> */ public class GetModuleTrialAuthInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetModuleTrialAuthInfoResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetModuleTrialAuthInfoResponseBody 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(GetModuleTrialAuthInfoResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetModuleTrialAuthInfoResponseBody build() { return new GetModuleTrialAuthInfoResponseBody(this); } } /** * * {@link GetModuleTrialAuthInfoResponseBody} extends {@link TeaModel} * * <p>GetModuleTrialAuthInfoResponseBody</p> */ public static class TrialRecordList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthLimit") private Long authLimit; @com.aliyun.core.annotation.NameInMap("AuthLimitList") private String authLimitList; @com.aliyun.core.annotation.NameInMap("GmtEnd") private Long gmtEnd; @com.aliyun.core.annotation.NameInMap("GmtStart") private Long gmtStart; @com.aliyun.core.annotation.NameInMap("ModuleCode") private String moduleCode; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private TrialRecordList(Builder builder) { this.authLimit = builder.authLimit; this.authLimitList = builder.authLimitList; this.gmtEnd = builder.gmtEnd; this.gmtStart = builder.gmtStart; this.moduleCode = builder.moduleCode; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static TrialRecordList create() { return builder().build(); } /** * @return authLimit */ public Long getAuthLimit() { return this.authLimit; } /** * @return authLimitList */ public String getAuthLimitList() { return this.authLimitList; } /** * @return gmtEnd */ public Long getGmtEnd() { return this.gmtEnd; } /** * @return gmtStart */ public Long getGmtStart() { return this.gmtStart; } /** * @return moduleCode */ public String getModuleCode() { return this.moduleCode; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private Long authLimit; private String authLimitList; private Long gmtEnd; private Long gmtStart; private String moduleCode; private Integer status; private Builder() { } private Builder(TrialRecordList model) { this.authLimit = model.authLimit; this.authLimitList = model.authLimitList; this.gmtEnd = model.gmtEnd; this.gmtStart = model.gmtStart; this.moduleCode = model.moduleCode; this.status = model.status; } /** * <p>The quota.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder authLimit(Long authLimit) { this.authLimit = authLimit; return this; } /** * <p>The list of quotas. This parameter is available if the value of the ModuleCode parameter is cloudSiem. The value of this parameter consists of the log storage capacity for the threat analysis and response feature and the log data to add. Units: GB and GB-day.</p> * * <strong>example:</strong> * <p>[1,100]</p> */ public Builder authLimitList(String authLimitList) { this.authLimitList = authLimitList; return this; } /** * <p>The end time of the trial use.</p> * * <strong>example:</strong> * <p>1679760000000</p> */ public Builder gmtEnd(Long gmtEnd) { this.gmtEnd = gmtEnd; return this; } /** * <p>The start time of the trial use.</p> * * <strong>example:</strong> * <p>1669824000000</p> */ public Builder gmtStart(Long gmtStart) { this.gmtStart = gmtStart; return this; } /** * <p>The code of the feature. Valid values:</p> * <ul> * <li><strong>vulFix</strong>: vulnerability fixing.</li> * <li><strong>cloudSiem</strong>: threat analysis and response.</li> * </ul> * * <strong>example:</strong> * <p>vulFix</p> */ public Builder moduleCode(String moduleCode) { this.moduleCode = moduleCode; return this; } /** * <p>The status of the trial use. Valid values:</p> * <ul> * <li><strong>1</strong>: The feature is in trial use.</li> * <li><strong>0</strong>: The trial use ends.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } public TrialRecordList build() { return new TrialRecordList(this); } } } /** * * {@link GetModuleTrialAuthInfoResponseBody} extends {@link TeaModel} * * <p>GetModuleTrialAuthInfoResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CanTry") private Boolean canTry; @com.aliyun.core.annotation.NameInMap("ModuleCode") private String moduleCode; @com.aliyun.core.annotation.NameInMap("TrialRecordList") private java.util.List<TrialRecordList> trialRecordList; private Data(Builder builder) { this.canTry = builder.canTry; this.moduleCode = builder.moduleCode; this.trialRecordList = builder.trialRecordList; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return canTry */ public Boolean getCanTry() { return this.canTry; } /** * @return moduleCode */ public String getModuleCode() { return this.moduleCode; } /** * @return trialRecordList */ public java.util.List<TrialRecordList> getTrialRecordList() { return this.trialRecordList; } public static final class Builder { private Boolean canTry; private String moduleCode; private java.util.List<TrialRecordList> trialRecordList; private Builder() { } private Builder(Data model) { this.canTry = model.canTry; this.moduleCode = model.moduleCode; this.trialRecordList = model.trialRecordList; } /** * <p>Indicates whether the user is qualified for the trial use. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder canTry(Boolean canTry) { this.canTry = canTry; return this; } /** * <p>The code of the feature. Valid values:</p> * <ul> * <li><strong>vulFix</strong>: vulnerability fixing.</li> * <li><strong>cloudSiem</strong>: threat analysis and response.</li> * </ul> * * <strong>example:</strong> * <p>vulFix</p> */ public Builder moduleCode(String moduleCode) { this.moduleCode = moduleCode; return this; } /** * <p>The trial use record.</p> */ public Builder trialRecordList(java.util.List<TrialRecordList> trialRecordList) { this.trialRecordList = trialRecordList; 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/GetObjectScanEventRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetObjectScanEventRequest} extends {@link RequestModel} * * <p>GetObjectScanEventRequest</p> */ public class GetObjectScanEventRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventId") private String eventId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private GetObjectScanEventRequest(Builder builder) { super(builder); this.eventId = builder.eventId; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static GetObjectScanEventRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return eventId */ public String getEventId() { return this.eventId; } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<GetObjectScanEventRequest, Builder> { private String eventId; private String lang; private Builder() { super(); } private Builder(GetObjectScanEventRequest request) { super(request); this.eventId = request.eventId; this.lang = request.lang; } /** * <p>The ID of the alert event.</p> * * <strong>example:</strong> * <p>81****</p> */ public Builder eventId(String eventId) { this.putQueryParameter("EventId", eventId); this.eventId = eventId; return this; } /** * <p>The language of the content in the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public GetObjectScanEventRequest build() { return new GetObjectScanEventRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetObjectScanEventResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetObjectScanEventResponse} extends {@link TeaModel} * * <p>GetObjectScanEventResponse</p> */ public class GetObjectScanEventResponse 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 GetObjectScanEventResponseBody body; private GetObjectScanEventResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetObjectScanEventResponse 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 GetObjectScanEventResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetObjectScanEventResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetObjectScanEventResponseBody body); @Override GetObjectScanEventResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetObjectScanEventResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetObjectScanEventResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetObjectScanEventResponse 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(GetObjectScanEventResponseBody body) { this.body = body; return this; } @Override public GetObjectScanEventResponse build() { return new GetObjectScanEventResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetObjectScanEventResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetObjectScanEventResponseBody} extends {@link TeaModel} * * <p>GetObjectScanEventResponseBody</p> */ public class GetObjectScanEventResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetObjectScanEventResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetObjectScanEventResponseBody 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(GetObjectScanEventResponseBody 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 GetObjectScanEventResponseBody build() { return new GetObjectScanEventResponseBody(this); } } /** * * {@link GetObjectScanEventResponseBody} extends {@link TeaModel} * * <p>GetObjectScanEventResponseBody</p> */ public static class Details extends TeaModel { @com.aliyun.core.annotation.NameInMap("InfoType") private String infoType; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NameDisplay") private String nameDisplay; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; @com.aliyun.core.annotation.NameInMap("ValueDisplay") private String valueDisplay; private Details(Builder builder) { this.infoType = builder.infoType; this.name = builder.name; this.nameDisplay = builder.nameDisplay; this.type = builder.type; this.value = builder.value; this.valueDisplay = builder.valueDisplay; } public static Builder builder() { return new Builder(); } public static Details create() { return builder().build(); } /** * @return infoType */ public String getInfoType() { return this.infoType; } /** * @return name */ public String getName() { return this.name; } /** * @return nameDisplay */ public String getNameDisplay() { return this.nameDisplay; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } /** * @return valueDisplay */ public String getValueDisplay() { return this.valueDisplay; } public static final class Builder { private String infoType; private String name; private String nameDisplay; private String type; private String value; private String valueDisplay; private Builder() { } private Builder(Details model) { this.infoType = model.infoType; this.name = model.name; this.nameDisplay = model.nameDisplay; this.type = model.type; this.value = model.value; this.valueDisplay = model.valueDisplay; } /** * <p>The type of the item.</p> * * <strong>example:</strong> * <p>html</p> */ public Builder infoType(String infoType) { this.infoType = infoType; return this; } /** * <p>The name of the item.</p> * * <strong>example:</strong> * <p>DownloadUrl</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The display name of the item.</p> * * <strong>example:</strong> * <p>DownloadUrl</p> */ public Builder nameDisplay(String nameDisplay) { this.nameDisplay = nameDisplay; return this; } /** * <p>The type of the item.</p> * * <strong>example:</strong> * <p>html</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The value of the item.</p> * * <strong>example:</strong> * <p>http://****</p> */ public Builder value(String value) { this.value = value; return this; } /** * <p>The display value of the item.</p> * * <strong>example:</strong> * <p>http://****</p> */ public Builder valueDisplay(String valueDisplay) { this.valueDisplay = valueDisplay; return this; } public Details build() { return new Details(this); } } } /** * * {@link GetObjectScanEventResponseBody} extends {@link TeaModel} * * <p>GetObjectScanEventResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Details") private java.util.List<Details> details; @com.aliyun.core.annotation.NameInMap("EventName") private String eventName; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("Md5") private String md5; private Data(Builder builder) { this.details = builder.details; this.eventName = builder.eventName; this.fileName = builder.fileName; this.md5 = builder.md5; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return details */ public java.util.List<Details> getDetails() { return this.details; } /** * @return eventName */ public String getEventName() { return this.eventName; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return md5 */ public String getMd5() { return this.md5; } public static final class Builder { private java.util.List<Details> details; private String eventName; private String fileName; private String md5; private Builder() { } private Builder(Data model) { this.details = model.details; this.eventName = model.eventName; this.fileName = model.fileName; this.md5 = model.md5; } /** * <p>The details of the alert event.</p> */ public Builder details(java.util.List<Details> details) { this.details = details; return this; } /** * <p>The name of the alert item.</p> * * <strong>example:</strong> * <p>WebShell</p> */ public Builder eventName(String eventName) { this.eventName = eventName; return this; } /** * <p>The name of the object.</p> * * <strong>example:</strong> * <p>sca_2023****</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The MD5 hash value of the object.</p> * * <strong>example:</strong> * <p>0552c44e243abdea1729d4507bce****</p> */ public Builder md5(String md5) { this.md5 = md5; 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/GetOnceTaskResultInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOnceTaskResultInfoRequest} extends {@link RequestModel} * * <p>GetOnceTaskResultInfoRequest</p> */ public class GetOnceTaskResultInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskName") @com.aliyun.core.annotation.Validation(required = true) private String taskName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") @com.aliyun.core.annotation.Validation(required = true) private String taskType; private GetOnceTaskResultInfoRequest(Builder builder) { super(builder); this.taskId = builder.taskId; this.taskName = builder.taskName; this.taskType = builder.taskType; } public static Builder builder() { return new Builder(); } public static GetOnceTaskResultInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskType */ public String getTaskType() { return this.taskType; } public static final class Builder extends Request.Builder<GetOnceTaskResultInfoRequest, Builder> { private String taskId; private String taskName; private String taskType; private Builder() { super(); } private Builder(GetOnceTaskResultInfoRequest request) { super(request); this.taskId = request.taskId; this.taskName = request.taskName; this.taskType = request.taskType; } /** * <p>The ID of the scan task.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>9dfa3a7eb9547781632785b49003****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The name of the task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: a task of the Security Center agent</li> * <li><strong>CLIENT_DEV_OPS</strong>: an O&amp;M task of Cloud Assistant</li> * <li><strong>ASSET_SECURITY_CHECK</strong>: a task of asset information collection</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ASSETS_COLLECTION</p> */ public Builder taskName(String taskName) { this.putQueryParameter("TaskName", taskName); this.taskName = taskName; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>CLIENT_PROBLEM_CHECK</strong>: a task of the Security Center agent</li> * <li><strong>CLIENT_DEV_OPS</strong>: an O&amp;M task of Cloud Assistant</li> * <li><strong>ASSET_SECURITY_CHECK</strong>: a task of asset information collection</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ASSETS_COLLECTION</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } @Override public GetOnceTaskResultInfoRequest build() { return new GetOnceTaskResultInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOnceTaskResultInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOnceTaskResultInfoResponse} extends {@link TeaModel} * * <p>GetOnceTaskResultInfoResponse</p> */ public class GetOnceTaskResultInfoResponse 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 GetOnceTaskResultInfoResponseBody body; private GetOnceTaskResultInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOnceTaskResultInfoResponse 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 GetOnceTaskResultInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOnceTaskResultInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOnceTaskResultInfoResponseBody body); @Override GetOnceTaskResultInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOnceTaskResultInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOnceTaskResultInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOnceTaskResultInfoResponse 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(GetOnceTaskResultInfoResponseBody body) { this.body = body; return this; } @Override public GetOnceTaskResultInfoResponse build() { return new GetOnceTaskResultInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOnceTaskResultInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOnceTaskResultInfoResponseBody} extends {@link TeaModel} * * <p>GetOnceTaskResultInfoResponseBody</p> */ public class GetOnceTaskResultInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CollectTime") private Long collectTime; @com.aliyun.core.annotation.NameInMap("FinishCount") private Integer finishCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private Long taskId; @com.aliyun.core.annotation.NameInMap("TaskInfo") private TaskInfo taskInfo; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private GetOnceTaskResultInfoResponseBody(Builder builder) { this.collectTime = builder.collectTime; this.finishCount = builder.finishCount; this.requestId = builder.requestId; this.taskId = builder.taskId; this.taskInfo = builder.taskInfo; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static GetOnceTaskResultInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return collectTime */ public Long getCollectTime() { return this.collectTime; } /** * @return finishCount */ public Integer getFinishCount() { return this.finishCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public Long getTaskId() { return this.taskId; } /** * @return taskInfo */ public TaskInfo getTaskInfo() { return this.taskInfo; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Long collectTime; private Integer finishCount; private String requestId; private Long taskId; private TaskInfo taskInfo; private Integer totalCount; private Builder() { } private Builder(GetOnceTaskResultInfoResponseBody model) { this.collectTime = model.collectTime; this.finishCount = model.finishCount; this.requestId = model.requestId; this.taskId = model.taskId; this.taskInfo = model.taskInfo; this.totalCount = model.totalCount; } /** * <p>The execution time of the task.</p> * * <strong>example:</strong> * <p>1671184531000</p> */ public Builder collectTime(Long collectTime) { this.collectTime = collectTime; return this; } /** * <p>The number of tasks that were completed.</p> * * <strong>example:</strong> * <p>47</p> */ public Builder finishCount(Integer finishCount) { this.finishCount = finishCount; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>CE500770-42D3-442E-9DDD-156E0F9F****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The ID of the scan task.</p> * * <strong>example:</strong> * <p>e7b70a4b030db086db52231f1b58****</p> */ public Builder taskId(Long taskId) { this.taskId = taskId; return this; } /** * <p>The information about the task.</p> */ public Builder taskInfo(TaskInfo taskInfo) { this.taskInfo = taskInfo; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>44</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public GetOnceTaskResultInfoResponseBody build() { return new GetOnceTaskResultInfoResponseBody(this); } } /** * * {@link GetOnceTaskResultInfoResponseBody} extends {@link TeaModel} * * <p>GetOnceTaskResultInfoResponseBody</p> */ public static class TaskInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private String status; private TaskInfo(Builder builder) { this.status = builder.status; } public static Builder builder() { return new Builder(); } public static TaskInfo create() { return builder().build(); } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String status; private Builder() { } private Builder(TaskInfo model) { this.status = model.status; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>INIT</strong>: The task is not started.</li> * <li><strong>START</strong>: The task is started.</li> * <li><strong>SUCCESS</strong>: The task is complete.</li> * <li><strong>TIMEOUT</strong>: The task times out.</li> * </ul> * * <strong>example:</strong> * <p>START</p> */ public Builder status(String status) { this.status = status; return this; } public TaskInfo build() { return new TaskInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterBaseLineListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterBaseLineListRequest} extends {@link RequestModel} * * <p>GetOpaClusterBaseLineListRequest</p> */ public class GetOpaClusterBaseLineListRequest extends Request { private GetOpaClusterBaseLineListRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetOpaClusterBaseLineListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetOpaClusterBaseLineListRequest, Builder> { private Builder() { super(); } private Builder(GetOpaClusterBaseLineListRequest request) { super(request); } @Override public GetOpaClusterBaseLineListRequest build() { return new GetOpaClusterBaseLineListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterBaseLineListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterBaseLineListResponse} extends {@link TeaModel} * * <p>GetOpaClusterBaseLineListResponse</p> */ public class GetOpaClusterBaseLineListResponse 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 GetOpaClusterBaseLineListResponseBody body; private GetOpaClusterBaseLineListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaClusterBaseLineListResponse 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 GetOpaClusterBaseLineListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaClusterBaseLineListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaClusterBaseLineListResponseBody body); @Override GetOpaClusterBaseLineListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaClusterBaseLineListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaClusterBaseLineListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaClusterBaseLineListResponse 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(GetOpaClusterBaseLineListResponseBody body) { this.body = body; return this; } @Override public GetOpaClusterBaseLineListResponse build() { return new GetOpaClusterBaseLineListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterBaseLineListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterBaseLineListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterBaseLineListResponseBody</p> */ public class GetOpaClusterBaseLineListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<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 GetOpaClusterBaseLineListResponseBody(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 GetOpaClusterBaseLineListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<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 java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOpaClusterBaseLineListResponseBody 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 information about baselines.</p> */ public Builder data(java.util.List<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>C2F2A020-1CAB-5F52-8CAF-B2ACDDFAC247</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 GetOpaClusterBaseLineListResponseBody build() { return new GetOpaClusterBaseLineListResponseBody(this); } } /** * * {@link GetOpaClusterBaseLineListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterBaseLineListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Alias") private String alias; @com.aliyun.core.annotation.NameInMap("ClassKey") private String classKey; @com.aliyun.core.annotation.NameInMap("ItemKey") private String itemKey; @com.aliyun.core.annotation.NameInMap("NameKey") private String nameKey; private Data(Builder builder) { this.alias = builder.alias; this.classKey = builder.classKey; this.itemKey = builder.itemKey; this.nameKey = builder.nameKey; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return alias */ public String getAlias() { return this.alias; } /** * @return classKey */ public String getClassKey() { return this.classKey; } /** * @return itemKey */ public String getItemKey() { return this.itemKey; } /** * @return nameKey */ public String getNameKey() { return this.nameKey; } public static final class Builder { private String alias; private String classKey; private String itemKey; private String nameKey; private Builder() { } private Builder(Data model) { this.alias = model.alias; this.classKey = model.classKey; this.itemKey = model.itemKey; this.nameKey = model.nameKey; } /** * <p>The alias of the baseline.</p> * * <strong>example:</strong> * <p>Make sure there are no duplicate usernames or UIDs</p> */ public Builder alias(String alias) { this.alias = alias; return this; } /** * <p>The key of the baseline type.</p> * * <strong>example:</strong> * <p>identification</p> */ public Builder classKey(String classKey) { this.classKey = classKey; return this; } /** * <p>The key of the name for the baseline check item.</p> * * <strong>example:</strong> * <p>duplicate_uid</p> */ public Builder itemKey(String itemKey) { this.itemKey = itemKey; return this; } /** * <p>The key of the name for the baseline.</p> * * <strong>example:</strong> * <p>identification</p> */ public Builder nameKey(String nameKey) { this.nameKey = nameKey; 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/GetOpaClusterImageListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterImageListRequest} extends {@link RequestModel} * * <p>GetOpaClusterImageListRequest</p> */ public class GetOpaClusterImageListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private GetOpaClusterImageListRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.currentPage = builder.currentPage; this.imageName = builder.imageName; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static GetOpaClusterImageListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<GetOpaClusterImageListRequest, Builder> { private String clusterId; private Integer currentPage; private String imageName; private Integer pageSize; private Builder() { super(); } private Builder(GetOpaClusterImageListRequest request) { super(request); this.clusterId = request.clusterId; this.currentPage = request.currentPage; this.imageName = request.imageName; this.pageSize = request.pageSize; } /** * <p>The ID of the cluster to which the container belongs.</p> * <blockquote> * <p> You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c4af4fdf38a98496a9b63c2be5dae****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The page number. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The name of the image.</p> * * <strong>example:</strong> * <p>testImage</p> */ public Builder imageName(String imageName) { this.putQueryParameter("ImageName", imageName); this.imageName = imageName; return this; } /** * <p>The number of entries per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public GetOpaClusterImageListRequest build() { return new GetOpaClusterImageListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterImageListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterImageListResponse} extends {@link TeaModel} * * <p>GetOpaClusterImageListResponse</p> */ public class GetOpaClusterImageListResponse 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 GetOpaClusterImageListResponseBody body; private GetOpaClusterImageListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaClusterImageListResponse 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 GetOpaClusterImageListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaClusterImageListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaClusterImageListResponseBody body); @Override GetOpaClusterImageListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaClusterImageListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaClusterImageListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaClusterImageListResponse 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(GetOpaClusterImageListResponseBody body) { this.body = body; return this; } @Override public GetOpaClusterImageListResponse build() { return new GetOpaClusterImageListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterImageListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterImageListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterImageListResponseBody</p> */ public class GetOpaClusterImageListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<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 GetOpaClusterImageListResponseBody(Builder builder) { this.code = builder.code; this.count = builder.count; 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 GetOpaClusterImageListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return data */ public java.util.List<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 Integer count; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOpaClusterImageListResponseBody model) { this.code = model.code; this.count = model.count; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The response code. The status code 200 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 number of images returned on the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The information about the images.</p> */ public Builder data(java.util.List<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>0D02F593-2050-5F5D-8C98-D965FF1B461D</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 GetOpaClusterImageListResponseBody build() { return new GetOpaClusterImageListResponseBody(this); } } /** * * {@link GetOpaClusterImageListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterImageListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; private Data(Builder builder) { this.imageName = builder.imageName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return imageName */ public String getImageName() { return this.imageName; } public static final class Builder { private String imageName; private Builder() { } private Builder(Data model) { this.imageName = model.imageName; } /** * <p>The name of the image.</p> * * <strong>example:</strong> * <p>opa-test</p> */ public Builder imageName(String imageName) { this.imageName = imageName; 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/GetOpaClusterLabelListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterLabelListRequest} extends {@link RequestModel} * * <p>GetOpaClusterLabelListRequest</p> */ public class GetOpaClusterLabelListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TagName") private String tagName; private GetOpaClusterLabelListRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.tagName = builder.tagName; } public static Builder builder() { return new Builder(); } public static GetOpaClusterLabelListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return tagName */ public String getTagName() { return this.tagName; } public static final class Builder extends Request.Builder<GetOpaClusterLabelListRequest, Builder> { private String clusterId; private Integer currentPage; private Integer pageSize; private String tagName; private Builder() { super(); } private Builder(GetOpaClusterLabelListRequest request) { super(request); this.clusterId = request.clusterId; this.currentPage = request.currentPage; this.pageSize = request.pageSize; this.tagName = request.tagName; } /** * <p>The ID of the cluster to which the container belongs.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/182997.html">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>c556c8133b5ad4378b7fc533ddbda****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <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 number of entries per page. Default value: 200. If you leave the PageSize parameter empty, 200 entries are returned by default. Maximum value: 200.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the tag.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder tagName(String tagName) { this.putQueryParameter("TagName", tagName); this.tagName = tagName; return this; } @Override public GetOpaClusterLabelListRequest build() { return new GetOpaClusterLabelListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterLabelListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterLabelListResponse} extends {@link TeaModel} * * <p>GetOpaClusterLabelListResponse</p> */ public class GetOpaClusterLabelListResponse 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 GetOpaClusterLabelListResponseBody body; private GetOpaClusterLabelListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaClusterLabelListResponse 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 GetOpaClusterLabelListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaClusterLabelListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaClusterLabelListResponseBody body); @Override GetOpaClusterLabelListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaClusterLabelListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaClusterLabelListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaClusterLabelListResponse 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(GetOpaClusterLabelListResponseBody body) { this.body = body; return this; } @Override public GetOpaClusterLabelListResponse build() { return new GetOpaClusterLabelListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterLabelListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterLabelListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterLabelListResponseBody</p> */ public class GetOpaClusterLabelListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<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 GetOpaClusterLabelListResponseBody(Builder builder) { this.code = builder.code; this.count = builder.count; 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 GetOpaClusterLabelListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return data */ public java.util.List<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 Integer count; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOpaClusterLabelListResponseBody model) { this.code = model.code; this.count = model.count; 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 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 information about the tags that are added to containers.</p> */ public Builder data(java.util.List<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>95D35EB3-1F8E-5E07-A68E-BE018C9B80CB</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 GetOpaClusterLabelListResponseBody build() { return new GetOpaClusterLabelListResponseBody(this); } } /** * * {@link GetOpaClusterLabelListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterLabelListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("TagName") private String tagName; private Data(Builder builder) { this.tagName = builder.tagName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return tagName */ public String getTagName() { return this.tagName; } public static final class Builder { private String tagName; private Builder() { } private Builder(Data model) { this.tagName = model.tagName; } /** * <p>The name of the tag that is added to the container.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder tagName(String tagName) { this.tagName = tagName; 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/GetOpaClusterNamespaceListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterNamespaceListRequest} extends {@link RequestModel} * * <p>GetOpaClusterNamespaceListRequest</p> */ public class GetOpaClusterNamespaceListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NameSpaceName") private String nameSpaceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private GetOpaClusterNamespaceListRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.currentPage = builder.currentPage; this.nameSpaceName = builder.nameSpaceName; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static GetOpaClusterNamespaceListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return nameSpaceName */ public String getNameSpaceName() { return this.nameSpaceName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<GetOpaClusterNamespaceListRequest, Builder> { private String clusterId; private Integer currentPage; private String nameSpaceName; private Integer pageSize; private Builder() { super(); } private Builder(GetOpaClusterNamespaceListRequest request) { super(request); this.clusterId = request.clusterId; this.currentPage = request.currentPage; this.nameSpaceName = request.nameSpaceName; this.pageSize = request.pageSize; } /** * <p>The ID of the cluster that you want to query.</p> * <blockquote> * <p> You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p> * </blockquote> * * <strong>example:</strong> * <p>ca0faf43e33904ecbb6c695df7906****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <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 name of the namespace.</p> * * <strong>example:</strong> * <p>sit</p> */ public Builder nameSpaceName(String nameSpaceName) { this.putQueryParameter("NameSpaceName", nameSpaceName); this.nameSpaceName = nameSpaceName; return this; } /** * <p>The number of entries per page. Default value: <strong>20</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public GetOpaClusterNamespaceListRequest build() { return new GetOpaClusterNamespaceListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterNamespaceListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterNamespaceListResponse} extends {@link TeaModel} * * <p>GetOpaClusterNamespaceListResponse</p> */ public class GetOpaClusterNamespaceListResponse 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 GetOpaClusterNamespaceListResponseBody body; private GetOpaClusterNamespaceListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaClusterNamespaceListResponse 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 GetOpaClusterNamespaceListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaClusterNamespaceListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaClusterNamespaceListResponseBody body); @Override GetOpaClusterNamespaceListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaClusterNamespaceListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaClusterNamespaceListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaClusterNamespaceListResponse 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(GetOpaClusterNamespaceListResponseBody body) { this.body = body; return this; } @Override public GetOpaClusterNamespaceListResponse build() { return new GetOpaClusterNamespaceListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaClusterNamespaceListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaClusterNamespaceListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterNamespaceListResponseBody</p> */ public class GetOpaClusterNamespaceListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<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 GetOpaClusterNamespaceListResponseBody(Builder builder) { this.code = builder.code; this.count = builder.count; 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 GetOpaClusterNamespaceListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return data */ public java.util.List<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 Integer count; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOpaClusterNamespaceListResponseBody model) { this.code = model.code; this.count = model.count; 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 number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The namespaces.</p> */ public Builder data(java.util.List<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>384BFAF1-FC41-58DD-97DD-9D361ADF377D</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 GetOpaClusterNamespaceListResponseBody build() { return new GetOpaClusterNamespaceListResponseBody(this); } } /** * * {@link GetOpaClusterNamespaceListResponseBody} extends {@link TeaModel} * * <p>GetOpaClusterNamespaceListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("NameSpaceName") private String nameSpaceName; private Data(Builder builder) { this.nameSpaceName = builder.nameSpaceName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return nameSpaceName */ public String getNameSpaceName() { return this.nameSpaceName; } public static final class Builder { private String nameSpaceName; private Builder() { } private Builder(Data model) { this.nameSpaceName = model.nameSpaceName; } /** * <p>The name of the namespace.</p> * * <strong>example:</strong> * <p>testNameSpace</p> */ public Builder nameSpaceName(String nameSpaceName) { this.nameSpaceName = nameSpaceName; 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/GetOpaPluginStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaPluginStatusRequest} extends {@link RequestModel} * * <p>GetOpaPluginStatusRequest</p> */ public class GetOpaPluginStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterIds") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> clusterIds; private GetOpaPluginStatusRequest(Builder builder) { super(builder); this.clusterIds = builder.clusterIds; } public static Builder builder() { return new Builder(); } public static GetOpaPluginStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterIds */ public java.util.List<String> getClusterIds() { return this.clusterIds; } public static final class Builder extends Request.Builder<GetOpaPluginStatusRequest, Builder> { private java.util.List<String> clusterIds; private Builder() { super(); } private Builder(GetOpaPluginStatusRequest request) { super(request); this.clusterIds = request.clusterIds; } /** * <p>The cluster IDs.</p> * <blockquote> * <p> You can call the <a href="~~DescribeGroupedContainerInstances~~">DescribeGroupedContainerInstances</a> operation to query the IDs of clusters.</p> * </blockquote> * <p>This parameter is required.</p> */ public Builder clusterIds(java.util.List<String> clusterIds) { this.putQueryParameter("ClusterIds", clusterIds); this.clusterIds = clusterIds; return this; } @Override public GetOpaPluginStatusRequest build() { return new GetOpaPluginStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaPluginStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaPluginStatusResponse} extends {@link TeaModel} * * <p>GetOpaPluginStatusResponse</p> */ public class GetOpaPluginStatusResponse 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 GetOpaPluginStatusResponseBody body; private GetOpaPluginStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaPluginStatusResponse 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 GetOpaPluginStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaPluginStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaPluginStatusResponseBody body); @Override GetOpaPluginStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaPluginStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaPluginStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaPluginStatusResponse 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(GetOpaPluginStatusResponseBody body) { this.body = body; return this; } @Override public GetOpaPluginStatusResponse build() { return new GetOpaPluginStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaPluginStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaPluginStatusResponseBody} extends {@link TeaModel} * * <p>GetOpaPluginStatusResponseBody</p> */ public class GetOpaPluginStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstallStatus") private java.util.List<InstallStatus> installStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetOpaPluginStatusResponseBody(Builder builder) { this.installStatus = builder.installStatus; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetOpaPluginStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return installStatus */ public java.util.List<InstallStatus> getInstallStatus() { return this.installStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<InstallStatus> installStatus; private String requestId; private Builder() { } private Builder(GetOpaPluginStatusResponseBody model) { this.installStatus = model.installStatus; this.requestId = model.requestId; } /** * <p>The installation status of the components that are required for clusters protected by proactive defense for containers.</p> */ public Builder installStatus(java.util.List<InstallStatus> installStatus) { this.installStatus = installStatus; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetOpaPluginStatusResponseBody build() { return new GetOpaPluginStatusResponseBody(this); } } /** * * {@link GetOpaPluginStatusResponseBody} extends {@link TeaModel} * * <p>GetOpaPluginStatusResponseBody</p> */ public static class InstallStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("InstallStatus") private Boolean installStatus; private InstallStatus(Builder builder) { this.clusterId = builder.clusterId; this.installStatus = builder.installStatus; } public static Builder builder() { return new Builder(); } public static InstallStatus create() { return builder().build(); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return installStatus */ public Boolean getInstallStatus() { return this.installStatus; } public static final class Builder { private String clusterId; private Boolean installStatus; private Builder() { } private Builder(InstallStatus model) { this.clusterId = model.clusterId; this.installStatus = model.installStatus; } /** * <p>The cluster ID.</p> * * <strong>example:</strong> * <p>c60b77fe62093480db6164a3c2fa****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>Indicates whether the component is installed. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder installStatus(Boolean installStatus) { this.installStatus = installStatus; return this; } public InstallStatus build() { return new InstallStatus(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaStrategyDetailNewRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaStrategyDetailNewRequest} extends {@link RequestModel} * * <p>GetOpaStrategyDetailNewRequest</p> */ public class GetOpaStrategyDetailNewRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StrategyId") private Long strategyId; private GetOpaStrategyDetailNewRequest(Builder builder) { super(builder); this.strategyId = builder.strategyId; } public static Builder builder() { return new Builder(); } public static GetOpaStrategyDetailNewRequest 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<GetOpaStrategyDetailNewRequest, Builder> { private Long strategyId; private Builder() { super(); } private Builder(GetOpaStrategyDetailNewRequest request) { super(request); this.strategyId = request.strategyId; } /** * <p>The rule ID.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/2623574.html">ListOpaClusterStrategyNew</a> operation to query the rule ID.</p> * </blockquote> * * <strong>example:</strong> * <p>1349</p> */ public Builder strategyId(Long strategyId) { this.putQueryParameter("StrategyId", strategyId); this.strategyId = strategyId; return this; } @Override public GetOpaStrategyDetailNewRequest build() { return new GetOpaStrategyDetailNewRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaStrategyDetailNewResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaStrategyDetailNewResponse} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponse</p> */ public class GetOpaStrategyDetailNewResponse 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 GetOpaStrategyDetailNewResponseBody body; private GetOpaStrategyDetailNewResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaStrategyDetailNewResponse 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 GetOpaStrategyDetailNewResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaStrategyDetailNewResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaStrategyDetailNewResponseBody body); @Override GetOpaStrategyDetailNewResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaStrategyDetailNewResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaStrategyDetailNewResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaStrategyDetailNewResponse 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(GetOpaStrategyDetailNewResponseBody body) { this.body = body; return this; } @Override public GetOpaStrategyDetailNewResponse build() { return new GetOpaStrategyDetailNewResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaStrategyDetailNewResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public class GetOpaStrategyDetailNewResponseBody 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("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 GetOpaStrategyDetailNewResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; 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 GetOpaStrategyDetailNewResponseBody 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 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 Data data; private Integer httpStatusCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOpaStrategyDetailNewResponseBody model) { this.code = model.code; this.data = model.data; this.httpStatusCode = model.httpStatusCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The status code returned. The status code <strong>200</strong> indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The data returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The HTTP status code that is returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E819FD71-D240-5E54-AA7F-20FED2ECBEB6</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 GetOpaStrategyDetailNewResponseBody build() { return new GetOpaStrategyDetailNewResponseBody(this); } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</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 ID 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 GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</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 information about the baseline check item.</p> */ public Builder item(java.util.List<Item> item) { this.item = item; return this; } /** * <p>The risk levels.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public Baseline build() { return new Baseline(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class BuildRiskItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private BuildRiskItem(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static BuildRiskItem 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(BuildRiskItem model) { this.id = model.id; this.name = model.name; } /** * <p>The ID of the image build risk.</p> * <blockquote> * <p> You can call the <a href="~~ListImageBuildRiskItem~~">ListImageBuildRiskItem</a> operation to query the ID of the malicious sample.</p> * </blockquote> * * <strong>example:</strong> * <p>key</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the image build risk.</p> * <blockquote> * <p> You can call the <a href="~~ListImageBuildRiskItem~~">ListImageBuildRiskItem</a> operation to query the ID of the malicious sample.</p> * </blockquote> * * <strong>example:</strong> * <p>name</p> */ public Builder name(String name) { this.name = name; return this; } public BuildRiskItem build() { return new BuildRiskItem(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class BuildRisk extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<BuildRiskItem> item; @com.aliyun.core.annotation.NameInMap("RiskLevel") private java.util.List<String> riskLevel; private BuildRisk(Builder builder) { this.item = builder.item; this.riskLevel = builder.riskLevel; } public static Builder builder() { return new Builder(); } public static BuildRisk create() { return builder().build(); } /** * @return item */ public java.util.List<BuildRiskItem> getItem() { return this.item; } /** * @return riskLevel */ public java.util.List<String> getRiskLevel() { return this.riskLevel; } public static final class Builder { private java.util.List<BuildRiskItem> item; private java.util.List<String> riskLevel; private Builder() { } private Builder(BuildRisk model) { this.item = model.item; this.riskLevel = model.riskLevel; } /** * <p>The configuration of image build risk.</p> */ public Builder item(java.util.List<BuildRiskItem> item) { this.item = item; return this; } /** * <p>The risk levels.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public BuildRisk build() { return new BuildRisk(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</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 ID of the malicious sample.</p> * * <strong>example:</strong> * <p>1811</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the malicious sample.</p> * * <strong>example:</strong> * <p>abnormal binary file</p> */ public Builder name(String name) { this.name = name; return this; } public MaliciousFileItem build() { return new MaliciousFileItem(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</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 information about the malicious sample.</p> */ public Builder item(java.util.List<MaliciousFileItem> item) { this.item = item; return this; } /** * <p>The risk levels.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public MaliciousFile build() { return new MaliciousFile(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class SensitiveFileItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private SensitiveFileItem(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static SensitiveFileItem 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(SensitiveFileItem model) { this.id = model.id; this.name = model.name; } /** * <p>The ID of the sensitive files.</p> * <blockquote> * <p> You can call the <a href="~~GetSensitiveDefineRuleConfig~~">GetSensitiveDefineRuleConfig</a> operation to query the ID of the malicious sample.</p> * </blockquote> * * <strong>example:</strong> * <p>key</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the sensitive files.</p> * <blockquote> * <p> You can call the <a href="~~GetSensitiveDefineRuleConfig~~">GetSensitiveDefineRuleConfig</a> operation to query the ID of the malicious sample.</p> * </blockquote> * * <strong>example:</strong> * <p>name</p> */ public Builder name(String name) { this.name = name; return this; } public SensitiveFileItem build() { return new SensitiveFileItem(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class SensitiveFile extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<SensitiveFileItem> item; @com.aliyun.core.annotation.NameInMap("RiskLevel") private java.util.List<String> riskLevel; private SensitiveFile(Builder builder) { this.item = builder.item; this.riskLevel = builder.riskLevel; } public static Builder builder() { return new Builder(); } public static SensitiveFile create() { return builder().build(); } /** * @return item */ public java.util.List<SensitiveFileItem> getItem() { return this.item; } /** * @return riskLevel */ public java.util.List<String> getRiskLevel() { return this.riskLevel; } public static final class Builder { private java.util.List<SensitiveFileItem> item; private java.util.List<String> riskLevel; private Builder() { } private Builder(SensitiveFile model) { this.item = model.item; this.riskLevel = model.riskLevel; } /** * <p>The configuration of sensitive file.</p> */ public Builder item(java.util.List<SensitiveFileItem> item) { this.item = item; return this; } /** * <p>The risk levels.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public SensitiveFile build() { return new SensitiveFile(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</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 name 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 GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class RiskClass extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Name") private String name; private RiskClass(Builder builder) { this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static RiskClass 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(RiskClass model) { this.id = model.id; this.name = model.name; } /** * <p>The ID of the vulnerability types. Valid values:</p> * <ul> * <li><strong>cve</strong>: system vulnerability</li> * <li><strong>app</strong>: application vulnerability</li> * </ul> * * <strong>example:</strong> * <p>cve</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The name of the vulnerability. Valid values:</p> * <ul> * <li><strong>system vulnerability</strong></li> * <li><strong>application vulnerability</strong></li> * </ul> * * <strong>example:</strong> * <p>system vulnerability</p> */ public Builder name(String name) { this.name = name; return this; } public RiskClass build() { return new RiskClass(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class Vul extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<VulItem> item; @com.aliyun.core.annotation.NameInMap("RiskClass") private java.util.List<RiskClass> riskClass; @com.aliyun.core.annotation.NameInMap("RiskLevel") private java.util.List<String> riskLevel; private Vul(Builder builder) { this.item = builder.item; this.riskClass = builder.riskClass; 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 riskClass */ public java.util.List<RiskClass> getRiskClass() { return this.riskClass; } /** * @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<RiskClass> riskClass; private java.util.List<String> riskLevel; private Builder() { } private Builder(Vul model) { this.item = model.item; this.riskClass = model.riskClass; this.riskLevel = model.riskLevel; } /** * <p>The information about the vulnerability.</p> */ public Builder item(java.util.List<VulItem> item) { this.item = item; return this; } /** * <p>Risk type of vulnerability.</p> */ public Builder riskClass(java.util.List<RiskClass> riskClass) { this.riskClass = riskClass; return this; } /** * <p>The risk levels.</p> */ public Builder riskLevel(java.util.List<String> riskLevel) { this.riskLevel = riskLevel; return this; } public Vul build() { return new Vul(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class AlarmDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("Baseline") private Baseline baseline; @com.aliyun.core.annotation.NameInMap("BuildRisk") private BuildRisk buildRisk; @com.aliyun.core.annotation.NameInMap("MaliciousFile") private MaliciousFile maliciousFile; @com.aliyun.core.annotation.NameInMap("SensitiveFile") private SensitiveFile sensitiveFile; @com.aliyun.core.annotation.NameInMap("Vul") private Vul vul; private AlarmDetail(Builder builder) { this.baseline = builder.baseline; this.buildRisk = builder.buildRisk; this.maliciousFile = builder.maliciousFile; this.sensitiveFile = builder.sensitiveFile; 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 buildRisk */ public BuildRisk getBuildRisk() { return this.buildRisk; } /** * @return maliciousFile */ public MaliciousFile getMaliciousFile() { return this.maliciousFile; } /** * @return sensitiveFile */ public SensitiveFile getSensitiveFile() { return this.sensitiveFile; } /** * @return vul */ public Vul getVul() { return this.vul; } public static final class Builder { private Baseline baseline; private BuildRisk buildRisk; private MaliciousFile maliciousFile; private SensitiveFile sensitiveFile; private Vul vul; private Builder() { } private Builder(AlarmDetail model) { this.baseline = model.baseline; this.buildRisk = model.buildRisk; this.maliciousFile = model.maliciousFile; this.sensitiveFile = model.sensitiveFile; this.vul = model.vul; } /** * <p>The baseline check configuration.</p> */ public Builder baseline(Baseline baseline) { this.baseline = baseline; return this; } /** * <p>The configuration of image build risk.</p> */ public Builder buildRisk(BuildRisk buildRisk) { this.buildRisk = buildRisk; return this; } /** * <p>The configuration of malicious samples.</p> */ public Builder maliciousFile(MaliciousFile maliciousFile) { this.maliciousFile = maliciousFile; return this; } /** * <p>The configuration of sensitive file.</p> */ public Builder sensitiveFile(SensitiveFile sensitiveFile) { this.sensitiveFile = sensitiveFile; return this; } /** * <p>The vulnerability configuration.</p> */ public Builder vul(Vul vul) { this.vul = vul; return this; } public AlarmDetail build() { return new AlarmDetail(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</p> */ public static class Scopes extends TeaModel { @com.aliyun.core.annotation.NameInMap("AckPolicyInstanceId") private String ackPolicyInstanceId; @com.aliyun.core.annotation.NameInMap("AllNamespace") private Integer allNamespace; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("NamespaceList") private java.util.List<String> namespaceList; private Scopes(Builder builder) { this.ackPolicyInstanceId = builder.ackPolicyInstanceId; this.allNamespace = builder.allNamespace; this.clusterId = builder.clusterId; this.namespaceList = builder.namespaceList; } public static Builder builder() { return new Builder(); } public static Scopes create() { return builder().build(); } /** * @return ackPolicyInstanceId */ public String getAckPolicyInstanceId() { return this.ackPolicyInstanceId; } /** * @return allNamespace */ public Integer getAllNamespace() { return this.allNamespace; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return namespaceList */ public java.util.List<String> getNamespaceList() { return this.namespaceList; } public static final class Builder { private String ackPolicyInstanceId; private Integer allNamespace; private String clusterId; private java.util.List<String> namespaceList; private Builder() { } private Builder(Scopes model) { this.ackPolicyInstanceId = model.ackPolicyInstanceId; this.allNamespace = model.allNamespace; this.clusterId = model.clusterId; this.namespaceList = model.namespaceList; } /** * <p>The rule instance ID of the cluster.</p> * * <strong>example:</strong> * <p>ack-0</p> */ public Builder ackPolicyInstanceId(String ackPolicyInstanceId) { this.ackPolicyInstanceId = ackPolicyInstanceId; return this; } /** * <p>Indicates whether all namespaces are included. Valid values:</p> * <ul> * <li><strong>1</strong>: yes</li> * <li><strong>0</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder allNamespace(Integer allNamespace) { this.allNamespace = allNamespace; return this; } /** * <p>The cluster ID.</p> * * <strong>example:</strong> * <p>c1fdb5fd8d**7163</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The namespaces.</p> */ public Builder namespaceList(java.util.List<String> namespaceList) { this.namespaceList = namespaceList; return this; } public Scopes build() { return new Scopes(this); } } } /** * * {@link GetOpaStrategyDetailNewResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyDetailNewResponseBody</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("CurrentPage") private Integer currentPage; @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("Lang") private String lang; @com.aliyun.core.annotation.NameInMap("MaliciousImage") private Boolean maliciousImage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RuleAction") private Integer ruleAction; @com.aliyun.core.annotation.NameInMap("Scopes") private java.util.List<Scopes> scopes; @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.currentPage = builder.currentPage; this.description = builder.description; this.imageName = builder.imageName; this.label = builder.label; this.lang = builder.lang; this.maliciousImage = builder.maliciousImage; this.pageSize = builder.pageSize; this.ruleAction = builder.ruleAction; this.scopes = builder.scopes; 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 currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @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 lang */ public String getLang() { return this.lang; } /** * @return maliciousImage */ public Boolean getMaliciousImage() { return this.maliciousImage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return ruleAction */ public Integer getRuleAction() { return this.ruleAction; } /** * @return scopes */ public java.util.List<Scopes> getScopes() { return this.scopes; } /** * @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 Integer currentPage; private String description; private java.util.List<String> imageName; private java.util.List<String> label; private String lang; private Boolean maliciousImage; private Integer pageSize; private Integer ruleAction; private java.util.List<Scopes> scopes; 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.currentPage = model.currentPage; this.description = model.description; this.imageName = model.imageName; this.label = model.label; this.lang = model.lang; this.maliciousImage = model.maliciousImage; this.pageSize = model.pageSize; this.ruleAction = model.ruleAction; this.scopes = model.scopes; this.strategyId = model.strategyId; this.strategyName = model.strategyName; this.strategyTemplateId = model.strategyTemplateId; this.unScanedImage = model.unScanedImage; this.whiteList = model.whiteList; } /** * <p>The rule configuration.</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 cluster name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The page number. Default value: <strong>1</strong>. Pages start from page 1.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The description.</p> * * <strong>example:</strong> * <p>Custom defense configuration</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The image names.</p> */ public Builder imageName(java.util.List<String> imageName) { this.imageName = imageName; return this; } /** * <p>The image tags.</p> */ public Builder label(java.util.List<String> label) { this.label = label; 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.lang = lang; 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>true</p> */ public Builder maliciousImage(Boolean maliciousImage) { this.maliciousImage = maliciousImage; 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 action that is performed when the rule is hit. 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 application scope.</p> */ public Builder scopes(java.util.List<Scopes> scopes) { this.scopes = scopes; return this; } /** * <p>The rule ID.</p> * * <strong>example:</strong> * <p>1005</p> */ public Builder strategyId(Long strategyId) { this.strategyId = strategyId; return this; } /** * <p>The rule name.</p> * * <strong>example:</strong> * <p>test001</p> */ public Builder strategyName(String strategyName) { this.strategyName = strategyName; return this; } /** * <p>The ID of the rule 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>true</p> */ public Builder unScanedImage(Boolean unScanedImage) { this.unScanedImage = unScanedImage; return this; } /** * <p>The image tags that are added to the whitelist.</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/GetOpaStrategyTemplateSummaryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaStrategyTemplateSummaryRequest} extends {@link RequestModel} * * <p>GetOpaStrategyTemplateSummaryRequest</p> */ public class GetOpaStrategyTemplateSummaryRequest extends Request { private GetOpaStrategyTemplateSummaryRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetOpaStrategyTemplateSummaryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetOpaStrategyTemplateSummaryRequest, Builder> { private Builder() { super(); } private Builder(GetOpaStrategyTemplateSummaryRequest request) { super(request); } @Override public GetOpaStrategyTemplateSummaryRequest build() { return new GetOpaStrategyTemplateSummaryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaStrategyTemplateSummaryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaStrategyTemplateSummaryResponse} extends {@link TeaModel} * * <p>GetOpaStrategyTemplateSummaryResponse</p> */ public class GetOpaStrategyTemplateSummaryResponse 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 GetOpaStrategyTemplateSummaryResponseBody body; private GetOpaStrategyTemplateSummaryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOpaStrategyTemplateSummaryResponse 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 GetOpaStrategyTemplateSummaryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOpaStrategyTemplateSummaryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOpaStrategyTemplateSummaryResponseBody body); @Override GetOpaStrategyTemplateSummaryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOpaStrategyTemplateSummaryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOpaStrategyTemplateSummaryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOpaStrategyTemplateSummaryResponse 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(GetOpaStrategyTemplateSummaryResponseBody body) { this.body = body; return this; } @Override public GetOpaStrategyTemplateSummaryResponse build() { return new GetOpaStrategyTemplateSummaryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOpaStrategyTemplateSummaryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOpaStrategyTemplateSummaryResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyTemplateSummaryResponseBody</p> */ public class GetOpaStrategyTemplateSummaryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<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 GetOpaStrategyTemplateSummaryResponseBody(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 GetOpaStrategyTemplateSummaryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<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 java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOpaStrategyTemplateSummaryResponseBody 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 usage statistics about the templates provided for rules of the at-risk image blocking type.</p> */ public Builder data(java.util.List<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>54572138-3390-5774-B71D-799DC8C2161B</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 GetOpaStrategyTemplateSummaryResponseBody build() { return new GetOpaStrategyTemplateSummaryResponseBody(this); } } /** * * {@link GetOpaStrategyTemplateSummaryResponseBody} extends {@link TeaModel} * * <p>GetOpaStrategyTemplateSummaryResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("TemplateId") private Long templateId; @com.aliyun.core.annotation.NameInMap("TemplateName") private String templateName; private Data(Builder builder) { this.count = builder.count; this.description = builder.description; this.templateId = builder.templateId; this.templateName = builder.templateName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return description */ public String getDescription() { return this.description; } /** * @return templateId */ public Long getTemplateId() { return this.templateId; } /** * @return templateName */ public String getTemplateName() { return this.templateName; } public static final class Builder { private Integer count; private String description; private Long templateId; private String templateName; private Builder() { } private Builder(Data model) { this.count = model.count; this.description = model.description; this.templateId = model.templateId; this.templateName = model.templateName; } /** * <p>The number of times that the template is used.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The description of the template.</p> * * <strong>example:</strong> * <p>Custom defense configuration</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The ID of the template.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder templateId(Long templateId) { this.templateId = templateId; return this; } /** * <p>The name of the template.</p> * * <strong>example:</strong> * <p>Blank template</p> */ public Builder templateName(String templateName) { this.templateName = templateName; 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/GetOssBucketScanStatisticRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOssBucketScanStatisticRequest} extends {@link RequestModel} * * <p>GetOssBucketScanStatisticRequest</p> */ public class GetOssBucketScanStatisticRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BucketNameList") private java.util.List<String> bucketNameList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; private GetOssBucketScanStatisticRequest(Builder builder) { super(builder); this.bucketNameList = builder.bucketNameList; this.source = builder.source; } public static Builder builder() { return new Builder(); } public static GetOssBucketScanStatisticRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bucketNameList */ public java.util.List<String> getBucketNameList() { return this.bucketNameList; } /** * @return source */ public String getSource() { return this.source; } public static final class Builder extends Request.Builder<GetOssBucketScanStatisticRequest, Builder> { private java.util.List<String> bucketNameList; private String source; private Builder() { super(); } private Builder(GetOssBucketScanStatisticRequest request) { super(request); this.bucketNameList = request.bucketNameList; this.source = request.source; } /** * <p>The names of the buckets.</p> */ public Builder bucketNameList(java.util.List<String> bucketNameList) { this.putQueryParameter("BucketNameList", bucketNameList); this.bucketNameList = bucketNameList; return this; } /** * <p>The data source. Valid values:</p> * <ul> * <li><strong>API</strong>: API operations.</li> * <li><strong>OSS</strong>: Object Storage Service (OSS) file check.</li> * </ul> * * <strong>example:</strong> * <p>API</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } @Override public GetOssBucketScanStatisticRequest build() { return new GetOssBucketScanStatisticRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOssBucketScanStatisticResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOssBucketScanStatisticResponse} extends {@link TeaModel} * * <p>GetOssBucketScanStatisticResponse</p> */ public class GetOssBucketScanStatisticResponse 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 GetOssBucketScanStatisticResponseBody body; private GetOssBucketScanStatisticResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOssBucketScanStatisticResponse 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 GetOssBucketScanStatisticResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOssBucketScanStatisticResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOssBucketScanStatisticResponseBody body); @Override GetOssBucketScanStatisticResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOssBucketScanStatisticResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOssBucketScanStatisticResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOssBucketScanStatisticResponse 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(GetOssBucketScanStatisticResponseBody body) { this.body = body; return this; } @Override public GetOssBucketScanStatisticResponse build() { return new GetOssBucketScanStatisticResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOssBucketScanStatisticResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOssBucketScanStatisticResponseBody} extends {@link TeaModel} * * <p>GetOssBucketScanStatisticResponseBody</p> */ public class GetOssBucketScanStatisticResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetOssBucketScanStatisticResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetOssBucketScanStatisticResponseBody 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(GetOssBucketScanStatisticResponseBody 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>FAC50208-E56B-5CC8-8738-2B219D1A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetOssBucketScanStatisticResponseBody build() { return new GetOssBucketScanStatisticResponseBody(this); } } /** * * {@link GetOssBucketScanStatisticResponseBody} extends {@link TeaModel} * * <p>GetOssBucketScanStatisticResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExpireTime") private Long expireTime; @com.aliyun.core.annotation.NameInMap("HighRisk") private Long highRisk; @com.aliyun.core.annotation.NameInMap("LowRisk") private Long lowRisk; @com.aliyun.core.annotation.NameInMap("MediumRisk") private Long mediumRisk; @com.aliyun.core.annotation.NameInMap("NoScanBucket") private Integer noScanBucket; @com.aliyun.core.annotation.NameInMap("RemainAuth") private Integer remainAuth; @com.aliyun.core.annotation.NameInMap("RiskBucket") private Integer riskBucket; @com.aliyun.core.annotation.NameInMap("ScanObject") private Long scanObject; @com.aliyun.core.annotation.NameInMap("TotalBucket") private Integer totalBucket; @com.aliyun.core.annotation.NameInMap("TotalObject") private Long totalObject; private Data(Builder builder) { this.expireTime = builder.expireTime; this.highRisk = builder.highRisk; this.lowRisk = builder.lowRisk; this.mediumRisk = builder.mediumRisk; this.noScanBucket = builder.noScanBucket; this.remainAuth = builder.remainAuth; this.riskBucket = builder.riskBucket; this.scanObject = builder.scanObject; this.totalBucket = builder.totalBucket; this.totalObject = builder.totalObject; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return expireTime */ public Long getExpireTime() { return this.expireTime; } /** * @return highRisk */ public Long getHighRisk() { return this.highRisk; } /** * @return lowRisk */ public Long getLowRisk() { return this.lowRisk; } /** * @return mediumRisk */ public Long getMediumRisk() { return this.mediumRisk; } /** * @return noScanBucket */ public Integer getNoScanBucket() { return this.noScanBucket; } /** * @return remainAuth */ public Integer getRemainAuth() { return this.remainAuth; } /** * @return riskBucket */ public Integer getRiskBucket() { return this.riskBucket; } /** * @return scanObject */ public Long getScanObject() { return this.scanObject; } /** * @return totalBucket */ public Integer getTotalBucket() { return this.totalBucket; } /** * @return totalObject */ public Long getTotalObject() { return this.totalObject; } public static final class Builder { private Long expireTime; private Long highRisk; private Long lowRisk; private Long mediumRisk; private Integer noScanBucket; private Integer remainAuth; private Integer riskBucket; private Long scanObject; private Integer totalBucket; private Long totalObject; private Builder() { } private Builder(Data model) { this.expireTime = model.expireTime; this.highRisk = model.highRisk; this.lowRisk = model.lowRisk; this.mediumRisk = model.mediumRisk; this.noScanBucket = model.noScanBucket; this.remainAuth = model.remainAuth; this.riskBucket = model.riskBucket; this.scanObject = model.scanObject; this.totalBucket = model.totalBucket; this.totalObject = model.totalObject; } /** * <p>The expiration time of the purchased quota.</p> * * <strong>example:</strong> * <p>1714442403000</p> */ public Builder expireTime(Long expireTime) { this.expireTime = expireTime; return this; } /** * <p>The number of high-risk objects.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder highRisk(Long highRisk) { this.highRisk = highRisk; return this; } /** * <p>The number of low-risk objects.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder lowRisk(Long lowRisk) { this.lowRisk = lowRisk; return this; } /** * <p>The number of medium-risk objects.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder mediumRisk(Long mediumRisk) { this.mediumRisk = mediumRisk; return this; } /** * <p>The number of buckets that are not checked.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder noScanBucket(Integer noScanBucket) { this.noScanBucket = noScanBucket; return this; } /** * <p>The remaining quota.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder remainAuth(Integer remainAuth) { this.remainAuth = remainAuth; return this; } /** * <p>The number of buckets in which at-risk objects exist.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder riskBucket(Integer riskBucket) { this.riskBucket = riskBucket; return this; } /** * <p>The number of objects that are checked.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder scanObject(Long scanObject) { this.scanObject = scanObject; return this; } /** * <p>The total number of buckets.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalBucket(Integer totalBucket) { this.totalBucket = totalBucket; return this; } /** * <p>The total number of objects in the bucket.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalObject(Long totalObject) { this.totalObject = totalObject; 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/GetOssScanConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOssScanConfigRequest} extends {@link RequestModel} * * <p>GetOssScanConfigRequest</p> */ public class GetOssScanConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BucketName") private String bucketName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Id") private String id; private GetOssScanConfigRequest(Builder builder) { super(builder); this.bucketName = builder.bucketName; this.id = builder.id; } public static Builder builder() { return new Builder(); } public static GetOssScanConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bucketName */ public String getBucketName() { return this.bucketName; } /** * @return id */ public String getId() { return this.id; } public static final class Builder extends Request.Builder<GetOssScanConfigRequest, Builder> { private String bucketName; private String id; private Builder() { super(); } private Builder(GetOssScanConfigRequest request) { super(request); this.bucketName = request.bucketName; this.id = request.id; } /** * <p>The name of the bucket.</p> * * <strong>example:</strong> * <p>iboxpublic****</p> */ public Builder bucketName(String bucketName) { this.putQueryParameter("BucketName", bucketName); this.bucketName = bucketName; return this; } /** * <p>The policy ID.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder id(String id) { this.putQueryParameter("Id", id); this.id = id; return this; } @Override public GetOssScanConfigRequest build() { return new GetOssScanConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOssScanConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOssScanConfigResponse} extends {@link TeaModel} * * <p>GetOssScanConfigResponse</p> */ public class GetOssScanConfigResponse 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 GetOssScanConfigResponseBody body; private GetOssScanConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOssScanConfigResponse 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 GetOssScanConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOssScanConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOssScanConfigResponseBody body); @Override GetOssScanConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOssScanConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOssScanConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOssScanConfigResponse 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(GetOssScanConfigResponseBody body) { this.body = body; return this; } @Override public GetOssScanConfigResponse build() { return new GetOssScanConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetOssScanConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetOssScanConfigResponseBody} extends {@link TeaModel} * * <p>GetOssScanConfigResponseBody</p> */ public class GetOssScanConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetOssScanConfigResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetOssScanConfigResponseBody 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(GetOssScanConfigResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The data returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E10BAF1C-A6C5-51E2-866C-76D5922E****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetOssScanConfigResponseBody build() { return new GetOssScanConfigResponseBody(this); } } /** * * {@link GetOssScanConfigResponseBody} extends {@link TeaModel} * * <p>GetOssScanConfigResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AllKeyPrefix") private Boolean allKeyPrefix; @com.aliyun.core.annotation.NameInMap("BucketCount") private Integer bucketCount; @com.aliyun.core.annotation.NameInMap("BucketName") private String bucketName; @com.aliyun.core.annotation.NameInMap("BucketNameList") private java.util.List<String> bucketNameList; @com.aliyun.core.annotation.NameInMap("DecompressMaxFileCount") private Integer decompressMaxFileCount; @com.aliyun.core.annotation.NameInMap("DecompressMaxLayer") private Integer decompressMaxLayer; @com.aliyun.core.annotation.NameInMap("DecryptionList") private java.util.List<String> decryptionList; @com.aliyun.core.annotation.NameInMap("Enable") private Integer enable; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("KeyPrefixList") private java.util.List<String> keyPrefixList; @com.aliyun.core.annotation.NameInMap("KeySuffixList") private java.util.List<String> keySuffixList; @com.aliyun.core.annotation.NameInMap("LastModifiedStartTime") private Long lastModifiedStartTime; @com.aliyun.core.annotation.NameInMap("LastUpdateTime") private Long lastUpdateTime; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RealTimeIncr") private Boolean realTimeIncr; @com.aliyun.core.annotation.NameInMap("ScanDayList") private java.util.List<Integer> scanDayList; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private Data(Builder builder) { this.allKeyPrefix = builder.allKeyPrefix; this.bucketCount = builder.bucketCount; this.bucketName = builder.bucketName; this.bucketNameList = builder.bucketNameList; this.decompressMaxFileCount = builder.decompressMaxFileCount; this.decompressMaxLayer = builder.decompressMaxLayer; this.decryptionList = builder.decryptionList; this.enable = builder.enable; this.endTime = builder.endTime; this.id = builder.id; this.keyPrefixList = builder.keyPrefixList; this.keySuffixList = builder.keySuffixList; this.lastModifiedStartTime = builder.lastModifiedStartTime; this.lastUpdateTime = builder.lastUpdateTime; this.name = builder.name; this.realTimeIncr = builder.realTimeIncr; this.scanDayList = builder.scanDayList; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return allKeyPrefix */ public Boolean getAllKeyPrefix() { return this.allKeyPrefix; } /** * @return bucketCount */ public Integer getBucketCount() { return this.bucketCount; } /** * @return bucketName */ public String getBucketName() { return this.bucketName; } /** * @return bucketNameList */ public java.util.List<String> getBucketNameList() { return this.bucketNameList; } /** * @return decompressMaxFileCount */ public Integer getDecompressMaxFileCount() { return this.decompressMaxFileCount; } /** * @return decompressMaxLayer */ public Integer getDecompressMaxLayer() { return this.decompressMaxLayer; } /** * @return decryptionList */ public java.util.List<String> getDecryptionList() { return this.decryptionList; } /** * @return enable */ public Integer getEnable() { return this.enable; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return id */ public String getId() { return this.id; } /** * @return keyPrefixList */ public java.util.List<String> getKeyPrefixList() { return this.keyPrefixList; } /** * @return keySuffixList */ public java.util.List<String> getKeySuffixList() { return this.keySuffixList; } /** * @return lastModifiedStartTime */ public Long getLastModifiedStartTime() { return this.lastModifiedStartTime; } /** * @return lastUpdateTime */ public Long getLastUpdateTime() { return this.lastUpdateTime; } /** * @return name */ public String getName() { return this.name; } /** * @return realTimeIncr */ public Boolean getRealTimeIncr() { return this.realTimeIncr; } /** * @return scanDayList */ public java.util.List<Integer> getScanDayList() { return this.scanDayList; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private Boolean allKeyPrefix; private Integer bucketCount; private String bucketName; private java.util.List<String> bucketNameList; private Integer decompressMaxFileCount; private Integer decompressMaxLayer; private java.util.List<String> decryptionList; private Integer enable; private String endTime; private String id; private java.util.List<String> keyPrefixList; private java.util.List<String> keySuffixList; private Long lastModifiedStartTime; private Long lastUpdateTime; private String name; private Boolean realTimeIncr; private java.util.List<Integer> scanDayList; private String startTime; private Builder() { } private Builder(Data model) { this.allKeyPrefix = model.allKeyPrefix; this.bucketCount = model.bucketCount; this.bucketName = model.bucketName; this.bucketNameList = model.bucketNameList; this.decompressMaxFileCount = model.decompressMaxFileCount; this.decompressMaxLayer = model.decompressMaxLayer; this.decryptionList = model.decryptionList; this.enable = model.enable; this.endTime = model.endTime; this.id = model.id; this.keyPrefixList = model.keyPrefixList; this.keySuffixList = model.keySuffixList; this.lastModifiedStartTime = model.lastModifiedStartTime; this.lastUpdateTime = model.lastUpdateTime; this.name = model.name; this.realTimeIncr = model.realTimeIncr; this.scanDayList = model.scanDayList; this.startTime = model.startTime; } /** * <p>Indicates whether the prefixes of all objects are matched.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder allKeyPrefix(Boolean allKeyPrefix) { this.allKeyPrefix = allKeyPrefix; return this; } /** * <p>The number of buckets.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder bucketCount(Integer bucketCount) { this.bucketCount = bucketCount; return this; } /** * <p>The name of the bucket.</p> * * <strong>example:</strong> * <p>hz-new01****</p> */ public Builder bucketName(String bucketName) { this.bucketName = bucketName; return this; } /** * <p>The names of the buckets.</p> */ public Builder bucketNameList(java.util.List<String> bucketNameList) { this.bucketNameList = bucketNameList; return this; } /** * <p>The maximum number of objects that can be extracted during decompression. Valid values: 1 to 1000. If the maximum number of objects that can be extracted is reached, the decompression operation immediately ends and the detection of extracted objects is not affected.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder decompressMaxFileCount(Integer decompressMaxFileCount) { this.decompressMaxFileCount = decompressMaxFileCount; return this; } /** * <p>The maximum number of decompression levels when multi-level packages are decompressed. Valid values: 1 to 5. If the maximum number of decompression levels is reached, the decompression operation immediately ends and the detection of extracted objects is not affected.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder decompressMaxLayer(Integer decompressMaxLayer) { this.decompressMaxLayer = decompressMaxLayer; return this; } /** * <p>The decryption methods.</p> */ public Builder decryptionList(java.util.List<String> decryptionList) { this.decryptionList = decryptionList; return this; } /** * <p>Indicates whether the check policy is enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: enabled.</li> * <li><strong>0</strong>: disabled.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder enable(Integer enable) { this.enable = enable; return this; } /** * <p>The end time of the check. The time is in the HH:mm:ss format.</p> * * <strong>example:</strong> * <p>00:00:00</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The policy ID.</p> * * <strong>example:</strong> * <p>1274****</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The prefixes of the objects.</p> */ public Builder keyPrefixList(java.util.List<String> keyPrefixList) { this.keyPrefixList = keyPrefixList; return this; } /** * <p>The suffixes of the objects that are checked.</p> */ public Builder keySuffixList(java.util.List<String> keySuffixList) { this.keySuffixList = keySuffixList; return this; } /** * <p>The timestamp when the object was last modified. The time must be later than the timestamp that you specify. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1724301769834</p> */ public Builder lastModifiedStartTime(Long lastModifiedStartTime) { this.lastModifiedStartTime = lastModifiedStartTime; return this; } /** * <p>The timestamp when the configuration was last modified.</p> * * <strong>example:</strong> * <p>1702025633079</p> */ public Builder lastUpdateTime(Long lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; return this; } /** * <p>The policy name.</p> * * <strong>example:</strong> * <p>test0104</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>Whether to enable real-time incremental detection. When this parameter is set to true, the parameters ScanDayList, StartTime, and EndTime are not effective.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder realTimeIncr(Boolean realTimeIncr) { this.realTimeIncr = realTimeIncr; return this; } /** * <p>The days when the check is performed. The value indicates the days of the week.</p> */ public Builder scanDayList(java.util.List<Integer> scanDayList) { this.scanDayList = scanDayList; return this; } /** * <p>The start time of the check. The time is in the HH:mm:ss format.</p> * * <strong>example:</strong> * <p>00:00:00</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetPropertyScheduleConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPropertyScheduleConfigRequest} extends {@link RequestModel} * * <p>GetPropertyScheduleConfigRequest</p> */ public class GetPropertyScheduleConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uuid") private String uuid; private GetPropertyScheduleConfigRequest(Builder builder) { super(builder); this.type = builder.type; this.uuid = builder.uuid; } public static Builder builder() { return new Builder(); } public static GetPropertyScheduleConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return type */ public String getType() { return this.type; } /** * @return uuid */ public String getUuid() { return this.uuid; } public static final class Builder extends Request.Builder<GetPropertyScheduleConfigRequest, Builder> { private String type; private String uuid; private Builder() { super(); } private Builder(GetPropertyScheduleConfigRequest request) { super(request); this.type = request.type; this.uuid = request.uuid; } /** * <p>The type of the asset fingerprints. Valid values:</p> * <ul> * <li><strong>scheduler_port_period</strong>: listening port</li> * <li><strong>scheduler_process_period</strong>: running process</li> * <li><strong>scheduler_account_period</strong>: account</li> * <li><strong>scheduler_software_period</strong>: software</li> * <li><strong>scheduler_cron_period</strong>: scheduled task</li> * <li><strong>scheduler_sca_period</strong>: middleware</li> * <li><strong>scheduler_autorun_period</strong>: startup item</li> * <li><strong>scheduler_lkm_period</strong>: kernel module</li> * <li><strong>scheduler_sca_proxy_period</strong>: website</li> * </ul> * * <strong>example:</strong> * <p>scheduler_sca_period</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } /** * <p>The UUID of the server.</p> * <blockquote> * <p> You can call the <a href="~~DescribeCloudCenterInstances~~">DescribeCloudCenterInstances</a> operation to query the UUIDs of servers.</p> * </blockquote> * * <strong>example:</strong> * <p>50d213b4-3a35-427a-b8a5-04b0c7e1****</p> */ public Builder uuid(String uuid) { this.putQueryParameter("Uuid", uuid); this.uuid = uuid; return this; } @Override public GetPropertyScheduleConfigRequest build() { return new GetPropertyScheduleConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetPropertyScheduleConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPropertyScheduleConfigResponse} extends {@link TeaModel} * * <p>GetPropertyScheduleConfigResponse</p> */ public class GetPropertyScheduleConfigResponse 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 GetPropertyScheduleConfigResponseBody body; private GetPropertyScheduleConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetPropertyScheduleConfigResponse 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 GetPropertyScheduleConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetPropertyScheduleConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetPropertyScheduleConfigResponseBody body); @Override GetPropertyScheduleConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetPropertyScheduleConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetPropertyScheduleConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetPropertyScheduleConfigResponse 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(GetPropertyScheduleConfigResponseBody body) { this.body = body; return this; } @Override public GetPropertyScheduleConfigResponse build() { return new GetPropertyScheduleConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetPropertyScheduleConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPropertyScheduleConfigResponseBody} extends {@link TeaModel} * * <p>GetPropertyScheduleConfigResponseBody</p> */ public class GetPropertyScheduleConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PropertyScheduleConfig") private PropertyScheduleConfig propertyScheduleConfig; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetPropertyScheduleConfigResponseBody(Builder builder) { this.propertyScheduleConfig = builder.propertyScheduleConfig; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetPropertyScheduleConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return propertyScheduleConfig */ public PropertyScheduleConfig getPropertyScheduleConfig() { return this.propertyScheduleConfig; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PropertyScheduleConfig propertyScheduleConfig; private String requestId; private Builder() { } private Builder(GetPropertyScheduleConfigResponseBody model) { this.propertyScheduleConfig = model.propertyScheduleConfig; this.requestId = model.requestId; } /** * <p>The configurations for the collection frequency of asset fingerprints.</p> */ public Builder propertyScheduleConfig(PropertyScheduleConfig propertyScheduleConfig) { this.propertyScheduleConfig = propertyScheduleConfig; return this; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>B37C9052-A73E-4707-A024-92477028****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetPropertyScheduleConfigResponseBody build() { return new GetPropertyScheduleConfigResponseBody(this); } } /** * * {@link GetPropertyScheduleConfigResponseBody} extends {@link TeaModel} * * <p>GetPropertyScheduleConfigResponseBody</p> */ public static class PropertyScheduleConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("NextScheduleTime") private Long nextScheduleTime; @com.aliyun.core.annotation.NameInMap("ScheduleTime") private String scheduleTime; @com.aliyun.core.annotation.NameInMap("Type") private String type; private PropertyScheduleConfig(Builder builder) { this.nextScheduleTime = builder.nextScheduleTime; this.scheduleTime = builder.scheduleTime; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static PropertyScheduleConfig create() { return builder().build(); } /** * @return nextScheduleTime */ public Long getNextScheduleTime() { return this.nextScheduleTime; } /** * @return scheduleTime */ public String getScheduleTime() { return this.scheduleTime; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Long nextScheduleTime; private String scheduleTime; private String type; private Builder() { } private Builder(PropertyScheduleConfig model) { this.nextScheduleTime = model.nextScheduleTime; this.scheduleTime = model.scheduleTime; this.type = model.type; } /** * <p>The timestamp when the next collection of asset fingerprints starts. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1671630647018</p> */ public Builder nextScheduleTime(Long nextScheduleTime) { this.nextScheduleTime = nextScheduleTime; return this; } /** * <p>The collection frequency of asset fingerprints. Valid values:</p> * <ul> * <li><strong>0</strong>: disabled, which indicates that the asset fingerprints are not automatically or periodically collected.</li> * <li><strong>1</strong>: collects asset fingerprints once an hour.</li> * <li><strong>3</strong>: collects asset fingerprints once every 3 hours.</li> * <li><strong>12</strong>: collects asset fingerprints once every 12 hours.</li> * <li><strong>24</strong>: collects asset fingerprints once a day.</li> * <li><strong>168</strong>: collects asset fingerprints once every 7 days.</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder scheduleTime(String scheduleTime) { this.scheduleTime = scheduleTime; return this; } /** * <p>The type of the asset fingerprints. Valid values:</p> * <ul> * <li><strong>scheduler_port_period</strong>: listening port</li> * <li><strong>scheduler_process_period</strong>: running process</li> * <li><strong>scheduler_account_period</strong>: account</li> * <li><strong>scheduler_software_period</strong>: software</li> * <li><strong>scheduler_cron_period</strong>: scheduled task</li> * <li><strong>scheduler_sca_period</strong>: middleware</li> * <li><strong>scheduler_autorun_period</strong>: startup item</li> * <li><strong>scheduler_lkm_period</strong>: kernel module</li> * <li><strong>scheduler_sca_proxy_period</strong>: website</li> * </ul> * * <strong>example:</strong> * <p>scheduler_account_period</p> */ public Builder type(String type) { this.type = type; return this; } public PropertyScheduleConfig build() { return new PropertyScheduleConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetPublishCronRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPublishCronRequest} extends {@link RequestModel} * * <p>GetPublishCronRequest</p> */ public class GetPublishCronRequest extends Request { private GetPublishCronRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetPublishCronRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetPublishCronRequest, Builder> { private Builder() { super(); } private Builder(GetPublishCronRequest request) { super(request); } @Override public GetPublishCronRequest build() { return new GetPublishCronRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetPublishCronResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPublishCronResponse} extends {@link TeaModel} * * <p>GetPublishCronResponse</p> */ public class GetPublishCronResponse 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 GetPublishCronResponseBody body; private GetPublishCronResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetPublishCronResponse 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 GetPublishCronResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetPublishCronResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetPublishCronResponseBody body); @Override GetPublishCronResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetPublishCronResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetPublishCronResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetPublishCronResponse 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(GetPublishCronResponseBody body) { this.body = body; return this; } @Override public GetPublishCronResponse build() { return new GetPublishCronResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetPublishCronResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPublishCronResponseBody} extends {@link TeaModel} * * <p>GetPublishCronResponseBody</p> */ public class GetPublishCronResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetPublishCronResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetPublishCronResponseBody 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(GetPublishCronResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>Publish scheduling configuration information.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.</p> * * <strong>example:</strong> * <p>30CBF632-109F-596F-97F2-451C8B2A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetPublishCronResponseBody build() { return new GetPublishCronResponseBody(this); } } /** * * {@link GetPublishCronResponseBody} extends {@link TeaModel} * * <p>GetPublishCronResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cron") private String cron; @com.aliyun.core.annotation.NameInMap("CronDay") private String cronDay; @com.aliyun.core.annotation.NameInMap("CronTime") private Long cronTime; @com.aliyun.core.annotation.NameInMap("CronType") private String cronType; @com.aliyun.core.annotation.NameInMap("Duration") private Integer duration; private Data(Builder builder) { this.cron = builder.cron; this.cronDay = builder.cronDay; this.cronTime = builder.cronTime; this.cronType = builder.cronType; this.duration = builder.duration; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return cron */ public String getCron() { return this.cron; } /** * @return cronDay */ public String getCronDay() { return this.cronDay; } /** * @return cronTime */ public Long getCronTime() { return this.cronTime; } /** * @return cronType */ public String getCronType() { return this.cronType; } /** * @return duration */ public Integer getDuration() { return this.duration; } public static final class Builder { private String cron; private String cronDay; private Long cronTime; private String cronType; private Integer duration; private Builder() { } private Builder(Data model) { this.cron = model.cron; this.cronDay = model.cronDay; this.cronTime = model.cronTime; this.cronType = model.cronType; this.duration = model.duration; } /** * <p>Cron expression for the start time of the upgrade.</p> * * <strong>example:</strong> * <p>0 0 7 * * ?</p> */ public Builder cron(String cron) { this.cron = cron; return this; } /** * <p>The day of the week for the upgrade. The values are as follows:</p> * <ul> * <li><strong>MON</strong>: Monday</li> * <li><strong>TUE</strong>: Tuesday</li> * <li><strong>WED</strong>: Wednesday</li> * <li><strong>THU</strong>: Thursday</li> * <li><strong>FRI</strong>: Friday</li> * <li><strong>SAT</strong>: Saturday</li> * <li><strong>SUN</strong>: Sunday</li> * </ul> * * <strong>example:</strong> * <p>MON</p> */ public Builder cronDay(String cronDay) { this.cronDay = cronDay; return this; } /** * <p>Timestamp for the start of the publish, in milliseconds.</p> * * <strong>example:</strong> * <p>1724522400000</p> */ public Builder cronTime(Long cronTime) { this.cronTime = cronTime; return this; } /** * <p>Upgrade start cycle type. The values are as follows:</p> * <ul> * <li><strong>day</strong>: Daily</li> * <li><strong>week</strong>: Weekly</li> * </ul> * * <strong>example:</strong> * <p>day</p> */ public Builder cronType(String cronType) { this.cronType = cronType; return this; } /** * <p>Duration of the upgrade in hours.</p> * * <strong>example:</strong> * <p>24</p> */ public Builder duration(Integer duration) { this.duration = duration; 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/GetRdTreeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRdTreeRequest} extends {@link RequestModel} * * <p>GetRdTreeRequest</p> */ public class GetRdTreeRequest extends Request { private GetRdTreeRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetRdTreeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetRdTreeRequest, Builder> { private Builder() { super(); } private Builder(GetRdTreeRequest request) { super(request); } @Override public GetRdTreeRequest build() { return new GetRdTreeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRdTreeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRdTreeResponse} extends {@link TeaModel} * * <p>GetRdTreeResponse</p> */ public class GetRdTreeResponse 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 GetRdTreeResponseBody body; private GetRdTreeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetRdTreeResponse 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 GetRdTreeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetRdTreeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetRdTreeResponseBody body); @Override GetRdTreeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetRdTreeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetRdTreeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetRdTreeResponse 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(GetRdTreeResponseBody body) { this.body = body; return this; } @Override public GetRdTreeResponse build() { return new GetRdTreeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRdTreeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRdTreeResponseBody} extends {@link TeaModel} * * <p>GetRdTreeResponseBody</p> */ public class GetRdTreeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetRdTreeResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetRdTreeResponseBody 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(GetRdTreeResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The processing result.</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 GetRdTreeResponseBody build() { return new GetRdTreeResponseBody(this); } } /** * * {@link GetRdTreeResponseBody} extends {@link TeaModel} * * <p>GetRdTreeResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Children") private java.util.List<?> children; @com.aliyun.core.annotation.NameInMap("FolderId") private String folderId; @com.aliyun.core.annotation.NameInMap("FolderName") private String folderName; private Data(Builder builder) { this.children = builder.children; this.folderId = builder.folderId; this.folderName = builder.folderName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return children */ public java.util.List<?> getChildren() { return this.children; } /** * @return folderId */ public String getFolderId() { return this.folderId; } /** * @return folderName */ public String getFolderName() { return this.folderName; } public static final class Builder { private java.util.List<?> children; private String folderId; private String folderName; private Builder() { } private Builder(Data model) { this.children = model.children; this.folderId = model.folderId; this.folderName = model.folderName; } /** * <p>The subfolder.</p> */ public Builder children(java.util.List<?> children) { this.children = children; return this; } /** * <p>The ID of the folder in the resource directory.</p> * * <strong>example:</strong> * <p>fd-CGA73I****</p> */ public Builder folderId(String folderId) { this.folderId = folderId; return this; } /** * <p>The name of the folder.</p> * * <strong>example:</strong> * <p>Root</p> */ public Builder folderName(String folderName) { this.folderName = folderName; 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/GetRegistryScanDayNumRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRegistryScanDayNumRequest} extends {@link RequestModel} * * <p>GetRegistryScanDayNumRequest</p> */ public class GetRegistryScanDayNumRequest extends Request { private GetRegistryScanDayNumRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetRegistryScanDayNumRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetRegistryScanDayNumRequest, Builder> { private Builder() { super(); } private Builder(GetRegistryScanDayNumRequest request) { super(request); } @Override public GetRegistryScanDayNumRequest build() { return new GetRegistryScanDayNumRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRegistryScanDayNumResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRegistryScanDayNumResponse} extends {@link TeaModel} * * <p>GetRegistryScanDayNumResponse</p> */ public class GetRegistryScanDayNumResponse 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 GetRegistryScanDayNumResponseBody body; private GetRegistryScanDayNumResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetRegistryScanDayNumResponse 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 GetRegistryScanDayNumResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetRegistryScanDayNumResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetRegistryScanDayNumResponseBody body); @Override GetRegistryScanDayNumResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetRegistryScanDayNumResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetRegistryScanDayNumResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetRegistryScanDayNumResponse 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(GetRegistryScanDayNumResponseBody body) { this.body = body; return this; } @Override public GetRegistryScanDayNumResponse build() { return new GetRegistryScanDayNumResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRegistryScanDayNumResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRegistryScanDayNumResponseBody} extends {@link TeaModel} * * <p>GetRegistryScanDayNumResponseBody</p> */ public class GetRegistryScanDayNumResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ScanDayNumConfig") private ScanDayNumConfig scanDayNumConfig; private GetRegistryScanDayNumResponseBody(Builder builder) { this.requestId = builder.requestId; this.scanDayNumConfig = builder.scanDayNumConfig; } public static Builder builder() { return new Builder(); } public static GetRegistryScanDayNumResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return scanDayNumConfig */ public ScanDayNumConfig getScanDayNumConfig() { return this.scanDayNumConfig; } public static final class Builder { private String requestId; private ScanDayNumConfig scanDayNumConfig; private Builder() { } private Builder(GetRegistryScanDayNumResponseBody model) { this.requestId = model.requestId; this.scanDayNumConfig = model.scanDayNumConfig; } /** * <p>The ID of this request, a unique identifier generated by Alibaba Cloud for the request, which can be used to troubleshoot and locate issues.</p> * * <strong>example:</strong> * <p>09969D2C-4FAD-429E-BFBF-9A60DEF8****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Configuration of scan days.</p> */ public Builder scanDayNumConfig(ScanDayNumConfig scanDayNumConfig) { this.scanDayNumConfig = scanDayNumConfig; return this; } public GetRegistryScanDayNumResponseBody build() { return new GetRegistryScanDayNumResponseBody(this); } } /** * * {@link GetRegistryScanDayNumResponseBody} extends {@link TeaModel} * * <p>GetRegistryScanDayNumResponseBody</p> */ public static class ScanDayNumConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("DayNumList") private String dayNumList; @com.aliyun.core.annotation.NameInMap("ScanDayNum") private Integer scanDayNum; private ScanDayNumConfig(Builder builder) { this.dayNumList = builder.dayNumList; this.scanDayNum = builder.scanDayNum; } public static Builder builder() { return new Builder(); } public static ScanDayNumConfig create() { return builder().build(); } /** * @return dayNumList */ public String getDayNumList() { return this.dayNumList; } /** * @return scanDayNum */ public Integer getScanDayNum() { return this.scanDayNum; } public static final class Builder { private String dayNumList; private Integer scanDayNum; private Builder() { } private Builder(ScanDayNumConfig model) { this.dayNumList = model.dayNumList; this.scanDayNum = model.scanDayNum; } /** * <p>List of alternative days.</p> * * <strong>example:</strong> * <p>1,3,7,15,30,90,180,365</p> */ public Builder dayNumList(String dayNumList) { this.dayNumList = dayNumList; return this; } /** * <p>Scan time range, in days.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder scanDayNum(Integer scanDayNum) { this.scanDayNum = scanDayNum; return this; } public ScanDayNumConfig build() { return new ScanDayNumConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRulesCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRulesCountRequest} extends {@link RequestModel} * * <p>GetRulesCountRequest</p> */ public class GetRulesCountRequest extends Request { private GetRulesCountRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static GetRulesCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<GetRulesCountRequest, Builder> { private Builder() { super(); } private Builder(GetRulesCountRequest request) { super(request); } @Override public GetRulesCountRequest build() { return new GetRulesCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRulesCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRulesCountResponse} extends {@link TeaModel} * * <p>GetRulesCountResponse</p> */ public class GetRulesCountResponse 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 GetRulesCountResponseBody body; private GetRulesCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetRulesCountResponse 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 GetRulesCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetRulesCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetRulesCountResponseBody body); @Override GetRulesCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetRulesCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetRulesCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetRulesCountResponse 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(GetRulesCountResponseBody body) { this.body = body; return this; } @Override public GetRulesCountResponse build() { return new GetRulesCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetRulesCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetRulesCountResponseBody} extends {@link TeaModel} * * <p>GetRulesCountResponseBody</p> */ public class GetRulesCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalSystemClientRuleCount") private Long totalSystemClientRuleCount; @com.aliyun.core.annotation.NameInMap("TotalUserDefineRuleCount") private Long totalUserDefineRuleCount; private GetRulesCountResponseBody(Builder builder) { this.requestId = builder.requestId; this.totalSystemClientRuleCount = builder.totalSystemClientRuleCount; this.totalUserDefineRuleCount = builder.totalUserDefineRuleCount; } public static Builder builder() { return new Builder(); } public static GetRulesCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalSystemClientRuleCount */ public Long getTotalSystemClientRuleCount() { return this.totalSystemClientRuleCount; } /** * @return totalUserDefineRuleCount */ public Long getTotalUserDefineRuleCount() { return this.totalUserDefineRuleCount; } public static final class Builder { private String requestId; private Long totalSystemClientRuleCount; private Long totalUserDefineRuleCount; private Builder() { } private Builder(GetRulesCountResponseBody model) { this.requestId = model.requestId; this.totalSystemClientRuleCount = model.totalSystemClientRuleCount; this.totalUserDefineRuleCount = model.totalUserDefineRuleCount; } /** * <p>The ID of the request, which is used to locate and troubleshoot issues.</p> * * <strong>example:</strong> * <p>BE120DAB-F4E7-4C53-ADC3-A97578AB****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of system defense rules.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder totalSystemClientRuleCount(Long totalSystemClientRuleCount) { this.totalSystemClientRuleCount = totalSystemClientRuleCount; return this; } /** * <p>The total number of custom defense rules.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder totalUserDefineRuleCount(Long totalUserDefineRuleCount) { this.totalUserDefineRuleCount = totalUserDefineRuleCount; return this; } public GetRulesCountResponseBody build() { return new GetRulesCountResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleApplicationRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleApplicationRequest} extends {@link RequestModel} * * <p>GetSasContainerWebDefenseRuleApplicationRequest</p> */ public class GetSasContainerWebDefenseRuleApplicationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; private GetSasContainerWebDefenseRuleApplicationRequest(Builder builder) { super(builder); this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static GetSasContainerWebDefenseRuleApplicationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } public static final class Builder extends Request.Builder<GetSasContainerWebDefenseRuleApplicationRequest, Builder> { private Long ruleId; private Builder() { super(); } private Builder(GetSasContainerWebDefenseRuleApplicationRequest request) { super(request); this.ruleId = request.ruleId; } /** * <p>The ID of the rule.</p> * <blockquote> * <p> You can call the ListSasContainerWebDefenseRule operation to query the IDs of rules.</p> * </blockquote> * * <strong>example:</strong> * <p>400599</p> */ public Builder ruleId(Long ruleId) { this.putQueryParameter("RuleId", ruleId); this.ruleId = ruleId; return this; } @Override public GetSasContainerWebDefenseRuleApplicationRequest build() { return new GetSasContainerWebDefenseRuleApplicationRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleApplicationResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleApplicationResponse} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleApplicationResponse</p> */ public class GetSasContainerWebDefenseRuleApplicationResponse 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 GetSasContainerWebDefenseRuleApplicationResponseBody body; private GetSasContainerWebDefenseRuleApplicationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSasContainerWebDefenseRuleApplicationResponse 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 GetSasContainerWebDefenseRuleApplicationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSasContainerWebDefenseRuleApplicationResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSasContainerWebDefenseRuleApplicationResponseBody body); @Override GetSasContainerWebDefenseRuleApplicationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSasContainerWebDefenseRuleApplicationResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSasContainerWebDefenseRuleApplicationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSasContainerWebDefenseRuleApplicationResponse 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(GetSasContainerWebDefenseRuleApplicationResponseBody body) { this.body = body; return this; } @Override public GetSasContainerWebDefenseRuleApplicationResponse build() { return new GetSasContainerWebDefenseRuleApplicationResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleApplicationResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleApplicationResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleApplicationResponseBody</p> */ public class GetSasContainerWebDefenseRuleApplicationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerWebDefenseAppList") private java.util.List<ContainerWebDefenseAppList> containerWebDefenseAppList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetSasContainerWebDefenseRuleApplicationResponseBody(Builder builder) { this.containerWebDefenseAppList = builder.containerWebDefenseAppList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetSasContainerWebDefenseRuleApplicationResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return containerWebDefenseAppList */ public java.util.List<ContainerWebDefenseAppList> getContainerWebDefenseAppList() { return this.containerWebDefenseAppList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ContainerWebDefenseAppList> containerWebDefenseAppList; private String requestId; private Builder() { } private Builder(GetSasContainerWebDefenseRuleApplicationResponseBody model) { this.containerWebDefenseAppList = model.containerWebDefenseAppList; this.requestId = model.requestId; } /** * <p>The applications.</p> */ public Builder containerWebDefenseAppList(java.util.List<ContainerWebDefenseAppList> containerWebDefenseAppList) { this.containerWebDefenseAppList = containerWebDefenseAppList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>09969D2C-4FAD-429E-BFBF-9A60DEF8****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetSasContainerWebDefenseRuleApplicationResponseBody build() { return new GetSasContainerWebDefenseRuleApplicationResponseBody(this); } } /** * * {@link GetSasContainerWebDefenseRuleApplicationResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleApplicationResponseBody</p> */ public static class ContainerWebDefenseAppList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private Long gmtModified; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; private ContainerWebDefenseAppList(Builder builder) { this.aliUid = builder.aliUid; this.clusterId = builder.clusterId; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.id = builder.id; this.ruleId = builder.ruleId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ContainerWebDefenseAppList create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return id */ public Long getId() { return this.id; } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } /** * @return tag */ public String getTag() { return this.tag; } public static final class Builder { private Long aliUid; private String clusterId; private Long gmtCreate; private Long gmtModified; private Long id; private Long ruleId; private String tag; private Builder() { } private Builder(ContainerWebDefenseAppList model) { this.aliUid = model.aliUid; this.clusterId = model.clusterId; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.id = model.id; this.ruleId = model.ruleId; this.tag = model.tag; } /** * <p>The user ID.</p> * * <strong>example:</strong> * <p>5944922169365****</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <p>The ID of the container cluster.</p> * <blockquote> * <p> The IDs of clusters can be obtained by using the <a href="https://help.aliyun.com/document_detail/182997.html">DescribeGroupedContainerInstances</a> operation.</p> * </blockquote> * * <strong>example:</strong> * <p>cfb41a869c71e4678a97021582dd8****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The time when the application was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1677839038000</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The last modification time. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1667891185000</p> */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The ID of the node.</p> * * <strong>example:</strong> * <p>143761</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The ID of the rule.</p> * * <strong>example:</strong> * <p>403327</p> */ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; return this; } /** * <p>The value of the application label.</p> * * <strong>example:</strong> * <p>app:test</p> */ public Builder tag(String tag) { this.tag = tag; return this; } public ContainerWebDefenseAppList build() { return new ContainerWebDefenseAppList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleCriteriaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleCriteriaRequest} extends {@link RequestModel} * * <p>GetSasContainerWebDefenseRuleCriteriaRequest</p> */ public class GetSasContainerWebDefenseRuleCriteriaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Value") private String value; private GetSasContainerWebDefenseRuleCriteriaRequest(Builder builder) { super(builder); this.value = builder.value; } public static Builder builder() { return new Builder(); } public static GetSasContainerWebDefenseRuleCriteriaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return value */ public String getValue() { return this.value; } public static final class Builder extends Request.Builder<GetSasContainerWebDefenseRuleCriteriaRequest, Builder> { private String value; private Builder() { super(); } private Builder(GetSasContainerWebDefenseRuleCriteriaRequest request) { super(request); this.value = request.value; } /** * <p>The value of the search condition. Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>525</p> */ public Builder value(String value) { this.putQueryParameter("Value", value); this.value = value; return this; } @Override public GetSasContainerWebDefenseRuleCriteriaRequest build() { return new GetSasContainerWebDefenseRuleCriteriaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleCriteriaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleCriteriaResponse} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleCriteriaResponse</p> */ public class GetSasContainerWebDefenseRuleCriteriaResponse 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 GetSasContainerWebDefenseRuleCriteriaResponseBody body; private GetSasContainerWebDefenseRuleCriteriaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSasContainerWebDefenseRuleCriteriaResponse 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 GetSasContainerWebDefenseRuleCriteriaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSasContainerWebDefenseRuleCriteriaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSasContainerWebDefenseRuleCriteriaResponseBody body); @Override GetSasContainerWebDefenseRuleCriteriaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSasContainerWebDefenseRuleCriteriaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSasContainerWebDefenseRuleCriteriaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSasContainerWebDefenseRuleCriteriaResponse 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(GetSasContainerWebDefenseRuleCriteriaResponseBody body) { this.body = body; return this; } @Override public GetSasContainerWebDefenseRuleCriteriaResponse build() { return new GetSasContainerWebDefenseRuleCriteriaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleCriteriaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleCriteriaResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleCriteriaResponseBody</p> */ public class GetSasContainerWebDefenseRuleCriteriaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CriteriaList") private java.util.List<CriteriaList> criteriaList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetSasContainerWebDefenseRuleCriteriaResponseBody(Builder builder) { this.criteriaList = builder.criteriaList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetSasContainerWebDefenseRuleCriteriaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return criteriaList */ public java.util.List<CriteriaList> getCriteriaList() { return this.criteriaList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<CriteriaList> criteriaList; private String requestId; private Builder() { } private Builder(GetSasContainerWebDefenseRuleCriteriaResponseBody model) { this.criteriaList = model.criteriaList; this.requestId = model.requestId; } /** * <p>The search conditions.</p> */ public Builder criteriaList(java.util.List<CriteriaList> criteriaList) { this.criteriaList = criteriaList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetSasContainerWebDefenseRuleCriteriaResponseBody build() { return new GetSasContainerWebDefenseRuleCriteriaResponseBody(this); } } /** * * {@link GetSasContainerWebDefenseRuleCriteriaResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleCriteriaResponseBody</p> */ public static class CriteriaList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Values") private String values; private CriteriaList(Builder builder) { this.name = builder.name; this.type = builder.type; this.values = builder.values; } public static Builder builder() { return new Builder(); } public static CriteriaList create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return values */ public String getValues() { return this.values; } public static final class Builder { private String name; private String type; private String values; private Builder() { } private Builder(CriteriaList model) { this.name = model.name; this.type = model.type; this.values = model.values; } /** * <p>The name of the search condition.</p> * * <strong>example:</strong> * <p>name</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The type of the search condition. Valid values:</p> * <ul> * <li><strong>input</strong>: You must manually enter the search condition.</li> * <li><strong>select</strong>: You must select a search condition from the <strong>Values</strong> drop-down list.</li> * </ul> * * <strong>example:</strong> * <p>select</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The values of the search condition. This parameter is returned only if the value of <strong>Type</strong> is <strong>select</strong>.</p> * <blockquote> * <p> If the value of <strong>Type</strong> is <strong>input</strong>, the value of this parameter is empty.</p> * </blockquote> * * <strong>example:</strong> * <p>athor_bid</p> */ public Builder values(String values) { this.values = values; return this; } public CriteriaList build() { return new CriteriaList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleRequest} extends {@link RequestModel} * * <p>GetSasContainerWebDefenseRuleRequest</p> */ public class GetSasContainerWebDefenseRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; private GetSasContainerWebDefenseRuleRequest(Builder builder) { super(builder); this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static GetSasContainerWebDefenseRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } public static final class Builder extends Request.Builder<GetSasContainerWebDefenseRuleRequest, Builder> { private Long ruleId; private Builder() { super(); } private Builder(GetSasContainerWebDefenseRuleRequest request) { super(request); this.ruleId = request.ruleId; } /** * <p>Rule ID.</p> * <blockquote> * <p>You can call the <a href="~~ListSasContainerWebDefenseRule~~">ListSasContainerWebDefenseRule</a> API to get this parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>1600009</p> */ public Builder ruleId(Long ruleId) { this.putQueryParameter("RuleId", ruleId); this.ruleId = ruleId; return this; } @Override public GetSasContainerWebDefenseRuleRequest build() { return new GetSasContainerWebDefenseRuleRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleResponse} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleResponse</p> */ public class GetSasContainerWebDefenseRuleResponse 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 GetSasContainerWebDefenseRuleResponseBody body; private GetSasContainerWebDefenseRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSasContainerWebDefenseRuleResponse 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 GetSasContainerWebDefenseRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSasContainerWebDefenseRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSasContainerWebDefenseRuleResponseBody body); @Override GetSasContainerWebDefenseRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSasContainerWebDefenseRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSasContainerWebDefenseRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSasContainerWebDefenseRuleResponse 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(GetSasContainerWebDefenseRuleResponseBody body) { this.body = body; return this; } @Override public GetSasContainerWebDefenseRuleResponse build() { return new GetSasContainerWebDefenseRuleResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSasContainerWebDefenseRuleResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleResponseBody</p> */ public class GetSasContainerWebDefenseRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContainerWebDefenseRule") private ContainerWebDefenseRule containerWebDefenseRule; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetSasContainerWebDefenseRuleResponseBody(Builder builder) { this.containerWebDefenseRule = builder.containerWebDefenseRule; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetSasContainerWebDefenseRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return containerWebDefenseRule */ public ContainerWebDefenseRule getContainerWebDefenseRule() { return this.containerWebDefenseRule; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ContainerWebDefenseRule containerWebDefenseRule; private String requestId; private Builder() { } private Builder(GetSasContainerWebDefenseRuleResponseBody model) { this.containerWebDefenseRule = model.containerWebDefenseRule; this.requestId = model.requestId; } /** * <p>Details of the container file defense rule.</p> */ public Builder containerWebDefenseRule(ContainerWebDefenseRule containerWebDefenseRule) { this.containerWebDefenseRule = containerWebDefenseRule; return this; } /** * <p>The ID of the current request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and issue localization.</p> * * <strong>example:</strong> * <p>BA674E4**62FB5133</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetSasContainerWebDefenseRuleResponseBody build() { return new GetSasContainerWebDefenseRuleResponseBody(this); } } /** * * {@link GetSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleResponseBody</p> */ public static class PathConfDTOList extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupPath") private String backupPath; @com.aliyun.core.annotation.NameInMap("DefenseMode") private String defenseMode; @com.aliyun.core.annotation.NameInMap("DefensePath") private String defensePath; @com.aliyun.core.annotation.NameInMap("ExcludeFile") private String excludeFile; @com.aliyun.core.annotation.NameInMap("ExcludeFilePath") private String excludeFilePath; @com.aliyun.core.annotation.NameInMap("ExcludeFileType") private String excludeFileType; @com.aliyun.core.annotation.NameInMap("GuardType") private Integer guardType; @com.aliyun.core.annotation.NameInMap("IncludeFile") private String includeFile; @com.aliyun.core.annotation.NameInMap("IncludeFileType") private String includeFileType; @com.aliyun.core.annotation.NameInMap("ProcessPathList") private java.util.List<String> processPathList; private PathConfDTOList(Builder builder) { this.backupPath = builder.backupPath; this.defenseMode = builder.defenseMode; this.defensePath = builder.defensePath; this.excludeFile = builder.excludeFile; this.excludeFilePath = builder.excludeFilePath; this.excludeFileType = builder.excludeFileType; this.guardType = builder.guardType; this.includeFile = builder.includeFile; this.includeFileType = builder.includeFileType; this.processPathList = builder.processPathList; } public static Builder builder() { return new Builder(); } public static PathConfDTOList create() { return builder().build(); } /** * @return backupPath */ public String getBackupPath() { return this.backupPath; } /** * @return defenseMode */ public String getDefenseMode() { return this.defenseMode; } /** * @return defensePath */ public String getDefensePath() { return this.defensePath; } /** * @return excludeFile */ public String getExcludeFile() { return this.excludeFile; } /** * @return excludeFilePath */ public String getExcludeFilePath() { return this.excludeFilePath; } /** * @return excludeFileType */ public String getExcludeFileType() { return this.excludeFileType; } /** * @return guardType */ public Integer getGuardType() { return this.guardType; } /** * @return includeFile */ public String getIncludeFile() { return this.includeFile; } /** * @return includeFileType */ public String getIncludeFileType() { return this.includeFileType; } /** * @return processPathList */ public java.util.List<String> getProcessPathList() { return this.processPathList; } public static final class Builder { private String backupPath; private String defenseMode; private String defensePath; private String excludeFile; private String excludeFilePath; private String excludeFileType; private Integer guardType; private String includeFile; private String includeFileType; private java.util.List<String> processPathList; private Builder() { } private Builder(PathConfDTOList model) { this.backupPath = model.backupPath; this.defenseMode = model.defenseMode; this.defensePath = model.defensePath; this.excludeFile = model.excludeFile; this.excludeFilePath = model.excludeFilePath; this.excludeFileType = model.excludeFileType; this.guardType = model.guardType; this.includeFile = model.includeFile; this.includeFileType = model.includeFileType; this.processPathList = model.processPathList; } /** * <p>Backup path.</p> * * <strong>example:</strong> * <p>/usr/path/</p> */ public Builder backupPath(String backupPath) { this.backupPath = backupPath; return this; } /** * <p>Action to be executed.</p> * <ul> * <li><strong>block</strong> : Block</li> * <li><strong>audit</strong> : Alert</li> * </ul> * * <strong>example:</strong> * <p>audit</p> */ public Builder defenseMode(String defenseMode) { this.defenseMode = defenseMode; return this; } /** * <p>Defense path</p> * * <strong>example:</strong> * <p>/test11*</p> */ public Builder defensePath(String defensePath) { this.defensePath = defensePath; return this; } /** * <p>Excluded files.</p> * * <strong>example:</strong> * <p>file1</p> */ public Builder excludeFile(String excludeFile) { this.excludeFile = excludeFile; return this; } /** * <p>Excluded file path.</p> * * <strong>example:</strong> * <p>/test2/sub1,/test2/sub2</p> */ public Builder excludeFilePath(String excludeFilePath) { this.excludeFilePath = excludeFilePath; return this; } /** * <p>Exclude file types.</p> * * <strong>example:</strong> * <p>doc</p> */ public Builder excludeFileType(String excludeFileType) { this.excludeFileType = excludeFileType; return this; } /** * <p>Protection mode.</p> * <ul> * <li><strong>0</strong>: Basic mode (whitelist)</li> * <li><strong>1</strong>: Advanced mode (blacklist)</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder guardType(Integer guardType) { this.guardType = guardType; return this; } /** * <p>Included files.</p> * * <strong>example:</strong> * <p>webapp</p> */ public Builder includeFile(String includeFile) { this.includeFile = includeFile; return this; } /** * <p>Type of included files.</p> * * <strong>example:</strong> * <p>doc</p> */ public Builder includeFileType(String includeFileType) { this.includeFileType = includeFileType; return this; } /** * <p>Whitelist process list.</p> */ public Builder processPathList(java.util.List<String> processPathList) { this.processPathList = processPathList; return this; } public PathConfDTOList build() { return new PathConfDTOList(this); } } } /** * * {@link GetSasContainerWebDefenseRuleResponseBody} extends {@link TeaModel} * * <p>GetSasContainerWebDefenseRuleResponseBody</p> */ public static class ContainerWebDefenseRule extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("AppTotalCount") private Integer appTotalCount; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private Long gmtModified; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("PathConfDTOList") private java.util.List<PathConfDTOList> pathConfDTOList; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.NameInMap("RuleStatus") private Integer ruleStatus; private ContainerWebDefenseRule(Builder builder) { this.aliUid = builder.aliUid; this.appTotalCount = builder.appTotalCount; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.id = builder.id; this.pathConfDTOList = builder.pathConfDTOList; this.ruleName = builder.ruleName; this.ruleStatus = builder.ruleStatus; } public static Builder builder() { return new Builder(); } public static ContainerWebDefenseRule create() { return builder().build(); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return appTotalCount */ public Integer getAppTotalCount() { return this.appTotalCount; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return id */ public Long getId() { return this.id; } /** * @return pathConfDTOList */ public java.util.List<PathConfDTOList> getPathConfDTOList() { return this.pathConfDTOList; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleStatus */ public Integer getRuleStatus() { return this.ruleStatus; } public static final class Builder { private Long aliUid; private Integer appTotalCount; private Long gmtCreate; private Long gmtModified; private Long id; private java.util.List<PathConfDTOList> pathConfDTOList; private String ruleName; private Integer ruleStatus; private Builder() { } private Builder(ContainerWebDefenseRule model) { this.aliUid = model.aliUid; this.appTotalCount = model.appTotalCount; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.id = model.id; this.pathConfDTOList = model.pathConfDTOList; this.ruleName = model.ruleName; this.ruleStatus = model.ruleStatus; } /** * <p>User ID.</p> * * <strong>example:</strong> * <p>1000**0002</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <p>Total number of applications.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder appTotalCount(Integer appTotalCount) { this.appTotalCount = appTotalCount; return this; } /** * <p>Timestamp when the rule was created. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1709173360000</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>Timestamp when the rule was last modified. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1655432638000</p> */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>Rule ID.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>List of configured file paths.</p> */ public Builder pathConfDTOList(java.util.List<PathConfDTOList> pathConfDTOList) { this.pathConfDTOList = pathConfDTOList; return this; } /** * <p>Rule name.</p> * * <strong>example:</strong> * <p>FiledefenseRule.</p> */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * <p>Rule status. The value descriptions are as follows:</p> * <ul> * <li><strong>1</strong>: Enabled</li> * <li><strong>0</strong>: Disabled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder ruleStatus(Integer ruleStatus) { this.ruleStatus = ruleStatus; return this; } public ContainerWebDefenseRule build() { return new ContainerWebDefenseRule(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSecurityScoreRuleRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSecurityScoreRuleRequest} extends {@link RequestModel} * * <p>GetSecurityScoreRuleRequest</p> */ public class GetSecurityScoreRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CalType") private String calType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private GetSecurityScoreRuleRequest(Builder builder) { super(builder); this.calType = builder.calType; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static GetSecurityScoreRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return calType */ public String getCalType() { return this.calType; } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<GetSecurityScoreRuleRequest, Builder> { private String calType; private String lang; private Builder() { super(); } private Builder(GetSecurityScoreRuleRequest request) { super(request); this.calType = request.calType; this.lang = request.lang; } /** * <p>The old or new version of the security score rule. If you set this parameter to <strong>home_security_score</strong>, the new version of the security score rule is returned. Otherwise, the old version of the security score rule is returned by default.</p> * * <strong>example:</strong> * <p>home_security_score</p> */ public Builder calType(String calType) { this.putQueryParameter("CalType", calType); this.calType = calType; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public GetSecurityScoreRuleRequest build() { return new GetSecurityScoreRuleRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSecurityScoreRuleResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSecurityScoreRuleResponse} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponse</p> */ public class GetSecurityScoreRuleResponse 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 GetSecurityScoreRuleResponseBody body; private GetSecurityScoreRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSecurityScoreRuleResponse 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 GetSecurityScoreRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSecurityScoreRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSecurityScoreRuleResponseBody body); @Override GetSecurityScoreRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSecurityScoreRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSecurityScoreRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSecurityScoreRuleResponse 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(GetSecurityScoreRuleResponseBody body) { this.body = body; return this; } @Override public GetSecurityScoreRuleResponse build() { return new GetSecurityScoreRuleResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSecurityScoreRuleResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSecurityScoreRuleResponseBody} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponseBody</p> */ public class GetSecurityScoreRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("EnableStatus") private Boolean enableStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SecurityScoreCategoryList") private java.util.List<SecurityScoreCategoryList> securityScoreCategoryList; @com.aliyun.core.annotation.NameInMap("SecurityScoreRuleList") private java.util.List<SecurityScoreRuleList> securityScoreRuleList; private GetSecurityScoreRuleResponseBody(Builder builder) { this.enableStatus = builder.enableStatus; this.requestId = builder.requestId; this.securityScoreCategoryList = builder.securityScoreCategoryList; this.securityScoreRuleList = builder.securityScoreRuleList; } public static Builder builder() { return new Builder(); } public static GetSecurityScoreRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return enableStatus */ public Boolean getEnableStatus() { return this.enableStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return securityScoreCategoryList */ public java.util.List<SecurityScoreCategoryList> getSecurityScoreCategoryList() { return this.securityScoreCategoryList; } /** * @return securityScoreRuleList */ public java.util.List<SecurityScoreRuleList> getSecurityScoreRuleList() { return this.securityScoreRuleList; } public static final class Builder { private Boolean enableStatus; private String requestId; private java.util.List<SecurityScoreCategoryList> securityScoreCategoryList; private java.util.List<SecurityScoreRuleList> securityScoreRuleList; private Builder() { } private Builder(GetSecurityScoreRuleResponseBody model) { this.enableStatus = model.enableStatus; this.requestId = model.requestId; this.securityScoreCategoryList = model.securityScoreCategoryList; this.securityScoreRuleList = model.securityScoreRuleList; } /** * <p>The status of the custom settings of the security score feature.</p> * <ul> * <li>true: enabled</li> * <li>false: disabled</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder enableStatus(Boolean enableStatus) { this.enableStatus = enableStatus; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F8B6F758-BCD4-597A-8A2C-DA5A552C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about the new version of the security score rule.</p> */ public Builder securityScoreCategoryList(java.util.List<SecurityScoreCategoryList> securityScoreCategoryList) { this.securityScoreCategoryList = securityScoreCategoryList; return this; } /** * <p>The information about the old version of the security score rule.</p> */ public Builder securityScoreRuleList(java.util.List<SecurityScoreRuleList> securityScoreRuleList) { this.securityScoreRuleList = securityScoreRuleList; return this; } public GetSecurityScoreRuleResponseBody build() { return new GetSecurityScoreRuleResponseBody(this); } } /** * * {@link GetSecurityScoreRuleResponseBody} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponseBody</p> */ public static class SecurityScoreItemList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Score") private Integer score; @com.aliyun.core.annotation.NameInMap("ScoreThreshold") private Integer scoreThreshold; @com.aliyun.core.annotation.NameInMap("SubRuleType") private String subRuleType; @com.aliyun.core.annotation.NameInMap("Title") private String title; private SecurityScoreItemList(Builder builder) { this.score = builder.score; this.scoreThreshold = builder.scoreThreshold; this.subRuleType = builder.subRuleType; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static SecurityScoreItemList create() { return builder().build(); } /** * @return score */ public Integer getScore() { return this.score; } /** * @return scoreThreshold */ public Integer getScoreThreshold() { return this.scoreThreshold; } /** * @return subRuleType */ public String getSubRuleType() { return this.subRuleType; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private Integer score; private Integer scoreThreshold; private String subRuleType; private String title; private Builder() { } private Builder(SecurityScoreItemList model) { this.score = model.score; this.scoreThreshold = model.scoreThreshold; this.subRuleType = model.subRuleType; this.title = model.title; } /** * <p>The deduction score for the item.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder score(Integer score) { this.score = score; return this; } /** * <p>The threshold of the deduction score for the item.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder scoreThreshold(Integer scoreThreshold) { this.scoreThreshold = scoreThreshold; return this; } /** * <p>The type of the sub-deduction item. Valid values:</p> * <ul> * <li><strong>SS_SAS_WEAK_PW</strong>: unhandled weak password risk.</li> * <li><strong>SS_SAS_ALARM</strong>: unhandled alert in Security Center.</li> * <li><strong>SS_SAS_EMG_VUL</strong>: unfixed urgent vulnerability.</li> * <li><strong>SS_SAS_APP_VUL</strong>: unfixed application vulnerability.</li> * <li><strong>SS_SAS_SYS_VUL</strong>: unfixed system vulnerability.</li> * <li><strong>SS_SAS_CLOUD_HC</strong>: unhandled cloud security posture management (CSPM) risk.</li> * <li><strong>SS_SDDP_DATA_RISK</strong>: unhandled data security risk.</li> * <li><strong>SS_WAF_API_RISK</strong>: unhandled API security risk.</li> * <li><strong>SS_DDOS_BH_ASSET</strong>: asset on which blackhole filtering is triggered.</li> * <li><strong>SS_SAS_AK_LEAK</strong>: unhandled AK/SK leak event.</li> * <li><strong>SS_PRODUCT_CONNECT</strong>: security service not integrated.</li> * <li><strong>SS_KEY_CONFIG</strong>: key feature configuration.</li> * <li><strong>SS_PRODUCT_EXPIRE</strong>: service that is about to expire.</li> * <li><strong>SS_AI_RISK</strong>: AI application risk.</li> * </ul> * * <strong>example:</strong> * <p>SSI_AI_VUL_RISK</p> */ public Builder subRuleType(String subRuleType) { this.subRuleType = subRuleType; return this; } /** * <p>The name of the sub-deduction item of the security score rule.</p> * * <strong>example:</strong> * <p>Unfixed application vulnerabilities</p> */ public Builder title(String title) { this.title = title; return this; } public SecurityScoreItemList build() { return new SecurityScoreItemList(this); } } } /** * * {@link GetSecurityScoreRuleResponseBody} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponseBody</p> */ public static class SecurityRuleList extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuleType") private String ruleType; @com.aliyun.core.annotation.NameInMap("Score") private Integer score; @com.aliyun.core.annotation.NameInMap("SecurityScoreItemList") private java.util.List<SecurityScoreItemList> securityScoreItemList; @com.aliyun.core.annotation.NameInMap("Title") private String title; private SecurityRuleList(Builder builder) { this.ruleType = builder.ruleType; this.score = builder.score; this.securityScoreItemList = builder.securityScoreItemList; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static SecurityRuleList create() { return builder().build(); } /** * @return ruleType */ public String getRuleType() { return this.ruleType; } /** * @return score */ public Integer getScore() { return this.score; } /** * @return securityScoreItemList */ public java.util.List<SecurityScoreItemList> getSecurityScoreItemList() { return this.securityScoreItemList; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String ruleType; private Integer score; private java.util.List<SecurityScoreItemList> securityScoreItemList; private String title; private Builder() { } private Builder(SecurityRuleList model) { this.ruleType = model.ruleType; this.score = model.score; this.securityScoreItemList = model.securityScoreItemList; this.title = model.title; } /** * <p>The type of the security score rule.</p> * * <strong>example:</strong> * <p>SS_AI_RISK</p> */ public Builder ruleType(String ruleType) { this.ruleType = ruleType; return this; } /** * <p>The threshold of deduction for the security score rule type.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder score(Integer score) { this.score = score; return this; } /** * <p>The sub-deduction items of the security score rule.</p> */ public Builder securityScoreItemList(java.util.List<SecurityScoreItemList> securityScoreItemList) { this.securityScoreItemList = securityScoreItemList; return this; } /** * <p>The name of the security score rule type.</p> * * <strong>example:</strong> * <p>AI application risks</p> */ public Builder title(String title) { this.title = title; return this; } public SecurityRuleList build() { return new SecurityRuleList(this); } } } /** * * {@link GetSecurityScoreRuleResponseBody} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponseBody</p> */ public static class SecurityScoreCategoryList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("Score") private Integer score; @com.aliyun.core.annotation.NameInMap("SecurityRuleList") private java.util.List<SecurityRuleList> securityRuleList; @com.aliyun.core.annotation.NameInMap("Title") private String title; private SecurityScoreCategoryList(Builder builder) { this.category = builder.category; this.score = builder.score; this.securityRuleList = builder.securityRuleList; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static SecurityScoreCategoryList create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return score */ public Integer getScore() { return this.score; } /** * @return securityRuleList */ public java.util.List<SecurityRuleList> getSecurityRuleList() { return this.securityRuleList; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String category; private Integer score; private java.util.List<SecurityRuleList> securityRuleList; private String title; private Builder() { } private Builder(SecurityScoreCategoryList model) { this.category = model.category; this.score = model.score; this.securityRuleList = model.securityRuleList; this.title = model.title; } /** * <p>The category of the security score rule. Valid values:</p> * <ul> * <li><strong>SS_SAS_HANDLE</strong>: security governance.</li> * <li><strong>SS_SAS_RESPOND</strong>: security response.</li> * </ul> * * <strong>example:</strong> * <p>SS_SAS_HANDLE</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The threshold of deduction for the security score rule type.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder score(Integer score) { this.score = score; return this; } /** * <p>The deduction items of the security score rule.</p> */ public Builder securityRuleList(java.util.List<SecurityRuleList> securityRuleList) { this.securityRuleList = securityRuleList; return this; } /** * <p>The category of the security score rule.</p> * * <strong>example:</strong> * <p>Security governance</p> */ public Builder title(String title) { this.title = title; return this; } public SecurityScoreCategoryList build() { return new SecurityScoreCategoryList(this); } } } /** * * {@link GetSecurityScoreRuleResponseBody} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponseBody</p> */ public static class SecurityScoreRuleListSecurityScoreItemList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Score") private Integer score; @com.aliyun.core.annotation.NameInMap("ScoreThreshold") private Integer scoreThreshold; @com.aliyun.core.annotation.NameInMap("SubRuleType") private String subRuleType; @com.aliyun.core.annotation.NameInMap("Title") private String title; private SecurityScoreRuleListSecurityScoreItemList(Builder builder) { this.score = builder.score; this.scoreThreshold = builder.scoreThreshold; this.subRuleType = builder.subRuleType; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static SecurityScoreRuleListSecurityScoreItemList create() { return builder().build(); } /** * @return score */ public Integer getScore() { return this.score; } /** * @return scoreThreshold */ public Integer getScoreThreshold() { return this.scoreThreshold; } /** * @return subRuleType */ public String getSubRuleType() { return this.subRuleType; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private Integer score; private Integer scoreThreshold; private String subRuleType; private String title; private Builder() { } private Builder(SecurityScoreRuleListSecurityScoreItemList model) { this.score = model.score; this.scoreThreshold = model.scoreThreshold; this.subRuleType = model.subRuleType; this.title = model.title; } /** * <p>The penalty point of the deduction item.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder score(Integer score) { this.score = score; return this; } /** * <p>The threshold for the deduction item.</p> * <blockquote> * <p> Valid values: 0 to the deduction threshold of the deduction module.</p> * </blockquote> * * <strong>example:</strong> * <p>5</p> */ public Builder scoreThreshold(Integer scoreThreshold) { this.scoreThreshold = scoreThreshold; return this; } /** * <p>The deduction item of the deduction module. The following list describes the deduction modules and their deduction items:</p> * <ul> * <li><p>SS_REINFORCE: issue in key feature configuration</p> * <ul> * <li>XPRESS_INSTALL: Security Center is not authorized.</li> * <li>REINFORCE_SUSPICIOUS: The antivirus feature is disabled.</li> * <li>RANSOMWARE: The anti-ransomware policy is disabled.</li> * <li>WEB_LOCK: The web tamper proofing feature is disabled.</li> * <li>VIRUS_SCHEDULE_SCAN: The periodic virus scan policy is disabled.</li> * <li>IMAGE_REPO_SCAN: The range of container image scan is not configured.</li> * <li>IMAGE_SCAN_TASK: The feature of one-click scan of container images for security risks is not performed.</li> * </ul> * </li> * <li><p>SS_ALARM: unhandled alert.</p> * <ul> * <li>ALARM_SERIOUS: An unhandled high-risk alert event is detected.</li> * <li>ALARM_SUSPICIOUS: An unhandled medium-risk alarm event is detected.</li> * <li>ALARM_REMIND: An unhandled low-risk alarm event is detected.</li> * </ul> * </li> * <li><p>SS_VUL: unfixed vulnerability</p> * <ul> * <li>CMS_UNFIX: An unfixed Web-CMS vulnerability is detected.</li> * <li>WIN_UNFIX: An unfixed Windows host vulnerability is detected.</li> * <li>CVE_UNFIX: An unfixed Linux host vulnerability is detected.</li> * <li>ERM_UNFIX: An unfixed urgent vulnerability is detected.</li> * <li>ERM_UNCHECK: An undetected urgent vulnerability exists.</li> * </ul> * </li> * <li><p>SS_HC: baseline risks</p> * <ul> * <li>WEAK_EXPLOIT: Weak passwords are exposed to the Internet.</li> * <li>WEAK_PASSWORD: Weak passwords exist.</li> * <li>HC_EXPLOIT: The data source may be hacked.</li> * <li>HC_OTHER_WARNING: Security configuration risks exist.</li> * </ul> * </li> * <li><p>SS_CLOUD_HC: Cloud platform configuration check item problem.</p> * <ul> * <li>CSPM_CIEM_NOT_PASS: A CIEM check item failed the check.</li> * <li>CSPM_RISK_NOT_PASS: A security risk check item failed the check.</li> * <li>CSPM_COMPLIANCE_NOT_PASS: A compliance check item failed the check.</li> * </ul> * </li> * <li><p>SS_AK: risk of AccessKey pair leaks</p> * </li> * </ul> * * <strong>example:</strong> * <p>ALARM_SERIOUS</p> */ public Builder subRuleType(String subRuleType) { this.subRuleType = subRuleType; return this; } /** * <p>The description of the deduction item in a deduction module.</p> * * <strong>example:</strong> * <p>Unhandled Urgent Alert Event Exists</p> */ public Builder title(String title) { this.title = title; return this; } public SecurityScoreRuleListSecurityScoreItemList build() { return new SecurityScoreRuleListSecurityScoreItemList(this); } } } /** * * {@link GetSecurityScoreRuleResponseBody} extends {@link TeaModel} * * <p>GetSecurityScoreRuleResponseBody</p> */ public static class SecurityScoreRuleList extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuleType") private String ruleType; @com.aliyun.core.annotation.NameInMap("Score") private Integer score; @com.aliyun.core.annotation.NameInMap("SecurityScoreItemList") private java.util.List<SecurityScoreRuleListSecurityScoreItemList> securityScoreItemList; @com.aliyun.core.annotation.NameInMap("Title") private String title; private SecurityScoreRuleList(Builder builder) { this.ruleType = builder.ruleType; this.score = builder.score; this.securityScoreItemList = builder.securityScoreItemList; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static SecurityScoreRuleList create() { return builder().build(); } /** * @return ruleType */ public String getRuleType() { return this.ruleType; } /** * @return score */ public Integer getScore() { return this.score; } /** * @return securityScoreItemList */ public java.util.List<SecurityScoreRuleListSecurityScoreItemList> getSecurityScoreItemList() { return this.securityScoreItemList; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String ruleType; private Integer score; private java.util.List<SecurityScoreRuleListSecurityScoreItemList> securityScoreItemList; private String title; private Builder() { } private Builder(SecurityScoreRuleList model) { this.ruleType = model.ruleType; this.score = model.score; this.securityScoreItemList = model.securityScoreItemList; this.title = model.title; } /** * <p>The deduction module that is supported by the security score feature. Valid values:</p> * <ul> * <li>SS_REINFORCE: issue in key feature configuration</li> * <li>SS_ALARM: unhandled alert</li> * <li>SS_VUL: unfixed vulnerability</li> * <li>SS_HC: baseline risk</li> * <li>SS_CLOUD_HC: risk item of configuration assessment</li> * <li>SS_AK: risk of AccessKey pair leaks</li> * </ul> * * <strong>example:</strong> * <p>SS_ALARM</p> */ public Builder ruleType(String ruleType) { this.ruleType = ruleType; return this; } /** * <p>The deduction threshold of the deduction module.</p> * <blockquote> * <p> Valid values: 0 to 100. The sum of the deduction thresholds for all deduction modules must be equal to 100.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder score(Integer score) { this.score = score; return this; } /** * <p>The deduction items of the deduction module.</p> */ public Builder securityScoreItemList(java.util.List<SecurityScoreRuleListSecurityScoreItemList> securityScoreItemList) { this.securityScoreItemList = securityScoreItemList; return this; } /** * <p>The description of the deduction module.</p> * * <strong>example:</strong> * <p>Unhandled Alerts</p> */ public Builder title(String title) { this.title = title; return this; } public SecurityScoreRuleList build() { return new SecurityScoreRuleList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSensitiveDefineRuleConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSensitiveDefineRuleConfigRequest} extends {@link RequestModel} * * <p>GetSensitiveDefineRuleConfigRequest</p> */ public class GetSensitiveDefineRuleConfigRequest 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("Source") private String source; private GetSensitiveDefineRuleConfigRequest(Builder builder) { super(builder); this.lang = builder.lang; this.source = builder.source; } public static Builder builder() { return new Builder(); } public static GetSensitiveDefineRuleConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return source */ public String getSource() { return this.source; } public static final class Builder extends Request.Builder<GetSensitiveDefineRuleConfigRequest, Builder> { private String lang; private String source; private Builder() { super(); } private Builder(GetSensitiveDefineRuleConfigRequest request) { super(request); this.lang = request.lang; this.source = request.source; } /** * <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 of the check rules. Valid values:</p> * <ul> * <li><strong>image</strong>: image.</li> * <li><strong>agentless</strong>: agentless detection.</li> * </ul> * * <strong>example:</strong> * <p>image</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } @Override public GetSensitiveDefineRuleConfigRequest build() { return new GetSensitiveDefineRuleConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSensitiveDefineRuleConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSensitiveDefineRuleConfigResponse} extends {@link TeaModel} * * <p>GetSensitiveDefineRuleConfigResponse</p> */ public class GetSensitiveDefineRuleConfigResponse 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 GetSensitiveDefineRuleConfigResponseBody body; private GetSensitiveDefineRuleConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetSensitiveDefineRuleConfigResponse 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 GetSensitiveDefineRuleConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetSensitiveDefineRuleConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetSensitiveDefineRuleConfigResponseBody body); @Override GetSensitiveDefineRuleConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetSensitiveDefineRuleConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetSensitiveDefineRuleConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetSensitiveDefineRuleConfigResponse 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(GetSensitiveDefineRuleConfigResponseBody body) { this.body = body; return this; } @Override public GetSensitiveDefineRuleConfigResponse build() { return new GetSensitiveDefineRuleConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetSensitiveDefineRuleConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetSensitiveDefineRuleConfigResponseBody} extends {@link TeaModel} * * <p>GetSensitiveDefineRuleConfigResponseBody</p> */ public class GetSensitiveDefineRuleConfigResponseBody 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 GetSensitiveDefineRuleConfigResponseBody(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 GetSensitiveDefineRuleConfigResponseBody 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(GetSensitiveDefineRuleConfigResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The response parameters.</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>7E0618A9-D5EF-4220-9471-C42B5E92****</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 GetSensitiveDefineRuleConfigResponseBody build() { return new GetSensitiveDefineRuleConfigResponseBody(this); } } /** * * {@link GetSensitiveDefineRuleConfigResponseBody} extends {@link TeaModel} * * <p>GetSensitiveDefineRuleConfigResponseBody</p> */ public static class RuleList extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuleKey") private String ruleKey; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; @com.aliyun.core.annotation.NameInMap("Selected") private Boolean selected; private RuleList(Builder builder) { this.ruleKey = builder.ruleKey; this.ruleName = builder.ruleName; this.selected = builder.selected; } public static Builder builder() { return new Builder(); } public static RuleList create() { return builder().build(); } /** * @return ruleKey */ public String getRuleKey() { return this.ruleKey; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return selected */ public Boolean getSelected() { return this.selected; } public static final class Builder { private String ruleKey; private String ruleName; private Boolean selected; private Builder() { } private Builder(RuleList model) { this.ruleKey = model.ruleKey; this.ruleName = model.ruleName; this.selected = model.selected; } /** * <p>The keyword of the check rule.</p> * * <strong>example:</strong> * <p>huaweicloud_ak</p> */ public Builder ruleKey(String ruleKey) { this.ruleKey = ruleKey; return this; } /** * <p>The name of the check rule.</p> * * <strong>example:</strong> * <p>huaweicloud_ak</p> */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * <p>Indicates whether the check rule is selected. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder selected(Boolean selected) { this.selected = selected; return this; } public RuleList build() { return new RuleList(this); } } } /** * * {@link GetSensitiveDefineRuleConfigResponseBody} extends {@link TeaModel} * * <p>GetSensitiveDefineRuleConfigResponseBody</p> */ public static class RuleTree extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClassKey") private String classKey; @com.aliyun.core.annotation.NameInMap("ClassName") private String className; @com.aliyun.core.annotation.NameInMap("RuleList") private java.util.List<RuleList> ruleList; private RuleTree(Builder builder) { this.classKey = builder.classKey; this.className = builder.className; this.ruleList = builder.ruleList; } public static Builder builder() { return new Builder(); } public static RuleTree create() { return builder().build(); } /** * @return classKey */ public String getClassKey() { return this.classKey; } /** * @return className */ public String getClassName() { return this.className; } /** * @return ruleList */ public java.util.List<RuleList> getRuleList() { return this.ruleList; } public static final class Builder { private String classKey; private String className; private java.util.List<RuleList> ruleList; private Builder() { } private Builder(RuleTree model) { this.classKey = model.classKey; this.className = model.className; this.ruleList = model.ruleList; } /** * <p>The category keyword of the check rule.</p> * * <strong>example:</strong> * <p>password</p> */ public Builder classKey(String classKey) { this.classKey = classKey; return this; } /** * <p>The category name of the check rule.</p> * * <strong>example:</strong> * <p>password</p> */ public Builder className(String className) { this.className = className; return this; } /** * <p>The list of check rules.</p> */ public Builder ruleList(java.util.List<RuleList> ruleList) { this.ruleList = ruleList; return this; } public RuleTree build() { return new RuleTree(this); } } } /** * * {@link GetSensitiveDefineRuleConfigResponseBody} extends {@link TeaModel} * * <p>GetSensitiveDefineRuleConfigResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("EnableNewRule") private Integer enableNewRule; @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("RuleCount") private Integer ruleCount; @com.aliyun.core.annotation.NameInMap("RuleTree") private java.util.List<RuleTree> ruleTree; @com.aliyun.core.annotation.NameInMap("SelectedCount") private Integer selectedCount; private Data(Builder builder) { this.enableNewRule = builder.enableNewRule; this.id = builder.id; this.ruleCount = builder.ruleCount; this.ruleTree = builder.ruleTree; this.selectedCount = builder.selectedCount; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return enableNewRule */ public Integer getEnableNewRule() { return this.enableNewRule; } /** * @return id */ public Long getId() { return this.id; } /** * @return ruleCount */ public Integer getRuleCount() { return this.ruleCount; } /** * @return ruleTree */ public java.util.List<RuleTree> getRuleTree() { return this.ruleTree; } /** * @return selectedCount */ public Integer getSelectedCount() { return this.selectedCount; } public static final class Builder { private Integer enableNewRule; private Long id; private Integer ruleCount; private java.util.List<RuleTree> ruleTree; private Integer selectedCount; private Builder() { } private Builder(Data model) { this.enableNewRule = model.enableNewRule; this.id = model.id; this.ruleCount = model.ruleCount; this.ruleTree = model.ruleTree; this.selectedCount = model.selectedCount; } /** * <p>Indicates whether the new rule is enabled for automatic check only on agentless detection. Valid values:</p> * <ul> * <li><strong>0</strong>: disabled.</li> * <li><strong>1</strong>: enabled.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder enableNewRule(Integer enableNewRule) { this.enableNewRule = enableNewRule; return this; } /** * <p>The custom configuration ID.</p> * * <strong>example:</strong> * <p>44616</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The total number of check rules.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder ruleCount(Integer ruleCount) { this.ruleCount = ruleCount; return this; } /** * <p>The tree of the check rules.</p> */ public Builder ruleTree(java.util.List<RuleTree> ruleTree) { this.ruleTree = ruleTree; return this; } /** * <p>The number of selected check rules.</p> * * <strong>example:</strong> * <p>99</p> */ public Builder selectedCount(Integer selectedCount) { this.selectedCount = selectedCount; 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/GetServerlessAppAuthDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServerlessAppAuthDetailRequest} extends {@link RequestModel} * * <p>GetServerlessAppAuthDetailRequest</p> */ public class GetServerlessAppAuthDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppRegionId") private String appRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineType") private String machineType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VendorType") private String vendorType; private GetServerlessAppAuthDetailRequest(Builder builder) { super(builder); this.appId = builder.appId; this.appRegionId = builder.appRegionId; this.machineType = builder.machineType; this.vendorType = builder.vendorType; } public static Builder builder() { return new Builder(); } public static GetServerlessAppAuthDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appRegionId */ public String getAppRegionId() { return this.appRegionId; } /** * @return machineType */ public String getMachineType() { return this.machineType; } /** * @return vendorType */ public String getVendorType() { return this.vendorType; } public static final class Builder extends Request.Builder<GetServerlessAppAuthDetailRequest, Builder> { private String appId; private String appRegionId; private String machineType; private String vendorType; private Builder() { super(); } private Builder(GetServerlessAppAuthDetailRequest request) { super(request); this.appId = request.appId; this.appRegionId = request.appRegionId; this.machineType = request.machineType; this.vendorType = request.vendorType; } /** * <p>SAE application ID.</p> * <blockquote> * <p>Obtain through the <a href="~~ListMachineApps~~">ListMachineApps</a> interface.</p> * </blockquote> * * <strong>example:</strong> * <p>3de9f2ac-f***769226df</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>Application region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder appRegionId(String appRegionId) { this.putQueryParameter("AppRegionId", appRegionId); this.appRegionId = appRegionId; return this; } /** * <p>Server type: </p> * <ul> * <li><strong>RunD</strong></li> * <li><strong>ECI</strong></li> * </ul> * * <strong>example:</strong> * <p>RunD</p> */ public Builder machineType(String machineType) { this.putQueryParameter("MachineType", machineType); this.machineType = machineType; return this; } /** * <p>Cloud product: </p> * <ul> * <li><strong>ASK</strong></li> * <li><strong>SAE</strong></li> * <li><strong>ACS</strong></li> * </ul> * * <strong>example:</strong> * <p>SAE</p> */ public Builder vendorType(String vendorType) { this.putQueryParameter("VendorType", vendorType); this.vendorType = vendorType; return this; } @Override public GetServerlessAppAuthDetailRequest build() { return new GetServerlessAppAuthDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetServerlessAppAuthDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServerlessAppAuthDetailResponse} extends {@link TeaModel} * * <p>GetServerlessAppAuthDetailResponse</p> */ public class GetServerlessAppAuthDetailResponse 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 GetServerlessAppAuthDetailResponseBody body; private GetServerlessAppAuthDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetServerlessAppAuthDetailResponse 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 GetServerlessAppAuthDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetServerlessAppAuthDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetServerlessAppAuthDetailResponseBody body); @Override GetServerlessAppAuthDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetServerlessAppAuthDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetServerlessAppAuthDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetServerlessAppAuthDetailResponse 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(GetServerlessAppAuthDetailResponseBody body) { this.body = body; return this; } @Override public GetServerlessAppAuthDetailResponse build() { return new GetServerlessAppAuthDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetServerlessAppAuthDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServerlessAppAuthDetailResponseBody} extends {@link TeaModel} * * <p>GetServerlessAppAuthDetailResponseBody</p> */ public class GetServerlessAppAuthDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetServerlessAppAuthDetailResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetServerlessAppAuthDetailResponseBody 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; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Data data; private String requestId; private Boolean success; private Builder() { } private Builder(GetServerlessAppAuthDetailResponseBody model) { this.data = model.data; this.requestId = model.requestId; this.success = model.success; } /** * <p>Data details.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of this call request, a unique identifier generated by Alibaba Cloud for the request, which can be used to troubleshoot and pinpoint issues.</p> * * <strong>example:</strong> * <p>30CBF632-109F-596F-97F2-451C8B2A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>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 GetServerlessAppAuthDetailResponseBody build() { return new GetServerlessAppAuthDetailResponseBody(this); } } /** * * {@link GetServerlessAppAuthDetailResponseBody} extends {@link TeaModel} * * <p>GetServerlessAppAuthDetailResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("CoreCount") private Integer coreCount; @com.aliyun.core.annotation.NameInMap("InstanceCount") private Integer instanceCount; @com.aliyun.core.annotation.NameInMap("IsBind") private Boolean isBind; @com.aliyun.core.annotation.NameInMap("IsPostPaid") private Boolean isPostPaid; @com.aliyun.core.annotation.NameInMap("IsServerlessPostPaidValid") private Boolean isServerlessPostPaidValid; @com.aliyun.core.annotation.NameInMap("PostPaidModuleSwitch") private String postPaidModuleSwitch; @com.aliyun.core.annotation.NameInMap("PostPaidOpenTime") private Long postPaidOpenTime; @com.aliyun.core.annotation.NameInMap("PostPaidStatus") private Integer postPaidStatus; @com.aliyun.core.annotation.NameInMap("PostpaidInstanceId") private String postpaidInstanceId; private Data(Builder builder) { this.appId = builder.appId; this.coreCount = builder.coreCount; this.instanceCount = builder.instanceCount; this.isBind = builder.isBind; this.isPostPaid = builder.isPostPaid; this.isServerlessPostPaidValid = builder.isServerlessPostPaidValid; this.postPaidModuleSwitch = builder.postPaidModuleSwitch; this.postPaidOpenTime = builder.postPaidOpenTime; this.postPaidStatus = builder.postPaidStatus; this.postpaidInstanceId = builder.postpaidInstanceId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return coreCount */ public Integer getCoreCount() { return this.coreCount; } /** * @return instanceCount */ public Integer getInstanceCount() { return this.instanceCount; } /** * @return isBind */ public Boolean getIsBind() { return this.isBind; } /** * @return isPostPaid */ public Boolean getIsPostPaid() { return this.isPostPaid; } /** * @return isServerlessPostPaidValid */ public Boolean getIsServerlessPostPaidValid() { return this.isServerlessPostPaidValid; } /** * @return postPaidModuleSwitch */ public String getPostPaidModuleSwitch() { return this.postPaidModuleSwitch; } /** * @return postPaidOpenTime */ public Long getPostPaidOpenTime() { return this.postPaidOpenTime; } /** * @return postPaidStatus */ public Integer getPostPaidStatus() { return this.postPaidStatus; } /** * @return postpaidInstanceId */ public String getPostpaidInstanceId() { return this.postpaidInstanceId; } public static final class Builder { private String appId; private Integer coreCount; private Integer instanceCount; private Boolean isBind; private Boolean isPostPaid; private Boolean isServerlessPostPaidValid; private String postPaidModuleSwitch; private Long postPaidOpenTime; private Integer postPaidStatus; private String postpaidInstanceId; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.coreCount = model.coreCount; this.instanceCount = model.instanceCount; this.isBind = model.isBind; this.isPostPaid = model.isPostPaid; this.isServerlessPostPaidValid = model.isServerlessPostPaidValid; this.postPaidModuleSwitch = model.postPaidModuleSwitch; this.postPaidOpenTime = model.postPaidOpenTime; this.postPaidStatus = model.postPaidStatus; this.postpaidInstanceId = model.postpaidInstanceId; } /** * <p>Application ID.</p> * * <strong>example:</strong> * <p>c932b7a0***</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>Number of CPU cores.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder coreCount(Integer coreCount) { this.coreCount = coreCount; return this; } /** * <p>Number of instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder instanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } /** * <p>Whether authorization is bound. Values: </p> * <ul> * <li><strong>true</strong>: Yes</li> * <li><strong>false</strong>: No</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isBind(Boolean isBind) { this.isBind = isBind; return this; } /** * <p>Whether it is a post-paid instance. Values: </p> * <ul> * <li><strong>true</strong>: Yes</li> * <li><strong>false</strong>: No</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isPostPaid(Boolean isPostPaid) { this.isPostPaid = isPostPaid; return this; } /** * <p>Serverless post-paid status. Values: </p> * <ul> * <li><strong>true</strong>: Active</li> * <li><strong>false</strong>: Expired</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isServerlessPostPaidValid(Boolean isServerlessPostPaidValid) { this.isServerlessPostPaidValid = isServerlessPostPaidValid; return this; } /** * <p>Pay-as-you-go module switch. Values: </p> * <ul> * <li><strong>VUL</strong>: Vulnerability repair module</li> * <li><strong>CSPM</strong>: Cloud Security Posture Management module</li> * <li><strong>AGENTLESS</strong>: Agentless detection module</li> * <li><strong>SERVERLESS</strong>: Serverless security module</li> * <li><strong>CTDR</strong>: Threat Detection and Response module</li> * </ul> * * <strong>example:</strong> * <p>SERVERLESS</p> */ public Builder postPaidModuleSwitch(String postPaidModuleSwitch) { this.postPaidModuleSwitch = postPaidModuleSwitch; return this; } /** * <p>Post-paid activation time.</p> * * <strong>example:</strong> * <p>1655432638000</p> */ public Builder postPaidOpenTime(Long postPaidOpenTime) { this.postPaidOpenTime = postPaidOpenTime; return this; } /** * <p>Post-paid instance status. Values: </p> * <ul> * <li><strong>1</strong>: Active</li> * <li><strong>2</strong>: Suspended due to unpaid bills</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder postPaidStatus(Integer postPaidStatus) { this.postPaidStatus = postPaidStatus; return this; } /** * <p>Post-paid instance ID.</p> * * <strong>example:</strong> * <p>101</p> */ public Builder postpaidInstanceId(String postpaidInstanceId) { this.postpaidInstanceId = postpaidInstanceId; 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/GetServerlessAuthSummaryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServerlessAuthSummaryRequest} extends {@link RequestModel} * * <p>GetServerlessAuthSummaryRequest</p> */ public class GetServerlessAuthSummaryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppRegionId") private String appRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MachineType") private String machineType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VendorType") private String vendorType; private GetServerlessAuthSummaryRequest(Builder builder) { super(builder); this.appRegionId = builder.appRegionId; this.machineType = builder.machineType; this.vendorType = builder.vendorType; } public static Builder builder() { return new Builder(); } public static GetServerlessAuthSummaryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appRegionId */ public String getAppRegionId() { return this.appRegionId; } /** * @return machineType */ public String getMachineType() { return this.machineType; } /** * @return vendorType */ public String getVendorType() { return this.vendorType; } public static final class Builder extends Request.Builder<GetServerlessAuthSummaryRequest, Builder> { private String appRegionId; private String machineType; private String vendorType; private Builder() { super(); } private Builder(GetServerlessAuthSummaryRequest request) { super(request); this.appRegionId = request.appRegionId; this.machineType = request.machineType; this.vendorType = request.vendorType; } /** * <p>Application region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder appRegionId(String appRegionId) { this.putQueryParameter("AppRegionId", appRegionId); this.appRegionId = appRegionId; return this; } /** * <p>Server type: </p> * <ul> * <li><strong>RunD</strong></li> * <li><strong>ECI</strong></li> * </ul> * * <strong>example:</strong> * <p>RunD</p> */ public Builder machineType(String machineType) { this.putQueryParameter("MachineType", machineType); this.machineType = machineType; return this; } /** * <p>Cloud product: </p> * <ul> * <li><strong>ASK</strong></li> * <li><strong>SAE</strong></li> * <li><strong>ACS</strong></li> * </ul> * * <strong>example:</strong> * <p>SAE</p> */ public Builder vendorType(String vendorType) { this.putQueryParameter("VendorType", vendorType); this.vendorType = vendorType; return this; } @Override public GetServerlessAuthSummaryRequest build() { return new GetServerlessAuthSummaryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetServerlessAuthSummaryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServerlessAuthSummaryResponse} extends {@link TeaModel} * * <p>GetServerlessAuthSummaryResponse</p> */ public class GetServerlessAuthSummaryResponse 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 GetServerlessAuthSummaryResponseBody body; private GetServerlessAuthSummaryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetServerlessAuthSummaryResponse 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 GetServerlessAuthSummaryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetServerlessAuthSummaryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetServerlessAuthSummaryResponseBody body); @Override GetServerlessAuthSummaryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetServerlessAuthSummaryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetServerlessAuthSummaryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetServerlessAuthSummaryResponse 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(GetServerlessAuthSummaryResponseBody body) { this.body = body; return this; } @Override public GetServerlessAuthSummaryResponse build() { return new GetServerlessAuthSummaryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203
java-sources/com/aliyun/alibabacloud-sas20181203/5.0.1/com/aliyun/sdk/service/sas20181203/models/GetServerlessAuthSummaryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServerlessAuthSummaryResponseBody} extends {@link TeaModel} * * <p>GetServerlessAuthSummaryResponseBody</p> */ public class GetServerlessAuthSummaryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetServerlessAuthSummaryResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetServerlessAuthSummaryResponseBody 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; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Data data; private String requestId; private Boolean success; private Builder() { } private Builder(GetServerlessAuthSummaryResponseBody model) { this.data = model.data; this.requestId = model.requestId; this.success = model.success; } /** * <p>Returned data details.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request. It can be used to troubleshoot and locate issues.</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 GetServerlessAuthSummaryResponseBody build() { return new GetServerlessAuthSummaryResponseBody(this); } } /** * * {@link GetServerlessAuthSummaryResponseBody} extends {@link TeaModel} * * <p>GetServerlessAuthSummaryResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoBind") private Integer autoBind; @com.aliyun.core.annotation.NameInMap("HasPreBindSetting") private Boolean hasPreBindSetting; @com.aliyun.core.annotation.NameInMap("IsPostPaid") private Boolean isPostPaid; @com.aliyun.core.annotation.NameInMap("IsServerlessPostPaidValid") private Boolean isServerlessPostPaidValid; @com.aliyun.core.annotation.NameInMap("PostPaidModuleSwitch") private String postPaidModuleSwitch; @com.aliyun.core.annotation.NameInMap("PostPaidOpenTime") private Long postPaidOpenTime; @com.aliyun.core.annotation.NameInMap("PostPaidStatus") private Integer postPaidStatus; @com.aliyun.core.annotation.NameInMap("PostpaidInstanceId") private String postpaidInstanceId; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("TotalBindAppCount") private Integer totalBindAppCount; @com.aliyun.core.annotation.NameInMap("TotalBindCoreCount") private Integer totalBindCoreCount; @com.aliyun.core.annotation.NameInMap("TotalBindInstanceCount") private Integer totalBindInstanceCount; @com.aliyun.core.annotation.NameInMap("TotalUnBindAppCount") private Integer totalUnBindAppCount; @com.aliyun.core.annotation.NameInMap("TotalUnBindCoreCount") private Integer totalUnBindCoreCount; @com.aliyun.core.annotation.NameInMap("TotalUnBindInstanceCount") private Integer totalUnBindInstanceCount; private Data(Builder builder) { this.autoBind = builder.autoBind; this.hasPreBindSetting = builder.hasPreBindSetting; this.isPostPaid = builder.isPostPaid; this.isServerlessPostPaidValid = builder.isServerlessPostPaidValid; this.postPaidModuleSwitch = builder.postPaidModuleSwitch; this.postPaidOpenTime = builder.postPaidOpenTime; this.postPaidStatus = builder.postPaidStatus; this.postpaidInstanceId = builder.postpaidInstanceId; this.regionId = builder.regionId; this.totalBindAppCount = builder.totalBindAppCount; this.totalBindCoreCount = builder.totalBindCoreCount; this.totalBindInstanceCount = builder.totalBindInstanceCount; this.totalUnBindAppCount = builder.totalUnBindAppCount; this.totalUnBindCoreCount = builder.totalUnBindCoreCount; this.totalUnBindInstanceCount = builder.totalUnBindInstanceCount; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return autoBind */ public Integer getAutoBind() { return this.autoBind; } /** * @return hasPreBindSetting */ public Boolean getHasPreBindSetting() { return this.hasPreBindSetting; } /** * @return isPostPaid */ public Boolean getIsPostPaid() { return this.isPostPaid; } /** * @return isServerlessPostPaidValid */ public Boolean getIsServerlessPostPaidValid() { return this.isServerlessPostPaidValid; } /** * @return postPaidModuleSwitch */ public String getPostPaidModuleSwitch() { return this.postPaidModuleSwitch; } /** * @return postPaidOpenTime */ public Long getPostPaidOpenTime() { return this.postPaidOpenTime; } /** * @return postPaidStatus */ public Integer getPostPaidStatus() { return this.postPaidStatus; } /** * @return postpaidInstanceId */ public String getPostpaidInstanceId() { return this.postpaidInstanceId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return totalBindAppCount */ public Integer getTotalBindAppCount() { return this.totalBindAppCount; } /** * @return totalBindCoreCount */ public Integer getTotalBindCoreCount() { return this.totalBindCoreCount; } /** * @return totalBindInstanceCount */ public Integer getTotalBindInstanceCount() { return this.totalBindInstanceCount; } /** * @return totalUnBindAppCount */ public Integer getTotalUnBindAppCount() { return this.totalUnBindAppCount; } /** * @return totalUnBindCoreCount */ public Integer getTotalUnBindCoreCount() { return this.totalUnBindCoreCount; } /** * @return totalUnBindInstanceCount */ public Integer getTotalUnBindInstanceCount() { return this.totalUnBindInstanceCount; } public static final class Builder { private Integer autoBind; private Boolean hasPreBindSetting; private Boolean isPostPaid; private Boolean isServerlessPostPaidValid; private String postPaidModuleSwitch; private Long postPaidOpenTime; private Integer postPaidStatus; private String postpaidInstanceId; private String regionId; private Integer totalBindAppCount; private Integer totalBindCoreCount; private Integer totalBindInstanceCount; private Integer totalUnBindAppCount; private Integer totalUnBindCoreCount; private Integer totalUnBindInstanceCount; private Builder() { } private Builder(Data model) { this.autoBind = model.autoBind; this.hasPreBindSetting = model.hasPreBindSetting; this.isPostPaid = model.isPostPaid; this.isServerlessPostPaidValid = model.isServerlessPostPaidValid; this.postPaidModuleSwitch = model.postPaidModuleSwitch; this.postPaidOpenTime = model.postPaidOpenTime; this.postPaidStatus = model.postPaidStatus; this.postpaidInstanceId = model.postpaidInstanceId; this.regionId = model.regionId; this.totalBindAppCount = model.totalBindAppCount; this.totalBindCoreCount = model.totalBindCoreCount; this.totalBindInstanceCount = model.totalBindInstanceCount; this.totalUnBindAppCount = model.totalUnBindAppCount; this.totalUnBindCoreCount = model.totalUnBindCoreCount; this.totalUnBindInstanceCount = model.totalUnBindInstanceCount; } /** * <p>Enable auto-binding. Values: </p> * <ul> * <li><strong>0</strong>: Disabled</li> * <li><strong>1</strong>: Enabled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder autoBind(Integer autoBind) { this.autoBind = autoBind; return this; } /** * <p>Indicates whether there is a pre-bound asset configuration. Pre-binding refers to the asset binding configuration selected in advance at the time of purchase. The values are: - <strong>0</strong>: No - <strong>1</strong>: Yes</p> * * <strong>example:</strong> * <p>1</p> */ public Builder hasPreBindSetting(Boolean hasPreBindSetting) { this.hasPreBindSetting = hasPreBindSetting; return this; } /** * <p>Whether it is a post-paid instance. Values: </p> * <ul> * <li><strong>true</strong>: Yes</li> * <li><strong>false</strong>: No</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isPostPaid(Boolean isPostPaid) { this.isPostPaid = isPostPaid; return this; } /** * <p>Serverless post-paid status. Values: </p> * <ul> * <li><strong>true</strong>: Active</li> * <li><strong>false</strong>: Expired</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isServerlessPostPaidValid(Boolean isServerlessPostPaidValid) { this.isServerlessPostPaidValid = isServerlessPostPaidValid; return this; } /** * <p>Pay-as-you-go module switch. Values: </p> * <ul> * <li><strong>VUL</strong>: Vulnerability Repair Module</li> * <li><strong>CSPM</strong>: Cloud Security Posture Management Module</li> * <li><strong>AGENTLESS</strong>: Agentless Detection Module</li> * <li><strong>SERVERLESS</strong>: Serverless Security Module</li> * <li><strong>CTDR</strong>: Threat Analysis and Response Module</li> * </ul> * * <strong>example:</strong> * <p>SERVERLESS</p> */ public Builder postPaidModuleSwitch(String postPaidModuleSwitch) { this.postPaidModuleSwitch = postPaidModuleSwitch; return this; } /** * <p>Post-paid activation time. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1655432638000</p> */ public Builder postPaidOpenTime(Long postPaidOpenTime) { this.postPaidOpenTime = postPaidOpenTime; return this; } /** * <p>Post-paid instance status. Values: </p> * <ul> * <li><strong>1</strong>: Active</li> * <li><strong>2</strong>: Suspended due to unpaid bills</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder postPaidStatus(Integer postPaidStatus) { this.postPaidStatus = postPaidStatus; return this; } /** * <p>Post-paid instance ID.</p> * * <strong>example:</strong> * <p>sas-postpay-**</p> */ public Builder postpaidInstanceId(String postpaidInstanceId) { this.postpaidInstanceId = postpaidInstanceId; return this; } /** * <p>Region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>Total number of bound applications.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder totalBindAppCount(Integer totalBindAppCount) { this.totalBindAppCount = totalBindAppCount; return this; } /** * <p>Total number of bound cores.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalBindCoreCount(Integer totalBindCoreCount) { this.totalBindCoreCount = totalBindCoreCount; return this; } /** * <p>Total number of bound instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalBindInstanceCount(Integer totalBindInstanceCount) { this.totalBindInstanceCount = totalBindInstanceCount; return this; } /** * <p>Total number of unbound applications.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalUnBindAppCount(Integer totalUnBindAppCount) { this.totalUnBindAppCount = totalUnBindAppCount; return this; } /** * <p>Total number of unbound cores.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalUnBindCoreCount(Integer totalUnBindCoreCount) { this.totalUnBindCoreCount = totalUnBindCoreCount; return this; } /** * <p>Total number of unbound instances.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalUnBindInstanceCount(Integer totalUnBindInstanceCount) { this.totalUnBindInstanceCount = totalUnBindInstanceCount; 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/GetServiceTrailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sas20181203.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetServiceTrailRequest} extends {@link RequestModel} * * <p>GetServiceTrailRequest</p> */ public class GetServiceTrailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GetServiceTrailRequest(Builder builder) { super(builder); this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetServiceTrailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetServiceTrailRequest, Builder> { private String regionId; private Builder() { super(); } private Builder(GetServiceTrailRequest request) { super(request); this.regionId = request.regionId; } /** * <p>The ID of the region in which the instance resides. Valid value:</p> * <ul> * <li><strong>cn-hangzhou</strong>: center.</li> * <li><strong>ap-southeast-1</strong>: Singapore.</li> * </ul> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetServiceTrailRequest build() { return new GetServiceTrailRequest(this); } } }