Struct aws_sdk_quicksight::types::builders::SnapshotFileBuilder
source · #[non_exhaustive]pub struct SnapshotFileBuilder { /* private fields */ }Expand description
A builder for SnapshotFile.
Implementations§
source§impl SnapshotFileBuilder
impl SnapshotFileBuilder
sourcepub fn sheet_selections(self, input: SnapshotFileSheetSelection) -> Self
pub fn sheet_selections(self, input: SnapshotFileSheetSelection) -> Self
Appends an item to sheet_selections.
To override the contents of this collection use set_sheet_selections.
A list of SnapshotFileSheetSelection objects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.
sourcepub fn set_sheet_selections(
self,
input: Option<Vec<SnapshotFileSheetSelection>>
) -> Self
pub fn set_sheet_selections( self, input: Option<Vec<SnapshotFileSheetSelection>> ) -> Self
A list of SnapshotFileSheetSelection objects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.
sourcepub fn get_sheet_selections(&self) -> &Option<Vec<SnapshotFileSheetSelection>>
pub fn get_sheet_selections(&self) -> &Option<Vec<SnapshotFileSheetSelection>>
A list of SnapshotFileSheetSelection objects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF.
sourcepub fn format_type(self, input: SnapshotFileFormatType) -> Self
pub fn format_type(self, input: SnapshotFileFormatType) -> Self
The format of the snapshot file to be generated. You can choose between CSV, Excel, or PDF.
sourcepub fn set_format_type(self, input: Option<SnapshotFileFormatType>) -> Self
pub fn set_format_type(self, input: Option<SnapshotFileFormatType>) -> Self
The format of the snapshot file to be generated. You can choose between CSV, Excel, or PDF.
sourcepub fn get_format_type(&self) -> &Option<SnapshotFileFormatType>
pub fn get_format_type(&self) -> &Option<SnapshotFileFormatType>
The format of the snapshot file to be generated. You can choose between CSV, Excel, or PDF.
sourcepub fn build(self) -> Result<SnapshotFile, BuildError>
pub fn build(self) -> Result<SnapshotFile, BuildError>
Consumes the builder and constructs a SnapshotFile.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SnapshotFileBuilder
impl Clone for SnapshotFileBuilder
source§fn clone(&self) -> SnapshotFileBuilder
fn clone(&self) -> SnapshotFileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SnapshotFileBuilder
impl Debug for SnapshotFileBuilder
source§impl Default for SnapshotFileBuilder
impl Default for SnapshotFileBuilder
source§fn default() -> SnapshotFileBuilder
fn default() -> SnapshotFileBuilder
source§impl PartialEq for SnapshotFileBuilder
impl PartialEq for SnapshotFileBuilder
source§fn eq(&self, other: &SnapshotFileBuilder) -> bool
fn eq(&self, other: &SnapshotFileBuilder) -> bool
self and other values to be equal, and is used
by ==.