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
copyMethods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaCreateVehicleResponseItem.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCreateVehicleError.builder().When the
Consumercompletes,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:
-