All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeRuleHitsTopRuleIdResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20211001.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeRuleHitsTopRuleIdResponseBody} extends {@link TeaModel}
 *
 * 

DescribeRuleHitsTopRuleIdResponseBody

*/ public class DescribeRuleHitsTopRuleIdResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RuleHitsTopRuleId") private java.util.List < RuleHitsTopRuleId> ruleHitsTopRuleId; private DescribeRuleHitsTopRuleIdResponseBody(Builder builder) { this.requestId = builder.requestId; this.ruleHitsTopRuleId = builder.ruleHitsTopRuleId; } public static Builder builder() { return new Builder(); } public static DescribeRuleHitsTopRuleIdResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return ruleHitsTopRuleId */ public java.util.List < RuleHitsTopRuleId> getRuleHitsTopRuleId() { return this.ruleHitsTopRuleId; } public static final class Builder { private String requestId; private java.util.List < RuleHitsTopRuleId> ruleHitsTopRuleId; /** *

The ID of the request.

* * example: *

F6334274-8870-5D2F-A1AD-D6EF885AC1ED

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The array of the IDs of the top 10 rules that are matched by requests.

*/ public Builder ruleHitsTopRuleId(java.util.List < RuleHitsTopRuleId> ruleHitsTopRuleId) { this.ruleHitsTopRuleId = ruleHitsTopRuleId; return this; } public DescribeRuleHitsTopRuleIdResponseBody build() { return new DescribeRuleHitsTopRuleIdResponseBody(this); } } /** * * {@link DescribeRuleHitsTopRuleIdResponseBody} extends {@link TeaModel} * *

DescribeRuleHitsTopRuleIdResponseBody

*/ public static class RuleHitsTopRuleId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("Resource") private String resource; @com.aliyun.core.annotation.NameInMap("RuleId") private String ruleId; private RuleHitsTopRuleId(Builder builder) { this.count = builder.count; this.resource = builder.resource; this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static RuleHitsTopRuleId create() { return builder().build(); } /** * @return count */ public Long getCount() { return this.count; } /** * @return resource */ public String getResource() { return this.resource; } /** * @return ruleId */ public String getRuleId() { return this.ruleId; } public static final class Builder { private Long count; private String resource; private String ruleId; /** *

The number of requests that match the rule.

* * example: *

181174784

*/ public Builder count(Long count) { this.count = count; return this; } /** *

The protected object.

* * example: *

www.aliyundoc.com

*/ public Builder resource(String resource) { this.resource = resource; return this; } /** *

The ID of the rule.

* * example: *

5465465

*/ public Builder ruleId(String ruleId) { this.ruleId = ruleId; return this; } public RuleHitsTopRuleId build() { return new RuleHitsTopRuleId(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy