@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateVehicleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchUpdateVehicleResult() |
Modifier and Type | Method and Description |
---|---|
BatchUpdateVehicleResult |
clone() |
boolean |
equals(Object obj) |
List<UpdateVehicleError> |
getErrors()
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors,
an empty list.
|
List<UpdateVehicleResponseItem> |
getVehicles()
A list of information about the batch of updated vehicles.
|
int |
hashCode() |
void |
setErrors(Collection<UpdateVehicleError> errors)
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors,
an empty list.
|
void |
setVehicles(Collection<UpdateVehicleResponseItem> vehicles)
A list of information about the batch of updated vehicles.
|
String |
toString()
Returns a string representation of this object.
|
BatchUpdateVehicleResult |
withErrors(Collection<UpdateVehicleError> errors)
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors,
an empty list.
|
BatchUpdateVehicleResult |
withErrors(UpdateVehicleError... errors)
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors,
an empty list.
|
BatchUpdateVehicleResult |
withVehicles(Collection<UpdateVehicleResponseItem> vehicles)
A list of information about the batch of updated vehicles.
|
BatchUpdateVehicleResult |
withVehicles(UpdateVehicleResponseItem... vehicles)
A list of information about the batch of updated vehicles.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UpdateVehicleResponseItem> getVehicles()
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
This list contains only unique IDs for the vehicles that were updated.
public void setVehicles(Collection<UpdateVehicleResponseItem> vehicles)
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
vehicles
- A list of information about the batch of updated vehicles. This list contains only unique IDs for the vehicles that were updated.
public BatchUpdateVehicleResult withVehicles(UpdateVehicleResponseItem... vehicles)
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
NOTE: This method appends the values to the existing list (if any). Use
setVehicles(java.util.Collection)
or withVehicles(java.util.Collection)
if you want to override
the existing values.
vehicles
- A list of information about the batch of updated vehicles. This list contains only unique IDs for the vehicles that were updated.
public BatchUpdateVehicleResult withVehicles(Collection<UpdateVehicleResponseItem> vehicles)
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
vehicles
- A list of information about the batch of updated vehicles. This list contains only unique IDs for the vehicles that were updated.
public List<UpdateVehicleError> getErrors()
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
public void setErrors(Collection<UpdateVehicleError> errors)
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
errors
- A list of information about errors returned while updating a batch of vehicles, or, if there aren't any
errors, an empty list.public BatchUpdateVehicleResult withErrors(UpdateVehicleError... errors)
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of information about errors returned while updating a batch of vehicles, or, if there aren't any
errors, an empty list.public BatchUpdateVehicleResult withErrors(Collection<UpdateVehicleError> errors)
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
errors
- A list of information about errors returned while updating a batch of vehicles, or, if there aren't any
errors, an empty list.public String toString()
toString
in class Object
Object.toString()
public BatchUpdateVehicleResult clone()