public static final class CfnBaiduChannel.Builder
extends java.lang.Object
CfnBaiduChannel
.Modifier and Type | Method and Description |
---|---|
CfnBaiduChannel.Builder |
apiKey(java.lang.String apiKey)
The API key that you received from the Baidu Cloud Push service to communicate with the service.
|
CfnBaiduChannel.Builder |
applicationId(java.lang.String applicationId)
The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.
|
CfnBaiduChannel |
build() |
static CfnBaiduChannel.Builder |
create(Construct scope,
java.lang.String id) |
CfnBaiduChannel.Builder |
enabled(java.lang.Boolean enabled)
Specifies whether to enable the Baidu channel for the application.
|
CfnBaiduChannel.Builder |
enabled(IResolvable enabled)
Specifies whether to enable the Baidu channel for the application.
|
CfnBaiduChannel.Builder |
secretKey(java.lang.String secretKey)
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
|
public static CfnBaiduChannel.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnBaiduChannel.Builder
.public CfnBaiduChannel.Builder apiKey(java.lang.String apiKey)
apiKey
- The API key that you received from the Baidu Cloud Push service to communicate with the service. This parameter is required.this
public CfnBaiduChannel.Builder applicationId(java.lang.String applicationId)
applicationId
- The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for. This parameter is required.this
public CfnBaiduChannel.Builder secretKey(java.lang.String secretKey)
secretKey
- The secret key that you received from the Baidu Cloud Push service to communicate with the service. This parameter is required.this
public CfnBaiduChannel.Builder enabled(java.lang.Boolean enabled)
enabled
- Specifies whether to enable the Baidu channel for the application. This parameter is required.this
public CfnBaiduChannel.Builder enabled(IResolvable enabled)
enabled
- Specifies whether to enable the Baidu channel for the application. This parameter is required.this
public CfnBaiduChannel build()