public static class DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
act
The action triggered if the rule is matched.
|
Integer |
count
The number of requests that are allowed from a single IP address.
|
Integer |
interval
The check interval.
|
String |
mode
The match mode.
|
String |
name
The name of the rule.
|
Integer |
ttl
The validity period.
|
String |
uri
The check path.
|
| 构造器和说明 |
|---|
DescribeWebCCRulesResponseBodyWebCCRules() |
@NameInMap(value="Act") public String act
The action triggered if the rule is matched. Valid values:
close
@NameInMap(value="Count") public Integer count
The number of requests that are allowed from a single IP address. Valid values: 2 to 2000.
example:3
@NameInMap(value="Interval") public Integer interval
The check interval. Valid values: 5 to 10800. Unit: seconds.
example:5
@NameInMap(value="Mode") public String mode
The match mode. Valid values:
prefix
@NameInMap(value="Name") public String name
The name of the rule.
example:wq
@NameInMap(value="Ttl") public Integer ttl
The validity period. Valid values: 1 to 1440. Unit: minutes.
example:60
@NameInMap(value="Uri") public String uri
The check path.
example:/hello
public static DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules build(Map<String,?> map) throws Exception
Exceptionpublic DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setAct(String act)
public String getAct()
public DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setCount(Integer count)
public Integer getCount()
public DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setInterval(Integer interval)
public Integer getInterval()
public DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setMode(String mode)
public String getMode()
public DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setName(String name)
public String getName()
public DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setTtl(Integer ttl)
public Integer getTtl()
public DescribeWebCCRulesResponseBody.DescribeWebCCRulesResponseBodyWebCCRules setUri(String uri)
public String getUri()
Copyright © 2026. All rights reserved.