#[non_exhaustive]pub struct FailoverDbClusterInput {
pub db_cluster_identifier: Option<String>,
pub target_db_instance_identifier: Option<String>,
}Expand description
Represents the input to FailoverDBCluster.
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.db_cluster_identifier: Option<String>A cluster identifier to force a failover for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster.
target_db_instance_identifier: Option<String>The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1.
Implementations§
source§impl FailoverDbClusterInput
impl FailoverDbClusterInput
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
A cluster identifier to force a failover for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster.
sourcepub fn target_db_instance_identifier(&self) -> Option<&str>
pub fn target_db_instance_identifier(&self) -> Option<&str>
The name of the instance to promote to the primary instance.
You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1.
source§impl FailoverDbClusterInput
impl FailoverDbClusterInput
sourcepub fn builder() -> FailoverDbClusterInputBuilder
pub fn builder() -> FailoverDbClusterInputBuilder
Creates a new builder-style object to manufacture FailoverDbClusterInput.
Trait Implementations§
source§impl Clone for FailoverDbClusterInput
impl Clone for FailoverDbClusterInput
source§fn clone(&self) -> FailoverDbClusterInput
fn clone(&self) -> FailoverDbClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FailoverDbClusterInput
impl Debug for FailoverDbClusterInput
source§impl PartialEq for FailoverDbClusterInput
impl PartialEq for FailoverDbClusterInput
source§fn eq(&self, other: &FailoverDbClusterInput) -> bool
fn eq(&self, other: &FailoverDbClusterInput) -> bool
self and other values to be equal, and is used
by ==.