Class CfnDashboard.PercentVisibleRangeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.PercentVisibleRangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.PercentVisibleRangeProperty>
- Enclosing interface:
CfnDashboard.PercentVisibleRangeProperty
@Stability(Stable)
public static final class CfnDashboard.PercentVisibleRangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.PercentVisibleRangeProperty>
A builder for
CfnDashboard.PercentVisibleRangeProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDashboard.PercentVisibleRangeProperty.getFrom()
Sets the value ofCfnDashboard.PercentVisibleRangeProperty.getTo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
from
Sets the value ofCfnDashboard.PercentVisibleRangeProperty.getFrom()
- Parameters:
from
- The lower bound of the range.- Returns:
this
-
to
Sets the value ofCfnDashboard.PercentVisibleRangeProperty.getTo()
- Parameters:
to
- The top bound of the range.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.PercentVisibleRangeProperty>
- Returns:
- a new instance of
CfnDashboard.PercentVisibleRangeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-