Struct aws_sdk_rds::client::fluent_builders::SwitchoverReadReplica
source · [−]pub struct SwitchoverReadReplica { /* private fields */ }Expand description
Fluent builder constructing a request to SwitchoverReadReplica.
Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the AWS Region that hosts the current standby database.
Implementations
sourceimpl SwitchoverReadReplica
impl SwitchoverReadReplica
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<SwitchoverReadReplica, AwsResponseRetryClassifier>, SdkError<SwitchoverReadReplicaError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<SwitchoverReadReplica, AwsResponseRetryClassifier>, SdkError<SwitchoverReadReplicaError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<SwitchoverReadReplicaOutput, SdkError<SwitchoverReadReplicaError>>
pub async fn send(
self
) -> Result<SwitchoverReadReplicaOutput, SdkError<SwitchoverReadReplicaError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The DB instance identifier of the current standby database. This value is stored as a lowercase string.
Constraints:
-
Must match the identifier of an existing Oracle read replica DB instance.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The DB instance identifier of the current standby database. This value is stored as a lowercase string.
Constraints:
-
Must match the identifier of an existing Oracle read replica DB instance.
Trait Implementations
sourceimpl Clone for SwitchoverReadReplica
impl Clone for SwitchoverReadReplica
sourcefn clone(&self) -> SwitchoverReadReplica
fn clone(&self) -> SwitchoverReadReplica
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more