Interface GCMChannelRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GCMChannelRequest.Builder,
,GCMChannelRequest> SdkBuilder<GCMChannelRequest.Builder,
,GCMChannelRequest> SdkPojo
- Enclosing class:
GCMChannelRequest
public static interface GCMChannelRequest.Builder
extends SdkPojo, CopyableBuilder<GCMChannelRequest.Builder,GCMChannelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.defaultAuthenticationMethod
(String defaultAuthenticationMethod) The default authentication method used for GCM.Specifies whether to enable the GCM channel for the application.serviceJson
(String serviceJson) The contents of the JSON file provided by Google during registration in order to generate an access token for authentication.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAuthenticationMethod
The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
- Parameters:
defaultAuthenticationMethod
- The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Specifies whether to enable the GCM channel for the application.
- Parameters:
enabled
- Specifies whether to enable the GCM channel for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-