Interface GeospatialLayerItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeospatialLayerItem.Builder,,GeospatialLayerItem> SdkBuilder<GeospatialLayerItem.Builder,,GeospatialLayerItem> SdkPojo
- Enclosing class:
GeospatialLayerItem
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<LayerCustomAction> actions) A list of custom actions for a layer.actions(Consumer<LayerCustomAction.Builder>... actions) A list of custom actions for a layer.actions(LayerCustomAction... actions) A list of custom actions for a layer.default GeospatialLayerItem.BuilderdataSource(Consumer<GeospatialDataSourceItem.Builder> dataSource) The data source for the layer.dataSource(GeospatialDataSourceItem dataSource) The data source for the layer.default GeospatialLayerItem.BuilderjoinDefinition(Consumer<GeospatialLayerJoinDefinition.Builder> joinDefinition) The join definition properties for a layer.joinDefinition(GeospatialLayerJoinDefinition joinDefinition) The join definition properties for a layer.The label that is displayed for the layer.default GeospatialLayerItem.BuilderlayerDefinition(Consumer<GeospatialLayerDefinition.Builder> layerDefinition) The definition properties for a layer.layerDefinition(GeospatialLayerDefinition layerDefinition) The definition properties for a layer.The ID of the layer.The layer type.layerType(GeospatialLayerType layerType) The layer type.default GeospatialLayerItem.Buildertooltip(Consumer<TooltipOptions.Builder> tooltip) Sets the value of the Tooltip property for this object.tooltip(TooltipOptions tooltip) Sets the value of the Tooltip property for this object.visibility(String visibility) The state of visibility for the layer.visibility(Visibility visibility) The state of visibility for the 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
-
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
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:
-
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:
-
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:
-
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
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
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:
-
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:
-
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
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:
-
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:
-
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
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
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 toactions(List<LayerCustomAction>).- 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:
-