Struct aws_sdk_redshift::input::ModifyClusterSnapshotInput [−][src]
#[non_exhaustive]pub struct ModifyClusterSnapshotInput {
pub snapshot_identifier: Option<String>,
pub manual_snapshot_retention_period: Option<i32>,
pub force: bool,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.snapshot_identifier: Option<String>
The identifier of the snapshot whose setting you want to modify.
manual_snapshot_retention_period: Option<i32>
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
force: bool
A Boolean option to override an exception if the retention period has already passed.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClusterSnapshot, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClusterSnapshot, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyClusterSnapshot
>
Creates a new builder-style object to manufacture ModifyClusterSnapshotInput
The identifier of the snapshot whose setting you want to modify.
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModifyClusterSnapshotInput
impl Send for ModifyClusterSnapshotInput
impl Sync for ModifyClusterSnapshotInput
impl Unpin for ModifyClusterSnapshotInput
impl UnwindSafe for ModifyClusterSnapshotInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more