Interface ListRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRoutesResponse.Builder,,ListRoutesResponse> MigrationHubRefactorSpacesResponse.Builder,SdkBuilder<ListRoutesResponse.Builder,,ListRoutesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRoutesResponse
public static interface ListRoutesResponse.Builder
extends MigrationHubRefactorSpacesResponse.Builder, SdkPojo, CopyableBuilder<ListRoutesResponse.Builder,ListRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next page of results.routeSummaryList(Collection<RouteSummary> routeSummaryList) The list ofRouteSummaryobjects.routeSummaryList(Consumer<RouteSummary.Builder>... routeSummaryList) The list ofRouteSummaryobjects.routeSummaryList(RouteSummary... routeSummaryList) The list ofRouteSummaryobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
routeSummaryList
The list of
RouteSummaryobjects.- Parameters:
routeSummaryList- The list ofRouteSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeSummaryList
The list of
RouteSummaryobjects.- Parameters:
routeSummaryList- The list ofRouteSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeSummaryList
The list of
This is a convenience method that creates an instance of theRouteSummaryobjects.RouteSummary.Builderavoiding the need to create one manually viaRouteSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouteSummaryList(List<RouteSummary>).- Parameters:
routeSummaryList- a consumer that will call methods onRouteSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-