Interface TileStyle.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TileStyle.Builder,,TileStyle> SdkBuilder<TileStyle.Builder,,TileStyle> SdkPojo
- Enclosing class:
TileStyle
@Mutable
@NotThreadSafe
public static interface TileStyle.Builder
extends SdkPojo, CopyableBuilder<TileStyle.Builder,TileStyle>
-
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(String backgroundColor) The background color of a tile.default TileStyle.Builderborder(Consumer<BorderStyle.Builder> border) The border around a tile.border(BorderStyle border) The border around a tile.borderRadius(String borderRadius) The border radius of a tile.The padding of a tile.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
-
backgroundColor
The background color of a tile.
- Parameters:
backgroundColor- The background color of a tile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaBorderStyle.builder().When the
Consumercompletes,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:
-
borderRadius
The border radius of a tile.
- Parameters:
borderRadius- The border radius of a tile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
padding
The padding of a tile.
- Parameters:
padding- The padding of a tile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-