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 ==.impl StructuralPartialEq for SnapshotFileBuilder
Auto Trait Implementations§
impl Freeze for SnapshotFileBuilder
impl RefUnwindSafe for SnapshotFileBuilder
impl Send for SnapshotFileBuilder
impl Sync for SnapshotFileBuilder
impl Unpin for SnapshotFileBuilder
impl UnwindSafe for SnapshotFileBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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