Class CfnGCMChannelPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnGCMChannelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGCMChannelPropsMixin>
- Enclosing class:
CfnGCMChannelPropsMixin
@Stability(Stable)
public static final class CfnGCMChannelPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGCMChannelPropsMixin>
A fluent builder for
CfnGCMChannelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe Web API key, also called the server key , that you received from Google to communicate with Google services.applicationId(String applicationId) The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.build()create()create(CfnPropertyMixinOptions options) defaultAuthenticationMethod(String defaultAuthenticationMethod) The default authentication method used for GCM.Specifies whether to enable the GCM channel for the Amazon Pinpoint application.enabled(IResolvable enabled) Specifies whether to enable the GCM channel for the Amazon Pinpoint application.serviceJson(String serviceJson) The contents of the JSON file provided by Google during registration in order to generate an access token for authentication.
-
Method Details
-
create
@Stability(Stable) public static CfnGCMChannelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGCMChannelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGCMChannelPropsMixin.Builder.
-
apiKey
The Web API key, also called the server key , that you received from Google to communicate with Google services.- Parameters:
apiKey- The Web API key, also called the server key , that you received from Google to communicate with Google services. This parameter is required.- Returns:
this- See Also:
-
applicationId
The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that the GCM channel applies to. This parameter is required.- Returns:
this- See Also:
-
defaultAuthenticationMethod
@Stability(Stable) public CfnGCMChannelPropsMixin.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. This parameter is required.- Returns:
this- See Also:
-
enabled
Specifies whether to enable the GCM channel for the Amazon Pinpoint application.- Parameters:
enabled- Specifies whether to enable the GCM channel for the Amazon Pinpoint application. This parameter is required.- Returns:
this- See Also:
-
enabled
Specifies whether to enable the GCM channel for the Amazon Pinpoint application.- Parameters:
enabled- Specifies whether to enable the GCM channel for the Amazon Pinpoint application. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGCMChannelPropsMixin>- Returns:
- a newly built instance of
CfnGCMChannelPropsMixin.
-