Struct aws_sdk_memorydb::input::update_cluster_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateClusterInput
.
Implementations§
source§impl Builder
impl Builder
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 security_group_ids
.
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
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 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
sourcepub fn build(self) -> Result<UpdateClusterInput, BuildError>
pub fn build(self) -> Result<UpdateClusterInput, BuildError>
Consumes the builder and constructs a UpdateClusterInput
.