public class BatchGetDevicePositionError
extends java.lang.Object
implements java.io.Serializable
Contains error details for each device that didn't return a position.
Constructor and Description |
---|
BatchGetDevicePositionError() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeviceId()
The ID of the device that didn't return a position.
|
BatchItemError |
getError()
Contains details related to the error code.
|
int |
hashCode() |
void |
setDeviceId(java.lang.String deviceId)
The ID of the device that didn't return a position.
|
void |
setError(BatchItemError error)
Contains details related to the error code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDevicePositionError |
withDeviceId(java.lang.String deviceId)
The ID of the device that didn't return a position.
|
BatchGetDevicePositionError |
withError(BatchItemError error)
Contains details related to the error code.
|
public java.lang.String getDeviceId()
The ID of the device that didn't return a position.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
The ID of the device that didn't return a position.
public void setDeviceId(java.lang.String deviceId)
The ID of the device that didn't return a position.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The ID of the device that didn't return a position.
public BatchGetDevicePositionError withDeviceId(java.lang.String deviceId)
The ID of the device that didn't return a position.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The ID of the device that didn't return a position.
public BatchItemError getError()
Contains details related to the error code.
Contains details related to the error code.
public void setError(BatchItemError error)
Contains details related to the error code.
error
- Contains details related to the error code.
public BatchGetDevicePositionError withError(BatchItemError error)
Contains details related to the error code.
Returns a reference to this object so that method calls can be chained together.
error
- Contains details related to the error code.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.