#[non_exhaustive]pub struct SnapshotFileSheetSelectionBuilder { /* private fields */ }Expand description
A builder for SnapshotFileSheetSelection.
Implementations§
source§impl SnapshotFileSheetSelectionBuilder
impl SnapshotFileSheetSelectionBuilder
sourcepub fn sheet_id(self, input: impl Into<String>) -> Self
pub fn sheet_id(self, input: impl Into<String>) -> Self
The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF format types.
sourcepub fn set_sheet_id(self, input: Option<String>) -> Self
pub fn set_sheet_id(self, input: Option<String>) -> Self
The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF format types.
sourcepub fn get_sheet_id(&self) -> &Option<String>
pub fn get_sheet_id(&self) -> &Option<String>
The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV or PDF format types.
sourcepub fn selection_scope(self, input: SnapshotFileSheetSelectionScope) -> Self
pub fn selection_scope(self, input: SnapshotFileSheetSelectionScope) -> Self
The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options.
-
ALL_VISUALS- Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF. -
SELECTED_VISUALS- Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV.
sourcepub fn set_selection_scope(
self,
input: Option<SnapshotFileSheetSelectionScope>
) -> Self
pub fn set_selection_scope( self, input: Option<SnapshotFileSheetSelectionScope> ) -> Self
The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options.
-
ALL_VISUALS- Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF. -
SELECTED_VISUALS- Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV.
sourcepub fn get_selection_scope(&self) -> &Option<SnapshotFileSheetSelectionScope>
pub fn get_selection_scope(&self) -> &Option<SnapshotFileSheetSelectionScope>
The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options.
-
ALL_VISUALS- Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF. -
SELECTED_VISUALS- Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV.
sourcepub fn visual_ids(self, input: impl Into<String>) -> Self
pub fn visual_ids(self, input: impl Into<String>) -> Self
Appends an item to visual_ids.
To override the contents of this collection use set_visual_ids.
A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID.
sourcepub fn set_visual_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_visual_ids(self, input: Option<Vec<String>>) -> Self
A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID.
sourcepub fn get_visual_ids(&self) -> &Option<Vec<String>>
pub fn get_visual_ids(&self) -> &Option<Vec<String>>
A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV. This value supports a maximum of 1 visual ID.
sourcepub fn build(self) -> SnapshotFileSheetSelection
pub fn build(self) -> SnapshotFileSheetSelection
Consumes the builder and constructs a SnapshotFileSheetSelection.
Trait Implementations§
source§impl Clone for SnapshotFileSheetSelectionBuilder
impl Clone for SnapshotFileSheetSelectionBuilder
source§fn clone(&self) -> SnapshotFileSheetSelectionBuilder
fn clone(&self) -> SnapshotFileSheetSelectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SnapshotFileSheetSelectionBuilder
impl Default for SnapshotFileSheetSelectionBuilder
source§fn default() -> SnapshotFileSheetSelectionBuilder
fn default() -> SnapshotFileSheetSelectionBuilder
source§impl PartialEq<SnapshotFileSheetSelectionBuilder> for SnapshotFileSheetSelectionBuilder
impl PartialEq<SnapshotFileSheetSelectionBuilder> for SnapshotFileSheetSelectionBuilder
source§fn eq(&self, other: &SnapshotFileSheetSelectionBuilder) -> bool
fn eq(&self, other: &SnapshotFileSheetSelectionBuilder) -> bool
self and other values to be equal, and is used
by ==.