Interface BatchCreateVehicleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchCreateVehicleResponse.Builder,
,BatchCreateVehicleResponse> IoTFleetWiseResponse.Builder
,SdkBuilder<BatchCreateVehicleResponse.Builder,
,BatchCreateVehicleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCreateVehicleResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<CreateVehicleError> errors) A list of information about creation errors, or an empty list if there aren't any errors.errors
(Consumer<CreateVehicleError.Builder>... errors) A list of information about creation errors, or an empty list if there aren't any errors.errors
(CreateVehicleError... errors) A list of information about creation errors, or an empty list if there aren't any errors.vehicles
(Collection<CreateVehicleResponseItem> vehicles) A list of information about a batch of created vehicles.vehicles
(Consumer<CreateVehicleResponseItem.Builder>... vehicles) A list of information about a batch of created vehicles.vehicles
(CreateVehicleResponseItem... vehicles) A list of information about a batch of created 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vehicles
A list of information about a batch of created vehicles. For more information, see the API data type.
- Parameters:
vehicles
- A list of information about a batch of created vehicles. For more information, see the API data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicles
A list of information about a batch of created vehicles. For more information, see the API data type.
- Parameters:
vehicles
- A list of information about a batch of created vehicles. For more information, see the API data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicles
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 viaCreateVehicleResponseItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovehicles(List<CreateVehicleResponseItem>)
.- Parameters:
vehicles
- a consumer that will call methods onCreateVehicleResponseItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
A list of information about creation errors, or an empty list if there aren't any errors.
- Parameters:
errors
- A list of information about creation errors, or an empty list if there aren't any errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of information about creation errors, or an empty list if there aren't any errors.
- Parameters:
errors
- A list of information about creation errors, or an empty list if there aren't any errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaCreateVehicleError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<CreateVehicleError>)
.- Parameters:
errors
- a consumer that will call methods onCreateVehicleError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-