Interface StartNetworkMigrationMappingUpdateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartNetworkMigrationMappingUpdateRequest.Builder,,StartNetworkMigrationMappingUpdateRequest> MgnRequest.Builder,SdkBuilder<StartNetworkMigrationMappingUpdateRequest.Builder,,StartNetworkMigrationMappingUpdateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartNetworkMigrationMappingUpdateRequest
@Mutable
@NotThreadSafe
public static interface StartNetworkMigrationMappingUpdateRequest.Builder
extends MgnRequest.Builder, SdkPojo, CopyableBuilder<StartNetworkMigrationMappingUpdateRequest.Builder,StartNetworkMigrationMappingUpdateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA list of construct updates to apply.constructs(Consumer<StartNetworkMigrationMappingUpdateConstruct.Builder>... constructs) A list of construct updates to apply.constructs(StartNetworkMigrationMappingUpdateConstruct... constructs) A list of construct updates to apply.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of segment updates to apply.A list of segment updates to apply.segments(StartNetworkMigrationMappingUpdateSegment... segments) A list of segment updates to apply.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
-
networkMigrationExecutionID
StartNetworkMigrationMappingUpdateRequest.Builder networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution.
- Parameters:
networkMigrationExecutionID- The unique identifier of the network migration execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkMigrationDefinitionID
StartNetworkMigrationMappingUpdateRequest.Builder networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.
- Parameters:
networkMigrationDefinitionID- The unique identifier of the network migration definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constructs
StartNetworkMigrationMappingUpdateRequest.Builder constructs(Collection<StartNetworkMigrationMappingUpdateConstruct> constructs) A list of construct updates to apply.
- Parameters:
constructs- A list of construct updates to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constructs
StartNetworkMigrationMappingUpdateRequest.Builder constructs(StartNetworkMigrationMappingUpdateConstruct... constructs) A list of construct updates to apply.
- Parameters:
constructs- A list of construct updates to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constructs
StartNetworkMigrationMappingUpdateRequest.Builder constructs(Consumer<StartNetworkMigrationMappingUpdateConstruct.Builder>... constructs) A list of construct updates to apply.
This is a convenience method that creates an instance of theStartNetworkMigrationMappingUpdateConstruct.Builderavoiding the need to create one manually viaStartNetworkMigrationMappingUpdateConstruct.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstructs(List<StartNetworkMigrationMappingUpdateConstruct>).- Parameters:
constructs- a consumer that will call methods onStartNetworkMigrationMappingUpdateConstruct.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segments
StartNetworkMigrationMappingUpdateRequest.Builder segments(Collection<StartNetworkMigrationMappingUpdateSegment> segments) A list of segment updates to apply.
- Parameters:
segments- A list of segment updates to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
StartNetworkMigrationMappingUpdateRequest.Builder segments(StartNetworkMigrationMappingUpdateSegment... segments) A list of segment updates to apply.
- Parameters:
segments- A list of segment updates to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
StartNetworkMigrationMappingUpdateRequest.Builder segments(Consumer<StartNetworkMigrationMappingUpdateSegment.Builder>... segments) A list of segment updates to apply.
This is a convenience method that creates an instance of theStartNetworkMigrationMappingUpdateSegment.Builderavoiding the need to create one manually viaStartNetworkMigrationMappingUpdateSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegments(List<StartNetworkMigrationMappingUpdateSegment>).- Parameters:
segments- a consumer that will call methods onStartNetworkMigrationMappingUpdateSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartNetworkMigrationMappingUpdateRequest.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
StartNetworkMigrationMappingUpdateRequest.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.
-