Struct aws_sdk_redshift::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleInputBuilder
source · #[non_exhaustive]pub struct ModifyClusterSnapshotScheduleInputBuilder { /* private fields */ }Expand description
A builder for ModifyClusterSnapshotScheduleInput.
Implementations§
source§impl ModifyClusterSnapshotScheduleInputBuilder
impl ModifyClusterSnapshotScheduleInputBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
A unique identifier for the cluster whose snapshot schedule you want to modify.
This field is required.sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
A unique identifier for the cluster whose snapshot schedule you want to modify.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
A unique identifier for the cluster whose snapshot schedule you want to modify.
sourcepub fn schedule_identifier(self, input: impl Into<String>) -> Self
pub fn schedule_identifier(self, input: impl Into<String>) -> Self
A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
sourcepub fn set_schedule_identifier(self, input: Option<String>) -> Self
pub fn set_schedule_identifier(self, input: Option<String>) -> Self
A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
sourcepub fn get_schedule_identifier(&self) -> &Option<String>
pub fn get_schedule_identifier(&self) -> &Option<String>
A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
sourcepub fn disassociate_schedule(self, input: bool) -> Self
pub fn disassociate_schedule(self, input: bool) -> Self
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
sourcepub fn set_disassociate_schedule(self, input: Option<bool>) -> Self
pub fn set_disassociate_schedule(self, input: Option<bool>) -> Self
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
sourcepub fn get_disassociate_schedule(&self) -> &Option<bool>
pub fn get_disassociate_schedule(&self) -> &Option<bool>
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
sourcepub fn build(self) -> Result<ModifyClusterSnapshotScheduleInput, BuildError>
pub fn build(self) -> Result<ModifyClusterSnapshotScheduleInput, BuildError>
Consumes the builder and constructs a ModifyClusterSnapshotScheduleInput.
source§impl ModifyClusterSnapshotScheduleInputBuilder
impl ModifyClusterSnapshotScheduleInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ModifyClusterSnapshotScheduleOutput, SdkError<ModifyClusterSnapshotScheduleError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ModifyClusterSnapshotScheduleOutput, SdkError<ModifyClusterSnapshotScheduleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyClusterSnapshotScheduleInputBuilder
impl Clone for ModifyClusterSnapshotScheduleInputBuilder
source§fn clone(&self) -> ModifyClusterSnapshotScheduleInputBuilder
fn clone(&self) -> ModifyClusterSnapshotScheduleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyClusterSnapshotScheduleInputBuilder
impl Default for ModifyClusterSnapshotScheduleInputBuilder
source§fn default() -> ModifyClusterSnapshotScheduleInputBuilder
fn default() -> ModifyClusterSnapshotScheduleInputBuilder
source§impl PartialEq for ModifyClusterSnapshotScheduleInputBuilder
impl PartialEq for ModifyClusterSnapshotScheduleInputBuilder
source§fn eq(&self, other: &ModifyClusterSnapshotScheduleInputBuilder) -> bool
fn eq(&self, other: &ModifyClusterSnapshotScheduleInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyClusterSnapshotScheduleInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyClusterSnapshotScheduleInputBuilder
impl RefUnwindSafe for ModifyClusterSnapshotScheduleInputBuilder
impl Send for ModifyClusterSnapshotScheduleInputBuilder
impl Sync for ModifyClusterSnapshotScheduleInputBuilder
impl Unpin for ModifyClusterSnapshotScheduleInputBuilder
impl UnwindSafe for ModifyClusterSnapshotScheduleInputBuilder
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