Struct aws_sdk_drs::operation::disconnect_source_server::builders::DisconnectSourceServerFluentBuilder
source · pub struct DisconnectSourceServerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DisconnectSourceServer
.
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
Implementations§
source§impl DisconnectSourceServerFluentBuilder
impl DisconnectSourceServerFluentBuilder
sourcepub fn as_input(&self) -> &DisconnectSourceServerInputBuilder
pub fn as_input(&self) -> &DisconnectSourceServerInputBuilder
Access the DisconnectSourceServer as a reference.
sourcepub async fn send(
self
) -> Result<DisconnectSourceServerOutput, SdkError<DisconnectSourceServerError, HttpResponse>>
pub async fn send( self ) -> Result<DisconnectSourceServerOutput, SdkError<DisconnectSourceServerError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DisconnectSourceServerOutput, DisconnectSourceServerError, Self>
pub fn customize( self ) -> CustomizableOperation<DisconnectSourceServerOutput, DisconnectSourceServerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn source_server_id(self, input: impl Into<String>) -> Self
pub fn source_server_id(self, input: impl Into<String>) -> Self
The ID of the Source Server to disconnect.
sourcepub fn set_source_server_id(self, input: Option<String>) -> Self
pub fn set_source_server_id(self, input: Option<String>) -> Self
The ID of the Source Server to disconnect.
sourcepub fn get_source_server_id(&self) -> &Option<String>
pub fn get_source_server_id(&self) -> &Option<String>
The ID of the Source Server to disconnect.
Trait Implementations§
source§impl Clone for DisconnectSourceServerFluentBuilder
impl Clone for DisconnectSourceServerFluentBuilder
source§fn clone(&self) -> DisconnectSourceServerFluentBuilder
fn clone(&self) -> DisconnectSourceServerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more