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 ==.impl StructuralPartialEq for StartDashboardSnapshotJobInputBuilder
Auto Trait Implementations§
impl Freeze for StartDashboardSnapshotJobInputBuilder
impl RefUnwindSafe for StartDashboardSnapshotJobInputBuilder
impl Send for StartDashboardSnapshotJobInputBuilder
impl Sync for StartDashboardSnapshotJobInputBuilder
impl Unpin for StartDashboardSnapshotJobInputBuilder
impl UnwindSafe for StartDashboardSnapshotJobInputBuilder
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> 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