Interface CampaignHook.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignHook.Builder,CampaignHook>,SdkBuilder<CampaignHook.Builder,CampaignHook>,SdkPojo
- Enclosing class:
- CampaignHook
public static interface CampaignHook.Builder extends SdkPojo, CopyableBuilder<CampaignHook.Builder,CampaignHook>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CampaignHook.BuilderlambdaFunctionName(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.CampaignHook.Buildermode(String mode)The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.CampaignHook.Buildermode(Mode mode)The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.CampaignHook.BuilderwebUrl(String webUrl)The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-