@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FulfillmentCodeHookSettings extends Object implements Serializable, Cloneable, StructuredPojo
Determines if a Lambda function should be invoked for a specific intent.
| Constructor and Description |
|---|
FulfillmentCodeHookSettings() |
| Modifier and Type | Method and Description |
|---|---|
FulfillmentCodeHookSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
|
FulfillmentUpdatesSpecification |
getFulfillmentUpdatesSpecification()
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
|
PostFulfillmentStatusSpecification |
getPostFulfillmentStatusSpecification()
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEnabled(Boolean enabled)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
|
void |
setFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
|
void |
setPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
|
String |
toString()
Returns a string representation of this object.
|
FulfillmentCodeHookSettings |
withEnabled(Boolean enabled)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
|
FulfillmentCodeHookSettings |
withFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
|
FulfillmentCodeHookSettings |
withPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
|
public void setEnabled(Boolean enabled)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
enabled - Indicates whether a Lambda function should be invoked to fulfill a specific intent.public Boolean getEnabled()
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
public FulfillmentCodeHookSettings withEnabled(Boolean enabled)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
enabled - Indicates whether a Lambda function should be invoked to fulfill a specific intent.public Boolean isEnabled()
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
public void setPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
postFulfillmentStatusSpecification - Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
Post-fulfillment messages can be sent for both streaming and non-streaming conversations.public PostFulfillmentStatusSpecification getPostFulfillmentStatusSpecification()
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
public FulfillmentCodeHookSettings withPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification postFulfillmentStatusSpecification)
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
postFulfillmentStatusSpecification - Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
Post-fulfillment messages can be sent for both streaming and non-streaming conversations.public void setFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
fulfillmentUpdatesSpecification - Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
Fulfillment updates can be used only with streaming conversations.public FulfillmentUpdatesSpecification getFulfillmentUpdatesSpecification()
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
public FulfillmentCodeHookSettings withFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification fulfillmentUpdatesSpecification)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
fulfillmentUpdatesSpecification - Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
Fulfillment updates can be used only with streaming conversations.public String toString()
toString in class ObjectObject.toString()public FulfillmentCodeHookSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.