Class CfnBaiduChannel.Builder

java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnBaiduChannel.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBaiduChannel>
Enclosing class:
CfnBaiduChannel

@Stability(Stable) public static final class CfnBaiduChannel.Builder extends Object implements software.amazon.jsii.Builder<CfnBaiduChannel>
A fluent builder for CfnBaiduChannel.
  • Method Details

    • create

      @Stability(Stable) public static CfnBaiduChannel.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 CfnBaiduChannel.Builder.
    • apiKey

      @Stability(Stable) public CfnBaiduChannel.Builder apiKey(String apiKey)
      The API key that you received from the Baidu Cloud Push service to communicate with the service.

      Parameters:
      apiKey - The API key that you received from the Baidu Cloud Push service to communicate with the service. This parameter is required.
      Returns:
      this
    • applicationId

      @Stability(Stable) public CfnBaiduChannel.Builder applicationId(String applicationId)
      The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.

      Parameters:
      applicationId - The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for. This parameter is required.
      Returns:
      this
    • secretKey

      @Stability(Stable) public CfnBaiduChannel.Builder secretKey(String secretKey)
      The secret key that you received from the Baidu Cloud Push service to communicate with the service.

      Parameters:
      secretKey - The secret key that you received from the Baidu Cloud Push service to communicate with the service. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnBaiduChannel.Builder enabled(Boolean enabled)
      Specifies whether to enable the Baidu channel for the application.

      Parameters:
      enabled - Specifies whether to enable the Baidu channel for the application. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnBaiduChannel.Builder enabled(IResolvable enabled)
      Specifies whether to enable the Baidu channel for the application.

      Parameters:
      enabled - Specifies whether to enable the Baidu channel for the application. This parameter is required.
      Returns:
      this
    • build

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