Struct aws_sdk_quicksight::types::builders::DataLabelOptionsBuilder
source · #[non_exhaustive]pub struct DataLabelOptionsBuilder { /* private fields */ }
Expand description
A builder for DataLabelOptions
.
Implementations§
source§impl DataLabelOptionsBuilder
impl DataLabelOptionsBuilder
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
Determines the visibility of the data labels.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
Determines the visibility of the data labels.
sourcepub fn get_visibility(&self) -> &Option<Visibility>
pub fn get_visibility(&self) -> &Option<Visibility>
Determines the visibility of the data labels.
sourcepub fn category_label_visibility(self, input: Visibility) -> Self
pub fn category_label_visibility(self, input: Visibility) -> Self
Determines the visibility of the category field labels.
sourcepub fn set_category_label_visibility(self, input: Option<Visibility>) -> Self
pub fn set_category_label_visibility(self, input: Option<Visibility>) -> Self
Determines the visibility of the category field labels.
sourcepub fn get_category_label_visibility(&self) -> &Option<Visibility>
pub fn get_category_label_visibility(&self) -> &Option<Visibility>
Determines the visibility of the category field labels.
sourcepub fn measure_label_visibility(self, input: Visibility) -> Self
pub fn measure_label_visibility(self, input: Visibility) -> Self
Determines the visibility of the measure field labels.
sourcepub fn set_measure_label_visibility(self, input: Option<Visibility>) -> Self
pub fn set_measure_label_visibility(self, input: Option<Visibility>) -> Self
Determines the visibility of the measure field labels.
sourcepub fn get_measure_label_visibility(&self) -> &Option<Visibility>
pub fn get_measure_label_visibility(&self) -> &Option<Visibility>
Determines the visibility of the measure field labels.
sourcepub fn data_label_types(self, input: DataLabelType) -> Self
pub fn data_label_types(self, input: DataLabelType) -> Self
Appends an item to data_label_types
.
To override the contents of this collection use set_data_label_types
.
The option that determines the data label type.
sourcepub fn set_data_label_types(self, input: Option<Vec<DataLabelType>>) -> Self
pub fn set_data_label_types(self, input: Option<Vec<DataLabelType>>) -> Self
The option that determines the data label type.
sourcepub fn get_data_label_types(&self) -> &Option<Vec<DataLabelType>>
pub fn get_data_label_types(&self) -> &Option<Vec<DataLabelType>>
The option that determines the data label type.
sourcepub fn position(self, input: DataLabelPosition) -> Self
pub fn position(self, input: DataLabelPosition) -> Self
Determines the position of the data labels.
sourcepub fn set_position(self, input: Option<DataLabelPosition>) -> Self
pub fn set_position(self, input: Option<DataLabelPosition>) -> Self
Determines the position of the data labels.
sourcepub fn get_position(&self) -> &Option<DataLabelPosition>
pub fn get_position(&self) -> &Option<DataLabelPosition>
Determines the position of the data labels.
sourcepub fn label_content(self, input: DataLabelContent) -> Self
pub fn label_content(self, input: DataLabelContent) -> Self
Determines the content of the data labels.
sourcepub fn set_label_content(self, input: Option<DataLabelContent>) -> Self
pub fn set_label_content(self, input: Option<DataLabelContent>) -> Self
Determines the content of the data labels.
sourcepub fn get_label_content(&self) -> &Option<DataLabelContent>
pub fn get_label_content(&self) -> &Option<DataLabelContent>
Determines the content of the data labels.
sourcepub fn label_font_configuration(self, input: FontConfiguration) -> Self
pub fn label_font_configuration(self, input: FontConfiguration) -> Self
Determines the font configuration of the data labels.
sourcepub fn set_label_font_configuration(
self,
input: Option<FontConfiguration>
) -> Self
pub fn set_label_font_configuration( self, input: Option<FontConfiguration> ) -> Self
Determines the font configuration of the data labels.
sourcepub fn get_label_font_configuration(&self) -> &Option<FontConfiguration>
pub fn get_label_font_configuration(&self) -> &Option<FontConfiguration>
Determines the font configuration of the data labels.
sourcepub fn label_color(self, input: impl Into<String>) -> Self
pub fn label_color(self, input: impl Into<String>) -> Self
Determines the color of the data labels.
sourcepub fn set_label_color(self, input: Option<String>) -> Self
pub fn set_label_color(self, input: Option<String>) -> Self
Determines the color of the data labels.
sourcepub fn get_label_color(&self) -> &Option<String>
pub fn get_label_color(&self) -> &Option<String>
Determines the color of the data labels.
sourcepub fn overlap(self, input: DataLabelOverlap) -> Self
pub fn overlap(self, input: DataLabelOverlap) -> Self
Determines whether overlap is enabled or disabled for the data labels.
sourcepub fn set_overlap(self, input: Option<DataLabelOverlap>) -> Self
pub fn set_overlap(self, input: Option<DataLabelOverlap>) -> Self
Determines whether overlap is enabled or disabled for the data labels.
sourcepub fn get_overlap(&self) -> &Option<DataLabelOverlap>
pub fn get_overlap(&self) -> &Option<DataLabelOverlap>
Determines whether overlap is enabled or disabled for the data labels.
sourcepub fn totals_visibility(self, input: Visibility) -> Self
pub fn totals_visibility(self, input: Visibility) -> Self
Determines the visibility of the total.
sourcepub fn set_totals_visibility(self, input: Option<Visibility>) -> Self
pub fn set_totals_visibility(self, input: Option<Visibility>) -> Self
Determines the visibility of the total.
sourcepub fn get_totals_visibility(&self) -> &Option<Visibility>
pub fn get_totals_visibility(&self) -> &Option<Visibility>
Determines the visibility of the total.
sourcepub fn build(self) -> DataLabelOptions
pub fn build(self) -> DataLabelOptions
Consumes the builder and constructs a DataLabelOptions
.
Trait Implementations§
source§impl Clone for DataLabelOptionsBuilder
impl Clone for DataLabelOptionsBuilder
source§fn clone(&self) -> DataLabelOptionsBuilder
fn clone(&self) -> DataLabelOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataLabelOptionsBuilder
impl Debug for DataLabelOptionsBuilder
source§impl Default for DataLabelOptionsBuilder
impl Default for DataLabelOptionsBuilder
source§fn default() -> DataLabelOptionsBuilder
fn default() -> DataLabelOptionsBuilder
source§impl PartialEq for DataLabelOptionsBuilder
impl PartialEq for DataLabelOptionsBuilder
source§fn eq(&self, other: &DataLabelOptionsBuilder) -> bool
fn eq(&self, other: &DataLabelOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.