@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:39.158Z") public class CfnBaiduChannel extends CfnResource implements IInspectable
A channel is a type of platform that you can deliver messages to. You can use the Baidu channel to send notifications to the Baidu Cloud Push notification service. Before you can use Amazon Pinpoint to send notifications to the Baidu Cloud Push service, you have to enable the Baidu channel for an Amazon Pinpoint application.
The BaiduChannel resource represents the status and authentication settings of the Baidu channel for an application.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pinpoint.*; CfnBaiduChannel cfnBaiduChannel = CfnBaiduChannel.Builder.create(this, "MyCfnBaiduChannel") .apiKey("apiKey") .applicationId("applicationId") .secretKey("secretKey") // the properties below are optional .enabled(false) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnBaiduChannel.Builder
A fluent builder for
CfnBaiduChannel . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnBaiduChannel(Construct scope,
java.lang.String id,
CfnBaiduChannelProps props)
Create a new `AWS::Pinpoint::BaiduChannel`.
|
protected |
CfnBaiduChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnBaiduChannel(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiKey()
The API key that you received from the Baidu Cloud Push service to communicate with the service.
|
java.lang.String |
getApplicationId()
The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getEnabled()
Specifies whether to enable the Baidu channel for the application.
|
java.lang.String |
getSecretKey()
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setApiKey(java.lang.String value)
The API key that you received from the Baidu Cloud Push service to communicate with the service.
|
void |
setApplicationId(java.lang.String value)
The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.
|
void |
setEnabled(java.lang.Boolean value)
Specifies whether to enable the Baidu channel for the application.
|
void |
setEnabled(IResolvable value)
Specifies whether to enable the Baidu channel for the application.
|
void |
setSecretKey(java.lang.String value)
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnBaiduChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnBaiduChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnBaiduChannel(Construct scope, java.lang.String id, CfnBaiduChannelProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getApiKey()
public void setApiKey(java.lang.String value)
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String value)
public java.lang.String getSecretKey()
public void setSecretKey(java.lang.String value)
public java.lang.Object getEnabled()
public void setEnabled(java.lang.Boolean value)
public void setEnabled(IResolvable value)