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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal 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()final StringThe default authentication method used for GCM.final Booleanenabled()Specifies whether to enable the GCM channel for the application.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends GCMChannelRequest.Builder>final StringThe contents of the JSON file provided by Google during registration in order to generate an access token for authentication.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
Specifies whether to enable the GCM channel for the application.
- Returns:
- Specifies whether to enable the GCM channel for the application.
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-