@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.
|
String |
defaultAuthenticationMethod()
The default authentication method used for GCM.
|
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.
|
Boolean |
hasFcmServiceCredentials()
Returns true if the JSON file provided by Google during registration process was used in the ServiceJson
field of the request.
|
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 final String applicationId()
The unique identifier for the application that the GCM channel applies to.
public final String creationDate()
The date and time when the GCM channel was enabled.
public final 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 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 the GCM channel is enabled for the application.
public final Boolean hasCredential()
(Not used) This property is retained only for backward compatibility.
public final Boolean hasFcmServiceCredentials()
Returns true if the JSON file provided by Google during registration process was used in the ServiceJson field of the request.
public final String id()
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
public final Boolean isArchived()
Specifies whether the GCM channel is archived.
public final String lastModifiedBy()
The user who last modified the GCM channel.
public final String lastModifiedDate()
The date and time when the GCM channel was last modified.
public final String platform()
The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.