Class CfnBaiduChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnBaiduChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBaiduChannelProps>
- Enclosing interface:
CfnBaiduChannelProps
@Stability(Stable)
public static final class CfnBaiduChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBaiduChannelProps>
A builder for
CfnBaiduChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBaiduChannelProps.getApiKey()applicationId(String applicationId) Sets the value ofCfnBaiduChannelProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnBaiduChannelProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBaiduChannelProps.getEnabled()Sets the value ofCfnBaiduChannelProps.getSecretKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
Sets the value ofCfnBaiduChannelProps.getApiKey()- 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
Sets the value ofCfnBaiduChannelProps.getApplicationId()- 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
Sets the value ofCfnBaiduChannelProps.getSecretKey()- 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
Sets the value ofCfnBaiduChannelProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the Baidu channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnBaiduChannelProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the Baidu channel for the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBaiduChannelProps>- Returns:
- a new instance of
CfnBaiduChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-