#[non_exhaustive]pub struct DeleteAnalysisInputBuilder { /* private fields */ }
Expand description
A builder for DeleteAnalysisInput
.
Implementations§
source§impl DeleteAnalysisInputBuilder
impl DeleteAnalysisInputBuilder
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 where you want to delete an analysis.
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 where you want to delete an analysis.
sourcepub fn analysis_id(self, input: impl Into<String>) -> Self
pub fn analysis_id(self, input: impl Into<String>) -> Self
The ID of the analysis that you're deleting.
sourcepub fn set_analysis_id(self, input: Option<String>) -> Self
pub fn set_analysis_id(self, input: Option<String>) -> Self
The ID of the analysis that you're deleting.
sourcepub fn recovery_window_in_days(self, input: i64) -> Self
pub fn recovery_window_in_days(self, input: i64) -> Self
A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery
option in the same API call. The default value is 30.
sourcepub fn set_recovery_window_in_days(self, input: Option<i64>) -> Self
pub fn set_recovery_window_in_days(self, input: Option<i64>) -> Self
A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery
option in the same API call. The default value is 30.
sourcepub fn force_delete_without_recovery(self, input: bool) -> Self
pub fn force_delete_without_recovery(self, input: bool) -> Self
This option defaults to the value NoForceDeleteWithoutRecovery
. To immediately delete the analysis, add the ForceDeleteWithoutRecovery
option. You can't restore an analysis after it's deleted.
sourcepub fn set_force_delete_without_recovery(self, input: Option<bool>) -> Self
pub fn set_force_delete_without_recovery(self, input: Option<bool>) -> Self
This option defaults to the value NoForceDeleteWithoutRecovery
. To immediately delete the analysis, add the ForceDeleteWithoutRecovery
option. You can't restore an analysis after it's deleted.
sourcepub fn build(self) -> Result<DeleteAnalysisInput, BuildError>
pub fn build(self) -> Result<DeleteAnalysisInput, BuildError>
Consumes the builder and constructs a DeleteAnalysisInput
.
Trait Implementations§
source§impl Clone for DeleteAnalysisInputBuilder
impl Clone for DeleteAnalysisInputBuilder
source§fn clone(&self) -> DeleteAnalysisInputBuilder
fn clone(&self) -> DeleteAnalysisInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAnalysisInputBuilder
impl Debug for DeleteAnalysisInputBuilder
source§impl Default for DeleteAnalysisInputBuilder
impl Default for DeleteAnalysisInputBuilder
source§fn default() -> DeleteAnalysisInputBuilder
fn default() -> DeleteAnalysisInputBuilder
source§impl PartialEq<DeleteAnalysisInputBuilder> for DeleteAnalysisInputBuilder
impl PartialEq<DeleteAnalysisInputBuilder> for DeleteAnalysisInputBuilder
source§fn eq(&self, other: &DeleteAnalysisInputBuilder) -> bool
fn eq(&self, other: &DeleteAnalysisInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.