@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVehicleError extends Object implements Serializable, Cloneable, StructuredPojo
An HTTP error resulting from creating a vehicle.
Constructor and Description |
---|
CreateVehicleError() |
Modifier and Type | Method and Description |
---|---|
CreateVehicleError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
An HTTP error code.
|
String |
getMessage()
A description of the HTTP 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(String code)
An HTTP error code.
|
void |
setMessage(String message)
A description of the HTTP error.
|
void |
setVehicleName(String vehicleName)
The ID of the vehicle with the error.
|
String |
toString()
Returns a string representation of this object.
|
CreateVehicleError |
withCode(String code)
An HTTP error code.
|
CreateVehicleError |
withMessage(String message)
A description of the HTTP error.
|
CreateVehicleError |
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 CreateVehicleError withVehicleName(String vehicleName)
The ID of the vehicle with the error.
vehicleName
- The ID of the vehicle with the error.public void setCode(String code)
An HTTP error code.
code
- An HTTP error code.public String getCode()
An HTTP error code.
public CreateVehicleError withCode(String code)
An HTTP error code.
code
- An HTTP error code.public void setMessage(String message)
A description of the HTTP error.
message
- A description of the HTTP error.public String getMessage()
A description of the HTTP error.
public CreateVehicleError withMessage(String message)
A description of the HTTP error.
message
- A description of the HTTP error.public String toString()
toString
in class Object
Object.toString()
public CreateVehicleError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.