Interface StartSourceNetworkRecoveryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartSourceNetworkRecoveryRequest.Builder,
,StartSourceNetworkRecoveryRequest> DrsRequest.Builder
,SdkBuilder<StartSourceNetworkRecoveryRequest.Builder,
,StartSourceNetworkRecoveryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartSourceNetworkRecoveryRequest
@Mutable
@NotThreadSafe
public static interface StartSourceNetworkRecoveryRequest.Builder
extends DrsRequest.Builder, SdkPojo, CopyableBuilder<StartSourceNetworkRecoveryRequest.Builder,StartSourceNetworkRecoveryRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondeployAsNew
(Boolean deployAsNew) Don't update existing CloudFormation Stack, recover the network using a new stack.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceNetworks
(Collection<StartSourceNetworkRecoveryRequestNetworkEntry> sourceNetworks) The Source Networks that we want to start a Recovery Job for.sourceNetworks
(Consumer<StartSourceNetworkRecoveryRequestNetworkEntry.Builder>... sourceNetworks) The Source Networks that we want to start a Recovery Job for.sourceNetworks
(StartSourceNetworkRecoveryRequestNetworkEntry... sourceNetworks) The Source Networks that we want to start a Recovery Job for.The tags to be associated with the Source Network recovery Job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deployAsNew
Don't update existing CloudFormation Stack, recover the network using a new stack.
- Parameters:
deployAsNew
- Don't update existing CloudFormation Stack, recover the network using a new stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworks
StartSourceNetworkRecoveryRequest.Builder sourceNetworks(Collection<StartSourceNetworkRecoveryRequestNetworkEntry> sourceNetworks) The Source Networks that we want to start a Recovery Job for.
- Parameters:
sourceNetworks
- The Source Networks that we want to start a Recovery Job for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworks
StartSourceNetworkRecoveryRequest.Builder sourceNetworks(StartSourceNetworkRecoveryRequestNetworkEntry... sourceNetworks) The Source Networks that we want to start a Recovery Job for.
- Parameters:
sourceNetworks
- The Source Networks that we want to start a Recovery Job for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworks
StartSourceNetworkRecoveryRequest.Builder sourceNetworks(Consumer<StartSourceNetworkRecoveryRequestNetworkEntry.Builder>... sourceNetworks) The Source Networks that we want to start a Recovery Job for.
This is a convenience method that creates an instance of theStartSourceNetworkRecoveryRequestNetworkEntry.Builder
avoiding the need to create one manually viaStartSourceNetworkRecoveryRequestNetworkEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceNetworks(List<StartSourceNetworkRecoveryRequestNetworkEntry>)
.- Parameters:
sourceNetworks
- a consumer that will call methods onStartSourceNetworkRecoveryRequestNetworkEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to be associated with the Source Network recovery Job.
- Parameters:
tags
- The tags to be associated with the Source Network recovery Job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartSourceNetworkRecoveryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartSourceNetworkRecoveryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-