Interface CampaignHook.Builder

    • Method Detail

      • lambdaFunctionName

        CampaignHook.Builder lambdaFunctionName​(String lambdaFunctionName)

        The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.

        Parameters:
        lambdaFunctionName - The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        CampaignHook.Builder mode​(String mode)

        The mode that Amazon Pinpoint uses to invoke the AWS 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.

        Parameters:
        mode - The mode that Amazon Pinpoint uses to invoke the AWS 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Mode, Mode
      • mode

        CampaignHook.Builder mode​(Mode mode)

        The mode that Amazon Pinpoint uses to invoke the AWS 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.

        Parameters:
        mode - The mode that Amazon Pinpoint uses to invoke the AWS 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Mode, Mode
      • webUrl

        CampaignHook.Builder webUrl​(String webUrl)

        The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.

        Parameters:
        webUrl -

        The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.

        Returns:
        Returns a reference to this object so that method calls can be chained together.