@Stability(value=Stable) public static final class CfnCampaign.CampaignHookProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.CampaignHookProperty>
CfnCampaign.CampaignHookProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCampaign.CampaignHookProperty |
build()
Builds the configured instance.
|
CfnCampaign.CampaignHookProperty.Builder |
lambdaFunctionName(String lambdaFunctionName)
Sets the value of
CfnCampaign.CampaignHookProperty.getLambdaFunctionName() |
CfnCampaign.CampaignHookProperty.Builder |
mode(String mode)
Sets the value of
CfnCampaign.CampaignHookProperty.getMode() |
CfnCampaign.CampaignHookProperty.Builder |
webUrl(String webUrl)
Sets the value of
CfnCampaign.CampaignHookProperty.getWebUrl() |
@Stability(value=Stable) public CfnCampaign.CampaignHookProperty.Builder lambdaFunctionName(String lambdaFunctionName)
CfnCampaign.CampaignHookProperty.getLambdaFunctionName()lambdaFunctionName - The name or Amazon Resource Name (ARN) of the Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.this@Stability(value=Stable) public CfnCampaign.CampaignHookProperty.Builder mode(String mode)
CfnCampaign.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 CfnCampaign.CampaignHookProperty.Builder webUrl(String webUrl)
CfnCampaign.CampaignHookProperty.getWebUrl()webUrl - The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.this@Stability(value=Stable) public CfnCampaign.CampaignHookProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.CampaignHookProperty>CfnCampaign.CampaignHookPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.