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