public class CreateRuleRequest extends AbstractModel
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 |
getRuleDesc()
Get Rule description.
|
String |
getRuleName()
Get Rule name.
|
String |
getRuleScript()
Get Rule script.
|
StringKV[] |
getTags()
Get Tag.
|
void |
setRuleDesc(String RuleDesc)
Set Rule description.
|
void |
setRuleName(String RuleName)
Set Rule name.
|
void |
setRuleScript(String RuleScript)
Set Rule script.
|
void |
setTags(StringKV[] Tags)
Set Tag.
|
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 CreateRuleRequest()
public CreateRuleRequest(CreateRuleRequest source)
public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- Rule name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.public String getRuleScript()
public void setRuleScript(String RuleScript)
RuleScript
- Rule script. Up to 65535 bytes are allowed.public String getRuleDesc()
public void setRuleDesc(String RuleDesc)
RuleDesc
- Rule description. Up to 1024 bytes are allowed.public StringKV[] getTags()
public void setTags(StringKV[] Tags)
Tags
- Tag. It is an array of key-value structure. Up to 50 tags can be associated.Copyright © 2023. All rights reserved.