Class CfnGCMChannel.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnGCMChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGCMChannel>
- Enclosing class:
CfnGCMChannel
@Stability(Stable)
public static final class CfnGCMChannel.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGCMChannel>
A fluent builder for
CfnGCMChannel.-
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()static CfnGCMChannel.BuilderSpecifies 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.
-
Method Details
-
create
@Stability(Stable) public static CfnGCMChannel.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGCMChannel.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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGCMChannel>- Returns:
- a newly built instance of
CfnGCMChannel.
-