Interface StartSourceNetworkRecoveryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSourceNetworkRecoveryRequest.Builder,StartSourceNetworkRecoveryRequest>,DrsRequest.Builder,SdkBuilder<StartSourceNetworkRecoveryRequest.Builder,StartSourceNetworkRecoveryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartSourceNetworkRecoveryRequest
public static interface StartSourceNetworkRecoveryRequest.Builder extends DrsRequest.Builder, SdkPojo, CopyableBuilder<StartSourceNetworkRecoveryRequest.Builder,StartSourceNetworkRecoveryRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
deployAsNew
StartSourceNetworkRecoveryRequest.Builder deployAsNew(Boolean 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.Builderavoiding the need to create one manually viaStartSourceNetworkRecoveryRequestNetworkEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceNetworks(List.) - 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:
#sourceNetworks(java.util.Collection)
-
tags
StartSourceNetworkRecoveryRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSourceNetworkRecoveryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-