Class CfnApplicationSettings.CampaignHookProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnApplicationSettings.CampaignHookProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnApplicationSettings.CampaignHookProperty>
- Enclosing interface:
- CfnApplicationSettings.CampaignHookProperty
@Stability(Stable)
public static final class CfnApplicationSettings.CampaignHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationSettings.CampaignHookProperty>
A builder for 
CfnApplicationSettings.CampaignHookProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.lambdaFunctionName(String lambdaFunctionName) Sets the value ofCfnApplicationSettings.CampaignHookProperty.getLambdaFunctionName()Sets the value ofCfnApplicationSettings.CampaignHookProperty.getMode()Sets the value ofCfnApplicationSettings.CampaignHookProperty.getWebUrl()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
lambdaFunctionName@Stability(Stable) public CfnApplicationSettings.CampaignHookProperty.Builder lambdaFunctionName(String lambdaFunctionName) Sets the value ofCfnApplicationSettings.CampaignHookProperty.getLambdaFunctionName()- Parameters:
- lambdaFunctionName- The name or Amazon Resource Name (ARN) of the Lambda function that Amazon Pinpoint invokes to send messages for campaigns in the application.
- Returns:
- this
 
- 
modeSets the value ofCfnApplicationSettings.CampaignHookProperty.getMode()- Parameters:
- 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- CustomDeliveryConfigurationand- CampaignCustomMessageobjects of the campaign.
 
- Returns:
- this
 
- 
webUrlSets the value ofCfnApplicationSettings.CampaignHookProperty.getWebUrl()- Parameters:
- webUrl- The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnApplicationSettings.CampaignHookProperty>
- Returns:
- a new instance of CfnApplicationSettings.CampaignHookProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-