Interface BatchUpdateVehicleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateVehicleRequest.Builder,
,BatchUpdateVehicleRequest> IoTFleetWiseRequest.Builder
,SdkBuilder<BatchUpdateVehicleRequest.Builder,
,BatchUpdateVehicleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateVehicleRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateVehicleRequest.Builder
extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateVehicleRequest.Builder,BatchUpdateVehicleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vehicles
(Collection<UpdateVehicleRequestItem> vehicles) A list of information about the vehicles to update.vehicles
(Consumer<UpdateVehicleRequestItem.Builder>... vehicles) A list of information about the vehicles to update.vehicles
(UpdateVehicleRequestItem... vehicles) A list of information about the vehicles to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vehicles
A list of information about the vehicles to update. For more information, see the API data type.
- Parameters:
vehicles
- A list of information about the vehicles to update. 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 the vehicles to update. For more information, see the API data type.
- Parameters:
vehicles
- A list of information about the vehicles to update. 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 the vehicles to update. For more information, see the API data type.
This is a convenience method that creates an instance of theUpdateVehicleRequestItem.Builder
avoiding the need to create one manually viaUpdateVehicleRequestItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovehicles(List<UpdateVehicleRequestItem>)
.- Parameters:
vehicles
- a consumer that will call methods onUpdateVehicleRequestItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateVehicleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-