Class CfnConfigRule.EvaluationModeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConfigRule.EvaluationModeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigRule.EvaluationModeConfigurationProperty>
- Enclosing interface:
CfnConfigRule.EvaluationModeConfigurationProperty
@Stability(Stable)
public static final class CfnConfigRule.EvaluationModeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigRule.EvaluationModeConfigurationProperty>
A builder for
CfnConfigRule.EvaluationModeConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnConfigRule.EvaluationModeConfigurationProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
@Stability(Stable) public CfnConfigRule.EvaluationModeConfigurationProperty.Builder mode(String mode) Sets the value ofCfnConfigRule.EvaluationModeConfigurationProperty.getMode()
- Parameters:
mode
- The mode of an evaluation. The valid values are Detective or Proactive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigRule.EvaluationModeConfigurationProperty>
- Returns:
- a new instance of
CfnConfigRule.EvaluationModeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-