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