@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIntentVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateIntentVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateIntentVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getChecksum()
Checksum of the intent version created.
|
Statement |
getConclusionStatement()
After the Lambda function specified in the
fulfillmentActivity field fulfills the intent, Amazon Lex
conveys this statement to the user. |
Prompt |
getConfirmationPrompt()
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
|
Date |
getCreatedDate()
The date that the intent was created.
|
String |
getDescription()
A description of the intent.
|
CodeHook |
getDialogCodeHook()
If defined, Amazon Lex invokes this Lambda function for each user input.
|
FollowUpPrompt |
getFollowUpPrompt()
If defined, 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 slot types that defines the information required to fulfill the intent.
|
String |
getVersion()
The version number assigned to the new version of the intent.
|
int |
hashCode() |
void |
setChecksum(String checksum)
Checksum of the intent version created.
|
void |
setConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity field fulfills the intent, Amazon Lex
conveys this statement to the user. |
void |
setConfirmationPrompt(Prompt confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's 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, Amazon Lex invokes this Lambda function for each user input.
|
void |
setFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined, 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 slot types that defines the information required to fulfill the intent.
|
void |
setVersion(String version)
The version number assigned to the new version of the intent.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateIntentVersionResult |
withChecksum(String checksum)
Checksum of the intent version created.
|
CreateIntentVersionResult |
withConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the
fulfillmentActivity field fulfills the intent, Amazon Lex
conveys this statement to the user. |
CreateIntentVersionResult |
withConfirmationPrompt(Prompt confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
|
CreateIntentVersionResult |
withCreatedDate(Date createdDate)
The date that the intent was created.
|
CreateIntentVersionResult |
withDescription(String description)
A description of the intent.
|
CreateIntentVersionResult |
withDialogCodeHook(CodeHook dialogCodeHook)
If defined, Amazon Lex invokes this Lambda function for each user input.
|
CreateIntentVersionResult |
withFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
|
CreateIntentVersionResult |
withFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
|
CreateIntentVersionResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
|
CreateIntentVersionResult |
withName(String name)
The name of the intent.
|
CreateIntentVersionResult |
withParentIntentSignature(String parentIntentSignature)
A unique identifier for a built-in intent.
|
CreateIntentVersionResult |
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. |
CreateIntentVersionResult |
withSampleUtterances(Collection<String> sampleUtterances)
An array of sample utterances configured for the intent.
|
CreateIntentVersionResult |
withSampleUtterances(String... sampleUtterances)
An array of sample utterances configured for the intent.
|
CreateIntentVersionResult |
withSlots(Collection<Slot> slots)
An array of slot types that defines the information required to fulfill the intent.
|
CreateIntentVersionResult |
withSlots(Slot... slots)
An array of slot types that defines the information required to fulfill the intent.
|
CreateIntentVersionResult |
withVersion(String version)
The version number assigned to the new 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 CreateIntentVersionResult 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 CreateIntentVersionResult withDescription(String description)
A description of the intent.
description
- A description of the intent.public List<Slot> getSlots()
An array of slot types that defines the information required to fulfill the intent.
public void setSlots(Collection<Slot> slots)
An array of slot types that defines the information required to fulfill the intent.
slots
- An array of slot types that defines the information required to fulfill the intent.public CreateIntentVersionResult withSlots(Slot... slots)
An array of slot types that defines the information required to fulfill 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 slot types that defines the information required to fulfill the intent.public CreateIntentVersionResult withSlots(Collection<Slot> slots)
An array of slot types that defines the information required to fulfill the intent.
slots
- An array of slot types that defines the information required to fulfill 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 CreateIntentVersionResult 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 CreateIntentVersionResult 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, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
confirmationPrompt
- If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.public Prompt getConfirmationPrompt()
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
public CreateIntentVersionResult withConfirmationPrompt(Prompt confirmationPrompt)
If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.
confirmationPrompt
- If defined, the prompt that Amazon Lex uses to confirm the user's 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 CreateIntentVersionResult 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, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
followUpPrompt
- If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.public FollowUpPrompt getFollowUpPrompt()
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
public CreateIntentVersionResult withFollowUpPrompt(FollowUpPrompt followUpPrompt)
If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
followUpPrompt
- If defined, 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 the fulfillmentActivity
field fulfills the intent, Amazon Lex
conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in the fulfillmentActivity
field fulfills the intent,
Amazon Lex conveys this statement to the user.public Statement getConclusionStatement()
After the Lambda function specified in the fulfillmentActivity
field fulfills the intent, Amazon Lex
conveys this statement to the user.
fulfillmentActivity
field fulfills the intent,
Amazon Lex conveys this statement to the user.public CreateIntentVersionResult withConclusionStatement(Statement conclusionStatement)
After the Lambda function specified in the fulfillmentActivity
field fulfills the intent, Amazon Lex
conveys this statement to the user.
conclusionStatement
- After the Lambda function specified in the fulfillmentActivity
field fulfills the intent,
Amazon Lex conveys this statement to the user.public void setDialogCodeHook(CodeHook dialogCodeHook)
If defined, Amazon Lex invokes this Lambda function for each user input.
dialogCodeHook
- If defined, Amazon Lex invokes this Lambda function for each user input.public CodeHook getDialogCodeHook()
If defined, Amazon Lex invokes this Lambda function for each user input.
public CreateIntentVersionResult withDialogCodeHook(CodeHook dialogCodeHook)
If defined, Amazon Lex invokes this Lambda function for each user input.
dialogCodeHook
- If defined, Amazon Lex invokes this Lambda function for each user input.public void setFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
fulfillmentActivity
- Describes how the intent is fulfilled.public FulfillmentActivity getFulfillmentActivity()
Describes how the intent is fulfilled.
public CreateIntentVersionResult withFulfillmentActivity(FulfillmentActivity fulfillmentActivity)
Describes how the intent is fulfilled.
fulfillmentActivity
- Describes how the intent is fulfilled.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 CreateIntentVersionResult 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.
lastUpdatedDate
- The date that the intent was updated.public Date getLastUpdatedDate()
The date that the intent was updated.
public CreateIntentVersionResult withLastUpdatedDate(Date lastUpdatedDate)
The date that the intent was updated.
lastUpdatedDate
- The date that the intent was updated.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 CreateIntentVersionResult 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 number assigned to the new version of the intent.
version
- The version number assigned to the new version of the intent.public String getVersion()
The version number assigned to the new version of the intent.
public CreateIntentVersionResult withVersion(String version)
The version number assigned to the new version of the intent.
version
- The version number assigned to the new version of the intent.public void setChecksum(String checksum)
Checksum of the intent version created.
checksum
- Checksum of the intent version created.public String getChecksum()
Checksum of the intent version created.
public CreateIntentVersionResult withChecksum(String checksum)
Checksum of the intent version created.
checksum
- Checksum of the intent version created.public String toString()
toString
in class Object
Object.toString()
public CreateIntentVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.