Class UpdateVehicleError
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.UpdateVehicleError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateVehicleError.Builder,UpdateVehicleError>
@Generated("software.amazon.awssdk:codegen") public final class UpdateVehicleError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateVehicleError.Builder,UpdateVehicleError>
An HTTP error resulting from updating the description for a vehicle.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateVehicleError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateVehicleError.Builderbuilder()Integercode()The relevant HTTP error code (400+).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A message associated with the error.List<SdkField<?>>sdkFields()static Class<? extends UpdateVehicleError.Builder>serializableBuilderClass()UpdateVehicleError.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvehicleName()The ID of the vehicle with the error.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
vehicleName
public final String vehicleName()
The ID of the vehicle with the error.
- Returns:
- The ID of the vehicle with the error.
-
code
public final Integer code()
The relevant HTTP error code (400+).
- Returns:
- The relevant HTTP error code (400+).
-
message
public final String message()
A message associated with the error.
- Returns:
- A message associated with the error.
-
toBuilder
public UpdateVehicleError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateVehicleError.Builder,UpdateVehicleError>
-
builder
public static UpdateVehicleError.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateVehicleError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-