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