Class CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysisPropsMixin.ImageCustomActionProperty>
- Enclosing interface:
CfnAnalysisPropsMixin.ImageCustomActionProperty
@Stability(Stable)
public static final class CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysisPropsMixin.ImageCustomActionProperty>
A builder for
CfnAnalysisPropsMixin.ImageCustomActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionOperations(List<? extends Object> actionOperations) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getActionOperations()actionOperations(IResolvable actionOperations) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getActionOperations()build()Builds the configured instance.customActionId(String customActionId) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getCustomActionId()Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getName()Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getStatus()Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getTrigger()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionOperations
@Stability(Stable) public CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder actionOperations(IResolvable actionOperations) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getActionOperations()- Parameters:
actionOperations- A list ofImageCustomActionOperations. 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 CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder actionOperations(List<? extends Object> actionOperations) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getActionOperations()- Parameters:
actionOperations- A list ofImageCustomActionOperations. 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 CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder customActionId(String customActionId) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getCustomActionId()- Parameters:
customActionId- The ID of the custom action.- Returns:
this
-
name
Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getName()- Parameters:
name- The name of the custom action.- Returns:
this
-
status
@Stability(Stable) public CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder status(String status) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getStatus()- Parameters:
status- The status of the custom action.- Returns:
this
-
trigger
@Stability(Stable) public CfnAnalysisPropsMixin.ImageCustomActionProperty.Builder trigger(String trigger) Sets the value ofCfnAnalysisPropsMixin.ImageCustomActionProperty.getTrigger()- Parameters:
trigger- The trigger of theVisualCustomAction. Valid values are defined as follows:CLICK: Initiates a custom action by a left pointer click on a 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<CfnAnalysisPropsMixin.ImageCustomActionProperty>- Returns:
- a new instance of
CfnAnalysisPropsMixin.ImageCustomActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-