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
Modifier and TypeMethodDescriptionchartColor(String chartColor) The chart color options for the visual palette.colorMap(Collection<DataPathColor> colorMap) The color map options for the visual palette.colorMap(Consumer<DataPathColor.Builder>... colorMap) The color map options for the visual palette.colorMap(DataPathColor... colorMap) The color map options for the visual palette.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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 tocolorMap(List<DataPathColor>).- 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:
-