@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 |
getActive()
Determines whether the fulfillment code hook is used.
|
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 |
isActive()
Determines whether the fulfillment code hook is used.
|
Boolean |
isEnabled()
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
Determines whether the fulfillment code hook is used.
|
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 |
withActive(Boolean active)
Determines whether the fulfillment code hook is used.
|
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 void setActive(Boolean active)
Determines whether the fulfillment code hook is used. When active
is false, the code hook doesn't
run.
active
- Determines whether the fulfillment code hook is used. When active
is false, the code hook
doesn't run.public Boolean getActive()
Determines whether the fulfillment code hook is used. When active
is false, the code hook doesn't
run.
active
is false, the code hook
doesn't run.public FulfillmentCodeHookSettings withActive(Boolean active)
Determines whether the fulfillment code hook is used. When active
is false, the code hook doesn't
run.
active
- Determines whether the fulfillment code hook is used. When active
is false, the code hook
doesn't run.public Boolean isActive()
Determines whether the fulfillment code hook is used. When active
is false, the code hook doesn't
run.
active
is false, the code hook
doesn't run.public String toString()
toString
in class Object
Object.toString()
public FulfillmentCodeHookSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.