@Generated(value="software.amazon.awssdk:codegen") public final class GCMChannelResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GCMChannelResponse.Builder,GCMChannelResponse>
Provides information about the status and settings of the GCM channel for an application. The GCM 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 |
GCMChannelResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
applicationId()
The unique identifier for the application that the GCM channel applies to.
|
static GCMChannelResponse.Builder |
builder() |
String |
creationDate()
The date and time when the GCM channel was enabled.
|
String |
credential()
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to
communicate with Google services.
|
Boolean |
enabled()
Specifies whether the GCM channel is enabled for the application.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Boolean |
hasCredential()
(Not used) This property is retained only for backward compatibility.
|
int |
hashCode() |
String |
id()
(Deprecated) An identifier for the GCM channel.
|
Boolean |
isArchived()
Specifies whether the GCM channel is archived.
|
String |
lastModifiedBy()
The user who last modified the GCM channel.
|
String |
lastModifiedDate()
The date and time when the GCM channel was last modified.
|
String |
platform()
The type of messaging or notification platform for the channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GCMChannelResponse.Builder> |
serializableBuilderClass() |
GCMChannelResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
version()
The current version of the GCM channel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String applicationId()
The unique identifier for the application that the GCM channel applies to.
public String creationDate()
The date and time when the GCM channel was enabled.
public String credential()
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 the GCM channel is enabled for the application.
public Boolean hasCredential()
(Not used) This property is retained only for backward compatibility.
public String id()
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
public Boolean isArchived()
Specifies whether the GCM channel is archived.
public String lastModifiedBy()
The user who last modified the GCM channel.
public String lastModifiedDate()
The date and time when the GCM channel was last modified.
public String platform()
The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.
public Integer version()
The current version of the GCM channel.
public GCMChannelResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GCMChannelResponse.Builder,GCMChannelResponse>public static GCMChannelResponse.Builder builder()
public static Class<? extends GCMChannelResponse.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.