Interface VisualPalette.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VisualPalette.Builder,VisualPalette>,SdkBuilder<VisualPalette.Builder,VisualPalette>,SdkPojo
- Enclosing class:
- VisualPalette
@Mutable @NotThreadSafe public static interface VisualPalette.Builder extends SdkPojo, CopyableBuilder<VisualPalette.Builder,VisualPalette>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VisualPalette.BuilderchartColor(String chartColor)The chart color options for the visual palette.VisualPalette.BuildercolorMap(Collection<DataPathColor> colorMap)The color map options for the visual palette.VisualPalette.BuildercolorMap(Consumer<DataPathColor.Builder>... colorMap)The color map options for the visual palette.VisualPalette.BuildercolorMap(DataPathColor... colorMap)The color map options for the visual palette.-
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
-
chartColor
VisualPalette.Builder chartColor(String chartColor)
The chart color options for the visual palette.
- Parameters:
chartColor- The chart color options for the visual palette.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
colorMap
VisualPalette.Builder colorMap(Collection<DataPathColor> colorMap)
The color map options for the visual palette.
- Parameters:
colorMap- The color map options for the visual palette.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
colorMap
VisualPalette.Builder colorMap(DataPathColor... colorMap)
The color map options for the visual palette.
- Parameters:
colorMap- The color map options for the visual palette.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
colorMap
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.Builderavoiding the need to create one manually viaDataPathColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#colorMap(List.) - Parameters:
colorMap- a consumer that will call methods onDataPathColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#colorMap(java.util.Collection)
-
-