@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DialogCodeHookInvocationSetting extends Object implements Serializable, Cloneable, StructuredPojo
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
Constructor and Description |
---|
DialogCodeHookInvocationSetting() |
Modifier and Type | Method and Description |
---|---|
DialogCodeHookInvocationSetting |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActive()
Determines whether a dialog code hook is used when the intent is activated.
|
Boolean |
getEnableCodeHookInvocation()
Indicates whether a Lambda function should be invoked for the dialog.
|
String |
getInvocationLabel()
A label that indicates the dialog step from which the dialog code hook is happening.
|
PostDialogCodeHookInvocationSpecification |
getPostCodeHookSpecification()
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
|
int |
hashCode() |
Boolean |
isActive()
Determines whether a dialog code hook is used when the intent is activated.
|
Boolean |
isEnableCodeHookInvocation()
Indicates whether a Lambda function should be invoked for the dialog.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
|
void |
setEnableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
|
void |
setInvocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
|
void |
setPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
|
String |
toString()
Returns a string representation of this object.
|
DialogCodeHookInvocationSetting |
withActive(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
|
DialogCodeHookInvocationSetting |
withEnableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
|
DialogCodeHookInvocationSetting |
withInvocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
|
DialogCodeHookInvocationSetting |
withPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
|
public void setEnableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
enableCodeHookInvocation
- Indicates whether a Lambda function should be invoked for the dialog.public Boolean getEnableCodeHookInvocation()
Indicates whether a Lambda function should be invoked for the dialog.
public DialogCodeHookInvocationSetting withEnableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
enableCodeHookInvocation
- Indicates whether a Lambda function should be invoked for the dialog.public Boolean isEnableCodeHookInvocation()
Indicates whether a Lambda function should be invoked for the dialog.
public void setActive(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
active
- Determines whether a dialog code hook is used when the intent is activated.public Boolean getActive()
Determines whether a dialog code hook is used when the intent is activated.
public DialogCodeHookInvocationSetting withActive(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
active
- Determines whether a dialog code hook is used when the intent is activated.public Boolean isActive()
Determines whether a dialog code hook is used when the intent is activated.
public void setInvocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
invocationLabel
- A label that indicates the dialog step from which the dialog code hook is happening.public String getInvocationLabel()
A label that indicates the dialog step from which the dialog code hook is happening.
public DialogCodeHookInvocationSetting withInvocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
invocationLabel
- A label that indicates the dialog step from which the dialog code hook is happening.public void setPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
postCodeHookSpecification
- Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.public PostDialogCodeHookInvocationSpecification getPostCodeHookSpecification()
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
public DialogCodeHookInvocationSetting withPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
postCodeHookSpecification
- Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.public String toString()
toString
in class Object
Object.toString()
public DialogCodeHookInvocationSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.