@Generated(value="software.amazon.awssdk:codegen") public final class GCMChannelRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>
Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GCMChannelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiKey()
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to
communicate with Google services.
|
static GCMChannelRequest.Builder |
builder() |
String |
defaultAuthenticationMethod()
The default authentication method used for GCM.
|
Boolean |
enabled()
Specifies whether to enable the GCM channel for the application.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GCMChannelRequest.Builder> |
serializableBuilderClass() |
String |
serviceJson()
The contents of the JSON file provided by Google during registration in order to generate an access token for
authentication.
|
GCMChannelRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String apiKey()
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
public final String defaultAuthenticationMethod()
The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
public final Boolean enabled()
Specifies whether to enable the GCM channel for the application.
public final String serviceJson()
The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see Migrate from legacy FCM APIs to HTTP v1.
public GCMChannelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>public static GCMChannelRequest.Builder builder()
public static Class<? extends GCMChannelRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.