Class CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GeospatialPolygonSymbolStyleProperty>
- Enclosing interface:
CfnDashboard.GeospatialPolygonSymbolStyleProperty
@Stability(Stable)
public static final class CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GeospatialPolygonSymbolStyleProperty>
A builder for
CfnDashboard.GeospatialPolygonSymbolStyleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fillColor(IResolvable fillColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getFillColor()fillColor(CfnDashboard.GeospatialColorProperty fillColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getFillColor()strokeColor(IResolvable strokeColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeColor()strokeColor(CfnDashboard.GeospatialColorProperty strokeColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeColor()strokeWidth(IResolvable strokeWidth) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeWidth()strokeWidth(CfnDashboard.GeospatialLineWidthProperty strokeWidth) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fillColor
@Stability(Stable) public CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder fillColor(IResolvable fillColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getFillColor()- Parameters:
fillColor- The color and opacity values for the fill color.- Returns:
this
-
fillColor
@Stability(Stable) public CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder fillColor(CfnDashboard.GeospatialColorProperty fillColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getFillColor()- Parameters:
fillColor- The color and opacity values for the fill color.- Returns:
this
-
strokeColor
@Stability(Stable) public CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder strokeColor(IResolvable strokeColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeColor()- Parameters:
strokeColor- The color and opacity values for the stroke color.- Returns:
this
-
strokeColor
@Stability(Stable) public CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder strokeColor(CfnDashboard.GeospatialColorProperty strokeColor) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeColor()- Parameters:
strokeColor- The color and opacity values for the stroke color.- Returns:
this
-
strokeWidth
@Stability(Stable) public CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder strokeWidth(IResolvable strokeWidth) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeWidth()- Parameters:
strokeWidth- The width of the border stroke.- Returns:
this
-
strokeWidth
@Stability(Stable) public CfnDashboard.GeospatialPolygonSymbolStyleProperty.Builder strokeWidth(CfnDashboard.GeospatialLineWidthProperty strokeWidth) Sets the value ofCfnDashboard.GeospatialPolygonSymbolStyleProperty.getStrokeWidth()- Parameters:
strokeWidth- The width of the border stroke.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.GeospatialPolygonSymbolStyleProperty>- Returns:
- a new instance of
CfnDashboard.GeospatialPolygonSymbolStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-