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