@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIntentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetIntentResult() |
Modifier and Type | Method and Description |
---|---|
GetIntentResult |
clone() |
boolean |
equals(Object obj) |
String |
getChecksum()
Checksum of the intent.
|
Statement |
getConclusionStatement()
After the Lambda function specified in the
fulfillmentActivity element fulfills the intent, Amazon
Lex conveys this statement to the user. |
Prompt |
getConfirmationPrompt()
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
|
Date |
getCreatedDate()
The date that the intent was created.
|
String |
getDescription()
A description of the intent.
|
CodeHook |
getDialogCodeHook()
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.
|
FollowUpPrompt |
getFollowUpPrompt()
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
FulfillmentActivity |
getFulfillmentActivity()
Describes how the intent is fulfilled.
|
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, to connect to an Amazon Kendra index with 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 a built-in intent.
|
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 configured for the intent.
|
List<Slot> |
getSlots()
An array of intent slots configured for the intent.
|
String |
getVersion()
The version of the intent.
|
int |
hashCode() |
void |
setChecksum(String checksum)
Checksum of the intent.
|
void |
setConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity element fulfills the intent, Amazon
Lex conveys this statement to the user. |
void |
setConfirmationPrompt(Prompt confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
|
void |
setCreatedDate(Date createdDate)
The date that the intent was created.
|
void |
setDescription(String description)
A description of the intent.
|
void |
setDialogCodeHook(CodeHook dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.
|
void |
setFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
void |
setFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
|
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, to connect to an Amazon Kendra index with 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 a built-in intent.
|
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 configured for the intent.
|
void |
setSlots(Collection<Slot> slots)
An array of intent slots configured for the intent.
|
void |
setVersion(String version)
The version of the intent.
|
String |
toString()
Returns a string representation of this object.
|
GetIntentResult |
withChecksum(String checksum)
Checksum of the intent.
|
GetIntentResult |
withConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity element fulfills the intent, Amazon
Lex conveys this statement to the user. |
GetIntentResult |
withConfirmationPrompt(Prompt confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
|
GetIntentResult |
withCreatedDate(Date createdDate)
The date that the intent was created.
|
GetIntentResult |
withDescription(String description)
A description of the intent.
|
GetIntentResult |
withDialogCodeHook(CodeHook dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input.
|
GetIntentResult |
withFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled.
|
GetIntentResult |
withFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
|
GetIntentResult |
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. |
GetIntentResult |
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. |
GetIntentResult |
withKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, to connect to an Amazon Kendra index with the
AMAZON.KendraSearchIntent intent. |
GetIntentResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
GetIntentResult |
withName(String name)
The name of the intent.
|
GetIntentResult |
withOutputContexts(Collection<OutputContext> outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the intent
is fulfilled. |
GetIntentResult |
withOutputContexts(OutputContext... outputContexts)
An array of
OutputContext objects that lists the contexts that the intent activates when the intent
is fulfilled. |
GetIntentResult |
withParentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
|
GetIntentResult |
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. |
GetIntentResult |
withSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
|
GetIntentResult |
withSampleUtterances(String... sampleUtterances)
An array of sample utterances configured for the intent.
|
GetIntentResult |
withSlots(Collection<Slot> slots)
An array of intent slots configured for the intent.
|
GetIntentResult |
withSlots(Slot... slots)
An array of intent slots configured for the intent.
|
GetIntentResult |
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 GetIntentResult 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 GetIntentResult withDescription(String description)
A description of the intent.
description
- A description of the intent.public List<Slot> getSlots()
An array of intent slots configured for the intent.
public void setSlots(Collection<Slot> slots)
An array of intent slots configured for the intent.
slots
- An array of intent slots configured for the intent.public GetIntentResult withSlots(Slot... slots)
An array of intent slots 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 configured for the intent.public GetIntentResult withSlots(Collection<Slot> slots)
An array of intent slots configured for the intent.
slots
- An array of intent slots configured for the intent.public List<String> getSampleUtterances()
An array of sample utterances configured for the intent.
public void setSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
sampleUtterances
- An array of sample utterances configured for the intent.public GetIntentResult withSampleUtterances(String... sampleUtterances)
An array of sample utterances 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 configured for the intent.public GetIntentResult withSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
sampleUtterances
- An array of sample utterances configured for the intent.public void setConfirmationPrompt(Prompt confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.
confirmationPrompt
- If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
For more information, see PutIntent.public Prompt getConfirmationPrompt()
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.
public GetIntentResult withConfirmationPrompt(Prompt confirmationPrompt)
If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.
confirmationPrompt
- If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request.
For more information, see PutIntent.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 GetIntentResult 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 bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.
followUpPrompt
- If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled. For more information, see PutIntent.public FollowUpPrompt getFollowUpPrompt()
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.
public GetIntentResult withFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.
followUpPrompt
- If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is
fulfilled. For more information, see PutIntent.public void setConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
element fulfills the intent, Amazon
Lex conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in the fulfillmentActivity
element fulfills the intent,
Amazon Lex conveys this statement to the user.public Statement getConclusionStatement()
After the Lambda function specified in the fulfillmentActivity
element fulfills the intent, Amazon
Lex conveys this statement to the user.
fulfillmentActivity
element fulfills the intent,
Amazon Lex conveys this statement to the user.public GetIntentResult withConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
element fulfills the intent, Amazon
Lex conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in the fulfillmentActivity
element fulfills the intent,
Amazon Lex conveys this statement to the user.public void setDialogCodeHook(CodeHook dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.
dialogCodeHook
- If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more
information, see PutIntent.public CodeHook getDialogCodeHook()
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.
public GetIntentResult withDialogCodeHook(CodeHook dialogCodeHook)
If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.
dialogCodeHook
- If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more
information, see PutIntent.public void setFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled. For more information, see PutIntent.
fulfillmentActivity
- Describes how the intent is fulfilled. For more information, see PutIntent.public FulfillmentActivity getFulfillmentActivity()
Describes how the intent is fulfilled. For more information, see PutIntent.
public GetIntentResult withFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled. For more information, see PutIntent.
fulfillmentActivity
- Describes how the intent is fulfilled. For more information, see PutIntent.public void setParentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
parentIntentSignature
- A unique identifier for a built-in intent.public String getParentIntentSignature()
A unique identifier for a built-in intent.
public GetIntentResult withParentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
parentIntentSignature
- A unique identifier for a built-in intent.public void setLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.
lastUpdatedDate
- The date that the intent was updated. When you create a resource, the creation date and the last updated
date are the same.public Date getLastUpdatedDate()
The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.
public GetIntentResult withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.
lastUpdatedDate
- The date that the intent was updated. When you create a resource, the creation date and the last updated
date 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 GetIntentResult 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.
version
- The version of the intent.public String getVersion()
The version of the intent.
public GetIntentResult withVersion(String version)
The version of the intent.
version
- The version of the intent.public void setChecksum(String checksum)
Checksum of the intent.
checksum
- Checksum of the intent.public String getChecksum()
Checksum of the intent.
public GetIntentResult withChecksum(String checksum)
Checksum of the intent.
checksum
- Checksum of the intent.public void setKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, to connect to an Amazon Kendra index with the
AMAZON.KendraSearchIntent
intent.
kendraConfiguration
- Configuration information, if any, to connect to an Amazon Kendra index with the
AMAZON.KendraSearchIntent
intent.public KendraConfiguration getKendraConfiguration()
Configuration information, if any, to connect to an Amazon Kendra index with the
AMAZON.KendraSearchIntent
intent.
AMAZON.KendraSearchIntent
intent.public GetIntentResult withKendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information, if any, to connect to an Amazon Kendra index with the
AMAZON.KendraSearchIntent
intent.
kendraConfiguration
- Configuration information, if any, to connect to an Amazon Kendra index with 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 GetIntentResult 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 GetIntentResult 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 GetIntentResult 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 GetIntentResult 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 GetIntentResult clone()