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§
source§impl CreateSnapshotSchedule
impl CreateSnapshotSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateSnapshotSchedule, AwsResponseRetryClassifier>, SdkError<CreateSnapshotScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateSnapshotSchedule, AwsResponseRetryClassifier>, SdkError<CreateSnapshotScheduleError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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§
source§impl Clone for CreateSnapshotSchedule
impl Clone for CreateSnapshotSchedule
source§fn clone(&self) -> CreateSnapshotSchedule
fn clone(&self) -> CreateSnapshotSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more