@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutIntentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutIntentResult() |
Modifier and Type | Method and Description |
---|---|
PutIntentResult |
clone() |
boolean |
equals(Object obj) |
String |
getChecksum()
Checksum of the
$LATEST version of the intent created or updated. |
Statement |
getConclusionStatement()
After the Lambda function specified in the
fulfillmentActivity intent fulfills the intent, Amazon Lex
conveys this statement to the user. |
Prompt |
getConfirmationPrompt()
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
Date |
getCreatedDate()
The date that the intent was created.
|
Boolean |
getCreateVersion()
True if a new version of the intent was created. |
String |
getDescription()
A description of the intent.
|
CodeHook |
getDialogCodeHook()
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
|
FollowUpPrompt |
getFollowUpPrompt()
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
FulfillmentActivity |
getFulfillmentActivity()
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides
all of the information required by the intent.
|
List<InputContext> |
getInputContexts()
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
KendraConfiguration |
getKendraConfiguration()
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent. |
Date |
getLastUpdatedDate()
The date that the intent was updated.
|
String |
getName()
The name of the intent.
|
List<OutputContext> |
getOutputContexts()
An array of
OutputContext objects that lists the contexts that the intent activates when the intent
is fulfilled. |
String |
getParentIntentSignature()
A unique identifier for the built-in intent that this intent is based on.
|
Statement |
getRejectionStatement()
If the user answers "no" to the question defined in
confirmationPrompt Amazon Lex responds with this
statement to acknowledge that the intent was canceled. |
List<String> |
getSampleUtterances()
An array of sample utterances that are configured for the intent.
|
List<Slot> |
getSlots()
An array of intent slots that are configured for the intent.
|
String |
getVersion()
The version of the intent.
|
int |
hashCode() |
Boolean |
isCreateVersion()
True if a new version of the intent was created. |
void |
setChecksum(String checksum)
Checksum of the
$LATEST version of the intent created or updated. |
void |
setConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity intent fulfills the intent, Amazon Lex
conveys this statement to the user. |
void |
setConfirmationPrompt(Prompt confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
void |
setCreatedDate(Date createdDate)
The date that the intent was created.
|
void |
setCreateVersion(Boolean createVersion)
True if a new version of the intent was created. |
void |
setDescription(String description)
A description of the intent.
|
void |
setDialogCodeHook(CodeHook dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
|
void |
setFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
void |
setFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides
all of the information required by the intent.
|
void |
setInputContexts(Collection<InputContext> inputContexts)
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
void |
setKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent. |
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
void |
setName(String name)
The name of the intent.
|
void |
setOutputContexts(Collection<OutputContext> outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the intent
is fulfilled. |
void |
setParentIntentSignature(String parentIntentSignature)
A unique identifier for the built-in intent that this intent is based on.
|
void |
setRejectionStatement(Statement rejectionStatement)
If the user answers "no" to the question defined in
confirmationPrompt Amazon Lex responds with this
statement to acknowledge that the intent was canceled. |
void |
setSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances that are configured for the intent.
|
void |
setSlots(Collection<Slot> slots)
An array of intent slots that are configured for the intent.
|
void |
setVersion(String version)
The version of the intent.
|
String |
toString()
Returns a string representation of this object.
|
PutIntentResult |
withChecksum(String checksum)
Checksum of the
$LATEST version of the intent created or updated. |
PutIntentResult |
withConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity intent fulfills the intent, Amazon Lex
conveys this statement to the user. |
PutIntentResult |
withConfirmationPrompt(Prompt confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
|
PutIntentResult |
withCreatedDate(Date createdDate)
The date that the intent was created.
|
PutIntentResult |
withCreateVersion(Boolean createVersion)
True if a new version of the intent was created. |
PutIntentResult |
withDescription(String description)
A description of the intent.
|
PutIntentResult |
withDialogCodeHook(CodeHook dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
|
PutIntentResult |
withFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
PutIntentResult |
withFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides
all of the information required by the intent.
|
PutIntentResult |
withInputContexts(Collection<InputContext> inputContexts)
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
PutIntentResult |
withInputContexts(InputContext... inputContexts)
An array of
InputContext objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user. |
PutIntentResult |
withKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent intent. |
PutIntentResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
PutIntentResult |
withName(String name)
The name of the intent.
|
PutIntentResult |
withOutputContexts(Collection<OutputContext> outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the intent
is fulfilled. |
PutIntentResult |
withOutputContexts(OutputContext... outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the intent
is fulfilled. |
PutIntentResult |
withParentIntentSignature(String parentIntentSignature)
A unique identifier for the built-in intent that this intent is based on.
|
PutIntentResult |
withRejectionStatement(Statement rejectionStatement)
If the user answers "no" to the question defined in
confirmationPrompt Amazon Lex responds with this
statement to acknowledge that the intent was canceled. |
PutIntentResult |
withSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances that are configured for the intent.
|
PutIntentResult |
withSampleUtterances(String... sampleUtterances)
An array of sample utterances that are configured for the intent.
|
PutIntentResult |
withSlots(Collection<Slot> slots)
An array of intent slots that are configured for the intent.
|
PutIntentResult |
withSlots(Slot... slots)
An array of intent slots that are configured for the intent.
|
PutIntentResult |
withVersion(String version)
The version of the intent.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the intent.
name
- The name of the intent.public String getName()
The name of the intent.
public PutIntentResult withName(String name)
The name of the intent.
name
- The name of the intent.public void setDescription(String description)
A description of the intent.
description
- A description of the intent.public String getDescription()
A description of the intent.
public PutIntentResult withDescription(String description)
A description of the intent.
description
- A description of the intent.public List<Slot> getSlots()
An array of intent slots that are configured for the intent.
public void setSlots(Collection<Slot> slots)
An array of intent slots that are configured for the intent.
slots
- An array of intent slots that are configured for the intent.public PutIntentResult withSlots(Slot... slots)
An array of intent slots that are configured for the intent.
NOTE: This method appends the values to the existing list (if any). Use
setSlots(java.util.Collection)
or withSlots(java.util.Collection)
if you want to override the
existing values.
slots
- An array of intent slots that are configured for the intent.public PutIntentResult withSlots(Collection<Slot> slots)
An array of intent slots that are configured for the intent.
slots
- An array of intent slots that are configured for the intent.public List<String> getSampleUtterances()
An array of sample utterances that are configured for the intent.
public void setSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances that are configured for the intent.
sampleUtterances
- An array of sample utterances that are configured for the intent.public PutIntentResult withSampleUtterances(String... sampleUtterances)
An array of sample utterances that are configured for the intent.
NOTE: This method appends the values to the existing list (if any). Use
setSampleUtterances(java.util.Collection)
or withSampleUtterances(java.util.Collection)
if you
want to override the existing values.
sampleUtterances
- An array of sample utterances that are configured for the intent.public PutIntentResult withSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances that are configured for the intent.
sampleUtterances
- An array of sample utterances that are configured for the intent.public void setConfirmationPrompt(Prompt confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
confirmationPrompt
- If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.public Prompt getConfirmationPrompt()
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
public PutIntentResult withConfirmationPrompt(Prompt confirmationPrompt)
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
confirmationPrompt
- If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.public void setRejectionStatement(Statement rejectionStatement)
If the user answers "no" to the question defined in confirmationPrompt
Amazon Lex responds with this
statement to acknowledge that the intent was canceled.
rejectionStatement
- If the user answers "no" to the question defined in confirmationPrompt
Amazon Lex responds
with this statement to acknowledge that the intent was canceled.public Statement getRejectionStatement()
If the user answers "no" to the question defined in confirmationPrompt
Amazon Lex responds with this
statement to acknowledge that the intent was canceled.
confirmationPrompt
Amazon Lex responds
with this statement to acknowledge that the intent was canceled.public PutIntentResult withRejectionStatement(Statement rejectionStatement)
If the user answers "no" to the question defined in confirmationPrompt
Amazon Lex responds with this
statement to acknowledge that the intent was canceled.
rejectionStatement
- If the user answers "no" to the question defined in confirmationPrompt
Amazon Lex responds
with this statement to acknowledge that the intent was canceled.public void setFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
followUpPrompt
- If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent
is fulfilled.public FollowUpPrompt getFollowUpPrompt()
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
public PutIntentResult withFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
followUpPrompt
- If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent
is fulfilled.public void setConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent, Amazon Lex
conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent,
Amazon Lex conveys this statement to the user.public Statement getConclusionStatement()
After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent, Amazon Lex
conveys this statement to the user.
fulfillmentActivity
intent fulfills the intent,
Amazon Lex conveys this statement to the user.public PutIntentResult withConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent, Amazon Lex
conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent,
Amazon Lex conveys this statement to the user.public void setDialogCodeHook(CodeHook dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
dialogCodeHook
- If defined in the intent, Amazon Lex invokes this Lambda function for each user input.public CodeHook getDialogCodeHook()
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
public PutIntentResult withDialogCodeHook(CodeHook dialogCodeHook)
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
dialogCodeHook
- If defined in the intent, Amazon Lex invokes this Lambda function for each user input.public void setFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
fulfillmentActivity
- If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user
provides all of the information required by the intent.public FulfillmentActivity getFulfillmentActivity()
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
public PutIntentResult withFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
fulfillmentActivity
- If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user
provides all of the information required by the intent.public void setParentIntentSignature(String parentIntentSignature)
A unique identifier for the built-in intent that this intent is based on.
parentIntentSignature
- A unique identifier for the built-in intent that this intent is based on.public String getParentIntentSignature()
A unique identifier for the built-in intent that this intent is based on.
public PutIntentResult withParentIntentSignature(String parentIntentSignature)
A unique identifier for the built-in intent that this intent is based on.
parentIntentSignature
- A unique identifier for the built-in intent that this intent is based on.public void setLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.
lastUpdatedDate
- The date that the intent was updated. When you create a resource, the creation date and last update dates
are the same.public Date getLastUpdatedDate()
The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.
public PutIntentResult withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.
lastUpdatedDate
- The date that the intent was updated. When you create a resource, the creation date and last update dates
are the same.public void setCreatedDate(Date createdDate)
The date that the intent was created.
createdDate
- The date that the intent was created.public Date getCreatedDate()
The date that the intent was created.
public PutIntentResult withCreatedDate(Date createdDate)
The date that the intent was created.
createdDate
- The date that the intent was created.public void setVersion(String version)
The version of the intent. For a new intent, the version is always $LATEST
.
version
- The version of the intent. For a new intent, the version is always $LATEST
.public String getVersion()
The version of the intent. For a new intent, the version is always $LATEST
.
$LATEST
.public PutIntentResult withVersion(String version)
The version of the intent. For a new intent, the version is always $LATEST
.
version
- The version of the intent. For a new intent, the version is always $LATEST
.public void setChecksum(String checksum)
Checksum of the $LATEST
version of the intent created or updated.
checksum
- Checksum of the $LATEST
version of the intent created or updated.public String getChecksum()
Checksum of the $LATEST
version of the intent created or updated.
$LATEST
version of the intent created or updated.public PutIntentResult withChecksum(String checksum)
Checksum of the $LATEST
version of the intent created or updated.
checksum
- Checksum of the $LATEST
version of the intent created or updated.public void setCreateVersion(Boolean createVersion)
True
if a new version of the intent was created. If the createVersion
field was not
specified in the request, the createVersion
field is set to false in the response.
createVersion
- True
if a new version of the intent was created. If the createVersion
field was
not specified in the request, the createVersion
field is set to false in the response.public Boolean getCreateVersion()
True
if a new version of the intent was created. If the createVersion
field was not
specified in the request, the createVersion
field is set to false in the response.
True
if a new version of the intent was created. If the createVersion
field was
not specified in the request, the createVersion
field is set to false in the response.public PutIntentResult withCreateVersion(Boolean createVersion)
True
if a new version of the intent was created. If the createVersion
field was not
specified in the request, the createVersion
field is set to false in the response.
createVersion
- True
if a new version of the intent was created. If the createVersion
field was
not specified in the request, the createVersion
field is set to false in the response.public Boolean isCreateVersion()
True
if a new version of the intent was created. If the createVersion
field was not
specified in the request, the createVersion
field is set to false in the response.
True
if a new version of the intent was created. If the createVersion
field was
not specified in the request, the createVersion
field is set to false in the response.public void setKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent
intent.
kendraConfiguration
- Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent
intent.public KendraConfiguration getKendraConfiguration()
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent
intent.
AMAZON.KendraSearchIntent
intent.public PutIntentResult withKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent
intent.
kendraConfiguration
- Configuration information, if any, required to connect to an Amazon Kendra index and use the
AMAZON.KendraSearchIntent
intent.public List<InputContext> getInputContexts()
An array of InputContext
objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
InputContext
objects that lists the contexts that must be active for Amazon Lex
to choose the intent in a conversation with the user.public void setInputContexts(Collection<InputContext> inputContexts)
An array of InputContext
objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
inputContexts
- An array of InputContext
objects that lists the contexts that must be active for Amazon Lex
to choose the intent in a conversation with the user.public PutIntentResult withInputContexts(InputContext... inputContexts)
An array of InputContext
objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
NOTE: This method appends the values to the existing list (if any). Use
setInputContexts(java.util.Collection)
or withInputContexts(java.util.Collection)
if you want
to override the existing values.
inputContexts
- An array of InputContext
objects that lists the contexts that must be active for Amazon Lex
to choose the intent in a conversation with the user.public PutIntentResult withInputContexts(Collection<InputContext> inputContexts)
An array of InputContext
objects that lists the contexts that must be active for Amazon Lex to
choose the intent in a conversation with the user.
inputContexts
- An array of InputContext
objects that lists the contexts that must be active for Amazon Lex
to choose the intent in a conversation with the user.public List<OutputContext> getOutputContexts()
An array of OutputContext
objects that lists the contexts that the intent activates when the intent
is fulfilled.
OutputContext
objects that lists the contexts that the intent activates when the
intent is fulfilled.public void setOutputContexts(Collection<OutputContext> outputContexts)
An array of OutputContext
objects that lists the contexts that the intent activates when the intent
is fulfilled.
outputContexts
- An array of OutputContext
objects that lists the contexts that the intent activates when the
intent is fulfilled.public PutIntentResult withOutputContexts(OutputContext... outputContexts)
An array of OutputContext
objects that lists the contexts that the intent activates when the intent
is fulfilled.
NOTE: This method appends the values to the existing list (if any). Use
setOutputContexts(java.util.Collection)
or withOutputContexts(java.util.Collection)
if you want
to override the existing values.
outputContexts
- An array of OutputContext
objects that lists the contexts that the intent activates when the
intent is fulfilled.public PutIntentResult withOutputContexts(Collection<OutputContext> outputContexts)
An array of OutputContext
objects that lists the contexts that the intent activates when the intent
is fulfilled.
outputContexts
- An array of OutputContext
objects that lists the contexts that the intent activates when the
intent is fulfilled.public String toString()
toString
in class Object
Object.toString()
public PutIntentResult clone()