Class CfnDashboard.CustomActionURLOperationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.CustomActionURLOperationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.CustomActionURLOperationProperty>
- Enclosing interface:
CfnDashboard.CustomActionURLOperationProperty
@Stability(Stable)
public static final class CfnDashboard.CustomActionURLOperationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.CustomActionURLOperationProperty>
A builder for
CfnDashboard.CustomActionURLOperationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDashboard.CustomActionURLOperationProperty.getUrlTarget()
urlTemplate
(String urlTemplate) Sets the value ofCfnDashboard.CustomActionURLOperationProperty.getUrlTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
urlTarget
@Stability(Stable) public CfnDashboard.CustomActionURLOperationProperty.Builder urlTarget(String urlTarget) Sets the value ofCfnDashboard.CustomActionURLOperationProperty.getUrlTarget()
- Parameters:
urlTarget
- The target of theCustomActionURLOperation
. This parameter is required. Valid values are defined as follows:NEW_TAB
: Opens the target URL in a new browser tab.NEW_WINDOW
: Opens the target URL in a new browser window.SAME_TAB
: Opens the target URL in the same browser tab.
- Returns:
this
-
urlTemplate
@Stability(Stable) public CfnDashboard.CustomActionURLOperationProperty.Builder urlTemplate(String urlTemplate) Sets the value ofCfnDashboard.CustomActionURLOperationProperty.getUrlTemplate()
- Parameters:
urlTemplate
- THe URL link of theCustomActionURLOperation
. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.CustomActionURLOperationProperty>
- Returns:
- a new instance of
CfnDashboard.CustomActionURLOperationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-