Class CfnDashboard.InsightConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.InsightConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.InsightConfigurationProperty>
- Enclosing interface:
CfnDashboard.InsightConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.InsightConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.InsightConfigurationProperty>
A builder for
CfnDashboard.InsightConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computations(List<? extends Object> computations) Sets the value ofCfnDashboard.InsightConfigurationProperty.getComputations()computations(IResolvable computations) Sets the value ofCfnDashboard.InsightConfigurationProperty.getComputations()customNarrative(IResolvable customNarrative) Sets the value ofCfnDashboard.InsightConfigurationProperty.getCustomNarrative()customNarrative(CfnDashboard.CustomNarrativeOptionsProperty customNarrative) Sets the value ofCfnDashboard.InsightConfigurationProperty.getCustomNarrative()interactions(IResolvable interactions) Sets the value ofCfnDashboard.InsightConfigurationProperty.getInteractions()interactions(CfnDashboard.VisualInteractionOptionsProperty interactions) Sets the value ofCfnDashboard.InsightConfigurationProperty.getInteractions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computations
@Stability(Stable) public CfnDashboard.InsightConfigurationProperty.Builder computations(IResolvable computations) Sets the value ofCfnDashboard.InsightConfigurationProperty.getComputations()- Parameters:
computations- The computations configurations of the insight visual.- Returns:
this
-
computations
@Stability(Stable) public CfnDashboard.InsightConfigurationProperty.Builder computations(List<? extends Object> computations) Sets the value ofCfnDashboard.InsightConfigurationProperty.getComputations()- Parameters:
computations- The computations configurations of the insight visual.- Returns:
this
-
customNarrative
@Stability(Stable) public CfnDashboard.InsightConfigurationProperty.Builder customNarrative(IResolvable customNarrative) Sets the value ofCfnDashboard.InsightConfigurationProperty.getCustomNarrative()- Parameters:
customNarrative- The custom narrative of the insight visual.- Returns:
this
-
customNarrative
@Stability(Stable) public CfnDashboard.InsightConfigurationProperty.Builder customNarrative(CfnDashboard.CustomNarrativeOptionsProperty customNarrative) Sets the value ofCfnDashboard.InsightConfigurationProperty.getCustomNarrative()- Parameters:
customNarrative- The custom narrative of the insight visual.- Returns:
this
-
interactions
@Stability(Stable) public CfnDashboard.InsightConfigurationProperty.Builder interactions(IResolvable interactions) Sets the value ofCfnDashboard.InsightConfigurationProperty.getInteractions()- Parameters:
interactions- The general visual interactions setup for a visual.- Returns:
this
-
interactions
@Stability(Stable) public CfnDashboard.InsightConfigurationProperty.Builder interactions(CfnDashboard.VisualInteractionOptionsProperty interactions) Sets the value ofCfnDashboard.InsightConfigurationProperty.getInteractions()- Parameters:
interactions- The general visual interactions setup for a visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.InsightConfigurationProperty>- Returns:
- a new instance of
CfnDashboard.InsightConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-