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
Modifier and TypeMethodDescriptiondefault GeospatialPolygonLayer.Builder
The visualization style for a polygon layer.style
(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 Details
-
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
The visualization style for a polygon layer.
This is a convenience method that creates an instance of theGeospatialPolygonStyle.Builder
avoiding the need to create one manually viaGeospatialPolygonStyle.builder()
.When the
Consumer
completes,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:
-