Interface ListNetworkMigrationMapperSegmentConstructsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworkMigrationMapperSegmentConstructsResponse.Builder,,ListNetworkMigrationMapperSegmentConstructsResponse> MgnResponse.Builder,SdkBuilder<ListNetworkMigrationMapperSegmentConstructsResponse.Builder,,ListNetworkMigrationMapperSegmentConstructsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNetworkMigrationMapperSegmentConstructsResponse
@Mutable
@NotThreadSafe
public static interface ListNetworkMigrationMapperSegmentConstructsResponse.Builder
extends MgnResponse.Builder, SdkPojo, CopyableBuilder<ListNetworkMigrationMapperSegmentConstructsResponse.Builder,ListNetworkMigrationMapperSegmentConstructsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA list of mapper segment constructs.A list of mapper segment constructs.items(NetworkMigrationMapperSegmentConstruct... items) A list of mapper segment constructs.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
ListNetworkMigrationMapperSegmentConstructsResponse.Builder items(Collection<NetworkMigrationMapperSegmentConstruct> items) A list of mapper segment constructs.
- Parameters:
items- A list of mapper segment constructs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListNetworkMigrationMapperSegmentConstructsResponse.Builder items(NetworkMigrationMapperSegmentConstruct... items) A list of mapper segment constructs.
- Parameters:
items- A list of mapper segment constructs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListNetworkMigrationMapperSegmentConstructsResponse.Builder items(Consumer<NetworkMigrationMapperSegmentConstruct.Builder>... items) A list of mapper segment constructs.
This is a convenience method that creates an instance of theNetworkMigrationMapperSegmentConstruct.Builderavoiding the need to create one manually viaNetworkMigrationMapperSegmentConstruct.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<NetworkMigrationMapperSegmentConstruct>).- Parameters:
items- a consumer that will call methods onNetworkMigrationMapperSegmentConstruct.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.
-