Struct aws_sdk_quicksight::operation::start_dashboard_snapshot_job::builders::StartDashboardSnapshotJobInputBuilder
source · #[non_exhaustive]pub struct StartDashboardSnapshotJobInputBuilder { /* private fields */ }Expand description
A builder for StartDashboardSnapshotJobInput.
Implementations§
source§impl StartDashboardSnapshotJobInputBuilder
impl StartDashboardSnapshotJobInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that the dashboard snapshot job is executed in.
sourcepub fn dashboard_id(self, input: impl Into<String>) -> Self
pub fn dashboard_id(self, input: impl Into<String>) -> Self
The ID of the dashboard that you want to start a snapshot job for.
This field is required.sourcepub fn set_dashboard_id(self, input: Option<String>) -> Self
pub fn set_dashboard_id(self, input: Option<String>) -> Self
The ID of the dashboard that you want to start a snapshot job for.
sourcepub fn get_dashboard_id(&self) -> &Option<String>
pub fn get_dashboard_id(&self) -> &Option<String>
The ID of the dashboard that you want to start a snapshot job for.
sourcepub fn snapshot_job_id(self, input: impl Into<String>) -> Self
pub fn snapshot_job_id(self, input: impl Into<String>) -> Self
An ID for the dashboard snapshot job. This ID is unique to the dashboard while the job is running. This ID can be used to poll the status of a job with a DescribeDashboardSnapshotJob while the job runs. You can reuse this ID for another job 24 hours after the current job is completed.
sourcepub fn set_snapshot_job_id(self, input: Option<String>) -> Self
pub fn set_snapshot_job_id(self, input: Option<String>) -> Self
An ID for the dashboard snapshot job. This ID is unique to the dashboard while the job is running. This ID can be used to poll the status of a job with a DescribeDashboardSnapshotJob while the job runs. You can reuse this ID for another job 24 hours after the current job is completed.
sourcepub fn get_snapshot_job_id(&self) -> &Option<String>
pub fn get_snapshot_job_id(&self) -> &Option<String>
An ID for the dashboard snapshot job. This ID is unique to the dashboard while the job is running. This ID can be used to poll the status of a job with a DescribeDashboardSnapshotJob while the job runs. You can reuse this ID for another job 24 hours after the current job is completed.
sourcepub fn user_configuration(self, input: SnapshotUserConfiguration) -> Self
pub fn user_configuration(self, input: SnapshotUserConfiguration) -> Self
A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.
This field is required.sourcepub fn set_user_configuration(
self,
input: Option<SnapshotUserConfiguration>
) -> Self
pub fn set_user_configuration( self, input: Option<SnapshotUserConfiguration> ) -> Self
A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.
sourcepub fn get_user_configuration(&self) -> &Option<SnapshotUserConfiguration>
pub fn get_user_configuration(&self) -> &Option<SnapshotUserConfiguration>
A structure that contains information about the anonymous users that the generated snapshot is for. This API will not return information about registered Amazon QuickSight.
sourcepub fn snapshot_configuration(self, input: SnapshotConfiguration) -> Self
pub fn snapshot_configuration(self, input: SnapshotConfiguration) -> Self
A structure that describes the configuration of the dashboard snapshot.
This field is required.sourcepub fn set_snapshot_configuration(
self,
input: Option<SnapshotConfiguration>
) -> Self
pub fn set_snapshot_configuration( self, input: Option<SnapshotConfiguration> ) -> Self
A structure that describes the configuration of the dashboard snapshot.
sourcepub fn get_snapshot_configuration(&self) -> &Option<SnapshotConfiguration>
pub fn get_snapshot_configuration(&self) -> &Option<SnapshotConfiguration>
A structure that describes the configuration of the dashboard snapshot.
sourcepub fn build(self) -> Result<StartDashboardSnapshotJobInput, BuildError>
pub fn build(self) -> Result<StartDashboardSnapshotJobInput, BuildError>
Consumes the builder and constructs a StartDashboardSnapshotJobInput.
source§impl StartDashboardSnapshotJobInputBuilder
impl StartDashboardSnapshotJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartDashboardSnapshotJobOutput, SdkError<StartDashboardSnapshotJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartDashboardSnapshotJobOutput, SdkError<StartDashboardSnapshotJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartDashboardSnapshotJobInputBuilder
impl Clone for StartDashboardSnapshotJobInputBuilder
source§fn clone(&self) -> StartDashboardSnapshotJobInputBuilder
fn clone(&self) -> StartDashboardSnapshotJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartDashboardSnapshotJobInputBuilder
impl Default for StartDashboardSnapshotJobInputBuilder
source§fn default() -> StartDashboardSnapshotJobInputBuilder
fn default() -> StartDashboardSnapshotJobInputBuilder
source§impl PartialEq for StartDashboardSnapshotJobInputBuilder
impl PartialEq for StartDashboardSnapshotJobInputBuilder
source§fn eq(&self, other: &StartDashboardSnapshotJobInputBuilder) -> bool
fn eq(&self, other: &StartDashboardSnapshotJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.