Class CfnBaiduChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnBaiduChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBaiduChannelMixinProps>
- Enclosing interface:
CfnBaiduChannelMixinProps
@Stability(Stable)
public static final class CfnBaiduChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBaiduChannelMixinProps>
A builder for
CfnBaiduChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBaiduChannelMixinProps.getApiKey()applicationId(String applicationId) Sets the value ofCfnBaiduChannelMixinProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnBaiduChannelMixinProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBaiduChannelMixinProps.getEnabled()Sets the value ofCfnBaiduChannelMixinProps.getSecretKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
Sets the value ofCfnBaiduChannelMixinProps.getApiKey()- Parameters:
apiKey- The API key that you received from the Baidu Cloud Push service to communicate with the service.- Returns:
this
-
applicationId
Sets the value ofCfnBaiduChannelMixinProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.- Returns:
this
-
enabled
Sets the value ofCfnBaiduChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the Baidu channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnBaiduChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the Baidu channel for the application.- Returns:
this
-
secretKey
Sets the value ofCfnBaiduChannelMixinProps.getSecretKey()- Parameters:
secretKey- The secret key that you received from the Baidu Cloud Push service to communicate with the service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBaiduChannelMixinProps>- Returns:
- a new instance of
CfnBaiduChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-