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 ==
.