Interface ConditionalFormattingGradientColor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConditionalFormattingGradientColor.Builder,ConditionalFormattingGradientColor>,SdkBuilder<ConditionalFormattingGradientColor.Builder,ConditionalFormattingGradientColor>,SdkPojo
- Enclosing class:
- ConditionalFormattingGradientColor
@Mutable @NotThreadSafe public static interface ConditionalFormattingGradientColor.Builder extends SdkPojo, CopyableBuilder<ConditionalFormattingGradientColor.Builder,ConditionalFormattingGradientColor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConditionalFormattingGradientColor.Buildercolor(Consumer<GradientColor.Builder> color)Determines the color.ConditionalFormattingGradientColor.Buildercolor(GradientColor color)Determines the color.ConditionalFormattingGradientColor.Builderexpression(String expression)The expression that determines the formatting configuration for gradient 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
expression
ConditionalFormattingGradientColor.Builder expression(String expression)
The expression that determines the formatting configuration for gradient color.
- Parameters:
expression- The expression that determines the formatting configuration for gradient color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
color
ConditionalFormattingGradientColor.Builder color(GradientColor color)
Determines the color.
- Parameters:
color- Determines the color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
color
default ConditionalFormattingGradientColor.Builder color(Consumer<GradientColor.Builder> color)
Determines the color.
This is a convenience method that creates an instance of theGradientColor.Builderavoiding the need to create one manually viaGradientColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolor(GradientColor).- Parameters:
color- a consumer that will call methods onGradientColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
color(GradientColor)
-
-