Interface ListNetworkMigrationMappingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworkMigrationMappingsResponse.Builder,,ListNetworkMigrationMappingsResponse> MgnResponse.Builder,SdkBuilder<ListNetworkMigrationMappingsResponse.Builder,,ListNetworkMigrationMappingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNetworkMigrationMappingsResponse
@Mutable
@NotThreadSafe
public static interface ListNetworkMigrationMappingsResponse.Builder
extends MgnResponse.Builder, SdkPojo, CopyableBuilder<ListNetworkMigrationMappingsResponse.Builder,ListNetworkMigrationMappingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA list of network migration mapping job details.A list of network migration mapping job details.items(NetworkMigrationMappingJobDetails... items) A list of network migration mapping job details.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
ListNetworkMigrationMappingsResponse.Builder items(Collection<NetworkMigrationMappingJobDetails> items) A list of network migration mapping job details.
- Parameters:
items- A list of network migration mapping job details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of network migration mapping job details.
- Parameters:
items- A list of network migration mapping job details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListNetworkMigrationMappingsResponse.Builder items(Consumer<NetworkMigrationMappingJobDetails.Builder>... items) A list of network migration mapping job details.
This is a convenience method that creates an instance of theNetworkMigrationMappingJobDetails.Builderavoiding the need to create one manually viaNetworkMigrationMappingJobDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<NetworkMigrationMappingJobDetails>).- Parameters:
items- a consumer that will call methods onNetworkMigrationMappingJobDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-