Struct aws_sdk_elasticache::model::replication_group::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ReplicationGroup
Implementations
The identifier for the replication group.
The identifier for the replication group.
The user supplied description of the replication group.
The user supplied description of the replication group.
The name of the Global datastore and role of this replication group in the Global datastore.
pub fn set_global_replication_group_info(
self,
input: Option<GlobalReplicationGroupInfo>
) -> Self
pub fn set_global_replication_group_info(
self,
input: Option<GlobalReplicationGroupInfo>
) -> Self
The name of the Global datastore and role of this replication group in the Global datastore.
The current state of this replication group -
creating
,
available
,
modifying
,
deleting
,
create-failed
,
snapshotting
.
The current state of this replication group -
creating
,
available
,
modifying
,
deleting
,
create-failed
,
snapshotting
.
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
pub fn set_pending_modified_values(
self,
input: Option<ReplicationGroupPendingModifiedValues>
) -> Self
pub fn set_pending_modified_values(
self,
input: Option<ReplicationGroupPendingModifiedValues>
) -> Self
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
Appends an item to member_clusters
.
To override the contents of this collection use set_member_clusters
.
The names of all the cache clusters that are part of this replication group.
The names of all the cache clusters that are part of this replication group.
Appends an item to node_groups
.
To override the contents of this collection use set_node_groups
.
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
The cluster ID that is used as the daily snapshot source for the replication group.
The cluster ID that is used as the daily snapshot source for the replication group.
Indicates the status of automatic failover for this Redis replication group.
Indicates the status of automatic failover for this Redis replication group.
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
The number of days for which ElastiCache 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
The number of days for which ElastiCache 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.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
The name of the compute and memory capacity node type for each node in the replication group.
The name of the compute and memory capacity node type for each node in the replication group.
A flag that enables using an AuthToken
(password)
when issuing Redis commands.
Default: false
A flag that enables using an AuthToken
(password)
when issuing Redis commands.
Default: false
The date the auth token was last modified
The date the auth token was last modified
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable in-transit encryption on a cluster
you must set TransitEncryptionEnabled
to true
when you create a cluster.
Required:
Only available when creating a replication group in an Amazon VPC using redis version 3.2.6
, 4.x
or later.
Default: false
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable in-transit encryption on a cluster
you must set TransitEncryptionEnabled
to true
when you create a cluster.
Required:
Only available when creating a replication group in an Amazon VPC using redis version 3.2.6
, 4.x
or later.
Default: false
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable encryption at-rest on a cluster
you must set AtRestEncryptionEnabled
to true
when you create a cluster.
Required:
Only available when creating a replication group in an Amazon VPC using redis version 3.2.6
, 4.x
or later.
Default: false
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable encryption at-rest on a cluster
you must set AtRestEncryptionEnabled
to true
when you create a cluster.
Required:
Only available when creating a replication group in an Amazon VPC using redis version 3.2.6
, 4.x
or later.
Default: false
Appends an item to member_clusters_outpost_arns
.
To override the contents of this collection use set_member_clusters_outpost_arns
.
The outpost ARNs of the replication group's member clusters.
The outpost ARNs of the replication group's member clusters.
The ID of the KMS key used to encrypt the disk in the cluster.
The ID of the KMS key used to encrypt the disk in the cluster.
The ARN (Amazon Resource Name) of the replication group.
The ARN (Amazon Resource Name) of the replication group.
Appends an item to user_group_ids
.
To override the contents of this collection use set_user_group_ids
.
The ID of the user group associated to the replication group.
The ID of the user group associated to the replication group.
Appends an item to log_delivery_configurations
.
To override the contents of this collection use set_log_delivery_configurations
.
Returns the destination, format and type of the logs.
pub fn set_log_delivery_configurations(
self,
input: Option<Vec<LogDeliveryConfiguration>>
) -> Self
pub fn set_log_delivery_configurations(
self,
input: Option<Vec<LogDeliveryConfiguration>>
) -> Self
Returns the destination, format and type of the logs.
The date and time when the cluster was created.
The date and time when the cluster was created.
Consumes the builder and constructs a ReplicationGroup
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more