Interface ListVehiclesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVehiclesResponse.Builder,
,ListVehiclesResponse> IoTFleetWiseResponse.Builder
,SdkBuilder<ListVehiclesResponse.Builder,
,ListVehiclesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVehiclesResponse
@Mutable
@NotThreadSafe
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, ornull
if 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
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaVehicleSummary.builder()
.When the
Consumer
completes,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
null
if there are no more results.- Parameters:
nextToken
- The token to retrieve the next set of results, ornull
if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-