Class CfnDashboard.AnchorDateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.AnchorDateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.AnchorDateConfigurationProperty>
- Enclosing interface:
CfnDashboard.AnchorDateConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.AnchorDateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.AnchorDateConfigurationProperty>
A builder for
CfnDashboard.AnchorDateConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanchorOption
(String anchorOption) Sets the value ofCfnDashboard.AnchorDateConfigurationProperty.getAnchorOption()
build()
Builds the configured instance.parameterName
(String parameterName) Sets the value ofCfnDashboard.AnchorDateConfigurationProperty.getParameterName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anchorOption
@Stability(Stable) public CfnDashboard.AnchorDateConfigurationProperty.Builder anchorOption(String anchorOption) Sets the value ofCfnDashboard.AnchorDateConfigurationProperty.getAnchorOption()
- Parameters:
anchorOption
- The options for the date configuration. Choose one of the options below:.NOW
- Returns:
this
-
parameterName
@Stability(Stable) public CfnDashboard.AnchorDateConfigurationProperty.Builder parameterName(String parameterName) Sets the value ofCfnDashboard.AnchorDateConfigurationProperty.getParameterName()
- Parameters:
parameterName
- The name of the parameter that is used for the anchor date configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.AnchorDateConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.AnchorDateConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-