Interface GeospatialLineSymbolStyle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GeospatialLineSymbolStyle.Builder,
,GeospatialLineSymbolStyle> SdkBuilder<GeospatialLineSymbolStyle.Builder,
,GeospatialLineSymbolStyle> SdkPojo
- Enclosing class:
GeospatialLineSymbolStyle
@Mutable
@NotThreadSafe
public static interface GeospatialLineSymbolStyle.Builder
extends SdkPojo, CopyableBuilder<GeospatialLineSymbolStyle.Builder,GeospatialLineSymbolStyle>
-
Method Summary
Modifier and TypeMethodDescriptionfillColor
(Consumer<GeospatialColor.Builder> fillColor) The color and opacity values for the fill color.fillColor
(GeospatialColor fillColor) The color and opacity values for the fill color.lineWidth
(Consumer<GeospatialLineWidth.Builder> lineWidth) The width value for a line.lineWidth
(GeospatialLineWidth lineWidth) The width value for a line.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 Details
-
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
The color and opacity values for the fill color.
This is a convenience method that creates an instance of theGeospatialColor.Builder
avoiding the need to create one manually viaGeospatialColor.builder()
.When the
Consumer
completes,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:
-
lineWidth
The width value for a line.
- Parameters:
lineWidth
- The width value for a line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineWidth
default GeospatialLineSymbolStyle.Builder lineWidth(Consumer<GeospatialLineWidth.Builder> lineWidth) The width value for a line.
This is a convenience method that creates an instance of theGeospatialLineWidth.Builder
avoiding the need to create one manually viaGeospatialLineWidth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolineWidth(GeospatialLineWidth)
.- Parameters:
lineWidth
- 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:
-