pub struct CreateSnapshotSchedule { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSnapshotSchedule
.
Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.
Implementations
sourceimpl CreateSnapshotSchedule
impl CreateSnapshotSchedule
sourcepub async fn send(
self
) -> Result<CreateSnapshotScheduleOutput, SdkError<CreateSnapshotScheduleError>>
pub async fn send(
self
) -> Result<CreateSnapshotScheduleOutput, SdkError<CreateSnapshotScheduleError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn schedule_definitions(self, input: impl Into<String>) -> Self
pub fn schedule_definitions(self, input: impl Into<String>) -> Self
Appends an item to ScheduleDefinitions
.
To override the contents of this collection use set_schedule_definitions
.
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
sourcepub fn set_schedule_definitions(self, input: Option<Vec<String>>) -> Self
pub fn set_schedule_definitions(self, input: Option<Vec<String>>) -> Self
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
sourcepub fn schedule_identifier(self, input: impl Into<String>) -> Self
pub fn schedule_identifier(self, input: impl Into<String>) -> Self
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
sourcepub fn set_schedule_identifier(self, input: Option<String>) -> Self
pub fn set_schedule_identifier(self, input: Option<String>) -> Self
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
sourcepub fn schedule_description(self, input: impl Into<String>) -> Self
pub fn schedule_description(self, input: impl Into<String>) -> Self
The description of the snapshot schedule.
sourcepub fn set_schedule_description(self, input: Option<String>) -> Self
pub fn set_schedule_description(self, input: Option<String>) -> Self
The description of the snapshot schedule.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
An optional set of tags you can use to search for the schedule.
An optional set of tags you can use to search for the schedule.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
sourcepub fn next_invocations(self, input: i32) -> Self
pub fn next_invocations(self, input: i32) -> Self
sourcepub fn set_next_invocations(self, input: Option<i32>) -> Self
pub fn set_next_invocations(self, input: Option<i32>) -> Self
Trait Implementations
sourceimpl Clone for CreateSnapshotSchedule
impl Clone for CreateSnapshotSchedule
sourcefn clone(&self) -> CreateSnapshotSchedule
fn clone(&self) -> CreateSnapshotSchedule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateSnapshotSchedule
impl Send for CreateSnapshotSchedule
impl Sync for CreateSnapshotSchedule
impl Unpin for CreateSnapshotSchedule
impl !UnwindSafe for CreateSnapshotSchedule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more