Struct aws_sdk_rds::types::builders::FailoverStateBuilder
source · #[non_exhaustive]pub struct FailoverStateBuilder { /* private fields */ }Expand description
A builder for FailoverState.
Implementations§
source§impl FailoverStateBuilder
impl FailoverStateBuilder
sourcepub fn status(self, input: FailoverStatus) -> Self
pub fn status(self, input: FailoverStatus) -> Self
The current status of the Aurora global database (GlobalCluster). Possible values are as follows:
-
pending A request to fail over the Aurora global database (
GlobalCluster) has been received by the service. TheGlobalCluster's primary DB cluster and the specified secondary DB cluster are being verified before the failover process can start. -
failing-over This status covers the range of Aurora internal operations that take place during the failover process, such as demoting the primary Aurora DB cluster, promoting the secondary Aurora DB, and synchronizing replicas.
-
cancelling The request to fail over the Aurora global database (
GlobalCluster) was cancelled and the primary Aurora DB cluster and the selected secondary Aurora DB cluster are returning to their previous states.
sourcepub fn set_status(self, input: Option<FailoverStatus>) -> Self
pub fn set_status(self, input: Option<FailoverStatus>) -> Self
The current status of the Aurora global database (GlobalCluster). Possible values are as follows:
-
pending A request to fail over the Aurora global database (
GlobalCluster) has been received by the service. TheGlobalCluster's primary DB cluster and the specified secondary DB cluster are being verified before the failover process can start. -
failing-over This status covers the range of Aurora internal operations that take place during the failover process, such as demoting the primary Aurora DB cluster, promoting the secondary Aurora DB, and synchronizing replicas.
-
cancelling The request to fail over the Aurora global database (
GlobalCluster) was cancelled and the primary Aurora DB cluster and the selected secondary Aurora DB cluster are returning to their previous states.
sourcepub fn from_db_cluster_arn(self, input: impl Into<String>) -> Self
pub fn from_db_cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being demoted, and which is associated with this state.
sourcepub fn set_from_db_cluster_arn(self, input: Option<String>) -> Self
pub fn set_from_db_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being demoted, and which is associated with this state.
sourcepub fn to_db_cluster_arn(self, input: impl Into<String>) -> Self
pub fn to_db_cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being promoted, and which is associated with this state.
sourcepub fn set_to_db_cluster_arn(self, input: Option<String>) -> Self
pub fn set_to_db_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being promoted, and which is associated with this state.
sourcepub fn build(self) -> FailoverState
pub fn build(self) -> FailoverState
Consumes the builder and constructs a FailoverState.
Trait Implementations§
source§impl Clone for FailoverStateBuilder
impl Clone for FailoverStateBuilder
source§fn clone(&self) -> FailoverStateBuilder
fn clone(&self) -> FailoverStateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FailoverStateBuilder
impl Debug for FailoverStateBuilder
source§impl Default for FailoverStateBuilder
impl Default for FailoverStateBuilder
source§fn default() -> FailoverStateBuilder
fn default() -> FailoverStateBuilder
source§impl PartialEq<FailoverStateBuilder> for FailoverStateBuilder
impl PartialEq<FailoverStateBuilder> for FailoverStateBuilder
source§fn eq(&self, other: &FailoverStateBuilder) -> bool
fn eq(&self, other: &FailoverStateBuilder) -> bool
self and other values to be equal, and is used
by ==.