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.BuilderThe 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-