@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateVehicleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchCreateVehicleRequest() |
Modifier and Type | Method and Description |
---|---|
BatchCreateVehicleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CreateVehicleRequestItem> |
getVehicles()
A list of information about each vehicle to create.
|
int |
hashCode() |
void |
setVehicles(Collection<CreateVehicleRequestItem> vehicles)
A list of information about each vehicle to create.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateVehicleRequest |
withVehicles(Collection<CreateVehicleRequestItem> vehicles)
A list of information about each vehicle to create.
|
BatchCreateVehicleRequest |
withVehicles(CreateVehicleRequestItem... vehicles)
A list of information about each vehicle to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<CreateVehicleRequestItem> getVehicles()
A list of information about each vehicle to create. For more information, see the API data type.
public void setVehicles(Collection<CreateVehicleRequestItem> vehicles)
A list of information about each vehicle to create. For more information, see the API data type.
vehicles
- A list of information about each vehicle to create. For more information, see the API data type.public BatchCreateVehicleRequest withVehicles(CreateVehicleRequestItem... vehicles)
A list of information about each vehicle to create. 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 each vehicle to create. For more information, see the API data type.public BatchCreateVehicleRequest withVehicles(Collection<CreateVehicleRequestItem> vehicles)
A list of information about each vehicle to create. For more information, see the API data type.
vehicles
- A list of information about each vehicle to create. For more information, see the API data type.public String toString()
toString
in class Object
Object.toString()
public BatchCreateVehicleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()