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