Class CfnAnalysis.VisualCustomActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.VisualCustomActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.VisualCustomActionProperty>
- Enclosing interface:
CfnAnalysis.VisualCustomActionProperty
@Stability(Stable)
public static final class CfnAnalysis.VisualCustomActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.VisualCustomActionProperty>
A builder for
CfnAnalysis.VisualCustomActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionOperations(List<? extends Object> actionOperations) Sets the value ofCfnAnalysis.VisualCustomActionProperty.getActionOperations()actionOperations(IResolvable actionOperations) Sets the value ofCfnAnalysis.VisualCustomActionProperty.getActionOperations()build()Builds the configured instance.customActionId(String customActionId) Sets the value ofCfnAnalysis.VisualCustomActionProperty.getCustomActionId()Sets the value ofCfnAnalysis.VisualCustomActionProperty.getName()Sets the value ofCfnAnalysis.VisualCustomActionProperty.getStatus()Sets the value ofCfnAnalysis.VisualCustomActionProperty.getTrigger()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionOperations
@Stability(Stable) public CfnAnalysis.VisualCustomActionProperty.Builder actionOperations(IResolvable actionOperations) Sets the value ofCfnAnalysis.VisualCustomActionProperty.getActionOperations()- Parameters:
actionOperations- A list ofVisualCustomActionOperations. This parameter is required. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.- Returns:
this
-
actionOperations
@Stability(Stable) public CfnAnalysis.VisualCustomActionProperty.Builder actionOperations(List<? extends Object> actionOperations) Sets the value ofCfnAnalysis.VisualCustomActionProperty.getActionOperations()- Parameters:
actionOperations- A list ofVisualCustomActionOperations. This parameter is required. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.- Returns:
this
-
customActionId
@Stability(Stable) public CfnAnalysis.VisualCustomActionProperty.Builder customActionId(String customActionId) Sets the value ofCfnAnalysis.VisualCustomActionProperty.getCustomActionId()- Parameters:
customActionId- The ID of theVisualCustomAction. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAnalysis.VisualCustomActionProperty.getName()- Parameters:
name- The name of theVisualCustomAction. This parameter is required.- Returns:
this
-
trigger
Sets the value ofCfnAnalysis.VisualCustomActionProperty.getTrigger()- Parameters:
trigger- The trigger of theVisualCustomAction. This parameter is required. Valid values are defined as follows:DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point.DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
- Returns:
this
-
status
Sets the value ofCfnAnalysis.VisualCustomActionProperty.getStatus()- Parameters:
status- The status of theVisualCustomAction.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.VisualCustomActionProperty>- Returns:
- a new instance of
CfnAnalysis.VisualCustomActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-