@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVehicleError extends Object implements Serializable, Cloneable, StructuredPojo
An HTTP error resulting from updating the description for a vehicle.
| Constructor and Description |
|---|
UpdateVehicleError() |
| Modifier and Type | Method and Description |
|---|---|
UpdateVehicleError |
clone() |
boolean |
equals(Object obj) |
Integer |
getCode()
The relevant HTTP error code (400+).
|
String |
getMessage()
A message associated with the error.
|
String |
getVehicleName()
The ID of the vehicle with the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(Integer code)
The relevant HTTP error code (400+).
|
void |
setMessage(String message)
A message associated with the error.
|
void |
setVehicleName(String vehicleName)
The ID of the vehicle with the error.
|
String |
toString()
Returns a string representation of this object.
|
UpdateVehicleError |
withCode(Integer code)
The relevant HTTP error code (400+).
|
UpdateVehicleError |
withMessage(String message)
A message associated with the error.
|
UpdateVehicleError |
withVehicleName(String vehicleName)
The ID of the vehicle with the error.
|
public void setVehicleName(String vehicleName)
The ID of the vehicle with the error.
vehicleName - The ID of the vehicle with the error.public String getVehicleName()
The ID of the vehicle with the error.
public UpdateVehicleError withVehicleName(String vehicleName)
The ID of the vehicle with the error.
vehicleName - The ID of the vehicle with the error.public void setCode(Integer code)
The relevant HTTP error code (400+).
code - The relevant HTTP error code (400+).public Integer getCode()
The relevant HTTP error code (400+).
public UpdateVehicleError withCode(Integer code)
The relevant HTTP error code (400+).
code - The relevant HTTP error code (400+).public void setMessage(String message)
A message associated with the error.
message - A message associated with the error.public String getMessage()
A message associated with the error.
public UpdateVehicleError withMessage(String message)
A message associated with the error.
message - A message associated with the error.public String toString()
toString in class ObjectObject.toString()public UpdateVehicleError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.