Struct aws_sdk_quicksight::types::builders::KpiVisualBuilder
source · #[non_exhaustive]pub struct KpiVisualBuilder { /* private fields */ }Expand description
A builder for KpiVisual.
Implementations§
source§impl KpiVisualBuilder
impl KpiVisualBuilder
sourcepub fn visual_id(self, input: impl Into<String>) -> Self
pub fn visual_id(self, input: impl Into<String>) -> Self
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
This field is required.sourcepub fn set_visual_id(self, input: Option<String>) -> Self
pub fn set_visual_id(self, input: Option<String>) -> Self
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
sourcepub fn get_visual_id(&self) -> &Option<String>
pub fn get_visual_id(&self) -> &Option<String>
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
sourcepub fn title(self, input: VisualTitleLabelOptions) -> Self
pub fn title(self, input: VisualTitleLabelOptions) -> Self
The title that is displayed on the visual.
sourcepub fn set_title(self, input: Option<VisualTitleLabelOptions>) -> Self
pub fn set_title(self, input: Option<VisualTitleLabelOptions>) -> Self
The title that is displayed on the visual.
sourcepub fn get_title(&self) -> &Option<VisualTitleLabelOptions>
pub fn get_title(&self) -> &Option<VisualTitleLabelOptions>
The title that is displayed on the visual.
sourcepub fn subtitle(self, input: VisualSubtitleLabelOptions) -> Self
pub fn subtitle(self, input: VisualSubtitleLabelOptions) -> Self
The subtitle that is displayed on the visual.
sourcepub fn set_subtitle(self, input: Option<VisualSubtitleLabelOptions>) -> Self
pub fn set_subtitle(self, input: Option<VisualSubtitleLabelOptions>) -> Self
The subtitle that is displayed on the visual.
sourcepub fn get_subtitle(&self) -> &Option<VisualSubtitleLabelOptions>
pub fn get_subtitle(&self) -> &Option<VisualSubtitleLabelOptions>
The subtitle that is displayed on the visual.
sourcepub fn chart_configuration(self, input: KpiConfiguration) -> Self
pub fn chart_configuration(self, input: KpiConfiguration) -> Self
The configuration of a KPI visual.
sourcepub fn set_chart_configuration(self, input: Option<KpiConfiguration>) -> Self
pub fn set_chart_configuration(self, input: Option<KpiConfiguration>) -> Self
The configuration of a KPI visual.
sourcepub fn get_chart_configuration(&self) -> &Option<KpiConfiguration>
pub fn get_chart_configuration(&self) -> &Option<KpiConfiguration>
The configuration of a KPI visual.
sourcepub fn conditional_formatting(self, input: KpiConditionalFormatting) -> Self
pub fn conditional_formatting(self, input: KpiConditionalFormatting) -> Self
The conditional formatting of a KPI visual.
sourcepub fn set_conditional_formatting(
self,
input: Option<KpiConditionalFormatting>
) -> Self
pub fn set_conditional_formatting( self, input: Option<KpiConditionalFormatting> ) -> Self
The conditional formatting of a KPI visual.
sourcepub fn get_conditional_formatting(&self) -> &Option<KpiConditionalFormatting>
pub fn get_conditional_formatting(&self) -> &Option<KpiConditionalFormatting>
The conditional formatting of a KPI visual.
sourcepub fn actions(self, input: VisualCustomAction) -> Self
pub fn actions(self, input: VisualCustomAction) -> Self
Appends an item to actions.
To override the contents of this collection use set_actions.
The list of custom actions that are configured for a visual.
sourcepub fn set_actions(self, input: Option<Vec<VisualCustomAction>>) -> Self
pub fn set_actions(self, input: Option<Vec<VisualCustomAction>>) -> Self
The list of custom actions that are configured for a visual.
sourcepub fn get_actions(&self) -> &Option<Vec<VisualCustomAction>>
pub fn get_actions(&self) -> &Option<Vec<VisualCustomAction>>
The list of custom actions that are configured for a visual.
sourcepub fn column_hierarchies(self, input: ColumnHierarchy) -> Self
pub fn column_hierarchies(self, input: ColumnHierarchy) -> Self
Appends an item to column_hierarchies.
To override the contents of this collection use set_column_hierarchies.
The column hierarchy that is used during drill-downs and drill-ups.
sourcepub fn set_column_hierarchies(self, input: Option<Vec<ColumnHierarchy>>) -> Self
pub fn set_column_hierarchies(self, input: Option<Vec<ColumnHierarchy>>) -> Self
The column hierarchy that is used during drill-downs and drill-ups.
sourcepub fn get_column_hierarchies(&self) -> &Option<Vec<ColumnHierarchy>>
pub fn get_column_hierarchies(&self) -> &Option<Vec<ColumnHierarchy>>
The column hierarchy that is used during drill-downs and drill-ups.
Trait Implementations§
source§impl Clone for KpiVisualBuilder
impl Clone for KpiVisualBuilder
source§fn clone(&self) -> KpiVisualBuilder
fn clone(&self) -> KpiVisualBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KpiVisualBuilder
impl Debug for KpiVisualBuilder
source§impl Default for KpiVisualBuilder
impl Default for KpiVisualBuilder
source§fn default() -> KpiVisualBuilder
fn default() -> KpiVisualBuilder
source§impl PartialEq for KpiVisualBuilder
impl PartialEq for KpiVisualBuilder
source§fn eq(&self, other: &KpiVisualBuilder) -> bool
fn eq(&self, other: &KpiVisualBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KpiVisualBuilder
Auto Trait Implementations§
impl Freeze for KpiVisualBuilder
impl RefUnwindSafe for KpiVisualBuilder
impl Send for KpiVisualBuilder
impl Sync for KpiVisualBuilder
impl Unpin for KpiVisualBuilder
impl UnwindSafe for KpiVisualBuilder
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