Interface BatchUpdateVehicleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateVehicleResponse.Builder,
,BatchUpdateVehicleResponse> IoTFleetWiseResponse.Builder
,SdkBuilder<BatchUpdateVehicleResponse.Builder,
,BatchUpdateVehicleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateVehicleResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<UpdateVehicleError> errors) A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.errors
(Consumer<UpdateVehicleError.Builder>... errors) A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.errors
(UpdateVehicleError... errors) A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.vehicles
(Collection<UpdateVehicleResponseItem> vehicles) A list of information about the batch of updated vehicles.vehicles
(Consumer<UpdateVehicleResponseItem.Builder>... vehicles) A list of information about the batch of updated vehicles.vehicles
(UpdateVehicleResponseItem... vehicles) A list of information about the batch of updated vehicles.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vehicles
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
- Parameters:
vehicles
- A list of information about the batch of updated vehicles.This list contains only unique IDs for the vehicles that were updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicles
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
- Parameters:
vehicles
- A list of information about the batch of updated vehicles.This list contains only unique IDs for the vehicles that were updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicles
BatchUpdateVehicleResponse.Builder vehicles(Consumer<UpdateVehicleResponseItem.Builder>... vehicles) A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
UpdateVehicleResponseItem.Builder
avoiding the need to create one manually viaUpdateVehicleResponseItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovehicles(List<UpdateVehicleResponseItem>)
.- Parameters:
vehicles
- a consumer that will call methods onUpdateVehicleResponseItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
- Parameters:
errors
- A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
- Parameters:
errors
- A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
This is a convenience method that creates an instance of theUpdateVehicleError.Builder
avoiding the need to create one manually viaUpdateVehicleError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<UpdateVehicleError>)
.- Parameters:
errors
- a consumer that will call methods onUpdateVehicleError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-