@Stability(value=Stable) public static final class CfnApplicationSettings.CampaignHookProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplicationSettings.CampaignHookProperty>
CfnApplicationSettings.CampaignHookProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApplicationSettings.CampaignHookProperty |
build()
Builds the configured instance.
|
CfnApplicationSettings.CampaignHookProperty.Builder |
lambdaFunctionName(String lambdaFunctionName)
Sets the value of
CfnApplicationSettings.CampaignHookProperty.getLambdaFunctionName() |
CfnApplicationSettings.CampaignHookProperty.Builder |
mode(String mode)
Sets the value of
CfnApplicationSettings.CampaignHookProperty.getMode() |
CfnApplicationSettings.CampaignHookProperty.Builder |
webUrl(String webUrl)
Sets the value of
CfnApplicationSettings.CampaignHookProperty.getWebUrl() |
@Stability(value=Stable) public CfnApplicationSettings.CampaignHookProperty.Builder lambdaFunctionName(String lambdaFunctionName)
CfnApplicationSettings.CampaignHookProperty.getLambdaFunctionName()lambdaFunctionName - The name or Amazon Resource Name (ARN) of the Lambda function that Amazon Pinpoint invokes to send messages for campaigns in the application.this@Stability(value=Stable) public CfnApplicationSettings.CampaignHookProperty.Builder mode(String mode)
CfnApplicationSettings.CampaignHookProperty.getMode()mode - The mode that Amazon Pinpoint uses to invoke the Lambda function. Possible values are:.
FILTER - Invoke the function to customize the segment that's used by a campaign.DELIVERY - (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects of the campaign.this@Stability(value=Stable) public CfnApplicationSettings.CampaignHookProperty.Builder webUrl(String webUrl)
CfnApplicationSettings.CampaignHookProperty.getWebUrl()webUrl - The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.this@Stability(value=Stable) public CfnApplicationSettings.CampaignHookProperty build()
build in interface software.amazon.jsii.Builder<CfnApplicationSettings.CampaignHookProperty>CfnApplicationSettings.CampaignHookPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.