com.aliyun.waf_openapi20211001.models.DescribeRuleHitsTopResourceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of waf_openapi20211001 Show documentation
Show all versions of waf_openapi20211001 Show documentation
Alibaba Cloud waf-openapi (20211001) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.waf_openapi20211001.models;
import com.aliyun.tea.*;
public class DescribeRuleHitsTopResourceResponseBody extends TeaModel {
/**
* The ID of the request.
*
* example:
* ADA11BC7-AA95-5C31-9095-5802C02ED1DC
*/
@NameInMap("RequestId")
public String requestId;
/**
* The array of the top 10 protected objects that trigger protection rules.
*/
@NameInMap("RuleHitsTopResource")
public java.util.List ruleHitsTopResource;
public static DescribeRuleHitsTopResourceResponseBody build(java.util.Map map) throws Exception {
DescribeRuleHitsTopResourceResponseBody self = new DescribeRuleHitsTopResourceResponseBody();
return TeaModel.build(map, self);
}
public DescribeRuleHitsTopResourceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeRuleHitsTopResourceResponseBody setRuleHitsTopResource(java.util.List ruleHitsTopResource) {
this.ruleHitsTopResource = ruleHitsTopResource;
return this;
}
public java.util.List getRuleHitsTopResource() {
return this.ruleHitsTopResource;
}
public static class DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource extends TeaModel {
/**
* The number of requests that match protection rules.
*
* example:
* 14219
*/
@NameInMap("Count")
public Long count;
/**
* The protected object.
*
* example:
*
*/
@NameInMap("Resource")
public String resource;
public static DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource build(java.util.Map map) throws Exception {
DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource self = new DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource();
return TeaModel.build(map, self);
}
public DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource setCount(Long count) {
this.count = count;
return this;
}
public Long getCount() {
return this.count;
}
public DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource setResource(String resource) {
this.resource = resource;
return this;
}
public String getResource() {
return this.resource;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy