@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() |
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() |
GCMChannelRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 Boolean enabled()
Specifies whether to enable the GCM channel for the application.
public GCMChannelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>public static GCMChannelRequest.Builder builder()
public static Class<? extends GCMChannelRequest.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.