Struct aws_sdk_redshift::operation::create_snapshot_schedule::builders::CreateSnapshotScheduleFluentBuilder
source · pub struct CreateSnapshotScheduleFluentBuilder { /* 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 CreateSnapshotScheduleFluentBuilder
impl CreateSnapshotScheduleFluentBuilder
sourcepub fn as_input(&self) -> &CreateSnapshotScheduleInputBuilder
pub fn as_input(&self) -> &CreateSnapshotScheduleInputBuilder
Access the CreateSnapshotSchedule as a reference.
sourcepub async fn send(
self
) -> Result<CreateSnapshotScheduleOutput, SdkError<CreateSnapshotScheduleError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSnapshotScheduleOutput, SdkError<CreateSnapshotScheduleError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateSnapshotScheduleOutput, CreateSnapshotScheduleError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateSnapshotScheduleOutput, CreateSnapshotScheduleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_schedule_definitions(&self) -> &Option<Vec<String>>
pub fn get_schedule_definitions(&self) -> &Option<Vec<String>>
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 get_schedule_identifier(&self) -> &Option<String>
pub fn get_schedule_identifier(&self) -> &Option<String>
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.
sourcepub fn get_schedule_description(&self) -> &Option<String>
pub fn get_schedule_description(&self) -> &Option<String>
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.
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 get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
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
sourcepub fn get_next_invocations(&self) -> &Option<i32>
pub fn get_next_invocations(&self) -> &Option<i32>
Trait Implementations§
source§impl Clone for CreateSnapshotScheduleFluentBuilder
impl Clone for CreateSnapshotScheduleFluentBuilder
source§fn clone(&self) -> CreateSnapshotScheduleFluentBuilder
fn clone(&self) -> CreateSnapshotScheduleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more