public class ModifyBlockIgnoreListRequest extends AbstractModel
Constructor and Description |
---|
ModifyBlockIgnoreListRequest() |
ModifyBlockIgnoreListRequest(ModifyBlockIgnoreListRequest 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 |
getEndTime()
Get End time of the period in the format of yyyy-MM-dd HH:mm:ss.
|
IocListData[] |
getIOC()
Get Either IP or Domain is required
|
String |
getIocAction()
Get Optional values: delete, edit, and add
|
Long |
getRuleType()
Get Type of the rule.
|
String |
getStartTime()
Get Time format: yyyy-MM-dd HH:mm:ss.
|
void |
setEndTime(String EndTime)
Set End time of the period in the format of yyyy-MM-dd HH:mm:ss.
|
void |
setIOC(IocListData[] IOC)
Set Either IP or Domain is required
|
void |
setIocAction(String IocAction)
Set Optional values: delete, edit, and add
|
void |
setRuleType(Long RuleType)
Set Type of the rule.
|
void |
setStartTime(String StartTime)
Set Time format: yyyy-MM-dd HH:mm:ss.
|
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 ModifyBlockIgnoreListRequest()
public ModifyBlockIgnoreListRequest(ModifyBlockIgnoreListRequest source)
public Long getRuleType()
public void setRuleType(Long RuleType)
RuleType
- Type of the rule. Values: `1` (Blocklist); `2` (Allowlist)public IocListData[] getIOC()
public void setIOC(IocListData[] IOC)
IOC
- Either IP or Domain is requiredpublic String getIocAction()
public void setIocAction(String IocAction)
IocAction
- Optional values: delete, edit, and addpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or addpublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of the period in the format of yyyy-MM-dd HH:mm:ss. It must be later than both the start time and the current time. It’s required when `IocAction` is `edit` or `add`.Copyright © 2023. All rights reserved.