Interface CreateNetworkMigrationDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNetworkMigrationDefinitionRequest.Builder,,CreateNetworkMigrationDefinitionRequest> MgnRequest.Builder,SdkBuilder<CreateNetworkMigrationDefinitionRequest.Builder,,CreateNetworkMigrationDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateNetworkMigrationDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the network migration definition.The name of the network migration definition.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Scope tags for the network migration definition to control access and organization.sourceConfigurations(Collection<SourceConfiguration> sourceConfigurations) A list of source configurations for the network migration.sourceConfigurations(Consumer<SourceConfiguration.Builder>... sourceConfigurations) A list of source configurations for the network migration.sourceConfigurations(SourceConfiguration... sourceConfigurations) A list of source configurations for the network migration.Tags to assign to the network migration definition.targetDeployment(String targetDeployment) The target deployment configuration for the migrated network.targetDeployment(TargetDeployment targetDeployment) The target deployment configuration for the migrated network.targetNetwork(Consumer<TargetNetwork.Builder> targetNetwork) The target network configuration including topology and CIDR ranges.targetNetwork(TargetNetwork targetNetwork) The target network configuration including topology and CIDR ranges.targetS3Configuration(Consumer<TargetS3Configuration.Builder> targetS3Configuration) The S3 configuration for storing the target network artifacts.targetS3Configuration(TargetS3Configuration targetS3Configuration) The S3 configuration for storing the target network artifacts.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the network migration definition.
- Parameters:
name- The name of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the network migration definition.
- Parameters:
description- A description of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
CreateNetworkMigrationDefinitionRequest.Builder sourceConfigurations(Collection<SourceConfiguration> sourceConfigurations) A list of source configurations for the network migration.
- Parameters:
sourceConfigurations- A list of source configurations for the network migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
CreateNetworkMigrationDefinitionRequest.Builder sourceConfigurations(SourceConfiguration... sourceConfigurations) A list of source configurations for the network migration.
- Parameters:
sourceConfigurations- A list of source configurations for the network migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
CreateNetworkMigrationDefinitionRequest.Builder sourceConfigurations(Consumer<SourceConfiguration.Builder>... sourceConfigurations) A list of source configurations for the network migration.
This is a convenience method that creates an instance of theSourceConfiguration.Builderavoiding the need to create one manually viaSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfigurations(List<SourceConfiguration>).- Parameters:
sourceConfigurations- a consumer that will call methods onSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetS3Configuration
CreateNetworkMigrationDefinitionRequest.Builder targetS3Configuration(TargetS3Configuration targetS3Configuration) The S3 configuration for storing the target network artifacts.
- Parameters:
targetS3Configuration- The S3 configuration for storing the target network artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetS3Configuration
default CreateNetworkMigrationDefinitionRequest.Builder targetS3Configuration(Consumer<TargetS3Configuration.Builder> targetS3Configuration) The S3 configuration for storing the target network artifacts.
This is a convenience method that creates an instance of theTargetS3Configuration.Builderavoiding the need to create one manually viaTargetS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetS3Configuration(TargetS3Configuration).- Parameters:
targetS3Configuration- a consumer that will call methods onTargetS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetNetwork
The target network configuration including topology and CIDR ranges.
- Parameters:
targetNetwork- The target network configuration including topology and CIDR ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetNetwork
default CreateNetworkMigrationDefinitionRequest.Builder targetNetwork(Consumer<TargetNetwork.Builder> targetNetwork) The target network configuration including topology and CIDR ranges.
This is a convenience method that creates an instance of theTargetNetwork.Builderavoiding the need to create one manually viaTargetNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetNetwork(TargetNetwork).- Parameters:
targetNetwork- a consumer that will call methods onTargetNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDeployment
The target deployment configuration for the migrated network.
- Parameters:
targetDeployment- The target deployment configuration for the migrated network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDeployment
The target deployment configuration for the migrated network.
- Parameters:
targetDeployment- The target deployment configuration for the migrated network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to assign to the network migration definition.
- Parameters:
tags- Tags to assign to the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeTags
Scope tags for the network migration definition to control access and organization.
- Parameters:
scopeTags- Scope tags for the network migration definition to control access and organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNetworkMigrationDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNetworkMigrationDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-