public static interface VisualPalette.Builder extends SdkPojo, CopyableBuilder<VisualPalette.Builder,VisualPalette>
| Modifier and Type | Method and Description |
|---|---|
VisualPalette.Builder |
chartColor(String chartColor)
The chart color options for the visual palette.
|
VisualPalette.Builder |
colorMap(Collection<DataPathColor> colorMap)
The color map options for the visual palette.
|
VisualPalette.Builder |
colorMap(Consumer<DataPathColor.Builder>... colorMap)
The color map options for the visual palette.
|
VisualPalette.Builder |
colorMap(DataPathColor... colorMap)
The color map options for the visual palette.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVisualPalette.Builder chartColor(String chartColor)
The chart color options for the visual palette.
chartColor - The chart color options for the visual palette.VisualPalette.Builder colorMap(Collection<DataPathColor> colorMap)
The color map options for the visual palette.
colorMap - The color map options for the visual palette.VisualPalette.Builder colorMap(DataPathColor... colorMap)
The color map options for the visual palette.
colorMap - The color map options for the visual palette.VisualPalette.Builder colorMap(Consumer<DataPathColor.Builder>... colorMap)
The color map options for the visual palette.
This is a convenience method that creates an instance of theDataPathColor.Builder avoiding the need to create
one manually via DataPathColor.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #colorMap(List.
colorMap - a consumer that will call methods on
DataPathColor.Builder#colorMap(java.util.Collection) Copyright © 2023. All rights reserved.