pub struct UpdateClusterFluentBuilder { /* 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§
source§impl UpdateClusterFluentBuilder
impl UpdateClusterFluentBuilder
sourcepub fn as_input(&self) -> &UpdateClusterInputBuilder
pub fn as_input(&self) -> &UpdateClusterInputBuilder
Access the UpdateCluster as a reference.
sourcepub async fn send(
self
) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateClusterOutput, SdkError<UpdateClusterError, 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<UpdateClusterOutput, UpdateClusterError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateClusterOutput, UpdateClusterError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
The SecurityGroupIds to update
sourcepub fn maintenance_window(self, input: impl Into<String>) -> Self
pub fn maintenance_window(self, input: impl Into<String>) -> Self
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example: sun:23:00-mon:01:30
sourcepub fn set_maintenance_window(self, input: Option<String>) -> Self
pub fn set_maintenance_window(self, input: Option<String>) -> Self
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example: sun:23:00-mon:01:30
sourcepub fn get_maintenance_window(&self) -> &Option<String>
pub fn get_maintenance_window(&self) -> &Option<String>
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example: sun:23:00-mon:01:30
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 get_sns_topic_arn(&self) -> &Option<String>
pub fn get_sns_topic_arn(&self) -> &Option<String>
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 get_sns_topic_status(&self) -> &Option<String>
pub fn get_sns_topic_status(&self) -> &Option<String>
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 get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
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 get_snapshot_window(&self) -> &Option<String>
pub fn get_snapshot_window(&self) -> &Option<String>
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 get_snapshot_retention_limit(&self) -> &Option<i32>
pub fn get_snapshot_retention_limit(&self) -> &Option<i32>
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 get_node_type(&self) -> &Option<String>
pub fn get_node_type(&self) -> &Option<String>
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 get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
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 get_replica_configuration(&self) -> &Option<ReplicaConfigurationRequest>
pub fn get_replica_configuration(&self) -> &Option<ReplicaConfigurationRequest>
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 get_shard_configuration(&self) -> &Option<ShardConfigurationRequest>
pub fn get_shard_configuration(&self) -> &Option<ShardConfigurationRequest>
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
sourcepub fn get_acl_name(&self) -> &Option<String>
pub fn get_acl_name(&self) -> &Option<String>
The Access Control List that is associated with the cluster
Trait Implementations§
source§impl Clone for UpdateClusterFluentBuilder
impl Clone for UpdateClusterFluentBuilder
source§fn clone(&self) -> UpdateClusterFluentBuilder
fn clone(&self) -> UpdateClusterFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more