Interface UpdateNetworkMigrationDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateNetworkMigrationDefinitionRequest.Builder,,UpdateNetworkMigrationDefinitionRequest> MgnRequest.Builder,SdkBuilder<UpdateNetworkMigrationDefinitionRequest.Builder,,UpdateNetworkMigrationDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateNetworkMigrationDefinitionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The updated description of the network migration definition.The updated name of the network migration definition.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The updated scope tags for the network migration definition.sourceConfigurations(Collection<SourceConfiguration> sourceConfigurations) The updated list of source configurations.sourceConfigurations(Consumer<SourceConfiguration.Builder>... sourceConfigurations) The updated list of source configurations.sourceConfigurations(SourceConfiguration... sourceConfigurations) The updated list of source configurations.targetDeployment(String targetDeployment) The updated target deployment configuration.targetDeployment(TargetDeployment targetDeployment) The updated target deployment configuration.targetNetwork(Consumer<TargetNetworkUpdate.Builder> targetNetwork) The updated target network configuration.targetNetwork(TargetNetworkUpdate targetNetwork) The updated target network configuration.targetS3Configuration(Consumer<TargetS3ConfigurationUpdate.Builder> targetS3Configuration) The updated S3 configuration for storing the target network artifacts.targetS3Configuration(TargetS3ConfigurationUpdate targetS3Configuration) The updated 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
-
networkMigrationDefinitionID
UpdateNetworkMigrationDefinitionRequest.Builder networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition to update.
- Parameters:
networkMigrationDefinitionID- The unique identifier of the network migration definition to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the network migration definition.
- Parameters:
name- The updated name of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the network migration definition.
- Parameters:
description- The updated description of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
UpdateNetworkMigrationDefinitionRequest.Builder sourceConfigurations(Collection<SourceConfiguration> sourceConfigurations) The updated list of source configurations.
- Parameters:
sourceConfigurations- The updated list of source configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
UpdateNetworkMigrationDefinitionRequest.Builder sourceConfigurations(SourceConfiguration... sourceConfigurations) The updated list of source configurations.
- Parameters:
sourceConfigurations- The updated list of source configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfigurations
UpdateNetworkMigrationDefinitionRequest.Builder sourceConfigurations(Consumer<SourceConfiguration.Builder>... sourceConfigurations) The updated list of source configurations.
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
UpdateNetworkMigrationDefinitionRequest.Builder targetS3Configuration(TargetS3ConfigurationUpdate targetS3Configuration) The updated S3 configuration for storing the target network artifacts.
- Parameters:
targetS3Configuration- The updated 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 UpdateNetworkMigrationDefinitionRequest.Builder targetS3Configuration(Consumer<TargetS3ConfigurationUpdate.Builder> targetS3Configuration) The updated S3 configuration for storing the target network artifacts.
This is a convenience method that creates an instance of theTargetS3ConfigurationUpdate.Builderavoiding the need to create one manually viaTargetS3ConfigurationUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetS3Configuration(TargetS3ConfigurationUpdate).- Parameters:
targetS3Configuration- a consumer that will call methods onTargetS3ConfigurationUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetNetwork
The updated target network configuration.
- Parameters:
targetNetwork- The updated target network configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetNetwork
default UpdateNetworkMigrationDefinitionRequest.Builder targetNetwork(Consumer<TargetNetworkUpdate.Builder> targetNetwork) The updated target network configuration.
This is a convenience method that creates an instance of theTargetNetworkUpdate.Builderavoiding the need to create one manually viaTargetNetworkUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetNetwork(TargetNetworkUpdate).- Parameters:
targetNetwork- a consumer that will call methods onTargetNetworkUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDeployment
The updated target deployment configuration.
- Parameters:
targetDeployment- The updated target deployment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDeployment
The updated target deployment configuration.
- Parameters:
targetDeployment- The updated target deployment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopeTags
The updated scope tags for the network migration definition.
- Parameters:
scopeTags- The updated scope tags for the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateNetworkMigrationDefinitionRequest.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
UpdateNetworkMigrationDefinitionRequest.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.
-