@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignHook extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the AWS Lambda function to use as a code hook 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 send messages
for a campaign.
|
String |
getMode()
Specifies which Lambda mode to use when invoking 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) |
void |
setLambdaFunctionName(String lambdaFunctionName)
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages
for a campaign.
|
void |
setMode(String mode)
Specifies which Lambda mode to use when invoking 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 send messages
for a campaign.
|
CampaignHook |
withMode(Mode mode)
Specifies which Lambda mode to use when invoking the AWS Lambda function.
|
CampaignHook |
withMode(String mode)
Specifies which Lambda mode to use when invoking 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 send messages for a campaign.
lambdaFunctionName - The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send
messages for a campaign.public String getLambdaFunctionName()
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages 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 send messages for a campaign.
lambdaFunctionName - The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send
messages for a campaign.public void setMode(String mode)
Specifies which Lambda mode to use when invoking the AWS Lambda function.
mode - Specifies which Lambda mode to use when invoking the AWS Lambda function.Modepublic String getMode()
Specifies which Lambda mode to use when invoking the AWS Lambda function.
Modepublic CampaignHook withMode(String mode)
Specifies which Lambda mode to use when invoking the AWS Lambda function.
mode - Specifies which Lambda mode to use when invoking the AWS Lambda function.Modepublic CampaignHook withMode(Mode mode)
Specifies which Lambda mode to use when invoking the AWS Lambda function.
mode - Specifies which Lambda mode to use when invoking the AWS Lambda function.Modepublic 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 ObjectObject.toString()public CampaignHook clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.