public class RegisterDeviceResult extends Object implements Serializable
Response to a RegisterDevice request.
| Constructor and Description |
|---|
RegisterDeviceResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDeviceId()
The unique ID generated for this device by Cognito.
|
int |
hashCode() |
void |
setDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterDeviceResult |
withDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
|
public String getDeviceId()
Constraints:
Length: 1 - 256
public void setDeviceId(String deviceId)
Constraints:
Length: 1 - 256
deviceId - The unique ID generated for this device by Cognito.public RegisterDeviceResult withDeviceId(String deviceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
deviceId - The unique ID generated for this device by Cognito.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.