Struct aws_sdk_docdb::input::FailoverDbClusterInput
source · #[non_exhaustive]pub struct FailoverDbClusterInput { /* private fields */ }Expand description
Represents the input to FailoverDBCluster.
Implementations§
source§impl FailoverDbClusterInput
impl FailoverDbClusterInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<FailoverDBCluster, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<FailoverDBCluster, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<FailoverDBCluster>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FailoverDbClusterInput.
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.
Trait Implementations§
source§impl Clone for FailoverDbClusterInput
impl Clone for FailoverDbClusterInput
source§fn clone(&self) -> FailoverDbClusterInput
fn clone(&self) -> FailoverDbClusterInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FailoverDbClusterInput
impl Debug for FailoverDbClusterInput
source§impl PartialEq<FailoverDbClusterInput> for FailoverDbClusterInput
impl PartialEq<FailoverDbClusterInput> for FailoverDbClusterInput
source§fn eq(&self, other: &FailoverDbClusterInput) -> bool
fn eq(&self, other: &FailoverDbClusterInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.