public class RegisterDeviceRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable
RegisterDevice operation.| Constructor and Description |
|---|
RegisterDeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIdentityId()
Returns the value of the IdentityId property for this object.
|
String |
getIdentityPoolId()
Returns the value of the IdentityPoolId property for this object.
|
String |
getPlatform()
Returns the value of the Platform property for this object.
|
String |
getToken()
Returns the value of the Token property for this object.
|
int |
hashCode() |
void |
setIdentityId(String identityId)
Sets the value of the IdentityId property for this object.
|
void |
setIdentityPoolId(String identityPoolId)
Sets the value of the IdentityPoolId property for this object.
|
void |
setPlatform(Platform platform)
Sets the value of the Platform property for this object.
|
void |
setPlatform(String platform)
Sets the value of the Platform property for this object.
|
void |
setToken(String token)
Sets the value of the Token property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterDeviceRequest |
withIdentityId(String identityId)
Sets the value of the IdentityId property for this object.
|
RegisterDeviceRequest |
withIdentityPoolId(String identityPoolId)
Sets the value of the IdentityPoolId property for this object.
|
RegisterDeviceRequest |
withPlatform(Platform platform)
Sets the value of the Platform property for this object.
|
RegisterDeviceRequest |
withPlatform(String platform)
Sets the value of the Platform property for this object.
|
RegisterDeviceRequest |
withToken(String token)
Sets the value of the Token property for this object.
|
public String getIdentityPoolId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(String identityPoolId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - The new value for the IdentityPoolId property for this object.public RegisterDeviceRequest withIdentityPoolId(String identityPoolId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - The new value for the IdentityPoolId property for this object.public String getIdentityId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(String identityId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId - The new value for the IdentityId property for this object.public RegisterDeviceRequest withIdentityId(String identityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId - The new value for the IdentityId property for this object.public String getPlatform()
Constraints:
Allowed Values: APNS, APNS_SANDBOX, GCM, ADM
Platformpublic void setPlatform(String platform)
Constraints:
Allowed Values: APNS, APNS_SANDBOX, GCM, ADM
platform - The new value for the Platform property for this object.Platformpublic RegisterDeviceRequest withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: APNS, APNS_SANDBOX, GCM, ADM
platform - The new value for the Platform property for this object.Platformpublic void setPlatform(Platform platform)
Constraints:
Allowed Values: APNS, APNS_SANDBOX, GCM, ADM
platform - The new value for the Platform property for this object.Platformpublic RegisterDeviceRequest withPlatform(Platform platform)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: APNS, APNS_SANDBOX, GCM, ADM
platform - The new value for the Platform property for this object.Platformpublic String getToken()
public void setToken(String token)
token - The new value for the Token property for this object.public RegisterDeviceRequest withToken(String token)
Returns a reference to this object so that method calls can be chained together.
token - The new value for the Token property for this object.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.