Struct aws_sdk_drs::operation::start_source_network_recovery::builders::StartSourceNetworkRecoveryFluentBuilder
source · pub struct StartSourceNetworkRecoveryFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartSourceNetworkRecovery
.
Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
Implementations§
source§impl StartSourceNetworkRecoveryFluentBuilder
impl StartSourceNetworkRecoveryFluentBuilder
sourcepub fn as_input(&self) -> &StartSourceNetworkRecoveryInputBuilder
pub fn as_input(&self) -> &StartSourceNetworkRecoveryInputBuilder
Access the StartSourceNetworkRecovery as a reference.
sourcepub async fn send(
self,
) -> Result<StartSourceNetworkRecoveryOutput, SdkError<StartSourceNetworkRecoveryError, HttpResponse>>
pub async fn send( self, ) -> Result<StartSourceNetworkRecoveryOutput, SdkError<StartSourceNetworkRecoveryError, 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<StartSourceNetworkRecoveryOutput, StartSourceNetworkRecoveryError, Self>
pub fn customize( self, ) -> CustomizableOperation<StartSourceNetworkRecoveryOutput, StartSourceNetworkRecoveryError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn source_networks(
self,
input: StartSourceNetworkRecoveryRequestNetworkEntry,
) -> Self
pub fn source_networks( self, input: StartSourceNetworkRecoveryRequestNetworkEntry, ) -> Self
Appends an item to sourceNetworks
.
To override the contents of this collection use set_source_networks
.
The Source Networks that we want to start a Recovery Job for.
sourcepub fn set_source_networks(
self,
input: Option<Vec<StartSourceNetworkRecoveryRequestNetworkEntry>>,
) -> Self
pub fn set_source_networks( self, input: Option<Vec<StartSourceNetworkRecoveryRequestNetworkEntry>>, ) -> Self
The Source Networks that we want to start a Recovery Job for.
sourcepub fn get_source_networks(
&self,
) -> &Option<Vec<StartSourceNetworkRecoveryRequestNetworkEntry>>
pub fn get_source_networks( &self, ) -> &Option<Vec<StartSourceNetworkRecoveryRequestNetworkEntry>>
The Source Networks that we want to start a Recovery Job for.
sourcepub fn deploy_as_new(self, input: bool) -> Self
pub fn deploy_as_new(self, input: bool) -> Self
Don't update existing CloudFormation Stack, recover the network using a new stack.
sourcepub fn set_deploy_as_new(self, input: Option<bool>) -> Self
pub fn set_deploy_as_new(self, input: Option<bool>) -> Self
Don't update existing CloudFormation Stack, recover the network using a new stack.
sourcepub fn get_deploy_as_new(&self) -> &Option<bool>
pub fn get_deploy_as_new(&self) -> &Option<bool>
Don't update existing CloudFormation Stack, recover the network using a new stack.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags to be associated with the Source Network recovery Job.
The tags to be associated with the Source Network recovery Job.
The tags to be associated with the Source Network recovery Job.
Trait Implementations§
source§impl Clone for StartSourceNetworkRecoveryFluentBuilder
impl Clone for StartSourceNetworkRecoveryFluentBuilder
source§fn clone(&self) -> StartSourceNetworkRecoveryFluentBuilder
fn clone(&self) -> StartSourceNetworkRecoveryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartSourceNetworkRecoveryFluentBuilder
impl !RefUnwindSafe for StartSourceNetworkRecoveryFluentBuilder
impl Send for StartSourceNetworkRecoveryFluentBuilder
impl Sync for StartSourceNetworkRecoveryFluentBuilder
impl Unpin for StartSourceNetworkRecoveryFluentBuilder
impl !UnwindSafe for StartSourceNetworkRecoveryFluentBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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