Struct aws_sdk_quicksight::types::builders::VisualPaletteBuilder
source · #[non_exhaustive]pub struct VisualPaletteBuilder { /* private fields */ }Expand description
A builder for VisualPalette.
Implementations§
source§impl VisualPaletteBuilder
impl VisualPaletteBuilder
sourcepub fn chart_color(self, input: impl Into<String>) -> Self
pub fn chart_color(self, input: impl Into<String>) -> Self
The chart color options for the visual palette.
sourcepub fn set_chart_color(self, input: Option<String>) -> Self
pub fn set_chart_color(self, input: Option<String>) -> Self
The chart color options for the visual palette.
sourcepub fn color_map(self, input: DataPathColor) -> Self
pub fn color_map(self, input: DataPathColor) -> Self
Appends an item to color_map.
To override the contents of this collection use set_color_map.
The color map options for the visual palette.
sourcepub fn set_color_map(self, input: Option<Vec<DataPathColor>>) -> Self
pub fn set_color_map(self, input: Option<Vec<DataPathColor>>) -> Self
The color map options for the visual palette.
sourcepub fn build(self) -> VisualPalette
pub fn build(self) -> VisualPalette
Consumes the builder and constructs a VisualPalette.
Trait Implementations§
source§impl Clone for VisualPaletteBuilder
impl Clone for VisualPaletteBuilder
source§fn clone(&self) -> VisualPaletteBuilder
fn clone(&self) -> VisualPaletteBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for VisualPaletteBuilder
impl Debug for VisualPaletteBuilder
source§impl Default for VisualPaletteBuilder
impl Default for VisualPaletteBuilder
source§fn default() -> VisualPaletteBuilder
fn default() -> VisualPaletteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<VisualPaletteBuilder> for VisualPaletteBuilder
impl PartialEq<VisualPaletteBuilder> for VisualPaletteBuilder
source§fn eq(&self, other: &VisualPaletteBuilder) -> bool
fn eq(&self, other: &VisualPaletteBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.