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 get_chart_color(&self) -> &Option<String>
pub fn get_chart_color(&self) -> &Option<String>
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 get_color_map(&self) -> &Option<Vec<DataPathColor>>
pub fn get_color_map(&self) -> &Option<Vec<DataPathColor>>
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 for VisualPaletteBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for VisualPaletteBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VisualPaletteBuilder
impl Send for VisualPaletteBuilder
impl Sync for VisualPaletteBuilder
impl Unpin for VisualPaletteBuilder
impl UnwindSafe for VisualPaletteBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.