public static interface BatchCreateVehicleResponse.Builder extends IoTFleetWiseResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateVehicleResponse.Builder,BatchCreateVehicleResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchCreateVehicleResponse.Builder |
errors(Collection<CreateVehicleError> errors)
A list of information about creation errors, or an empty list if there aren't any errors.
|
BatchCreateVehicleResponse.Builder |
errors(Consumer<CreateVehicleError.Builder>... errors)
A list of information about creation errors, or an empty list if there aren't any errors.
|
BatchCreateVehicleResponse.Builder |
errors(CreateVehicleError... errors)
A list of information about creation errors, or an empty list if there aren't any errors.
|
BatchCreateVehicleResponse.Builder |
vehicles(Collection<CreateVehicleResponseItem> vehicles)
A list of information about a batch of created vehicles.
|
BatchCreateVehicleResponse.Builder |
vehicles(Consumer<CreateVehicleResponseItem.Builder>... vehicles)
A list of information about a batch of created vehicles.
|
BatchCreateVehicleResponse.Builder |
vehicles(CreateVehicleResponseItem... vehicles)
A list of information about a batch of created vehicles.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchCreateVehicleResponse.Builder vehicles(Collection<CreateVehicleResponseItem> vehicles)
A list of information about a batch of created vehicles. For more information, see the API data type.
vehicles - A list of information about a batch of created vehicles. For more information, see the API data type.BatchCreateVehicleResponse.Builder vehicles(CreateVehicleResponseItem... vehicles)
A list of information about a batch of created vehicles. For more information, see the API data type.
vehicles - A list of information about a batch of created vehicles. For more information, see the API data type.BatchCreateVehicleResponse.Builder vehicles(Consumer<CreateVehicleResponseItem.Builder>... vehicles)
A list of information about a batch of created vehicles. For more information, see the API data type.
This is a convenience method that creates an instance of theCreateVehicleResponseItem.Builder avoiding the
need to create one manually via
CreateVehicleResponseItem.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #vehicles(List.
vehicles - a consumer that will call methods on
CreateVehicleResponseItem.Builder#vehicles(java.util.Collection) BatchCreateVehicleResponse.Builder errors(Collection<CreateVehicleError> errors)
A list of information about creation errors, or an empty list if there aren't any errors.
errors - A list of information about creation errors, or an empty list if there aren't any errors.BatchCreateVehicleResponse.Builder errors(CreateVehicleError... errors)
A list of information about creation errors, or an empty list if there aren't any errors.
errors - A list of information about creation errors, or an empty list if there aren't any errors.BatchCreateVehicleResponse.Builder errors(Consumer<CreateVehicleError.Builder>... errors)
A list of information about creation errors, or an empty list if there aren't any errors.
This is a convenience method that creates an instance of theCreateVehicleError.Builder avoiding the need to
create one manually via
CreateVehicleError.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
CreateVehicleError.Builder#errors(java.util.Collection) Copyright © 2022. All rights reserved.