Struct aws_sdk_drs::operation::start_source_network_recovery::builders::StartSourceNetworkRecoveryInputBuilder
source · #[non_exhaustive]pub struct StartSourceNetworkRecoveryInputBuilder { /* private fields */ }
Expand description
A builder for StartSourceNetworkRecoveryInput
.
Implementations§
source§impl StartSourceNetworkRecoveryInputBuilder
impl StartSourceNetworkRecoveryInputBuilder
sourcepub fn source_networks(
self,
input: StartSourceNetworkRecoveryRequestNetworkEntry
) -> Self
pub fn source_networks( self, input: StartSourceNetworkRecoveryRequestNetworkEntry ) -> Self
Appends an item to source_networks
.
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.
sourcepub fn build(self) -> Result<StartSourceNetworkRecoveryInput, BuildError>
pub fn build(self) -> Result<StartSourceNetworkRecoveryInput, BuildError>
Consumes the builder and constructs a StartSourceNetworkRecoveryInput
.
source§impl StartSourceNetworkRecoveryInputBuilder
impl StartSourceNetworkRecoveryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartSourceNetworkRecoveryOutput, SdkError<StartSourceNetworkRecoveryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartSourceNetworkRecoveryOutput, SdkError<StartSourceNetworkRecoveryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartSourceNetworkRecoveryInputBuilder
impl Clone for StartSourceNetworkRecoveryInputBuilder
source§fn clone(&self) -> StartSourceNetworkRecoveryInputBuilder
fn clone(&self) -> StartSourceNetworkRecoveryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartSourceNetworkRecoveryInputBuilder
impl Default for StartSourceNetworkRecoveryInputBuilder
source§fn default() -> StartSourceNetworkRecoveryInputBuilder
fn default() -> StartSourceNetworkRecoveryInputBuilder
source§impl PartialEq for StartSourceNetworkRecoveryInputBuilder
impl PartialEq for StartSourceNetworkRecoveryInputBuilder
source§fn eq(&self, other: &StartSourceNetworkRecoveryInputBuilder) -> bool
fn eq(&self, other: &StartSourceNetworkRecoveryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.