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