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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TextConditionalFormat.Builder
backgroundColor(Consumer<ConditionalFormattingColor.Builder> backgroundColor)
The conditional formatting for the text background color.TextConditionalFormat.Builder
backgroundColor(ConditionalFormattingColor backgroundColor)
The conditional formatting for the text background color.default TextConditionalFormat.Builder
icon(Consumer<ConditionalFormattingIcon.Builder> icon)
The conditional formatting for the icon.TextConditionalFormat.Builder
icon(ConditionalFormattingIcon icon)
The conditional formatting for the icon.default TextConditionalFormat.Builder
textColor(Consumer<ConditionalFormattingColor.Builder> textColor)
The conditional formatting for the text color.TextConditionalFormat.Builder
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 Detail
-
backgroundColor
TextConditionalFormat.Builder backgroundColor(ConditionalFormattingColor 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:
backgroundColor(ConditionalFormattingColor)
-
textColor
TextConditionalFormat.Builder textColor(ConditionalFormattingColor 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:
textColor(ConditionalFormattingColor)
-
icon
TextConditionalFormat.Builder icon(ConditionalFormattingIcon 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
default TextConditionalFormat.Builder icon(Consumer<ConditionalFormattingIcon.Builder> 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:
icon(ConditionalFormattingIcon)
-
-