public class CampaignHook
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CampaignHook() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLambdaFunctionName()
Lambda function name or arn to be called for delivery
|
java.lang.String |
getMode()
What mode Lambda should be invoked in.
|
java.lang.String |
getWebUrl()
Web URL to call for hook.
|
int |
hashCode() |
void |
setLambdaFunctionName(java.lang.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(java.lang.String mode)
What mode Lambda should be invoked in.
|
void |
setWebUrl(java.lang.String webUrl)
Web URL to call for hook.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CampaignHook |
withLambdaFunctionName(java.lang.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(java.lang.String mode)
What mode Lambda should be invoked in.
|
CampaignHook |
withWebUrl(java.lang.String webUrl)
Web URL to call for hook.
|
public java.lang.String getLambdaFunctionName()
public void setLambdaFunctionName(java.lang.String lambdaFunctionName)
lambdaFunctionName
- Lambda function name or arn to be called for
deliverypublic CampaignHook withLambdaFunctionName(java.lang.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 java.lang.String getMode()
Constraints:
Allowed Values: DELIVERY, FILTER
Mode
public void setMode(java.lang.String mode)
Constraints:
Allowed Values: DELIVERY, FILTER
mode
- What mode Lambda should be invoked in.Mode
public CampaignHook withMode(java.lang.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.Mode
public void setMode(Mode mode)
Constraints:
Allowed Values: DELIVERY, FILTER
mode
- What mode Lambda should be invoked in.Mode
public 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.Mode
public java.lang.String getWebUrl()
public void setWebUrl(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.