Interface TextConditionalFormat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextConditionalFormat.Builder,
,TextConditionalFormat> SdkBuilder<TextConditionalFormat.Builder,
,TextConditionalFormat> SdkPojo
- Enclosing class:
TextConditionalFormat
public static interface TextConditionalFormat.Builder
extends SdkPojo, CopyableBuilder<TextConditionalFormat.Builder,TextConditionalFormat>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TextConditionalFormat.Builder
backgroundColor
(Consumer<ConditionalFormattingColor.Builder> backgroundColor) The conditional formatting for the text background color.backgroundColor
(ConditionalFormattingColor backgroundColor) The conditional formatting for the text background color.default TextConditionalFormat.Builder
The conditional formatting for the icon.The conditional formatting for the icon.default TextConditionalFormat.Builder
textColor
(Consumer<ConditionalFormattingColor.Builder> textColor) The conditional formatting for the text color.textColor
(ConditionalFormattingColor textColor) The conditional formatting for the text 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
-
backgroundColor
The conditional formatting for the text background color.
- Parameters:
backgroundColor
- The conditional formatting for the text background color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backgroundColor
default TextConditionalFormat.Builder backgroundColor(Consumer<ConditionalFormattingColor.Builder> backgroundColor) The conditional formatting for the text background 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 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:
-
textColor
The conditional formatting for the text color.
- Parameters:
textColor
- The conditional formatting for the text color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textColor
default TextConditionalFormat.Builder textColor(Consumer<ConditionalFormattingColor.Builder> textColor) The conditional formatting for the text 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 totextColor(ConditionalFormattingColor)
.- Parameters:
textColor
- 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:
-
icon
The conditional formatting for the icon.
- Parameters:
icon
- The conditional formatting for the icon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
icon
The conditional formatting for the icon.
This is a convenience method that creates an instance of theConditionalFormattingIcon.Builder
avoiding the need to create one manually viaConditionalFormattingIcon.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toicon(ConditionalFormattingIcon)
.- Parameters:
icon
- a consumer that will call methods onConditionalFormattingIcon.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-