@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.
|
Date |
getLastUpdatedDate()
The date that the intent was updated.
|
String |
getName()
The name of the intent.
|
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 |
setLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
void |
setName(String name)
The name of the intent.
|
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; useful for testing and debugging.
|
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 |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
GetIntentResult |
withName(String name)
The name of the intent.
|
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 String toString()
toString
in class Object
Object.toString()
public GetIntentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.