Struct aws_sdk_memorydb::client::fluent_builders::UpdateCluster
source · [−]pub struct UpdateCluster { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateCluster
.
Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.
Implementations
sourceimpl UpdateCluster
impl UpdateCluster
sourcepub async fn send(
self
) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError>>
pub async fn send(
self
) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError>>
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 cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster to update
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster to update
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the cluster to update
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the cluster to update
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to SecurityGroupIds
.
To override the contents of this collection use set_security_group_ids
.
The SecurityGroupIds to update
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
The SecurityGroupIds to update
sourcepub fn maintenance_window(self, input: impl Into<String>) -> Self
pub fn maintenance_window(self, input: impl Into<String>) -> Self
The maintenance window to update
sourcepub fn set_maintenance_window(self, input: Option<String>) -> Self
pub fn set_maintenance_window(self, input: Option<String>) -> Self
The maintenance window to update
sourcepub fn sns_topic_arn(self, input: impl Into<String>) -> Self
pub fn sns_topic_arn(self, input: impl Into<String>) -> Self
The SNS topic ARN to update
sourcepub fn set_sns_topic_arn(self, input: Option<String>) -> Self
pub fn set_sns_topic_arn(self, input: Option<String>) -> Self
The SNS topic ARN to update
sourcepub fn sns_topic_status(self, input: impl Into<String>) -> Self
pub fn sns_topic_status(self, input: impl Into<String>) -> Self
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
sourcepub fn set_sns_topic_status(self, input: Option<String>) -> Self
pub fn set_sns_topic_status(self, input: Option<String>) -> Self
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
sourcepub fn parameter_group_name(self, input: impl Into<String>) -> Self
pub fn parameter_group_name(self, input: impl Into<String>) -> Self
The name of the parameter group to update
sourcepub fn set_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_parameter_group_name(self, input: Option<String>) -> Self
The name of the parameter group to update
sourcepub fn snapshot_window(self, input: impl Into<String>) -> Self
pub fn snapshot_window(self, input: impl Into<String>) -> Self
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
sourcepub fn set_snapshot_window(self, input: Option<String>) -> Self
pub fn set_snapshot_window(self, input: Option<String>) -> Self
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
sourcepub fn snapshot_retention_limit(self, input: i32) -> Self
pub fn snapshot_retention_limit(self, input: i32) -> Self
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
sourcepub fn set_snapshot_retention_limit(self, input: Option<i32>) -> Self
pub fn set_snapshot_retention_limit(self, input: Option<i32>) -> Self
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
sourcepub fn node_type(self, input: impl Into<String>) -> Self
pub fn node_type(self, input: impl Into<String>) -> Self
A valid node type that you want to scale this cluster up or down to.
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
A valid node type that you want to scale this cluster up or down to.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.
sourcepub fn replica_configuration(self, input: ReplicaConfigurationRequest) -> Self
pub fn replica_configuration(self, input: ReplicaConfigurationRequest) -> Self
The number of replicas that will reside in each shard
sourcepub fn set_replica_configuration(
self,
input: Option<ReplicaConfigurationRequest>
) -> Self
pub fn set_replica_configuration(
self,
input: Option<ReplicaConfigurationRequest>
) -> Self
The number of replicas that will reside in each shard
sourcepub fn shard_configuration(self, input: ShardConfigurationRequest) -> Self
pub fn shard_configuration(self, input: ShardConfigurationRequest) -> Self
The number of shards in the cluster
sourcepub fn set_shard_configuration(
self,
input: Option<ShardConfigurationRequest>
) -> Self
pub fn set_shard_configuration(
self,
input: Option<ShardConfigurationRequest>
) -> Self
The number of shards in the cluster
sourcepub fn acl_name(self, input: impl Into<String>) -> Self
pub fn acl_name(self, input: impl Into<String>) -> Self
The Access Control List that is associated with the cluster
sourcepub fn set_acl_name(self, input: Option<String>) -> Self
pub fn set_acl_name(self, input: Option<String>) -> Self
The Access Control List that is associated with the cluster
Trait Implementations
sourceimpl Clone for UpdateCluster
impl Clone for UpdateCluster
sourcefn clone(&self) -> UpdateCluster
fn clone(&self) -> UpdateCluster
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateCluster
impl Send for UpdateCluster
impl Sync for UpdateCluster
impl Unpin for UpdateCluster
impl !UnwindSafe for UpdateCluster
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more