Interface ShapeConditionalFormat.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ShapeConditionalFormat.Builder,ShapeConditionalFormat>
,SdkBuilder<ShapeConditionalFormat.Builder,ShapeConditionalFormat>
,SdkPojo
- Enclosing class:
- ShapeConditionalFormat
public static interface ShapeConditionalFormat.Builder extends SdkPojo, CopyableBuilder<ShapeConditionalFormat.Builder,ShapeConditionalFormat>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ShapeConditionalFormat.Builder
backgroundColor(Consumer<ConditionalFormattingColor.Builder> backgroundColor)
The conditional formatting for the shape background color of a filled map visual.ShapeConditionalFormat.Builder
backgroundColor(ConditionalFormattingColor backgroundColor)
The conditional formatting for the shape background color of a filled map visual.-
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
-
backgroundColor
ShapeConditionalFormat.Builder backgroundColor(ConditionalFormattingColor backgroundColor)
The conditional formatting for the shape background color of a filled map visual.
- Parameters:
backgroundColor
- The conditional formatting for the shape background color of a filled map visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backgroundColor
default ShapeConditionalFormat.Builder backgroundColor(Consumer<ConditionalFormattingColor.Builder> backgroundColor)
The conditional formatting for the shape background color of a filled map visual.
This is a convenience method that creates an instance of theConditionalFormattingColor.Builder
avoiding the need to create one manually viaConditionalFormattingColor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackgroundColor(ConditionalFormattingColor)
.- Parameters:
backgroundColor
- a consumer that will call methods onConditionalFormattingColor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
backgroundColor(ConditionalFormattingColor)
-
-