Class CfnDashboard.GeospatialSolidColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialSolidColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GeospatialSolidColorProperty>
- Enclosing interface:
CfnDashboard.GeospatialSolidColorProperty
@Stability(Stable)
public static final class CfnDashboard.GeospatialSolidColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GeospatialSolidColorProperty>
A builder for
CfnDashboard.GeospatialSolidColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboard.GeospatialSolidColorProperty.getColor()Sets the value ofCfnDashboard.GeospatialSolidColorProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
Sets the value ofCfnDashboard.GeospatialSolidColorProperty.getColor()- Parameters:
color- The color and opacity values for the color. This parameter is required.- Returns:
this
-
state
Sets the value ofCfnDashboard.GeospatialSolidColorProperty.getState()- Parameters:
state- Enables and disables the view state of the color.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.GeospatialSolidColorProperty>- Returns:
- a new instance of
CfnDashboard.GeospatialSolidColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-