Struct aws_sdk_redshift::operation::modify_cluster_snapshot_schedule::builders::ModifyClusterSnapshotScheduleFluentBuilder
source · pub struct ModifyClusterSnapshotScheduleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyClusterSnapshotSchedule
.
Modifies a snapshot schedule for a cluster.
Implementations§
source§impl ModifyClusterSnapshotScheduleFluentBuilder
impl ModifyClusterSnapshotScheduleFluentBuilder
sourcepub fn as_input(&self) -> &ModifyClusterSnapshotScheduleInputBuilder
pub fn as_input(&self) -> &ModifyClusterSnapshotScheduleInputBuilder
Access the ModifyClusterSnapshotSchedule as a reference.
sourcepub async fn send(
self
) -> Result<ModifyClusterSnapshotScheduleOutput, SdkError<ModifyClusterSnapshotScheduleError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyClusterSnapshotScheduleOutput, SdkError<ModifyClusterSnapshotScheduleError, 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<ModifyClusterSnapshotScheduleOutput, ModifyClusterSnapshotScheduleError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyClusterSnapshotScheduleOutput, ModifyClusterSnapshotScheduleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for ModifyClusterSnapshotScheduleFluentBuilder
impl Clone for ModifyClusterSnapshotScheduleFluentBuilder
source§fn clone(&self) -> ModifyClusterSnapshotScheduleFluentBuilder
fn clone(&self) -> ModifyClusterSnapshotScheduleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more