Class CfnApplicationSettingsPropsMixin.CampaignHookProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnApplicationSettingsPropsMixin.CampaignHookProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationSettingsPropsMixin.CampaignHookProperty>
- Enclosing interface:
CfnApplicationSettingsPropsMixin.CampaignHookProperty
@Stability(Stable)
public static final class CfnApplicationSettingsPropsMixin.CampaignHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationSettingsPropsMixin.CampaignHookProperty>
A builder for
CfnApplicationSettingsPropsMixin.CampaignHookProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lambdaFunctionName(String lambdaFunctionName) Sets the value ofCfnApplicationSettingsPropsMixin.CampaignHookProperty.getMode()Sets the value ofCfnApplicationSettingsPropsMixin.CampaignHookProperty.getWebUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaFunctionName
@Stability(Stable) public CfnApplicationSettingsPropsMixin.CampaignHookProperty.Builder lambdaFunctionName(String lambdaFunctionName) - 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
-
mode
@Stability(Stable) public CfnApplicationSettingsPropsMixin.CampaignHookProperty.Builder mode(String mode) Sets the value ofCfnApplicationSettingsPropsMixin.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 theCustomDeliveryConfigurationandCampaignCustomMessageobjects of the campaign.
- Returns:
this
-
webUrl
@Stability(Stable) public CfnApplicationSettingsPropsMixin.CampaignHookProperty.Builder webUrl(String webUrl) Sets the value ofCfnApplicationSettingsPropsMixin.CampaignHookProperty.getWebUrl()- Parameters:
webUrl- The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationSettingsPropsMixin.CampaignHookProperty>- Returns:
- a new instance of
CfnApplicationSettingsPropsMixin.CampaignHookProperty - Throws:
NullPointerException- if any required attribute was not provided
-