Interface ListFleetsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListFleetsResponse.Builder,,ListFleetsResponse> SdkBuilder<ListFleetsResponse.Builder,,ListFleetsResponse> SdkPojo,SdkResponse.Builder,WorkLinkResponse.Builder
- Enclosing class:
 ListFleetsResponse
public static interface ListFleetsResponse.Builder
extends WorkLinkResponse.Builder, SdkPojo, CopyableBuilder<ListFleetsResponse.Builder,ListFleetsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionfleetSummaryList(Collection<FleetSummary> fleetSummaryList) The summary list of the fleets.fleetSummaryList(Consumer<FleetSummary.Builder>... fleetSummaryList) The summary list of the fleets.fleetSummaryList(FleetSummary... fleetSummaryList) The summary list of the fleets.The pagination token used to retrieve the next page of results for this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.worklink.model.WorkLinkResponse.Builder
build, responseMetadata, responseMetadata 
- 
Method Details
- 
fleetSummaryList
The summary list of the fleets.
- Parameters:
 fleetSummaryList- The summary list of the fleets.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
fleetSummaryList
The summary list of the fleets.
- Parameters:
 fleetSummaryList- The summary list of the fleets.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
fleetSummaryList
The summary list of the fleets.
This is a convenience method that creates an instance of theFleetSummary.Builderavoiding the need to create one manually viaFleetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofleetSummaryList(List<FleetSummary>).- Parameters:
 fleetSummaryList- a consumer that will call methods onFleetSummary.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
 nextToken- The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -