public class AccessControlRuleInfo extends AbstractModel
| Constructor and Description | 
|---|
| AccessControlRuleInfo() | 
| AccessControlRuleInfo(AccessControlRuleInfo 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 | 
|---|---|
| AccessControlChildRuleInfo[] | getChildRules()Get Array of sub-policies of the user policy | 
| String[] | getImageIds()Get IDs of associated images. | 
| Boolean | getIsDefault()Get Whether it is the default preset policy | 
| Boolean | getIsEnable()Get Switch. | 
| String | getRuleId()Get Policy ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getRuleName()Get Policy name | 
| AccessControlSystemChildRuleInfo[] | getSystemChildRules()Get Array of sub-policies of the preset policy | 
| void | setChildRules(AccessControlChildRuleInfo[] ChildRules)Set Array of sub-policies of the user policy | 
| void | setImageIds(String[] ImageIds)Set IDs of associated images. | 
| void | setIsDefault(Boolean IsDefault)Set Whether it is the default preset policy | 
| void | setIsEnable(Boolean IsEnable)Set Switch. | 
| void | setRuleId(String RuleId)Set Policy ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRuleName(String RuleName)Set Policy name | 
| void | setSystemChildRules(AccessControlSystemChildRuleInfo[] SystemChildRules)Set Array of sub-policies of the preset policy | 
| 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, toJsonStringpublic AccessControlRuleInfo()
public AccessControlRuleInfo(AccessControlRuleInfo source)
public Boolean getIsEnable()
public void setIsEnable(Boolean IsEnable)
IsEnable - Switch. Valid values: `true` (on); `false` (off).public String[] getImageIds()
public void setImageIds(String[] ImageIds)
ImageIds - IDs of associated images. An empty array indicates all images.public AccessControlChildRuleInfo[] getChildRules()
public void setChildRules(AccessControlChildRuleInfo[] ChildRules)
ChildRules - Array of sub-policies of the user policypublic String getRuleName()
public void setRuleName(String RuleName)
RuleName - Policy namepublic String getRuleId()
public void setRuleId(String RuleId)
RuleId - Policy ID
Note: This field may return null, indicating that no valid values can be obtained.public AccessControlSystemChildRuleInfo[] getSystemChildRules()
public void setSystemChildRules(AccessControlSystemChildRuleInfo[] SystemChildRules)
SystemChildRules - Array of sub-policies of the preset policypublic Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault - Whether it is the default preset policyCopyright © 2023. All rights reserved.