@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterDeviceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response to a RegisterDevice request.
Constructor and Description |
---|
RegisterDeviceResult() |
Modifier and Type | Method and Description |
---|---|
RegisterDeviceResult |
clone() |
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.
|
RegisterDeviceResult |
withDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.public String getDeviceId()
The unique ID generated for this device by Cognito.
public RegisterDeviceResult withDeviceId(String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.public String toString()
toString
in class Object
Object.toString()
public RegisterDeviceResult clone()