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 Summary
Modifier and TypeMethodDescriptionThe API key that you received from the Baidu Cloud Push service to communicate with the service.applicationId
(String applicationId) The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.build()
static CfnBaiduChannel.Builder
Specifies whether to enable the Baidu channel for the application.enabled
(IResolvable enabled) Specifies whether to enable the Baidu channel for the application.The secret key that you received from the Baidu Cloud Push service to communicate with the service.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnBaiduChannel.Builder
.
-
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
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
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBaiduChannel>
- Returns:
- a newly built instance of
CfnBaiduChannel
.
-