Struct aws_sdk_redshift::operation::modify_snapshot_schedule::builders::ModifySnapshotScheduleInputBuilder
source · #[non_exhaustive]pub struct ModifySnapshotScheduleInputBuilder { /* private fields */ }Expand description
A builder for ModifySnapshotScheduleInput.
Implementations§
source§impl ModifySnapshotScheduleInputBuilder
impl ModifySnapshotScheduleInputBuilder
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.
This field is required.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 schedule_definitions.
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)".
sourcepub fn build(self) -> Result<ModifySnapshotScheduleInput, BuildError>
pub fn build(self) -> Result<ModifySnapshotScheduleInput, BuildError>
Consumes the builder and constructs a ModifySnapshotScheduleInput.
source§impl ModifySnapshotScheduleInputBuilder
impl ModifySnapshotScheduleInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifySnapshotScheduleOutput, SdkError<ModifySnapshotScheduleError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifySnapshotScheduleOutput, SdkError<ModifySnapshotScheduleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifySnapshotScheduleInputBuilder
impl Clone for ModifySnapshotScheduleInputBuilder
source§fn clone(&self) -> ModifySnapshotScheduleInputBuilder
fn clone(&self) -> ModifySnapshotScheduleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifySnapshotScheduleInputBuilder
impl Default for ModifySnapshotScheduleInputBuilder
source§fn default() -> ModifySnapshotScheduleInputBuilder
fn default() -> ModifySnapshotScheduleInputBuilder
source§impl PartialEq for ModifySnapshotScheduleInputBuilder
impl PartialEq for ModifySnapshotScheduleInputBuilder
source§fn eq(&self, other: &ModifySnapshotScheduleInputBuilder) -> bool
fn eq(&self, other: &ModifySnapshotScheduleInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifySnapshotScheduleInputBuilder
Auto Trait Implementations§
impl Freeze for ModifySnapshotScheduleInputBuilder
impl RefUnwindSafe for ModifySnapshotScheduleInputBuilder
impl Send for ModifySnapshotScheduleInputBuilder
impl Sync for ModifySnapshotScheduleInputBuilder
impl Unpin for ModifySnapshotScheduleInputBuilder
impl UnwindSafe for ModifySnapshotScheduleInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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