Interface ColorScale.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColorScale.Builder,ColorScale>,SdkBuilder<ColorScale.Builder,ColorScale>,SdkPojo
- Enclosing class:
- ColorScale
public static interface ColorScale.Builder extends SdkPojo, CopyableBuilder<ColorScale.Builder,ColorScale>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ColorScale.BuildercolorFillType(String colorFillType)Determines the color fill type.ColorScale.BuildercolorFillType(ColorFillType colorFillType)Determines the color fill type.ColorScale.Buildercolors(Collection<DataColor> colors)Determines the list of colors that are applied to the visual.ColorScale.Buildercolors(Consumer<DataColor.Builder>... colors)Determines the list of colors that are applied to the visual.ColorScale.Buildercolors(DataColor... colors)Determines the list of colors that are applied to the visual.default ColorScale.BuildernullValueColor(Consumer<DataColor.Builder> nullValueColor)Determines the color that is applied to null values.ColorScale.BuildernullValueColor(DataColor nullValueColor)Determines the color that is applied to null values.-
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
-
colors
ColorScale.Builder colors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
- Parameters:
colors- Determines the list of colors that are applied to the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
colors
ColorScale.Builder colors(DataColor... colors)
Determines the list of colors that are applied to the visual.
- Parameters:
colors- Determines the list of colors that are applied to the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
colors
ColorScale.Builder colors(Consumer<DataColor.Builder>... colors)
Determines the list of colors that are applied to the visual.
This is a convenience method that creates an instance of theDataColor.Builderavoiding the need to create one manually viaDataColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#colors(List.) - Parameters:
colors- a consumer that will call methods onDataColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#colors(java.util.Collection)
-
colorFillType
ColorScale.Builder colorFillType(String colorFillType)
Determines the color fill type.
- Parameters:
colorFillType- Determines the color fill type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ColorFillType,ColorFillType
-
colorFillType
ColorScale.Builder colorFillType(ColorFillType colorFillType)
Determines the color fill type.
- Parameters:
colorFillType- Determines the color fill type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ColorFillType,ColorFillType
-
nullValueColor
ColorScale.Builder nullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
- Parameters:
nullValueColor- Determines the color that is applied to null values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullValueColor
default ColorScale.Builder nullValueColor(Consumer<DataColor.Builder> nullValueColor)
Determines the color that is applied to null values.
This is a convenience method that creates an instance of theDataColor.Builderavoiding the need to create one manually viaDataColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonullValueColor(DataColor).- Parameters:
nullValueColor- a consumer that will call methods onDataColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
nullValueColor(DataColor)
-
-