public class CreateRuleRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateRuleRequest() |
CreateRuleRequest(CreateRuleRequest 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 |
getRuleName()
Get The rule name (1 to 255 characters)
|
Rule[] |
getRules()
Get The rule content.
|
String |
getStatus()
Get Rule status.
|
String[] |
getTags()
Get Tag of the rule.
|
String |
getZoneId()
Get ID of the site
|
void |
setRuleName(String RuleName)
Set The rule name (1 to 255 characters)
|
void |
setRules(Rule[] Rules)
Set The rule content.
|
void |
setStatus(String Status)
Set Rule status.
|
void |
setTags(String[] Tags)
Set Tag of the rule.
|
void |
setZoneId(String ZoneId)
Set ID of the site
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateRuleRequest()
public CreateRuleRequest(CreateRuleRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the sitepublic String getRuleName()
public void setRuleName(String RuleName)
RuleName
- The rule name (1 to 255 characters)public String getStatus()
public void setStatus(String Status)
Status
- Rule status. Values:
public Rule[] getRules()
public void setRules(Rule[] Rules)
Rules
- The rule content.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Tag of the rule.Copyright © 2024. All rights reserved.