* A list of information about a batch of created vehicles. For more information, see the API data type. *
*/ private java.util.List* A list of information about creation errors, or an empty list if there aren't any errors. *
*/ private java.util.List* A list of information about a batch of created vehicles. For more information, see the API data type. *
* * @return A list of information about a batch of created vehicles. For more information, see the API data type. */ public java.util.List* A list of information about a batch of created vehicles. For more information, see the API data type. *
* * @param vehicles * A list of information about a batch of created vehicles. For more information, see the API data type. */ public void setVehicles(java.util.Collection* A list of information about a batch of created vehicles. For more information, see the API data type. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVehicles(java.util.Collection)} or {@link #withVehicles(java.util.Collection)} if you want to override * the existing values. *
* * @param vehicles * A list of information about a batch of created vehicles. For more information, see the API data type. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateVehicleResult withVehicles(CreateVehicleResponseItem... vehicles) { if (this.vehicles == null) { setVehicles(new java.util.ArrayList* A list of information about a batch of created vehicles. For more information, see the API data type. *
* * @param vehicles * A list of information about a batch of created vehicles. For more information, see the API data type. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateVehicleResult withVehicles(java.util.Collection* A list of information about creation errors, or an empty list if there aren't any errors. *
* * @return A list of information about creation errors, or an empty list if there aren't any errors. */ public java.util.List* A list of information about creation errors, or an empty list if there aren't any errors. *
* * @param errors * A list of information about creation errors, or an empty list if there aren't any errors. */ public void setErrors(java.util.Collection* A list of information about creation errors, or an empty list if there aren't any errors. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * A list of information about creation errors, or an empty list if there aren't any errors. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateVehicleResult withErrors(CreateVehicleError... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* A list of information about creation errors, or an empty list if there aren't any errors. *
* * @param errors * A list of information about creation errors, or an empty list if there aren't any errors. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateVehicleResult withErrors(java.util.Collection