public class ConfigRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
ConfigRule() |
ConfigRule(ConfigRule 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 |
getAccountGroupId()
Get Account group ID
Note: This field may return null, indicating that no valid value is found.
|
String |
getAccountGroupName()
Get Account group name
Note: This field may return null, indicating that no valid value is found.
|
Annotation |
getAnnotation()
Get ["",""]
Note: This field may return null, indicating that no valid value is found.
|
String |
getCompliancePackId()
Get Compliance package ID
Note: This field may return null, indicating that no valid value is found.
|
String |
getCompliancePackName()
Get Rule name
Note: This field may return null, indicating that no valid value is found.
|
String |
getComplianceResult()
Get Compliance: 'COMPLIANT'
'NON_COMPLIANT'
'NOT_APPLICABLE'
Note: This field may return null, indicating that no valid value is found.
|
String |
getConfigRuleId()
Get Rule ID
Note: This field may return null, indicating that no valid value is found.
|
String |
getConfigRuleInvokedTime()
Get Rule evaluation time
Format: YYYY-MM-DD h:i:s
Note: This field may return null, indicating that no valid value is found.
|
String |
getCreateTime()
Get Creation time
Format: YYYY-MM-DD h:i:s
Note: This field may return null, indicating that no valid value is found.
|
String |
getDescription()
Get Rule description
Note: This field may return null, indicating that no valid value is found.
|
String[] |
getExcludeResourceIdsScope()
Get The rule is invalid for the specified resource ID, meaning it does not evaluate the resource.
|
String |
getIdentifier()
Get Rule identifier
Note: This field may return null, indicating that no valid value is found.
|
String |
getIdentifierType()
Get CUSTOMIZE
Managed rule
Note: This field may return null, indicating that no valid value is found.
|
InputParameter[] |
getInputParameter()
Get Rule parameters
Note: This field may return null, indicating that no valid value is found.
|
String[] |
getLabels()
Get Rule ownership tag
Note: This field may return null, indicating that no valid value is found.
|
InputParameterForManage[] |
getManageInputParameter()
Get Parameter details
Note: This field may return null, indicating that no valid value is found.
|
String[] |
getManageTriggerType()
Get Trigger methods supported by preset rules
Scheduled trigger
Triggered by configuration change
|
String[] |
getRegionsScope()
Get Associated region
Note: This field may return null, indicating that no valid value is found.
|
String[] |
getResourceType()
Get Resource types supported by rule.
|
Long |
getRiskLevel()
Get Rule risk level
1: Low risk
2: Medium risk
3: High risk
Note: This field may return null, indicating that no valid value is found.
|
String |
getRuleName()
Get Name of the rule
Note: This field may return null, indicating that no valid value is found.
|
Long |
getRuleOwnerId()
Get Rule owner user ID
Note: This field may return null, indicating that no valid value is found.
|
String |
getServiceFunction()
Get Function corresponding to rule
Note: This field may return null, indicating that no valid value is found.
|
SourceConditionForManage[] |
getSourceCondition()
Get Rule trigger condition.
|
String |
getStatus()
Get ACTIVE: Enabled
NO_ACTIVE: Disabled
Note: This field may return null, indicating that no valid value is found.
|
Tag[] |
getTagsScope()
Get Associate Tag
Note: This field may return null, indicating that no valid value is found.
|
TriggerType[] |
getTriggerType()
Get Trigger Type
Scheduled trigger
Triggered by configuration change
Note: This field may return null, indicating that no valid value is found.
|
void |
setAccountGroupId(String AccountGroupId)
Set Account group ID
Note: This field may return null, indicating that no valid value is found.
|
void |
setAccountGroupName(String AccountGroupName)
Set Account group name
Note: This field may return null, indicating that no valid value is found.
|
void |
setAnnotation(Annotation Annotation)
Set ["",""]
Note: This field may return null, indicating that no valid value is found.
|
void |
setCompliancePackId(String CompliancePackId)
Set Compliance package ID
Note: This field may return null, indicating that no valid value is found.
|
void |
setCompliancePackName(String CompliancePackName)
Set Rule name
Note: This field may return null, indicating that no valid value is found.
|
void |
setComplianceResult(String ComplianceResult)
Set Compliance: 'COMPLIANT'
'NON_COMPLIANT'
'NOT_APPLICABLE'
Note: This field may return null, indicating that no valid value is found.
|
void |
setConfigRuleId(String ConfigRuleId)
Set Rule ID
Note: This field may return null, indicating that no valid value is found.
|
void |
setConfigRuleInvokedTime(String ConfigRuleInvokedTime)
Set Rule evaluation time
Format: YYYY-MM-DD h:i:s
Note: This field may return null, indicating that no valid value is found.
|
void |
setCreateTime(String CreateTime)
Set Creation time
Format: YYYY-MM-DD h:i:s
Note: This field may return null, indicating that no valid value is found.
|
void |
setDescription(String Description)
Set Rule description
Note: This field may return null, indicating that no valid value is found.
|
void |
setExcludeResourceIdsScope(String[] ExcludeResourceIdsScope)
Set The rule is invalid for the specified resource ID, meaning it does not evaluate the resource.
|
void |
setIdentifier(String Identifier)
Set Rule identifier
Note: This field may return null, indicating that no valid value is found.
|
void |
setIdentifierType(String IdentifierType)
Set CUSTOMIZE
Managed rule
Note: This field may return null, indicating that no valid value is found.
|
void |
setInputParameter(InputParameter[] InputParameter)
Set Rule parameters
Note: This field may return null, indicating that no valid value is found.
|
void |
setLabels(String[] Labels)
Set Rule ownership tag
Note: This field may return null, indicating that no valid value is found.
|
void |
setManageInputParameter(InputParameterForManage[] ManageInputParameter)
Set Parameter details
Note: This field may return null, indicating that no valid value is found.
|
void |
setManageTriggerType(String[] ManageTriggerType)
Set Trigger methods supported by preset rules
Scheduled trigger
Triggered by configuration change
|
void |
setRegionsScope(String[] RegionsScope)
Set Associated region
Note: This field may return null, indicating that no valid value is found.
|
void |
setResourceType(String[] ResourceType)
Set Resource types supported by rule.
|
void |
setRiskLevel(Long RiskLevel)
Set Rule risk level
1: Low risk
2: Medium risk
3: High risk
Note: This field may return null, indicating that no valid value is found.
|
void |
setRuleName(String RuleName)
Set Name of the rule
Note: This field may return null, indicating that no valid value is found.
|
void |
setRuleOwnerId(Long RuleOwnerId)
Set Rule owner user ID
Note: This field may return null, indicating that no valid value is found.
|
void |
setServiceFunction(String ServiceFunction)
Set Function corresponding to rule
Note: This field may return null, indicating that no valid value is found.
|
void |
setSourceCondition(SourceConditionForManage[] SourceCondition)
Set Rule trigger condition.
|
void |
setStatus(String Status)
Set ACTIVE: Enabled
NO_ACTIVE: Disabled
Note: This field may return null, indicating that no valid value is found.
|
void |
setTagsScope(Tag[] TagsScope)
Set Associate Tag
Note: This field may return null, indicating that no valid value is found.
|
void |
setTriggerType(TriggerType[] TriggerType)
Set Trigger Type
Scheduled trigger
Triggered by configuration change
Note: This field may return null, indicating that no valid value is found.
|
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 ConfigRule()
public ConfigRule(ConfigRule source)
public String getIdentifier()
public void setIdentifier(String Identifier)
Identifier
- Rule identifier
Note: This field may return null, indicating that no valid value is found.public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- Name of the rule
Note: This field may return null, indicating that no valid value is found.public InputParameter[] getInputParameter()
public void setInputParameter(InputParameter[] InputParameter)
InputParameter
- Rule parameters
Note: This field may return null, indicating that no valid value is found.public SourceConditionForManage[] getSourceCondition()
public void setSourceCondition(SourceConditionForManage[] SourceCondition)
SourceCondition
- Rule trigger condition.
Note: This field may return null, indicating that no valid value is found.public String[] getResourceType()
public void setResourceType(String[] ResourceType)
ResourceType
- Resource types supported by rule. The rule only applies to specified resource types.
Note: This field may return null, indicating that no valid value is found.public String[] getLabels()
public void setLabels(String[] Labels)
Labels
- Rule ownership tag
Note: This field may return null, indicating that no valid value is found.public Long getRiskLevel()
public void setRiskLevel(Long RiskLevel)
RiskLevel
- Rule risk level
1: Low risk
2: Medium risk
3: High risk
Note: This field may return null, indicating that no valid value is found.public String getServiceFunction()
public void setServiceFunction(String ServiceFunction)
ServiceFunction
- Function corresponding to rule
Note: This field may return null, indicating that no valid value is found.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time
Format: YYYY-MM-DD h:i:s
Note: This field may return null, indicating that no valid value is found.public String getDescription()
public void setDescription(String Description)
Description
- Rule description
Note: This field may return null, indicating that no valid value is found.public String getStatus()
public void setStatus(String Status)
Status
- ACTIVE: Enabled
NO_ACTIVE: Disabled
Note: This field may return null, indicating that no valid value is found.public String getComplianceResult()
public void setComplianceResult(String ComplianceResult)
ComplianceResult
- Compliance: 'COMPLIANT'
'NON_COMPLIANT'
'NOT_APPLICABLE'
Note: This field may return null, indicating that no valid value is found.public Annotation getAnnotation()
public void setAnnotation(Annotation Annotation)
Annotation
- ["",""]
Note: This field may return null, indicating that no valid value is found.public String getConfigRuleInvokedTime()
public void setConfigRuleInvokedTime(String ConfigRuleInvokedTime)
ConfigRuleInvokedTime
- Rule evaluation time
Format: YYYY-MM-DD h:i:s
Note: This field may return null, indicating that no valid value is found.public String getConfigRuleId()
public void setConfigRuleId(String ConfigRuleId)
ConfigRuleId
- Rule ID
Note: This field may return null, indicating that no valid value is found.public String getIdentifierType()
public void setIdentifierType(String IdentifierType)
IdentifierType
- CUSTOMIZE
Managed rule
Note: This field may return null, indicating that no valid value is found.public String getCompliancePackId()
public void setCompliancePackId(String CompliancePackId)
CompliancePackId
- Compliance package ID
Note: This field may return null, indicating that no valid value is found.public TriggerType[] getTriggerType()
public void setTriggerType(TriggerType[] TriggerType)
TriggerType
- Trigger Type
Scheduled trigger
Triggered by configuration change
Note: This field may return null, indicating that no valid value is found.public InputParameterForManage[] getManageInputParameter()
public void setManageInputParameter(InputParameterForManage[] ManageInputParameter)
ManageInputParameter
- Parameter details
Note: This field may return null, indicating that no valid value is found.public String getCompliancePackName()
public void setCompliancePackName(String CompliancePackName)
CompliancePackName
- Rule name
Note: This field may return null, indicating that no valid value is found.public String[] getRegionsScope()
public void setRegionsScope(String[] RegionsScope)
RegionsScope
- Associated region
Note: This field may return null, indicating that no valid value is found.public Tag[] getTagsScope()
public void setTagsScope(Tag[] TagsScope)
TagsScope
- Associate Tag
Note: This field may return null, indicating that no valid value is found.public String[] getExcludeResourceIdsScope()
public void setExcludeResourceIdsScope(String[] ExcludeResourceIdsScope)
ExcludeResourceIdsScope
- The rule is invalid for the specified resource ID, meaning it does not evaluate the resource.
Note: This field may return null, indicating that no valid value is found.public String getAccountGroupId()
public void setAccountGroupId(String AccountGroupId)
AccountGroupId
- Account group ID
Note: This field may return null, indicating that no valid value is found.public String getAccountGroupName()
public void setAccountGroupName(String AccountGroupName)
AccountGroupName
- Account group name
Note: This field may return null, indicating that no valid value is found.public Long getRuleOwnerId()
public void setRuleOwnerId(Long RuleOwnerId)
RuleOwnerId
- Rule owner user ID
Note: This field may return null, indicating that no valid value is found.public String[] getManageTriggerType()
public void setManageTriggerType(String[] ManageTriggerType)
ManageTriggerType
- Trigger methods supported by preset rules
Scheduled trigger
Triggered by configuration changeCopyright © 2025. All rights reserved.