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 Details

    • create

      @Stability(Stable) public static CfnGCMChannel.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnGCMChannel.Builder.
    • apiKey

      @Stability(Stable) public CfnGCMChannel.Builder apiKey(String 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

      @Stability(Stable) public CfnGCMChannel.Builder applicationId(String 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

      @Stability(Stable) public CfnGCMChannel.Builder enabled(Boolean 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

      @Stability(Stable) public CfnGCMChannel.Builder enabled(IResolvable 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

      @Stability(Stable) public CfnGCMChannel build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGCMChannel>
      Returns:
      a newly built instance of CfnGCMChannel.