Interface KPIProgressBarConditionalFormatting.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KPIProgressBarConditionalFormatting.Builder,
,KPIProgressBarConditionalFormatting> SdkBuilder<KPIProgressBarConditionalFormatting.Builder,
,KPIProgressBarConditionalFormatting> SdkPojo
- Enclosing class:
KPIProgressBarConditionalFormatting
public static interface KPIProgressBarConditionalFormatting.Builder
extends SdkPojo, CopyableBuilder<KPIProgressBarConditionalFormatting.Builder,KPIProgressBarConditionalFormatting>
-
Method Summary
Modifier and TypeMethodDescriptionforegroundColor
(Consumer<ConditionalFormattingColor.Builder> foregroundColor) The conditional formatting of the progress bar's foreground color.foregroundColor
(ConditionalFormattingColor foregroundColor) The conditional formatting of the progress bar's foreground color.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
-
foregroundColor
KPIProgressBarConditionalFormatting.Builder foregroundColor(ConditionalFormattingColor foregroundColor) The conditional formatting of the progress bar's foreground color.
- Parameters:
foregroundColor
- The conditional formatting of the progress bar's foreground color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
foregroundColor
default KPIProgressBarConditionalFormatting.Builder foregroundColor(Consumer<ConditionalFormattingColor.Builder> foregroundColor) The conditional formatting of the progress bar's foreground color.
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 toforegroundColor(ConditionalFormattingColor)
.- Parameters:
foregroundColor
- 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:
-