Interface GeospatialLayerItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeospatialLayerItem.Builder,GeospatialLayerItem>,SdkBuilder<GeospatialLayerItem.Builder,GeospatialLayerItem>,SdkPojo
- Enclosing class:
- GeospatialLayerItem
@Mutable @NotThreadSafe public static interface GeospatialLayerItem.Builder extends SdkPojo, CopyableBuilder<GeospatialLayerItem.Builder,GeospatialLayerItem>
-
-
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
-
layerId
GeospatialLayerItem.Builder layerId(String layerId)
The ID of the layer.
- Parameters:
layerId- The ID of the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerType
GeospatialLayerItem.Builder layerType(String layerType)
The layer type.
- Parameters:
layerType- The layer type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeospatialLayerType,GeospatialLayerType
-
layerType
GeospatialLayerItem.Builder layerType(GeospatialLayerType layerType)
The layer type.
- Parameters:
layerType- The layer type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeospatialLayerType,GeospatialLayerType
-
dataSource
GeospatialLayerItem.Builder dataSource(GeospatialDataSourceItem dataSource)
The data source for the layer.
- Parameters:
dataSource- The data source for the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default GeospatialLayerItem.Builder dataSource(Consumer<GeospatialDataSourceItem.Builder> dataSource)
The data source for the layer.
This is a convenience method that creates an instance of theGeospatialDataSourceItem.Builderavoiding the need to create one manually viaGeospatialDataSourceItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(GeospatialDataSourceItem).- Parameters:
dataSource- a consumer that will call methods onGeospatialDataSourceItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSource(GeospatialDataSourceItem)
-
label
GeospatialLayerItem.Builder label(String label)
The label that is displayed for the layer.
- Parameters:
label- The label that is displayed for the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visibility
GeospatialLayerItem.Builder visibility(String visibility)
The state of visibility for the layer.
- Parameters:
visibility- The state of visibility for the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
visibility
GeospatialLayerItem.Builder visibility(Visibility visibility)
The state of visibility for the layer.
- Parameters:
visibility- The state of visibility for the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
layerDefinition
GeospatialLayerItem.Builder layerDefinition(GeospatialLayerDefinition layerDefinition)
The definition properties for a layer.
- Parameters:
layerDefinition- The definition properties for a layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerDefinition
default GeospatialLayerItem.Builder layerDefinition(Consumer<GeospatialLayerDefinition.Builder> layerDefinition)
The definition properties for a layer.
This is a convenience method that creates an instance of theGeospatialLayerDefinition.Builderavoiding the need to create one manually viaGeospatialLayerDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolayerDefinition(GeospatialLayerDefinition).- Parameters:
layerDefinition- a consumer that will call methods onGeospatialLayerDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
layerDefinition(GeospatialLayerDefinition)
-
tooltip
GeospatialLayerItem.Builder tooltip(TooltipOptions tooltip)
Sets the value of the Tooltip property for this object.- Parameters:
tooltip- The new value for the Tooltip property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tooltip
default GeospatialLayerItem.Builder tooltip(Consumer<TooltipOptions.Builder> tooltip)
Sets the value of the Tooltip property for this object. This is a convenience method that creates an instance of theTooltipOptions.Builderavoiding the need to create one manually viaTooltipOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totooltip(TooltipOptions).- Parameters:
tooltip- a consumer that will call methods onTooltipOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tooltip(TooltipOptions)
-
joinDefinition
GeospatialLayerItem.Builder joinDefinition(GeospatialLayerJoinDefinition joinDefinition)
The join definition properties for a layer.
- Parameters:
joinDefinition- The join definition properties for a layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
joinDefinition
default GeospatialLayerItem.Builder joinDefinition(Consumer<GeospatialLayerJoinDefinition.Builder> joinDefinition)
The join definition properties for a layer.
This is a convenience method that creates an instance of theGeospatialLayerJoinDefinition.Builderavoiding the need to create one manually viaGeospatialLayerJoinDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojoinDefinition(GeospatialLayerJoinDefinition).- Parameters:
joinDefinition- a consumer that will call methods onGeospatialLayerJoinDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
joinDefinition(GeospatialLayerJoinDefinition)
-
actions
GeospatialLayerItem.Builder actions(Collection<LayerCustomAction> actions)
A list of custom actions for a layer.
- Parameters:
actions- A list of custom actions for a layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
GeospatialLayerItem.Builder actions(LayerCustomAction... actions)
A list of custom actions for a layer.
- Parameters:
actions- A list of custom actions for a layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
GeospatialLayerItem.Builder actions(Consumer<LayerCustomAction.Builder>... actions)
A list of custom actions for a layer.
This is a convenience method that creates an instance of theLayerCustomAction.Builderavoiding the need to create one manually viaLayerCustomAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onLayerCustomAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
-