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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GCMChannelRequest.BuilderapiKey(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.GCMChannelRequest.BuilderdefaultAuthenticationMethod(String defaultAuthenticationMethod)The default authentication method used for GCM.GCMChannelRequest.Builderenabled(Boolean enabled)Specifies whether to enable the GCM channel for the application.GCMChannelRequest.BuilderserviceJson(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 Detail
-
apiKey
GCMChannelRequest.Builder apiKey(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.
- 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
GCMChannelRequest.Builder defaultAuthenticationMethod(String 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
GCMChannelRequest.Builder enabled(Boolean 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
GCMChannelRequest.Builder serviceJson(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.
- 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.
-
-