public class ModifyEnterpriseSecurityGroupRuleRequest extends AbstractModel
Constructor and Description |
---|
ModifyEnterpriseSecurityGroupRuleRequest() |
ModifyEnterpriseSecurityGroupRuleRequest(ModifyEnterpriseSecurityGroupRuleRequest 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 |
---|---|
SecurityGroupRule |
getData()
Get The new rule content you want.
|
Long |
getEnable()
Get `0`: Do not enable; `1`: Enable
|
Long |
getModifyType()
Get Modification type.
|
Long |
getRuleUuid()
Get UUID of the rule, which can be obtained by querying the rule list
|
void |
setData(SecurityGroupRule Data)
Set The new rule content you want.
|
void |
setEnable(Long Enable)
Set `0`: Do not enable; `1`: Enable
|
void |
setModifyType(Long ModifyType)
Set Modification type.
|
void |
setRuleUuid(Long RuleUuid)
Set UUID of the rule, which can be obtained by querying the rule list
|
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 ModifyEnterpriseSecurityGroupRuleRequest()
public ModifyEnterpriseSecurityGroupRuleRequest(ModifyEnterpriseSecurityGroupRuleRequest source)
public Long getRuleUuid()
public void setRuleUuid(Long RuleUuid)
RuleUuid
- UUID of the rule, which can be obtained by querying the rule listpublic Long getModifyType()
public void setModifyType(Long ModifyType)
ModifyType
- Modification type. Values: `0` (Modify rule content), `1` (Toggle on/off a rule) and `2` (Toggle on/off all rules)public SecurityGroupRule getData()
public void setData(SecurityGroupRule Data)
Data
- The new rule content you want. It’s only required when you want to modify the rule content (`ModifyType=0`)public Long getEnable()
public void setEnable(Long Enable)
Enable
- `0`: Do not enable; `1`: EnableCopyright © 2023. All rights reserved.