Class ConfigRuleReference.Builder
java.lang.Object
software.amazon.awscdk.services.config.ConfigRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigRuleReference>
- Enclosing interface:
ConfigRuleReference
@Stability(Stable)
public static final class ConfigRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigRuleReference>
A builder for
ConfigRuleReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configRuleArn
(String configRuleArn) Sets the value ofConfigRuleReference.getConfigRuleArn()
configRuleName
(String configRuleName) Sets the value ofConfigRuleReference.getConfigRuleName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configRuleArn
Sets the value ofConfigRuleReference.getConfigRuleArn()
- Parameters:
configRuleArn
- The ARN of the ConfigRule resource. This parameter is required.- Returns:
this
-
configRuleName
Sets the value ofConfigRuleReference.getConfigRuleName()
- Parameters:
configRuleName
- The ConfigRuleName of the ConfigRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ConfigRuleReference>
- Returns:
- a new instance of
ConfigRuleReference
- Throws:
NullPointerException
- if any required attribute was not provided
-