Interface ListNetworkMigrationMapperSegmentConstructsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListNetworkMigrationMapperSegmentConstructsRequest.Builder,,ListNetworkMigrationMapperSegmentConstructsRequest> MgnRequest.Builder,SdkBuilder<ListNetworkMigrationMapperSegmentConstructsRequest.Builder,,ListNetworkMigrationMapperSegmentConstructsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListNetworkMigrationMapperSegmentConstructsRequest
@Mutable
@NotThreadSafe
public static interface ListNetworkMigrationMapperSegmentConstructsRequest.Builder
extends MgnRequest.Builder, SdkPojo, CopyableBuilder<ListNetworkMigrationMapperSegmentConstructsRequest.Builder,ListNetworkMigrationMapperSegmentConstructsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionFilters to apply when listing constructs, such as construct type or ID.Filters to apply when listing constructs, such as construct type or ID.maxResults(Integer maxResults) The maximum number of results to return in a single call.networkMigrationDefinitionID(String networkMigrationDefinitionID) The unique identifier of the network migration definition.networkMigrationExecutionID(String networkMigrationExecutionID) The unique identifier of the network migration execution.The token for the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the segment to list constructs for.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
ListNetworkMigrationMapperSegmentConstructsRequest.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
ListNetworkMigrationMapperSegmentConstructsRequest.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.
-
segmentID
The unique identifier of the segment to list constructs for.
- Parameters:
segmentID- The unique identifier of the segment to list constructs for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListNetworkMigrationMapperSegmentConstructsRequest.Builder filters(ListNetworkMigrationMapperSegmentConstructsFilters filters) Filters to apply when listing constructs, such as construct type or ID.
- Parameters:
filters- Filters to apply when listing constructs, such as construct type or ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListNetworkMigrationMapperSegmentConstructsRequest.Builder filters(Consumer<ListNetworkMigrationMapperSegmentConstructsFilters.Builder> filters) Filters to apply when listing constructs, such as construct type or ID.
This is a convenience method that creates an instance of theListNetworkMigrationMapperSegmentConstructsFilters.Builderavoiding the need to create one manually viaListNetworkMigrationMapperSegmentConstructsFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ListNetworkMigrationMapperSegmentConstructsFilters).- Parameters:
filters- a consumer that will call methods onListNetworkMigrationMapperSegmentConstructsFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return in a single call.
- Parameters:
maxResults- The maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListNetworkMigrationMapperSegmentConstructsRequest.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
ListNetworkMigrationMapperSegmentConstructsRequest.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.
-