Struct aws_sdk_quicksight::types::builders::DataColorPaletteBuilder
source · #[non_exhaustive]pub struct DataColorPaletteBuilder { /* private fields */ }
Expand description
A builder for DataColorPalette
.
Implementations§
source§impl DataColorPaletteBuilder
impl DataColorPaletteBuilder
sourcepub fn colors(self, input: impl Into<String>) -> Self
pub fn colors(self, input: impl Into<String>) -> Self
Appends an item to colors
.
To override the contents of this collection use set_colors
.
The hexadecimal codes for the colors.
sourcepub fn set_colors(self, input: Option<Vec<String>>) -> Self
pub fn set_colors(self, input: Option<Vec<String>>) -> Self
The hexadecimal codes for the colors.
sourcepub fn get_colors(&self) -> &Option<Vec<String>>
pub fn get_colors(&self) -> &Option<Vec<String>>
The hexadecimal codes for the colors.
sourcepub fn min_max_gradient(self, input: impl Into<String>) -> Self
pub fn min_max_gradient(self, input: impl Into<String>) -> Self
Appends an item to min_max_gradient
.
To override the contents of this collection use set_min_max_gradient
.
The minimum and maximum hexadecimal codes that describe a color gradient.
sourcepub fn set_min_max_gradient(self, input: Option<Vec<String>>) -> Self
pub fn set_min_max_gradient(self, input: Option<Vec<String>>) -> Self
The minimum and maximum hexadecimal codes that describe a color gradient.
sourcepub fn get_min_max_gradient(&self) -> &Option<Vec<String>>
pub fn get_min_max_gradient(&self) -> &Option<Vec<String>>
The minimum and maximum hexadecimal codes that describe a color gradient.
sourcepub fn empty_fill_color(self, input: impl Into<String>) -> Self
pub fn empty_fill_color(self, input: impl Into<String>) -> Self
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
sourcepub fn set_empty_fill_color(self, input: Option<String>) -> Self
pub fn set_empty_fill_color(self, input: Option<String>) -> Self
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
sourcepub fn get_empty_fill_color(&self) -> &Option<String>
pub fn get_empty_fill_color(&self) -> &Option<String>
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
sourcepub fn build(self) -> DataColorPalette
pub fn build(self) -> DataColorPalette
Consumes the builder and constructs a DataColorPalette
.
Trait Implementations§
source§impl Clone for DataColorPaletteBuilder
impl Clone for DataColorPaletteBuilder
source§fn clone(&self) -> DataColorPaletteBuilder
fn clone(&self) -> DataColorPaletteBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataColorPaletteBuilder
impl Debug for DataColorPaletteBuilder
source§impl Default for DataColorPaletteBuilder
impl Default for DataColorPaletteBuilder
source§fn default() -> DataColorPaletteBuilder
fn default() -> DataColorPaletteBuilder
source§impl PartialEq for DataColorPaletteBuilder
impl PartialEq for DataColorPaletteBuilder
source§fn eq(&self, other: &DataColorPaletteBuilder) -> bool
fn eq(&self, other: &DataColorPaletteBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataColorPaletteBuilder
Auto Trait Implementations§
impl Freeze for DataColorPaletteBuilder
impl RefUnwindSafe for DataColorPaletteBuilder
impl Send for DataColorPaletteBuilder
impl Sync for DataColorPaletteBuilder
impl Unpin for DataColorPaletteBuilder
impl UnwindSafe for DataColorPaletteBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more