Struct aws_sdk_rds::model::failover_state::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for FailoverState.
Implementations
sourceimpl Builder
impl Builder
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.