Class CfnGCMChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnGCMChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGCMChannelProps>
- Enclosing interface:
- CfnGCMChannelProps
@Stability(Stable)
public static final class CfnGCMChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGCMChannelProps>
A builder for
CfnGCMChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnGCMChannelProps.getApiKey()applicationId(String applicationId) Sets the value ofCfnGCMChannelProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnGCMChannelProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnGCMChannelProps.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
Sets the value ofCfnGCMChannelProps.getApiKey()- 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
Sets the value ofCfnGCMChannelProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that the GCM channel applies to. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnGCMChannelProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the GCM channel for the Amazon Pinpoint application.- Returns:
this
-
enabled
Sets the value ofCfnGCMChannelProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the GCM channel for the Amazon Pinpoint application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGCMChannelProps>- Returns:
- a new instance of
CfnGCMChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-