public class IpTableRule extends AbstractModel
Constructor and Description |
---|
IpTableRule() |
IpTableRule(IpTableRule source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get 处置动作。
1.
|
String |
getMatchContent()
Get 匹配内容。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMatchFrom()
Get 类型匹配。
1.
|
Long |
getRuleID()
Get 规则ID。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getUpdateTime()
Get 更新时间。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAction(String Action)
Set 处置动作。
1.
|
void |
setMatchContent(String MatchContent)
Set 匹配内容。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMatchFrom(String MatchFrom)
Set 类型匹配。
1.
|
void |
setRuleID(Long RuleID)
Set 规则ID。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setUpdateTime(String UpdateTime)
Set 更新时间。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public IpTableRule()
public IpTableRule(IpTableRule source)
public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- 规则ID。
注意:此字段可能返回 null,表示取不到有效值。public String getAction()
public void setAction(String Action)
Action
- 处置动作。
1. drop 拦截
2. trans放行
3. monitor观察
注意:此字段可能返回 null,表示取不到有效值。public String getMatchFrom()
public void setMatchFrom(String MatchFrom)
MatchFrom
- 类型匹配。
1. ip 根据ip
2. area 根据区域
3. ua 根据User-Agent
4. referer 根据Referer
注意:此字段可能返回 null,表示取不到有效值。public String getMatchContent()
public void setMatchContent(String MatchContent)
MatchContent
- 匹配内容。
注意:此字段可能返回 null,表示取不到有效值。public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- 更新时间。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.