@Generated(value="software.amazon.awssdk:codegen") public final class CampaignHook extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignHook.Builder,CampaignHook>
Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignHook.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CampaignHook.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
Mode |
mode()
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
|
String |
modeAsString()
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignHook.Builder> |
serializableBuilderClass() |
CampaignHook.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
webUrl()
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public 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.
If the service returns an enum value that is not available in the current SDK version, mode will return
Mode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
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.
Modepublic String modeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, mode will return
Mode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
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.
Modepublic String webUrl()
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
public CampaignHook.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignHook.Builder,CampaignHook>public static CampaignHook.Builder builder()
public static Class<? extends CampaignHook.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.