public class CampaignHook extends Object implements Serializable
| Constructor and Description |
|---|
CampaignHook() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLambdaFunctionName()
Lambda function name or arn to be called for delivery
|
String |
getMode()
What mode Lambda should be invoked in.
|
String |
getWebUrl()
Web URL to call for hook.
|
int |
hashCode() |
void |
setLambdaFunctionName(String lambdaFunctionName)
Lambda function name or arn to be called for delivery
|
void |
setMode(Mode mode)
What mode Lambda should be invoked in.
|
void |
setMode(String mode)
What mode Lambda should be invoked in.
|
void |
setWebUrl(String webUrl)
Web URL to call for hook.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CampaignHook |
withLambdaFunctionName(String lambdaFunctionName)
Lambda function name or arn to be called for delivery
|
CampaignHook |
withMode(Mode mode)
What mode Lambda should be invoked in.
|
CampaignHook |
withMode(String mode)
What mode Lambda should be invoked in.
|
CampaignHook |
withWebUrl(String webUrl)
Web URL to call for hook.
|
public String getLambdaFunctionName()
public void setLambdaFunctionName(String lambdaFunctionName)
lambdaFunctionName - Lambda function name or arn to be called for
deliverypublic CampaignHook withLambdaFunctionName(String lambdaFunctionName)
Returns a reference to this object so that method calls can be chained together.
lambdaFunctionName - Lambda function name or arn to be called for
deliverypublic String getMode()
Constraints:
Allowed Values: DELIVERY, FILTER
Modepublic void setMode(String mode)
Constraints:
Allowed Values: DELIVERY, FILTER
mode - What mode Lambda should be invoked in.Modepublic CampaignHook withMode(String mode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DELIVERY, FILTER
mode - What mode Lambda should be invoked in.Modepublic void setMode(Mode mode)
Constraints:
Allowed Values: DELIVERY, FILTER
mode - What mode Lambda should be invoked in.Modepublic CampaignHook withMode(Mode mode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DELIVERY, FILTER
mode - What mode Lambda should be invoked in.Modepublic String getWebUrl()
public void setWebUrl(String webUrl)
webUrl - Web URL to call for hook. If the URL has authentication
specified it will be added as authentication to the requestpublic CampaignHook withWebUrl(String webUrl)
Returns a reference to this object so that method calls can be chained together.
webUrl - Web URL to call for hook. If the URL has authentication
specified it will be added as authentication to the requestpublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.