Struct aws_sdk_elasticache::operation::delete_replication_group::DeleteReplicationGroupInput
source · #[non_exhaustive]pub struct DeleteReplicationGroupInput {
pub replication_group_id: Option<String>,
pub retain_primary_cluster: Option<bool>,
pub final_snapshot_identifier: Option<String>,
}
Expand description
Represents the input of a DeleteReplicationGroup
operation.
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.replication_group_id: Option<String>
The identifier for the cluster to be deleted. This parameter is not case sensitive.
retain_primary_cluster: Option<bool>
If set to true
, all of the read replicas are deleted, but the primary node is retained.
final_snapshot_identifier: Option<String>
The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
Implementations§
source§impl DeleteReplicationGroupInput
impl DeleteReplicationGroupInput
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The identifier for the cluster to be deleted. This parameter is not case sensitive.
sourcepub fn retain_primary_cluster(&self) -> Option<bool>
pub fn retain_primary_cluster(&self) -> Option<bool>
If set to true
, all of the read replicas are deleted, but the primary node is retained.
sourcepub fn final_snapshot_identifier(&self) -> Option<&str>
pub fn final_snapshot_identifier(&self) -> Option<&str>
The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
source§impl DeleteReplicationGroupInput
impl DeleteReplicationGroupInput
sourcepub fn builder() -> DeleteReplicationGroupInputBuilder
pub fn builder() -> DeleteReplicationGroupInputBuilder
Creates a new builder-style object to manufacture DeleteReplicationGroupInput
.
Trait Implementations§
source§impl Clone for DeleteReplicationGroupInput
impl Clone for DeleteReplicationGroupInput
source§fn clone(&self) -> DeleteReplicationGroupInput
fn clone(&self) -> DeleteReplicationGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteReplicationGroupInput
impl Debug for DeleteReplicationGroupInput
source§impl PartialEq for DeleteReplicationGroupInput
impl PartialEq for DeleteReplicationGroupInput
source§fn eq(&self, other: &DeleteReplicationGroupInput) -> bool
fn eq(&self, other: &DeleteReplicationGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.