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