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