public static final class CfnGCMChannelProps.Builder
extends java.lang.Object
CfnGCMChannelProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGCMChannelProps.Builder |
apiKey(java.lang.String apiKey)
Sets the value of
CfnGCMChannelProps.getApiKey() |
CfnGCMChannelProps.Builder |
applicationId(java.lang.String applicationId)
Sets the value of
CfnGCMChannelProps.getApplicationId() |
CfnGCMChannelProps |
build()
Builds the configured instance.
|
CfnGCMChannelProps.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnGCMChannelProps.getEnabled() |
CfnGCMChannelProps.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnGCMChannelProps.getEnabled() |
public CfnGCMChannelProps.Builder apiKey(java.lang.String apiKey)
CfnGCMChannelProps.getApiKey()
apiKey
- The Web API key, also called the *server key* , that you received from Google to communicate with Google services. This parameter is required.this
public CfnGCMChannelProps.Builder applicationId(java.lang.String applicationId)
CfnGCMChannelProps.getApplicationId()
applicationId
- The unique identifier for the Amazon Pinpoint application that the GCM channel applies to. This parameter is required.this
public CfnGCMChannelProps.Builder enabled(java.lang.Boolean enabled)
CfnGCMChannelProps.getEnabled()
enabled
- Specifies whether to enable the GCM channel for the Amazon Pinpoint application.this
public CfnGCMChannelProps.Builder enabled(IResolvable enabled)
CfnGCMChannelProps.getEnabled()
enabled
- Specifies whether to enable the GCM channel for the Amazon Pinpoint application.this
public CfnGCMChannelProps build()
CfnGCMChannelProps
java.lang.NullPointerException
- if any required attribute was not provided