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.BuilderbackgroundColor(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.BuilderThe conditional formatting for the icon.The conditional formatting for the icon.default TextConditionalFormat.BuildertextColor(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaConditionalFormattingColor.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConditionalFormattingColor.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConditionalFormattingIcon.builder().When the
Consumercompletes,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:
-