#[non_exhaustive]pub struct ReplicationGroupPendingModifiedValues {
pub primary_cluster_id: Option<String>,
pub automatic_failover_status: Option<PendingAutomaticFailoverStatus>,
pub resharding: Option<ReshardingStatus>,
pub auth_token_status: Option<AuthTokenUpdateStatus>,
pub user_groups: Option<UserGroupsUpdateStatus>,
pub log_delivery_configurations: Option<Vec<PendingLogDeliveryConfiguration>>,
pub transit_encryption_enabled: Option<bool>,
pub transit_encryption_mode: Option<TransitEncryptionMode>,
pub cluster_mode: Option<ClusterMode>,
}
Expand description
The settings to be applied to the Redis replication group, either immediately or during the next maintenance window.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.primary_cluster_id: Option<String>
The primary cluster ID that is applied immediately (if --apply-immediately
was specified), or during the next maintenance window.
automatic_failover_status: Option<PendingAutomaticFailoverStatus>
Indicates the status of automatic failover for this Redis replication group.
resharding: Option<ReshardingStatus>
The status of an online resharding operation.
auth_token_status: Option<AuthTokenUpdateStatus>
The auth token status
user_groups: Option<UserGroupsUpdateStatus>
The user group being modified.
log_delivery_configurations: Option<Vec<PendingLogDeliveryConfiguration>>
The log delivery configurations being modified
transit_encryption_enabled: Option<bool>
A flag that enables in-transit encryption when set to true.
transit_encryption_mode: Option<TransitEncryptionMode>
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
cluster_mode: Option<ClusterMode>
Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
Implementations§
source§impl ReplicationGroupPendingModifiedValues
impl ReplicationGroupPendingModifiedValues
sourcepub fn primary_cluster_id(&self) -> Option<&str>
pub fn primary_cluster_id(&self) -> Option<&str>
The primary cluster ID that is applied immediately (if --apply-immediately
was specified), or during the next maintenance window.
sourcepub fn automatic_failover_status(
&self
) -> Option<&PendingAutomaticFailoverStatus>
pub fn automatic_failover_status( &self ) -> Option<&PendingAutomaticFailoverStatus>
Indicates the status of automatic failover for this Redis replication group.
sourcepub fn resharding(&self) -> Option<&ReshardingStatus>
pub fn resharding(&self) -> Option<&ReshardingStatus>
The status of an online resharding operation.
sourcepub fn auth_token_status(&self) -> Option<&AuthTokenUpdateStatus>
pub fn auth_token_status(&self) -> Option<&AuthTokenUpdateStatus>
The auth token status
sourcepub fn user_groups(&self) -> Option<&UserGroupsUpdateStatus>
pub fn user_groups(&self) -> Option<&UserGroupsUpdateStatus>
The user group being modified.
sourcepub fn log_delivery_configurations(&self) -> &[PendingLogDeliveryConfiguration]
pub fn log_delivery_configurations(&self) -> &[PendingLogDeliveryConfiguration]
The log delivery configurations being modified
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .log_delivery_configurations.is_none()
.
sourcepub fn transit_encryption_enabled(&self) -> Option<bool>
pub fn transit_encryption_enabled(&self) -> Option<bool>
A flag that enables in-transit encryption when set to true.
sourcepub fn transit_encryption_mode(&self) -> Option<&TransitEncryptionMode>
pub fn transit_encryption_mode(&self) -> Option<&TransitEncryptionMode>
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
sourcepub fn cluster_mode(&self) -> Option<&ClusterMode>
pub fn cluster_mode(&self) -> Option<&ClusterMode>
Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
source§impl ReplicationGroupPendingModifiedValues
impl ReplicationGroupPendingModifiedValues
sourcepub fn builder() -> ReplicationGroupPendingModifiedValuesBuilder
pub fn builder() -> ReplicationGroupPendingModifiedValuesBuilder
Creates a new builder-style object to manufacture ReplicationGroupPendingModifiedValues
.
Trait Implementations§
source§impl Clone for ReplicationGroupPendingModifiedValues
impl Clone for ReplicationGroupPendingModifiedValues
source§fn clone(&self) -> ReplicationGroupPendingModifiedValues
fn clone(&self) -> ReplicationGroupPendingModifiedValues
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplicationGroupPendingModifiedValues
impl PartialEq for ReplicationGroupPendingModifiedValues
source§fn eq(&self, other: &ReplicationGroupPendingModifiedValues) -> bool
fn eq(&self, other: &ReplicationGroupPendingModifiedValues) -> bool
self
and other
values to be equal, and is used
by ==
.