Struct aws_sdk_quicksight::types::builders::LegendOptionsBuilder
source · #[non_exhaustive]pub struct LegendOptionsBuilder { /* private fields */ }Expand description
A builder for LegendOptions.
Implementations§
source§impl LegendOptionsBuilder
impl LegendOptionsBuilder
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
Determines whether or not the legend is visible.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not the legend is visible.
sourcepub fn get_visibility(&self) -> &Option<Visibility>
pub fn get_visibility(&self) -> &Option<Visibility>
Determines whether or not the legend is visible.
sourcepub fn title(self, input: LabelOptions) -> Self
pub fn title(self, input: LabelOptions) -> Self
The custom title for the legend.
sourcepub fn set_title(self, input: Option<LabelOptions>) -> Self
pub fn set_title(self, input: Option<LabelOptions>) -> Self
The custom title for the legend.
sourcepub fn get_title(&self) -> &Option<LabelOptions>
pub fn get_title(&self) -> &Option<LabelOptions>
The custom title for the legend.
sourcepub fn position(self, input: LegendPosition) -> Self
pub fn position(self, input: LegendPosition) -> Self
The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
sourcepub fn set_position(self, input: Option<LegendPosition>) -> Self
pub fn set_position(self, input: Option<LegendPosition>) -> Self
The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
sourcepub fn get_position(&self) -> &Option<LegendPosition>
pub fn get_position(&self) -> &Option<LegendPosition>
The positions for the legend. Choose one of the following options:
-
AUTO -
RIGHT -
BOTTOM -
LEFT
sourcepub fn width(self, input: impl Into<String>) -> Self
pub fn width(self, input: impl Into<String>) -> Self
The width of the legend. If this value is omitted, a default width is used when rendering.
sourcepub fn set_width(self, input: Option<String>) -> Self
pub fn set_width(self, input: Option<String>) -> Self
The width of the legend. If this value is omitted, a default width is used when rendering.
sourcepub fn get_width(&self) -> &Option<String>
pub fn get_width(&self) -> &Option<String>
The width of the legend. If this value is omitted, a default width is used when rendering.
sourcepub fn height(self, input: impl Into<String>) -> Self
pub fn height(self, input: impl Into<String>) -> Self
The height of the legend. If this value is omitted, a default height is used when rendering.
sourcepub fn set_height(self, input: Option<String>) -> Self
pub fn set_height(self, input: Option<String>) -> Self
The height of the legend. If this value is omitted, a default height is used when rendering.
sourcepub fn get_height(&self) -> &Option<String>
pub fn get_height(&self) -> &Option<String>
The height of the legend. If this value is omitted, a default height is used when rendering.
sourcepub fn build(self) -> LegendOptions
pub fn build(self) -> LegendOptions
Consumes the builder and constructs a LegendOptions.
Trait Implementations§
source§impl Clone for LegendOptionsBuilder
impl Clone for LegendOptionsBuilder
source§fn clone(&self) -> LegendOptionsBuilder
fn clone(&self) -> LegendOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LegendOptionsBuilder
impl Debug for LegendOptionsBuilder
source§impl Default for LegendOptionsBuilder
impl Default for LegendOptionsBuilder
source§fn default() -> LegendOptionsBuilder
fn default() -> LegendOptionsBuilder
source§impl PartialEq for LegendOptionsBuilder
impl PartialEq for LegendOptionsBuilder
source§fn eq(&self, other: &LegendOptionsBuilder) -> bool
fn eq(&self, other: &LegendOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LegendOptionsBuilder
Auto Trait Implementations§
impl Freeze for LegendOptionsBuilder
impl RefUnwindSafe for LegendOptionsBuilder
impl Send for LegendOptionsBuilder
impl Sync for LegendOptionsBuilder
impl Unpin for LegendOptionsBuilder
impl UnwindSafe for LegendOptionsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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