@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 API key, also referred to as a 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, wait
copy
public String apiKey()
The API key, also referred to as a 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 SdkPojo
public String toString()
Copyright © 2019. All rights reserved.