Interface ListVehiclesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVehiclesResponse.Builder,,ListVehiclesResponse> IoTFleetWiseResponse.Builder,SdkBuilder<ListVehiclesResponse.Builder,,ListVehiclesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVehiclesResponse
public static interface ListVehiclesResponse.Builder
extends IoTFleetWiseResponse.Builder, SdkPojo, CopyableBuilder<ListVehiclesResponse.Builder,ListVehiclesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to retrieve the next set of results, ornullif there are no more results.vehicleSummaries(Collection<VehicleSummary> vehicleSummaries) A list of vehicles and information about them.vehicleSummaries(Consumer<VehicleSummary.Builder>... vehicleSummaries) A list of vehicles and information about them.vehicleSummaries(VehicleSummary... vehicleSummaries) A list of vehicles and information about them.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.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
-
vehicleSummaries
A list of vehicles and information about them.
- Parameters:
vehicleSummaries- A list of vehicles and information about them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicleSummaries
A list of vehicles and information about them.
- Parameters:
vehicleSummaries- A list of vehicles and information about them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicleSummaries
A list of vehicles and information about them.
This is a convenience method that creates an instance of theVehicleSummary.Builderavoiding the need to create one manually viaVehicleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovehicleSummaries(List<VehicleSummary>).- Parameters:
vehicleSummaries- a consumer that will call methods onVehicleSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next set of results, or
nullif there are no more results.- Parameters:
nextToken- The token to retrieve the next set of results, ornullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-