@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignHook extends Object implements Serializable, Cloneable, StructuredPojo
Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign.
Constructor and Description |
---|
CampaignHook() |
Modifier and Type | Method and Description |
---|---|
CampaignHook |
clone() |
boolean |
equals(Object obj) |
String |
getLambdaFunctionName()
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a
segment for a campaign.
|
String |
getMode()
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
|
String |
getWebUrl()
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLambdaFunctionName(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.
|
void |
setMode(String mode)
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
|
void |
setWebUrl(String webUrl)
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
|
String |
toString()
Returns a string representation of this object.
|
CampaignHook |
withLambdaFunctionName(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 |
withMode(Mode mode)
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
|
CampaignHook |
withMode(String mode)
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function.
|
CampaignHook |
withWebUrl(String webUrl)
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
|
public void setLambdaFunctionName(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.
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 String getLambdaFunctionName()
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
public CampaignHook withLambdaFunctionName(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.
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 void setMode(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.
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.
Mode
public String getMode()
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.
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.
Mode
public CampaignHook withMode(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.
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.
Mode
public CampaignHook withMode(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.
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.
Mode
public void setWebUrl(String webUrl)
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
webUrl
- The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
public String getWebUrl()
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 withWebUrl(String webUrl)
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
webUrl
- The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
public String toString()
toString
in class Object
Object.toString()
public CampaignHook clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.