Struct aws_sdk_redshift::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleFluentBuilder
source · pub struct ModifySnapshotScheduleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifySnapshotSchedule
.
Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
Implementations§
source§impl ModifySnapshotScheduleFluentBuilder
impl ModifySnapshotScheduleFluentBuilder
sourcepub fn as_input(&self) -> &ModifySnapshotScheduleInputBuilder
pub fn as_input(&self) -> &ModifySnapshotScheduleInputBuilder
Access the ModifySnapshotSchedule as a reference.
sourcepub async fn send(
self,
) -> Result<ModifySnapshotScheduleOutput, SdkError<ModifySnapshotScheduleError, HttpResponse>>
pub async fn send( self, ) -> Result<ModifySnapshotScheduleOutput, SdkError<ModifySnapshotScheduleError, 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<ModifySnapshotScheduleOutput, ModifySnapshotScheduleError, Self>
pub fn customize( self, ) -> CustomizableOperation<ModifySnapshotScheduleOutput, ModifySnapshotScheduleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn schedule_identifier(self, input: impl Into<String>) -> Self
pub fn schedule_identifier(self, input: impl Into<String>) -> Self
A unique alphanumeric identifier of the schedule to modify.
sourcepub fn set_schedule_identifier(self, input: Option<String>) -> Self
pub fn set_schedule_identifier(self, input: Option<String>) -> Self
A unique alphanumeric identifier of the schedule to modify.
sourcepub fn get_schedule_identifier(&self) -> &Option<String>
pub fn get_schedule_identifier(&self) -> &Option<String>
A unique alphanumeric identifier of the schedule to modify.
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
.
An updated list of schedule definitions. A schedule 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
An updated list of schedule definitions. A schedule 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>>
An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
Trait Implementations§
source§impl Clone for ModifySnapshotScheduleFluentBuilder
impl Clone for ModifySnapshotScheduleFluentBuilder
source§fn clone(&self) -> ModifySnapshotScheduleFluentBuilder
fn clone(&self) -> ModifySnapshotScheduleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ModifySnapshotScheduleFluentBuilder
impl !RefUnwindSafe for ModifySnapshotScheduleFluentBuilder
impl Send for ModifySnapshotScheduleFluentBuilder
impl Sync for ModifySnapshotScheduleFluentBuilder
impl Unpin for ModifySnapshotScheduleFluentBuilder
impl !UnwindSafe for ModifySnapshotScheduleFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more