@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigRule extends Object implements Serializable, Cloneable, StructuredPojo
Config rules evaluate the configuration settings of your Amazon Web Services resources. A rule can run when Config detects a configuration change to an Amazon Web Services resource or at a periodic frequency that you choose (for example, every 24 hours). There are two types of rules: Config Managed Rules and Config Custom Rules.
Config Managed Rules are predefined, customizable rules created by Config. For a list of managed rules, see List of Config Managed Rules.
Config Custom Rules are rules that you create from scratch. There are two ways to create Config custom rules: with Lambda functions ( Lambda Developer Guide) and with Guard (Guard GitHub Repository), a policy-as-code language. Config custom rules created with Lambda are called Config Custom Lambda Rules and Config custom rules created with Guard are called Config Custom Policy Rules.
For more information about developing and using Config rules, see Evaluating Resource with Config Rules in the Config Developer Guide.
You can use the Amazon Web Services CLI and Amazon Web Services SDKs if you want to create a rule that triggers evaluations for your resources when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
| Constructor and Description | 
|---|
| ConfigRule() | 
| Modifier and Type | Method and Description | 
|---|---|
| ConfigRule | clone() | 
| boolean | equals(Object obj) | 
| String | getConfigRuleArn()
 The Amazon Resource Name (ARN) of the Config rule. | 
| String | getConfigRuleId()
 The ID of the Config rule. | 
| String | getConfigRuleName()
 The name that you assign to the Config rule. | 
| String | getConfigRuleState()
 Indicates whether the Config rule is active or is currently being deleted by Config. | 
| String | getCreatedBy()
 Service principal name of the service that created the rule. | 
| String | getDescription()
 The description that you provide for the Config rule. | 
| List<EvaluationModeConfiguration> | getEvaluationModes()
 The modes the Config rule can be evaluated in. | 
| String | getInputParameters()
 A string, in JSON format, that is passed to the Config rule Lambda function. | 
| String | getMaximumExecutionFrequency()
 The maximum frequency with which Config runs evaluations for a rule. | 
| Scope | getScope()
 Defines which resources can trigger an evaluation for the rule. | 
| Source | getSource()
 Provides the rule owner ( Amazon Web Servicesfor managed rules,CUSTOM_POLICYfor
 Custom Policy rules, andCUSTOM_LAMBDAfor Custom Lambda rules), the rule identifier, and the
 notifications that cause the function to evaluate your Amazon Web Services resources. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setConfigRuleArn(String configRuleArn)
 The Amazon Resource Name (ARN) of the Config rule. | 
| void | setConfigRuleId(String configRuleId)
 The ID of the Config rule. | 
| void | setConfigRuleName(String configRuleName)
 The name that you assign to the Config rule. | 
| void | setConfigRuleState(ConfigRuleState configRuleState)
 Indicates whether the Config rule is active or is currently being deleted by Config. | 
| void | setConfigRuleState(String configRuleState)
 Indicates whether the Config rule is active or is currently being deleted by Config. | 
| void | setCreatedBy(String createdBy)
 Service principal name of the service that created the rule. | 
| void | setDescription(String description)
 The description that you provide for the Config rule. | 
| void | setEvaluationModes(Collection<EvaluationModeConfiguration> evaluationModes)
 The modes the Config rule can be evaluated in. | 
| void | setInputParameters(String inputParameters)
 A string, in JSON format, that is passed to the Config rule Lambda function. | 
| void | setMaximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. | 
| void | setMaximumExecutionFrequency(String maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. | 
| void | setScope(Scope scope)
 Defines which resources can trigger an evaluation for the rule. | 
| void | setSource(Source source)
 Provides the rule owner ( Amazon Web Servicesfor managed rules,CUSTOM_POLICYfor
 Custom Policy rules, andCUSTOM_LAMBDAfor Custom Lambda rules), the rule identifier, and the
 notifications that cause the function to evaluate your Amazon Web Services resources. | 
| String | toString()Returns a string representation of this object. | 
| ConfigRule | withConfigRuleArn(String configRuleArn)
 The Amazon Resource Name (ARN) of the Config rule. | 
| ConfigRule | withConfigRuleId(String configRuleId)
 The ID of the Config rule. | 
| ConfigRule | withConfigRuleName(String configRuleName)
 The name that you assign to the Config rule. | 
| ConfigRule | withConfigRuleState(ConfigRuleState configRuleState)
 Indicates whether the Config rule is active or is currently being deleted by Config. | 
| ConfigRule | withConfigRuleState(String configRuleState)
 Indicates whether the Config rule is active or is currently being deleted by Config. | 
| ConfigRule | withCreatedBy(String createdBy)
 Service principal name of the service that created the rule. | 
| ConfigRule | withDescription(String description)
 The description that you provide for the Config rule. | 
| ConfigRule | withEvaluationModes(Collection<EvaluationModeConfiguration> evaluationModes)
 The modes the Config rule can be evaluated in. | 
| ConfigRule | withEvaluationModes(EvaluationModeConfiguration... evaluationModes)
 The modes the Config rule can be evaluated in. | 
| ConfigRule | withInputParameters(String inputParameters)
 A string, in JSON format, that is passed to the Config rule Lambda function. | 
| ConfigRule | withMaximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. | 
| ConfigRule | withMaximumExecutionFrequency(String maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. | 
| ConfigRule | withScope(Scope scope)
 Defines which resources can trigger an evaluation for the rule. | 
| ConfigRule | withSource(Source source)
 Provides the rule owner ( Amazon Web Servicesfor managed rules,CUSTOM_POLICYfor
 Custom Policy rules, andCUSTOM_LAMBDAfor Custom Lambda rules), the rule identifier, and the
 notifications that cause the function to evaluate your Amazon Web Services resources. | 
public void setConfigRuleName(String configRuleName)
The name that you assign to the Config rule. The name is required if you are adding a new rule.
configRuleName - The name that you assign to the Config rule. The name is required if you are adding a new rule.public String getConfigRuleName()
The name that you assign to the Config rule. The name is required if you are adding a new rule.
public ConfigRule withConfigRuleName(String configRuleName)
The name that you assign to the Config rule. The name is required if you are adding a new rule.
configRuleName - The name that you assign to the Config rule. The name is required if you are adding a new rule.public void setConfigRuleArn(String configRuleArn)
The Amazon Resource Name (ARN) of the Config rule.
configRuleArn - The Amazon Resource Name (ARN) of the Config rule.public String getConfigRuleArn()
The Amazon Resource Name (ARN) of the Config rule.
public ConfigRule withConfigRuleArn(String configRuleArn)
The Amazon Resource Name (ARN) of the Config rule.
configRuleArn - The Amazon Resource Name (ARN) of the Config rule.public void setConfigRuleId(String configRuleId)
The ID of the Config rule.
configRuleId - The ID of the Config rule.public String getConfigRuleId()
The ID of the Config rule.
public ConfigRule withConfigRuleId(String configRuleId)
The ID of the Config rule.
configRuleId - The ID of the Config rule.public void setDescription(String description)
The description that you provide for the Config rule.
description - The description that you provide for the Config rule.public String getDescription()
The description that you provide for the Config rule.
public ConfigRule withDescription(String description)
The description that you provide for the Config rule.
description - The description that you provide for the Config rule.public void setScope(Scope scope)
Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
The scope can be empty.
scope - Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource
        types, a combination of one resource type and one resource ID, or a combination of a tag key and value.
        Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not
        specify a scope, evaluations are triggered when any resource in the recording group changes. The scope can be empty.
public Scope getScope()
Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
The scope can be empty.
The scope can be empty.
public ConfigRule withScope(Scope scope)
Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
The scope can be empty.
scope - Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource
        types, a combination of one resource type and one resource ID, or a combination of a tag key and value.
        Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not
        specify a scope, evaluations are triggered when any resource in the recording group changes. The scope can be empty.
public void setSource(Source source)
 Provides the rule owner (Amazon Web Services for managed rules, CUSTOM_POLICY for
 Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and the
 notifications that cause the function to evaluate your Amazon Web Services resources.
 
source - Provides the rule owner (Amazon Web Services for managed rules, CUSTOM_POLICY
        for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and
        the notifications that cause the function to evaluate your Amazon Web Services resources.public Source getSource()
 Provides the rule owner (Amazon Web Services for managed rules, CUSTOM_POLICY for
 Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and the
 notifications that cause the function to evaluate your Amazon Web Services resources.
 
Amazon Web Services for managed rules, CUSTOM_POLICY
         for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier,
         and the notifications that cause the function to evaluate your Amazon Web Services resources.public ConfigRule withSource(Source source)
 Provides the rule owner (Amazon Web Services for managed rules, CUSTOM_POLICY for
 Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and the
 notifications that cause the function to evaluate your Amazon Web Services resources.
 
source - Provides the rule owner (Amazon Web Services for managed rules, CUSTOM_POLICY
        for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and
        the notifications that cause the function to evaluate your Amazon Web Services resources.public void setInputParameters(String inputParameters)
A string, in JSON format, that is passed to the Config rule Lambda function.
inputParameters - A string, in JSON format, that is passed to the Config rule Lambda function.public String getInputParameters()
A string, in JSON format, that is passed to the Config rule Lambda function.
public ConfigRule withInputParameters(String inputParameters)
A string, in JSON format, that is passed to the Config rule Lambda function.
inputParameters - A string, in JSON format, that is passed to the Config rule Lambda function.public void setMaximumExecutionFrequency(String maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
 MaximumExecutionFrequency when:
 
This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
 By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
 value for the MaximumExecutionFrequency parameter.
 
maximumExecutionFrequency - The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
        MaximumExecutionFrequency when:
        This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
        By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
        valid value for the MaximumExecutionFrequency parameter.
        
MaximumExecutionFrequencypublic String getMaximumExecutionFrequency()
 The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
 MaximumExecutionFrequency when:
 
This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
 By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
 value for the MaximumExecutionFrequency parameter.
 
MaximumExecutionFrequency when:
         This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
         By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify
         a valid value for the MaximumExecutionFrequency parameter.
         
MaximumExecutionFrequencypublic ConfigRule withMaximumExecutionFrequency(String maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
 MaximumExecutionFrequency when:
 
This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
 By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
 value for the MaximumExecutionFrequency parameter.
 
maximumExecutionFrequency - The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
        MaximumExecutionFrequency when:
        This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
        By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
        valid value for the MaximumExecutionFrequency parameter.
        
MaximumExecutionFrequencypublic void setMaximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
 MaximumExecutionFrequency when:
 
This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
 By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
 value for the MaximumExecutionFrequency parameter.
 
maximumExecutionFrequency - The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
        MaximumExecutionFrequency when:
        This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
        By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
        valid value for the MaximumExecutionFrequency parameter.
        
MaximumExecutionFrequencypublic ConfigRule withMaximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
 The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
 MaximumExecutionFrequency when:
 
This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
 By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
 value for the MaximumExecutionFrequency parameter.
 
maximumExecutionFrequency - The maximum frequency with which Config runs evaluations for a rule. You can specify a value for
        MaximumExecutionFrequency when:
        This is for an Config managed rule that is triggered at a periodic frequency.
Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
        By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a
        valid value for the MaximumExecutionFrequency parameter.
        
MaximumExecutionFrequencypublic void setConfigRuleState(String configRuleState)
Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate the evaluation status for the Config rule.
 Config sets the state of the rule to EVALUATING temporarily after you use the
 StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
 
 Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
 DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
 
 Config temporarily sets the state of a rule to DELETING after you use the
 DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all of its
 evaluations are erased and are no longer available.
 
configRuleState - Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate
        the evaluation status for the Config rule.
        
        Config sets the state of the rule to EVALUATING temporarily after you use the
        StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
        
        Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
        DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
        
        Config temporarily sets the state of a rule to DELETING after you use the
        DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all
        of its evaluations are erased and are no longer available.
ConfigRuleStatepublic String getConfigRuleState()
Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate the evaluation status for the Config rule.
 Config sets the state of the rule to EVALUATING temporarily after you use the
 StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
 
 Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
 DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
 
 Config temporarily sets the state of a rule to DELETING after you use the
 DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all of its
 evaluations are erased and are no longer available.
 
         Config sets the state of the rule to EVALUATING temporarily after you use the
         StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
         
         Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
         DeleteEvaluationResults request to delete the current evaluation results for the Config
         rule.
         
         Config temporarily sets the state of a rule to DELETING after you use the
         DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all
         of its evaluations are erased and are no longer available.
ConfigRuleStatepublic ConfigRule withConfigRuleState(String configRuleState)
Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate the evaluation status for the Config rule.
 Config sets the state of the rule to EVALUATING temporarily after you use the
 StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
 
 Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
 DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
 
 Config temporarily sets the state of a rule to DELETING after you use the
 DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all of its
 evaluations are erased and are no longer available.
 
configRuleState - Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate
        the evaluation status for the Config rule.
        
        Config sets the state of the rule to EVALUATING temporarily after you use the
        StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
        
        Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
        DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
        
        Config temporarily sets the state of a rule to DELETING after you use the
        DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all
        of its evaluations are erased and are no longer available.
ConfigRuleStatepublic void setConfigRuleState(ConfigRuleState configRuleState)
Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate the evaluation status for the Config rule.
 Config sets the state of the rule to EVALUATING temporarily after you use the
 StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
 
 Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
 DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
 
 Config temporarily sets the state of a rule to DELETING after you use the
 DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all of its
 evaluations are erased and are no longer available.
 
configRuleState - Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate
        the evaluation status for the Config rule.
        
        Config sets the state of the rule to EVALUATING temporarily after you use the
        StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
        
        Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
        DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
        
        Config temporarily sets the state of a rule to DELETING after you use the
        DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all
        of its evaluations are erased and are no longer available.
ConfigRuleStatepublic ConfigRule withConfigRuleState(ConfigRuleState configRuleState)
Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate the evaluation status for the Config rule.
 Config sets the state of the rule to EVALUATING temporarily after you use the
 StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
 
 Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
 DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
 
 Config temporarily sets the state of a rule to DELETING after you use the
 DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all of its
 evaluations are erased and are no longer available.
 
configRuleState - Indicates whether the Config rule is active or is currently being deleted by Config. It can also indicate
        the evaluation status for the Config rule.
        
        Config sets the state of the rule to EVALUATING temporarily after you use the
        StartConfigRulesEvaluation request to evaluate your resources against the Config rule.
        
        Config sets the state of the rule to DELETING_RESULTS temporarily after you use the
        DeleteEvaluationResults request to delete the current evaluation results for the Config rule.
        
        Config temporarily sets the state of a rule to DELETING after you use the
        DeleteConfigRule request to delete the rule. After Config deletes the rule, the rule and all
        of its evaluations are erased and are no longer available.
ConfigRuleStatepublic void setCreatedBy(String createdBy)
Service principal name of the service that created the rule.
The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
createdBy - Service principal name of the service that created the rule. The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
public String getCreatedBy()
Service principal name of the service that created the rule.
The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
public ConfigRule withCreatedBy(String createdBy)
Service principal name of the service that created the rule.
The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
createdBy - Service principal name of the service that created the rule. The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
public List<EvaluationModeConfiguration> getEvaluationModes()
The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
public void setEvaluationModes(Collection<EvaluationModeConfiguration> evaluationModes)
The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
evaluationModes - The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the
        value is Detective evaluation mode only.public ConfigRule withEvaluationModes(EvaluationModeConfiguration... evaluationModes)
The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
 NOTE: This method appends the values to the existing list (if any). Use
 setEvaluationModes(java.util.Collection) or withEvaluationModes(java.util.Collection) if you
 want to override the existing values.
 
evaluationModes - The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the
        value is Detective evaluation mode only.public ConfigRule withEvaluationModes(Collection<EvaluationModeConfiguration> evaluationModes)
The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
evaluationModes - The modes the Config rule can be evaluated in. The valid values are distinct objects. By default, the
        value is Detective evaluation mode only.public String toString()
toString in class ObjectObject.toString()public ConfigRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.