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 ==
.