Interface TileStyle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TileStyle.Builder,
,TileStyle> SdkBuilder<TileStyle.Builder,
,TileStyle> SdkPojo
- Enclosing class:
TileStyle
public static interface TileStyle.Builder
extends SdkPojo, CopyableBuilder<TileStyle.Builder,TileStyle>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TileStyle.Builder
border
(Consumer<BorderStyle.Builder> border) The border around a tile.border
(BorderStyle border) The border around a tile.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, sdkFields
-
Method Details
-
border
The border around a tile.
- Parameters:
border
- The border around a tile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
border
The border around a tile.
This is a convenience method that creates an instance of theBorderStyle.Builder
avoiding the need to create one manually viaBorderStyle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toborder(BorderStyle)
.- Parameters:
border
- a consumer that will call methods onBorderStyle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-