Interface KPIProgressBarConditionalFormatting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KPIProgressBarConditionalFormatting.Builder,,KPIProgressBarConditionalFormatting> SdkBuilder<KPIProgressBarConditionalFormatting.Builder,,KPIProgressBarConditionalFormatting> SdkPojo
- Enclosing class:
KPIProgressBarConditionalFormatting
@Mutable
@NotThreadSafe
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
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
-
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.Builderavoiding the need to create one manually viaConditionalFormattingColor.builder().When the
Consumercompletes,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:
-