Struct aws_sdk_drs::operation::update_failback_replication_configuration::builders::UpdateFailbackReplicationConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateFailbackReplicationConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateFailbackReplicationConfigurationInput.
Implementations§
source§impl UpdateFailbackReplicationConfigurationInputBuilder
impl UpdateFailbackReplicationConfigurationInputBuilder
sourcepub fn recovery_instance_id(self, input: impl Into<String>) -> Self
pub fn recovery_instance_id(self, input: impl Into<String>) -> Self
The ID of the Recovery Instance.
This field is required.sourcepub fn set_recovery_instance_id(self, input: Option<String>) -> Self
pub fn set_recovery_instance_id(self, input: Option<String>) -> Self
The ID of the Recovery Instance.
sourcepub fn get_recovery_instance_id(&self) -> &Option<String>
pub fn get_recovery_instance_id(&self) -> &Option<String>
The ID of the Recovery Instance.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Failback Replication Configuration.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Failback Replication Configuration.
sourcepub fn bandwidth_throttling(self, input: i64) -> Self
pub fn bandwidth_throttling(self, input: i64) -> Self
Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.
sourcepub fn set_bandwidth_throttling(self, input: Option<i64>) -> Self
pub fn set_bandwidth_throttling(self, input: Option<i64>) -> Self
Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.
sourcepub fn get_bandwidth_throttling(&self) -> &Option<i64>
pub fn get_bandwidth_throttling(&self) -> &Option<i64>
Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.
sourcepub fn use_private_ip(self, input: bool) -> Self
pub fn use_private_ip(self, input: bool) -> Self
Whether to use Private IP for the failback replication of the Recovery Instance.
sourcepub fn set_use_private_ip(self, input: Option<bool>) -> Self
pub fn set_use_private_ip(self, input: Option<bool>) -> Self
Whether to use Private IP for the failback replication of the Recovery Instance.
sourcepub fn get_use_private_ip(&self) -> &Option<bool>
pub fn get_use_private_ip(&self) -> &Option<bool>
Whether to use Private IP for the failback replication of the Recovery Instance.
sourcepub fn build(
self,
) -> Result<UpdateFailbackReplicationConfigurationInput, BuildError>
pub fn build( self, ) -> Result<UpdateFailbackReplicationConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateFailbackReplicationConfigurationInput.
source§impl UpdateFailbackReplicationConfigurationInputBuilder
impl UpdateFailbackReplicationConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateFailbackReplicationConfigurationOutput, SdkError<UpdateFailbackReplicationConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateFailbackReplicationConfigurationOutput, SdkError<UpdateFailbackReplicationConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateFailbackReplicationConfigurationInputBuilder
impl Clone for UpdateFailbackReplicationConfigurationInputBuilder
source§fn clone(&self) -> UpdateFailbackReplicationConfigurationInputBuilder
fn clone(&self) -> UpdateFailbackReplicationConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateFailbackReplicationConfigurationInputBuilder
impl Default for UpdateFailbackReplicationConfigurationInputBuilder
source§fn default() -> UpdateFailbackReplicationConfigurationInputBuilder
fn default() -> UpdateFailbackReplicationConfigurationInputBuilder
source§impl PartialEq for UpdateFailbackReplicationConfigurationInputBuilder
impl PartialEq for UpdateFailbackReplicationConfigurationInputBuilder
source§fn eq(&self, other: &UpdateFailbackReplicationConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateFailbackReplicationConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateFailbackReplicationConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateFailbackReplicationConfigurationInputBuilder
impl RefUnwindSafe for UpdateFailbackReplicationConfigurationInputBuilder
impl Send for UpdateFailbackReplicationConfigurationInputBuilder
impl Sync for UpdateFailbackReplicationConfigurationInputBuilder
impl Unpin for UpdateFailbackReplicationConfigurationInputBuilder
impl UnwindSafe for UpdateFailbackReplicationConfigurationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more