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
- Parameters:
 scope-- scope in which this resource is defined.
 
id-- scoped id of the resource.
 
- 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
 - 
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
 - 
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
 - 
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
 - 
build
- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnGCMChannel>- Returns:
 - a newly built instance of 
CfnGCMChannel. 
 
 -