Class AutomationRuleReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.securityhub.AutomationRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AutomationRuleReference>
- Enclosing interface:
AutomationRuleReference
@Stability(Stable)
public static final class AutomationRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<AutomationRuleReference>
A builder for
AutomationRuleReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAutomationRuleReference.getRuleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleArn
Sets the value ofAutomationRuleReference.getRuleArn()- Parameters:
ruleArn- The RuleArn of the AutomationRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AutomationRuleReference>- Returns:
- a new instance of
AutomationRuleReference - Throws:
NullPointerException- if any required attribute was not provided
-