public static final class CfnApplicationSettings.CampaignHookProperty.Builder
extends java.lang.Object
CfnApplicationSettings.CampaignHookProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApplicationSettings.CampaignHookProperty |
build()
Builds the configured instance.
|
CfnApplicationSettings.CampaignHookProperty.Builder |
lambdaFunctionName(java.lang.String lambdaFunctionName)
Sets the value of
CfnApplicationSettings.CampaignHookProperty.getLambdaFunctionName() |
CfnApplicationSettings.CampaignHookProperty.Builder |
mode(java.lang.String mode)
Sets the value of
CfnApplicationSettings.CampaignHookProperty.getMode() |
CfnApplicationSettings.CampaignHookProperty.Builder |
webUrl(java.lang.String webUrl)
Sets the value of
CfnApplicationSettings.CampaignHookProperty.getWebUrl() |
public CfnApplicationSettings.CampaignHookProperty.Builder lambdaFunctionName(java.lang.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
public CfnApplicationSettings.CampaignHookProperty.Builder mode(java.lang.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
public CfnApplicationSettings.CampaignHookProperty.Builder webUrl(java.lang.String webUrl)
CfnApplicationSettings.CampaignHookProperty.getWebUrl()
webUrl
- The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.this
public CfnApplicationSettings.CampaignHookProperty build()
CfnApplicationSettings.CampaignHookProperty
java.lang.NullPointerException
- if any required attribute was not provided