#[non_exhaustive]
pub struct Builder { /* private fields */ }
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.

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.

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.

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.

Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.

Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.

Consumes the builder and constructs a ReplicationGroup

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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