Struct aws_sdk_quicksight::types::builders::EmptyVisualBuilder
source · #[non_exhaustive]pub struct EmptyVisualBuilder { /* private fields */ }
Expand description
A builder for EmptyVisual
.
Implementations§
source§impl EmptyVisualBuilder
impl EmptyVisualBuilder
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 data_set_identifier(self, input: impl Into<String>) -> Self
pub fn data_set_identifier(self, input: impl Into<String>) -> Self
The data set that is used in the empty visual. Every visual requires a dataset to render.
This field is required.sourcepub fn set_data_set_identifier(self, input: Option<String>) -> Self
pub fn set_data_set_identifier(self, input: Option<String>) -> Self
The data set that is used in the empty visual. Every visual requires a dataset to render.
sourcepub fn get_data_set_identifier(&self) -> &Option<String>
pub fn get_data_set_identifier(&self) -> &Option<String>
The data set that is used in the empty visual. Every visual requires a dataset to render.
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 build(self) -> Result<EmptyVisual, BuildError>
pub fn build(self) -> Result<EmptyVisual, BuildError>
Consumes the builder and constructs a EmptyVisual
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EmptyVisualBuilder
impl Clone for EmptyVisualBuilder
source§fn clone(&self) -> EmptyVisualBuilder
fn clone(&self) -> EmptyVisualBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EmptyVisualBuilder
impl Debug for EmptyVisualBuilder
source§impl Default for EmptyVisualBuilder
impl Default for EmptyVisualBuilder
source§fn default() -> EmptyVisualBuilder
fn default() -> EmptyVisualBuilder
source§impl PartialEq for EmptyVisualBuilder
impl PartialEq for EmptyVisualBuilder
source§fn eq(&self, other: &EmptyVisualBuilder) -> bool
fn eq(&self, other: &EmptyVisualBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.