Class CfnDashboardPropsMixin.VisualCustomActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.VisualCustomActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.VisualCustomActionProperty>
- Enclosing interface:
CfnDashboardPropsMixin.VisualCustomActionProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.VisualCustomActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.VisualCustomActionProperty>
A builder for
CfnDashboardPropsMixin.VisualCustomActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionOperations(List<? extends Object> actionOperations) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getActionOperations()actionOperations(IResolvable actionOperations) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getActionOperations()build()Builds the configured instance.customActionId(String customActionId) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getCustomActionId()Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getName()Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getStatus()Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getTrigger()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionOperations
@Stability(Stable) public CfnDashboardPropsMixin.VisualCustomActionProperty.Builder actionOperations(IResolvable actionOperations) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getActionOperations()- Parameters:
actionOperations- A list ofVisualCustomActionOperations. 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 CfnDashboardPropsMixin.VisualCustomActionProperty.Builder actionOperations(List<? extends Object> actionOperations) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getActionOperations()- Parameters:
actionOperations- A list ofVisualCustomActionOperations. 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 CfnDashboardPropsMixin.VisualCustomActionProperty.Builder customActionId(String customActionId) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getCustomActionId()- Parameters:
customActionId- The ID of theVisualCustomAction.- Returns:
this
-
name
@Stability(Stable) public CfnDashboardPropsMixin.VisualCustomActionProperty.Builder name(String name) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getName()- Parameters:
name- The name of theVisualCustomAction.- Returns:
this
-
status
@Stability(Stable) public CfnDashboardPropsMixin.VisualCustomActionProperty.Builder status(String status) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getStatus()- Parameters:
status- The status of theVisualCustomAction.- Returns:
this
-
trigger
@Stability(Stable) public CfnDashboardPropsMixin.VisualCustomActionProperty.Builder trigger(String trigger) Sets the value ofCfnDashboardPropsMixin.VisualCustomActionProperty.getTrigger()- Parameters:
trigger- The trigger of theVisualCustomAction. 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.VisualCustomActionProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.VisualCustomActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-