@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateVehicleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
BatchCreateVehicleResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
BatchCreateVehicleResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<CreateVehicleError> | 
getErrors()
 A list of information about creation errors, or an empty list if there aren't any errors. 
 | 
List<CreateVehicleResponseItem> | 
getVehicles()
 A list of information about a batch of created vehicles. 
 | 
int | 
hashCode()  | 
void | 
setErrors(Collection<CreateVehicleError> errors)
 A list of information about creation errors, or an empty list if there aren't any errors. 
 | 
void | 
setVehicles(Collection<CreateVehicleResponseItem> vehicles)
 A list of information about a batch of created vehicles. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
BatchCreateVehicleResult | 
withErrors(Collection<CreateVehicleError> errors)
 A list of information about creation errors, or an empty list if there aren't any errors. 
 | 
BatchCreateVehicleResult | 
withErrors(CreateVehicleError... errors)
 A list of information about creation errors, or an empty list if there aren't any errors. 
 | 
BatchCreateVehicleResult | 
withVehicles(Collection<CreateVehicleResponseItem> vehicles)
 A list of information about a batch of created vehicles. 
 | 
BatchCreateVehicleResult | 
withVehicles(CreateVehicleResponseItem... vehicles)
 A list of information about a batch of created vehicles. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CreateVehicleResponseItem> getVehicles()
A list of information about a batch of created vehicles. For more information, see the API data type.
public void setVehicles(Collection<CreateVehicleResponseItem> vehicles)
A list of information about a batch of created vehicles. For more information, see the API data type.
vehicles - A list of information about a batch of created vehicles. For more information, see the API data type.public BatchCreateVehicleResult withVehicles(CreateVehicleResponseItem... vehicles)
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
 setVehicles(java.util.Collection) or withVehicles(java.util.Collection) if you want to override
 the existing values.
 
vehicles - A list of information about a batch of created vehicles. For more information, see the API data type.public BatchCreateVehicleResult withVehicles(Collection<CreateVehicleResponseItem> vehicles)
A list of information about a batch of created vehicles. For more information, see the API data type.
vehicles - A list of information about a batch of created vehicles. For more information, see the API data type.public List<CreateVehicleError> getErrors()
A list of information about creation errors, or an empty list if there aren't any errors.
public void setErrors(Collection<CreateVehicleError> errors)
A list of information about creation errors, or an empty list if there aren't any errors.
errors - A list of information about creation errors, or an empty list if there aren't any errors.public BatchCreateVehicleResult withErrors(CreateVehicleError... errors)
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
 setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
 existing values.
 
errors - A list of information about creation errors, or an empty list if there aren't any errors.public BatchCreateVehicleResult withErrors(Collection<CreateVehicleError> errors)
A list of information about creation errors, or an empty list if there aren't any errors.
errors - A list of information about creation errors, or an empty list if there aren't any errors.public String toString()
toString in class ObjectObject.toString()public BatchCreateVehicleResult clone()