Interface GeospatialPolygonLayer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeospatialPolygonLayer.Builder,GeospatialPolygonLayer>,SdkBuilder<GeospatialPolygonLayer.Builder,GeospatialPolygonLayer>,SdkPojo
- Enclosing class:
- GeospatialPolygonLayer
@Mutable @NotThreadSafe public static interface GeospatialPolygonLayer.Builder extends SdkPojo, CopyableBuilder<GeospatialPolygonLayer.Builder,GeospatialPolygonLayer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GeospatialPolygonLayer.Builderstyle(Consumer<GeospatialPolygonStyle.Builder> style)The visualization style for a polygon layer.GeospatialPolygonLayer.Builderstyle(GeospatialPolygonStyle style)The visualization style for a polygon layer.-
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
-
style
GeospatialPolygonLayer.Builder style(GeospatialPolygonStyle style)
The visualization style for a polygon layer.
- Parameters:
style- The visualization style for a polygon layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
style
default GeospatialPolygonLayer.Builder style(Consumer<GeospatialPolygonStyle.Builder> style)
The visualization style for a polygon layer.
This is a convenience method that creates an instance of theGeospatialPolygonStyle.Builderavoiding the need to create one manually viaGeospatialPolygonStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostyle(GeospatialPolygonStyle).- Parameters:
style- a consumer that will call methods onGeospatialPolygonStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
style(GeospatialPolygonStyle)
-
-