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 ==
.impl StructuralPartialEq for DeleteReplicationGroupInput
Auto Trait Implementations§
impl Freeze for DeleteReplicationGroupInput
impl RefUnwindSafe for DeleteReplicationGroupInput
impl Send for DeleteReplicationGroupInput
impl Sync for DeleteReplicationGroupInput
impl Unpin for DeleteReplicationGroupInput
impl UnwindSafe for DeleteReplicationGroupInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more