Class BatchUpdateDevicePositionError
- java.lang.Object
-
- software.amazon.awssdk.services.location.model.BatchUpdateDevicePositionError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchUpdateDevicePositionError.Builder,BatchUpdateDevicePositionError>
@Generated("software.amazon.awssdk:codegen") public final class BatchUpdateDevicePositionError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchUpdateDevicePositionError.Builder,BatchUpdateDevicePositionError>
Contains error details for each device that failed to update its position.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchUpdateDevicePositionError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchUpdateDevicePositionError.Builderbuilder()StringdeviceId()The device associated with the failed location update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BatchItemErrorerror()Contains details related to the error code such as the error code and error message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantsampleTime()The timestamp at which the device position was determined.List<SdkField<?>>sdkFields()static Class<? extends BatchUpdateDevicePositionError.Builder>serializableBuilderClass()BatchUpdateDevicePositionError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
deviceId
public final String deviceId()
The device associated with the failed location update.
- Returns:
- The device associated with the failed location update.
-
sampleTime
public final Instant sampleTime()
The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.- Returns:
- The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
-
error
public final BatchItemError error()
Contains details related to the error code such as the error code and error message.
- Returns:
- Contains details related to the error code such as the error code and error message.
-
toBuilder
public BatchUpdateDevicePositionError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchUpdateDevicePositionError.Builder,BatchUpdateDevicePositionError>
-
builder
public static BatchUpdateDevicePositionError.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchUpdateDevicePositionError.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.
-
-