Interface BatchCreateVehicleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchCreateVehicleRequest.Builder,,BatchCreateVehicleRequest> IoTFleetWiseRequest.Builder,SdkBuilder<BatchCreateVehicleRequest.Builder,,BatchCreateVehicleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchCreateVehicleRequest
public static interface BatchCreateVehicleRequest.Builder
extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateVehicleRequest.Builder,BatchCreateVehicleRequest>
-
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<CreateVehicleRequestItem> vehicles) A list of information about each vehicle to create.vehicles(Consumer<CreateVehicleRequestItem.Builder>... vehicles) A list of information about each vehicle to create.vehicles(CreateVehicleRequestItem... vehicles) A list of information about each vehicle to create.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vehicles
A list of information about each vehicle to create. For more information, see the API data type.
- Parameters:
vehicles- A list of information about each vehicle to create. 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 each vehicle to create. For more information, see the API data type.
- Parameters:
vehicles- A list of information about each vehicle to create. 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 each vehicle to create. For more information, see the API data type.
This is a convenience method that creates an instance of theCreateVehicleRequestItem.Builderavoiding the need to create one manually viaCreateVehicleRequestItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovehicles(List<CreateVehicleRequestItem>).- Parameters:
vehicles- a consumer that will call methods onCreateVehicleRequestItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchCreateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchCreateVehicleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-