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 Action: `drop` (block), `trans` (allow), `monitor` (observe)
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMatchContent()
Get Matching content
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMatchFrom()
Get Matches by IP or region.
|
Long |
getRuleID()
Get Rule ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUpdateTime()
Get Update time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAction(String Action)
Set Action: `drop` (block), `trans` (allow), `monitor` (observe)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMatchContent(String MatchContent)
Set Matching content
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMatchFrom(String MatchFrom)
Set Matches by IP or region.
|
void |
setRuleID(Long RuleID)
Set Rule ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Update time
Note: This field may return null, indicating that no valid values can be obtained.
|
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 String getAction()
public void setAction(String Action)
Action
- Action: `drop` (block), `trans` (allow), `monitor` (observe)
Note: This field may return null, indicating that no valid values can be obtained.public String getMatchFrom()
public void setMatchFrom(String MatchFrom)
MatchFrom
- Matches by IP or region. Values: `ip` and `area`.
Note: This field may return null, indicating that no valid values can be obtained.public String getMatchContent()
public void setMatchContent(String MatchContent)
MatchContent
- Matching content
Note: This field may return null, indicating that no valid values can be obtained.public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- Rule ID
Note: This field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.