Class RegisterDeviceResult
java.lang.Object
com.amazonaws.services.cognitosync.model.RegisterDeviceResult
- All Implemented Interfaces:
Serializable
,Cloneable
Response to a RegisterDevice request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The unique ID generated for this device by Cognito.int
hashCode()
void
setDeviceId
(String deviceId) The unique ID generated for this device by Cognito.toString()
Returns a string representation of this object; useful for testing and debugging.withDeviceId
(String deviceId) The unique ID generated for this device by Cognito.
-
Constructor Details
-
RegisterDeviceResult
public RegisterDeviceResult()
-
-
Method Details
-
setDeviceId
The unique ID generated for this device by Cognito.
- Parameters:
deviceId
- The unique ID generated for this device by Cognito.
-
getDeviceId
The unique ID generated for this device by Cognito.
- Returns:
- The unique ID generated for this device by Cognito.
-
withDeviceId
The unique ID generated for this device by Cognito.
- Parameters:
deviceId
- The unique ID generated for this device by Cognito.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-