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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchCreateVehicleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchCreateVehicleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchCreateVehicleRequest.Buildervehicles(Collection<CreateVehicleRequestItem> vehicles)A list of information about each vehicle to create.BatchCreateVehicleRequest.Buildervehicles(Consumer<CreateVehicleRequestItem.Builder>... vehicles)A list of information about each vehicle to create.BatchCreateVehicleRequest.Buildervehicles(CreateVehicleRequestItem... vehicles)A list of information about each vehicle to create.-
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, sdkFields
-
-
-
-
Method Detail
-
vehicles
BatchCreateVehicleRequest.Builder vehicles(Collection<CreateVehicleRequestItem> 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
BatchCreateVehicleRequest.Builder vehicles(CreateVehicleRequestItem... 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
BatchCreateVehicleRequest.Builder vehicles(Consumer<CreateVehicleRequestItem.Builder>... 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 to#vehicles(List.) - 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:
#vehicles(java.util.Collection)
-
overrideConfiguration
BatchCreateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchCreateVehicleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-