Interface GeospatialLayerMapConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeospatialLayerMapConfiguration.Builder,GeospatialLayerMapConfiguration>,SdkBuilder<GeospatialLayerMapConfiguration.Builder,GeospatialLayerMapConfiguration>,SdkPojo
- Enclosing class:
- GeospatialLayerMapConfiguration
@Mutable @NotThreadSafe public static interface GeospatialLayerMapConfiguration.Builder extends SdkPojo, CopyableBuilder<GeospatialLayerMapConfiguration.Builder,GeospatialLayerMapConfiguration>
-
-
Method Summary
-
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
-
legend
GeospatialLayerMapConfiguration.Builder legend(LegendOptions legend)
Sets the value of the Legend property for this object.- Parameters:
legend- The new value for the Legend property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legend
default GeospatialLayerMapConfiguration.Builder legend(Consumer<LegendOptions.Builder> legend)
Sets the value of the Legend property for this object. This is a convenience method that creates an instance of theLegendOptions.Builderavoiding the need to create one manually viaLegendOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolegend(LegendOptions).- Parameters:
legend- a consumer that will call methods onLegendOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
legend(LegendOptions)
-
mapLayers
GeospatialLayerMapConfiguration.Builder mapLayers(Collection<GeospatialLayerItem> mapLayers)
The geospatial layers to visualize on the map.
- Parameters:
mapLayers- The geospatial layers to visualize on the map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapLayers
GeospatialLayerMapConfiguration.Builder mapLayers(GeospatialLayerItem... mapLayers)
The geospatial layers to visualize on the map.
- Parameters:
mapLayers- The geospatial layers to visualize on the map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapLayers
GeospatialLayerMapConfiguration.Builder mapLayers(Consumer<GeospatialLayerItem.Builder>... mapLayers)
The geospatial layers to visualize on the map.
This is a convenience method that creates an instance of theGeospatialLayerItem.Builderavoiding the need to create one manually viaGeospatialLayerItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mapLayers(List.) - Parameters:
mapLayers- a consumer that will call methods onGeospatialLayerItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#mapLayers(java.util.Collection)
-
mapState
GeospatialLayerMapConfiguration.Builder mapState(GeospatialMapState mapState)
The map state properties for the map.
- Parameters:
mapState- The map state properties for the map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapState
default GeospatialLayerMapConfiguration.Builder mapState(Consumer<GeospatialMapState.Builder> mapState)
The map state properties for the map.
This is a convenience method that creates an instance of theGeospatialMapState.Builderavoiding the need to create one manually viaGeospatialMapState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomapState(GeospatialMapState).- Parameters:
mapState- a consumer that will call methods onGeospatialMapState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mapState(GeospatialMapState)
-
mapStyle
GeospatialLayerMapConfiguration.Builder mapStyle(GeospatialMapStyle mapStyle)
The map style properties for the map.
- Parameters:
mapStyle- The map style properties for the map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapStyle
default GeospatialLayerMapConfiguration.Builder mapStyle(Consumer<GeospatialMapStyle.Builder> mapStyle)
The map style properties for the map.
This is a convenience method that creates an instance of theGeospatialMapStyle.Builderavoiding the need to create one manually viaGeospatialMapStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomapStyle(GeospatialMapStyle).- Parameters:
mapStyle- a consumer that will call methods onGeospatialMapStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mapStyle(GeospatialMapStyle)
-
interactions
GeospatialLayerMapConfiguration.Builder interactions(VisualInteractionOptions interactions)
Sets the value of the Interactions property for this object.- Parameters:
interactions- The new value for the Interactions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactions
default GeospatialLayerMapConfiguration.Builder interactions(Consumer<VisualInteractionOptions.Builder> interactions)
Sets the value of the Interactions property for this object. This is a convenience method that creates an instance of theVisualInteractionOptions.Builderavoiding the need to create one manually viaVisualInteractionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointeractions(VisualInteractionOptions).- Parameters:
interactions- a consumer that will call methods onVisualInteractionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
interactions(VisualInteractionOptions)
-
-