@Generated(value="software.amazon.awssdk:codegen") public final class CampaignHook extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignHook.Builder,CampaignHook>
Specifies the AWS Lambda function to use as a code hook for a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignHook.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CampaignHook.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lambdaFunctionName()
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages
for a campaign.
|
Mode |
mode()
Specifies which Lambda mode to use when invoking the AWS Lambda function.
|
String |
modeAsString()
Specifies which Lambda mode to use when invoking the AWS Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignHook.Builder> |
serializableBuilderClass() |
CampaignHook.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
webUrl()
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String lambdaFunctionName()
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages for a campaign.
public Mode mode()
Specifies which Lambda mode to use when invoking the AWS Lambda function.
If the service returns an enum value that is not available in the current SDK version, mode will return
Mode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
Modepublic String modeAsString()
Specifies which Lambda mode to use when invoking the AWS Lambda function.
If the service returns an enum value that is not available in the current SDK version, mode will return
Mode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
Modepublic String webUrl()
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignHook.Builder,CampaignHook>public static CampaignHook.Builder builder()
public static Class<? extends CampaignHook.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.