Interface GeospatialPolygonSymbolStyle.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeospatialPolygonSymbolStyle.Builder,GeospatialPolygonSymbolStyle>,SdkBuilder<GeospatialPolygonSymbolStyle.Builder,GeospatialPolygonSymbolStyle>,SdkPojo
- Enclosing class:
- GeospatialPolygonSymbolStyle
@Mutable @NotThreadSafe public static interface GeospatialPolygonSymbolStyle.Builder extends SdkPojo, CopyableBuilder<GeospatialPolygonSymbolStyle.Builder,GeospatialPolygonSymbolStyle>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GeospatialPolygonSymbolStyle.BuilderfillColor(Consumer<GeospatialColor.Builder> fillColor)The color and opacity values for the fill color.GeospatialPolygonSymbolStyle.BuilderfillColor(GeospatialColor fillColor)The color and opacity values for the fill color.default GeospatialPolygonSymbolStyle.BuilderstrokeColor(Consumer<GeospatialColor.Builder> strokeColor)The color and opacity values for the stroke color.GeospatialPolygonSymbolStyle.BuilderstrokeColor(GeospatialColor strokeColor)The color and opacity values for the stroke color.default GeospatialPolygonSymbolStyle.BuilderstrokeWidth(Consumer<GeospatialLineWidth.Builder> strokeWidth)The width of the border stroke.GeospatialPolygonSymbolStyle.BuilderstrokeWidth(GeospatialLineWidth strokeWidth)The width of the border stroke.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fillColor
GeospatialPolygonSymbolStyle.Builder fillColor(GeospatialColor fillColor)
The color and opacity values for the fill color.
- Parameters:
fillColor- The color and opacity values for the fill color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fillColor
default GeospatialPolygonSymbolStyle.Builder fillColor(Consumer<GeospatialColor.Builder> fillColor)
The color and opacity values for the fill color.
This is a convenience method that creates an instance of theGeospatialColor.Builderavoiding the need to create one manually viaGeospatialColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofillColor(GeospatialColor).- Parameters:
fillColor- a consumer that will call methods onGeospatialColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fillColor(GeospatialColor)
-
strokeColor
GeospatialPolygonSymbolStyle.Builder strokeColor(GeospatialColor strokeColor)
The color and opacity values for the stroke color.
- Parameters:
strokeColor- The color and opacity values for the stroke color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
strokeColor
default GeospatialPolygonSymbolStyle.Builder strokeColor(Consumer<GeospatialColor.Builder> strokeColor)
The color and opacity values for the stroke color.
This is a convenience method that creates an instance of theGeospatialColor.Builderavoiding the need to create one manually viaGeospatialColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostrokeColor(GeospatialColor).- Parameters:
strokeColor- a consumer that will call methods onGeospatialColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
strokeColor(GeospatialColor)
-
strokeWidth
GeospatialPolygonSymbolStyle.Builder strokeWidth(GeospatialLineWidth strokeWidth)
The width of the border stroke.
- Parameters:
strokeWidth- The width of the border stroke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
strokeWidth
default GeospatialPolygonSymbolStyle.Builder strokeWidth(Consumer<GeospatialLineWidth.Builder> strokeWidth)
The width of the border stroke.
This is a convenience method that creates an instance of theGeospatialLineWidth.Builderavoiding the need to create one manually viaGeospatialLineWidth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostrokeWidth(GeospatialLineWidth).- Parameters:
strokeWidth- a consumer that will call methods onGeospatialLineWidth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
strokeWidth(GeospatialLineWidth)
-
-