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