@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)
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 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.Mode
public String getMode()
Specifies which Lambda mode to use when invoking the AWS Lambda function.
Mode
public 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.Mode
public 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.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.