Class GCMChannelRequest
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.GCMChannelRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGCMChannelRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapiKey()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.Builderbuilder()StringdefaultAuthenticationMethod()The default authentication method used for GCM.Booleanenabled()Specifies whether to enable the GCM channel for the application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GCMChannelRequest.Builder>serializableBuilderClass()StringserviceJson()The contents of the JSON file provided by Google during registration in order to generate an access token for authentication.GCMChannelRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
apiKey
public 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.
- Returns:
- The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
-
defaultAuthenticationMethod
public final String defaultAuthenticationMethod()
The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
- Returns:
- The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
-
enabled
public final Boolean enabled()
Specifies whether to enable the GCM channel for the application.
- Returns:
- Specifies whether to enable the GCM channel for the application.
-
serviceJson
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.
- Returns:
- 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.
-
toBuilder
public GCMChannelRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>
-
builder
public static GCMChannelRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GCMChannelRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-