@Generated(value="software.amazon.awssdk:codegen") public final class RegisterDeviceRequest extends CognitoSyncRequest implements ToCopyableBuilder<RegisterDeviceRequest.Builder,RegisterDeviceRequest>
A request to RegisterDevice.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterDeviceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegisterDeviceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identityId()
The unique ID for this identity.
|
String |
identityPoolId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
Platform |
platform()
The SNS platform type (e.g.
|
String |
platformAsString()
The SNS platform type (e.g.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterDeviceRequest.Builder> |
serializableBuilderClass() |
RegisterDeviceRequest.Builder |
toBuilder() |
String |
token()
The push token.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String identityPoolId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
public final String identityId()
The unique ID for this identity.
public final Platform platform()
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final String platformAsString()
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final String token()
The push token.
public RegisterDeviceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterDeviceRequest.Builder,RegisterDeviceRequest>toBuilder in class CognitoSyncRequestpublic static RegisterDeviceRequest.Builder builder()
public static Class<? extends RegisterDeviceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.