@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateBotVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateBotVersionResult |
clone() |
boolean |
equals(Object obj) |
Statement |
getAbortStatement()
The message that Amazon Lex uses to cancel a conversation.
|
String |
getChecksum()
Checksum identifying the version of the bot that was created.
|
Boolean |
getChildDirected()
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true or false in the childDirected field. |
Prompt |
getClarificationPrompt()
The message that Amazon Lex uses when it doesn't understand the user's request.
|
Date |
getCreatedDate()
The date when the bot version was created.
|
String |
getDescription()
A description of the bot.
|
Boolean |
getDetectSentiment()
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
|
Boolean |
getEnableModelImprovements()
Indicates whether the bot uses accuracy improvements.
|
String |
getFailureReason()
If
status is FAILED , Amazon Lex provides the reason that it failed to build the bot. |
Integer |
getIdleSessionTTLInSeconds()
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
List<Intent> |
getIntents()
An array of
Intent objects. |
Date |
getLastUpdatedDate()
The date when the
$LATEST version of this bot was updated. |
String |
getLocale()
Specifies the target locale for the bot.
|
String |
getName()
The name of the bot.
|
String |
getStatus()
When you send a request to create or update a bot, Amazon Lex sets the
status response element to
BUILDING . |
String |
getVersion()
The version of the bot.
|
String |
getVoiceId()
The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.
|
int |
hashCode() |
Boolean |
isChildDirected()
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true or false in the childDirected field. |
Boolean |
isDetectSentiment()
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
|
Boolean |
isEnableModelImprovements()
Indicates whether the bot uses accuracy improvements.
|
void |
setAbortStatement(Statement abortStatement)
The message that Amazon Lex uses to cancel a conversation.
|
void |
setChecksum(String checksum)
Checksum identifying the version of the bot that was created.
|
void |
setChildDirected(Boolean childDirected)
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true or false in the childDirected field. |
void |
setClarificationPrompt(Prompt clarificationPrompt)
The message that Amazon Lex uses when it doesn't understand the user's request.
|
void |
setCreatedDate(Date createdDate)
The date when the bot version was created.
|
void |
setDescription(String description)
A description of the bot.
|
void |
setDetectSentiment(Boolean detectSentiment)
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
|
void |
setEnableModelImprovements(Boolean enableModelImprovements)
Indicates whether the bot uses accuracy improvements.
|
void |
setFailureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to build the bot. |
void |
setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
void |
setIntents(Collection<Intent> intents)
An array of
Intent objects. |
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date when the
$LATEST version of this bot was updated. |
void |
setLocale(Locale locale)
Specifies the target locale for the bot.
|
void |
setLocale(String locale)
Specifies the target locale for the bot.
|
void |
setName(String name)
The name of the bot.
|
void |
setStatus(Status status)
When you send a request to create or update a bot, Amazon Lex sets the
status response element to
BUILDING . |
void |
setStatus(String status)
When you send a request to create or update a bot, Amazon Lex sets the
status response element to
BUILDING . |
void |
setVersion(String version)
The version of the bot.
|
void |
setVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.
|
String |
toString()
Returns a string representation of this object.
|
CreateBotVersionResult |
withAbortStatement(Statement abortStatement)
The message that Amazon Lex uses to cancel a conversation.
|
CreateBotVersionResult |
withChecksum(String checksum)
Checksum identifying the version of the bot that was created.
|
CreateBotVersionResult |
withChildDirected(Boolean childDirected)
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true or false in the childDirected field. |
CreateBotVersionResult |
withClarificationPrompt(Prompt clarificationPrompt)
The message that Amazon Lex uses when it doesn't understand the user's request.
|
CreateBotVersionResult |
withCreatedDate(Date createdDate)
The date when the bot version was created.
|
CreateBotVersionResult |
withDescription(String description)
A description of the bot.
|
CreateBotVersionResult |
withDetectSentiment(Boolean detectSentiment)
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
|
CreateBotVersionResult |
withEnableModelImprovements(Boolean enableModelImprovements)
Indicates whether the bot uses accuracy improvements.
|
CreateBotVersionResult |
withFailureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to build the bot. |
CreateBotVersionResult |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
CreateBotVersionResult |
withIntents(Collection<Intent> intents)
An array of
Intent objects. |
CreateBotVersionResult |
withIntents(Intent... intents)
An array of
Intent objects. |
CreateBotVersionResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date when the
$LATEST version of this bot was updated. |
CreateBotVersionResult |
withLocale(Locale locale)
Specifies the target locale for the bot.
|
CreateBotVersionResult |
withLocale(String locale)
Specifies the target locale for the bot.
|
CreateBotVersionResult |
withName(String name)
The name of the bot.
|
CreateBotVersionResult |
withStatus(Status status)
When you send a request to create or update a bot, Amazon Lex sets the
status response element to
BUILDING . |
CreateBotVersionResult |
withStatus(String status)
When you send a request to create or update a bot, Amazon Lex sets the
status response element to
BUILDING . |
CreateBotVersionResult |
withVersion(String version)
The version of the bot.
|
CreateBotVersionResult |
withVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the bot.
name
- The name of the bot.public String getName()
The name of the bot.
public CreateBotVersionResult withName(String name)
The name of the bot.
name
- The name of the bot.public void setDescription(String description)
A description of the bot.
description
- A description of the bot.public String getDescription()
A description of the bot.
public CreateBotVersionResult withDescription(String description)
A description of the bot.
description
- A description of the bot.public List<Intent> getIntents()
An array of Intent
objects. For more information, see PutBot.
Intent
objects. For more information, see PutBot.public void setIntents(Collection<Intent> intents)
An array of Intent
objects. For more information, see PutBot.
intents
- An array of Intent
objects. For more information, see PutBot.public CreateBotVersionResult withIntents(Intent... intents)
An array of Intent
objects. For more information, see PutBot.
NOTE: This method appends the values to the existing list (if any). Use
setIntents(java.util.Collection)
or withIntents(java.util.Collection)
if you want to override
the existing values.
intents
- An array of Intent
objects. For more information, see PutBot.public CreateBotVersionResult withIntents(Collection<Intent> intents)
An array of Intent
objects. For more information, see PutBot.
intents
- An array of Intent
objects. For more information, see PutBot.public void setClarificationPrompt(Prompt clarificationPrompt)
The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.
clarificationPrompt
- The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see
PutBot.public Prompt getClarificationPrompt()
The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.
public CreateBotVersionResult withClarificationPrompt(Prompt clarificationPrompt)
The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.
clarificationPrompt
- The message that Amazon Lex uses when it doesn't understand the user's request. For more information, see
PutBot.public void setAbortStatement(Statement abortStatement)
The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
abortStatement
- The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.public Statement getAbortStatement()
The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
public CreateBotVersionResult withAbortStatement(Statement abortStatement)
The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
abortStatement
- The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.public void setStatus(String status)
When you send a request to create or update a bot, Amazon Lex sets the status
response element to
BUILDING
. After Amazon Lex builds the bot, it sets status
to READY
. If
Amazon Lex can't build the bot, it sets status
to FAILED
. Amazon Lex returns the reason
for the failure in the failureReason
response element.
status
- When you send a request to create or update a bot, Amazon Lex sets the status
response
element to BUILDING
. After Amazon Lex builds the bot, it sets status
to
READY
. If Amazon Lex can't build the bot, it sets status
to FAILED
.
Amazon Lex returns the reason for the failure in the failureReason
response element.Status
public String getStatus()
When you send a request to create or update a bot, Amazon Lex sets the status
response element to
BUILDING
. After Amazon Lex builds the bot, it sets status
to READY
. If
Amazon Lex can't build the bot, it sets status
to FAILED
. Amazon Lex returns the reason
for the failure in the failureReason
response element.
status
response
element to BUILDING
. After Amazon Lex builds the bot, it sets status
to
READY
. If Amazon Lex can't build the bot, it sets status
to FAILED
. Amazon Lex returns the reason for the failure in the failureReason
response element.Status
public CreateBotVersionResult withStatus(String status)
When you send a request to create or update a bot, Amazon Lex sets the status
response element to
BUILDING
. After Amazon Lex builds the bot, it sets status
to READY
. If
Amazon Lex can't build the bot, it sets status
to FAILED
. Amazon Lex returns the reason
for the failure in the failureReason
response element.
status
- When you send a request to create or update a bot, Amazon Lex sets the status
response
element to BUILDING
. After Amazon Lex builds the bot, it sets status
to
READY
. If Amazon Lex can't build the bot, it sets status
to FAILED
.
Amazon Lex returns the reason for the failure in the failureReason
response element.Status
public void setStatus(Status status)
When you send a request to create or update a bot, Amazon Lex sets the status
response element to
BUILDING
. After Amazon Lex builds the bot, it sets status
to READY
. If
Amazon Lex can't build the bot, it sets status
to FAILED
. Amazon Lex returns the reason
for the failure in the failureReason
response element.
status
- When you send a request to create or update a bot, Amazon Lex sets the status
response
element to BUILDING
. After Amazon Lex builds the bot, it sets status
to
READY
. If Amazon Lex can't build the bot, it sets status
to FAILED
.
Amazon Lex returns the reason for the failure in the failureReason
response element.Status
public CreateBotVersionResult withStatus(Status status)
When you send a request to create or update a bot, Amazon Lex sets the status
response element to
BUILDING
. After Amazon Lex builds the bot, it sets status
to READY
. If
Amazon Lex can't build the bot, it sets status
to FAILED
. Amazon Lex returns the reason
for the failure in the failureReason
response element.
status
- When you send a request to create or update a bot, Amazon Lex sets the status
response
element to BUILDING
. After Amazon Lex builds the bot, it sets status
to
READY
. If Amazon Lex can't build the bot, it sets status
to FAILED
.
Amazon Lex returns the reason for the failure in the failureReason
response element.Status
public void setFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to build the bot.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to build the
bot.public String getFailureReason()
If status
is FAILED
, Amazon Lex provides the reason that it failed to build the bot.
status
is FAILED
, Amazon Lex provides the reason that it failed to build the
bot.public CreateBotVersionResult withFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to build the bot.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to build the
bot.public void setLastUpdatedDate(Date lastUpdatedDate)
The date when the $LATEST
version of this bot was updated.
lastUpdatedDate
- The date when the $LATEST
version of this bot was updated.public Date getLastUpdatedDate()
The date when the $LATEST
version of this bot was updated.
$LATEST
version of this bot was updated.public CreateBotVersionResult withLastUpdatedDate(Date lastUpdatedDate)
The date when the $LATEST
version of this bot was updated.
lastUpdatedDate
- The date when the $LATEST
version of this bot was updated.public void setCreatedDate(Date createdDate)
The date when the bot version was created.
createdDate
- The date when the bot version was created.public Date getCreatedDate()
The date when the bot version was created.
public CreateBotVersionResult withCreatedDate(Date createdDate)
The date when the bot version was created.
createdDate
- The date when the bot version was created.public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.
idleSessionTTLInSeconds
- The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more
information, see PutBot.public Integer getIdleSessionTTLInSeconds()
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.
public CreateBotVersionResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.
idleSessionTTLInSeconds
- The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more
information, see PutBot.public void setVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.
voiceId
- The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.public String getVoiceId()
The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.
public CreateBotVersionResult withVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.
voiceId
- The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.public void setChecksum(String checksum)
Checksum identifying the version of the bot that was created.
checksum
- Checksum identifying the version of the bot that was created.public String getChecksum()
Checksum identifying the version of the bot that was created.
public CreateBotVersionResult withChecksum(String checksum)
Checksum identifying the version of the bot that was created.
checksum
- Checksum identifying the version of the bot that was created.public void setVersion(String version)
The version of the bot.
version
- The version of the bot.public String getVersion()
The version of the bot.
public CreateBotVersionResult withVersion(String version)
The version of the bot.
version
- The version of the bot.public void setLocale(String locale)
Specifies the target locale for the bot.
locale
- Specifies the target locale for the bot.Locale
public String getLocale()
Specifies the target locale for the bot.
Locale
public CreateBotVersionResult withLocale(String locale)
Specifies the target locale for the bot.
locale
- Specifies the target locale for the bot.Locale
public void setLocale(Locale locale)
Specifies the target locale for the bot.
locale
- Specifies the target locale for the bot.Locale
public CreateBotVersionResult withLocale(Locale locale)
Specifies the target locale for the bot.
locale
- Specifies the target locale for the bot.Locale
public void setChildDirected(Boolean childDirected)
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true
or false
in the childDirected
field. By specifying true
in the childDirected
field, you confirm that your use of Amazon Lex is related to a website,
program, or other application that is directed or targeted, in whole or in part, to children under age 13 and
subject to COPPA. By specifying false
in the childDirected
field, you confirm that your
use of Amazon Lex is not related to a website, program, or other application that is directed or targeted,
in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the
childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a
website, program, or other application that is directed or targeted, in whole or in part, to children under age
13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
childDirected
- For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your
use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in
whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act
(COPPA) by specifying true
or false
in the childDirected
field. By
specifying true
in the childDirected
field, you confirm that your use of Amazon
Lex is related to a website, program, or other application that is directed or targeted, in whole
or in part, to children under age 13 and subject to COPPA. By specifying false
in the
childDirected
field, you confirm that your use of Amazon Lex is not related to a
website, program, or other application that is directed or targeted, in whole or in part, to children
under age 13 and subject to COPPA. You may not specify a default value for the childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or
other application that is directed or targeted, in whole or in part, to children under age 13 and subject
to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
public Boolean getChildDirected()
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true
or false
in the childDirected
field. By specifying true
in the childDirected
field, you confirm that your use of Amazon Lex is related to a website,
program, or other application that is directed or targeted, in whole or in part, to children under age 13 and
subject to COPPA. By specifying false
in the childDirected
field, you confirm that your
use of Amazon Lex is not related to a website, program, or other application that is directed or targeted,
in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the
childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a
website, program, or other application that is directed or targeted, in whole or in part, to children under age
13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
true
or false
in the childDirected
field. By
specifying true
in the childDirected
field, you confirm that your use of Amazon
Lex is related to a website, program, or other application that is directed or targeted, in whole
or in part, to children under age 13 and subject to COPPA. By specifying false
in the
childDirected
field, you confirm that your use of Amazon Lex is not related to a
website, program, or other application that is directed or targeted, in whole or in part, to children
under age 13 and subject to COPPA. You may not specify a default value for the childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program,
or other application that is directed or targeted, in whole or in part, to children under age 13 and
subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
public CreateBotVersionResult withChildDirected(Boolean childDirected)
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true
or false
in the childDirected
field. By specifying true
in the childDirected
field, you confirm that your use of Amazon Lex is related to a website,
program, or other application that is directed or targeted, in whole or in part, to children under age 13 and
subject to COPPA. By specifying false
in the childDirected
field, you confirm that your
use of Amazon Lex is not related to a website, program, or other application that is directed or targeted,
in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the
childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a
website, program, or other application that is directed or targeted, in whole or in part, to children under age
13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
childDirected
- For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your
use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in
whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act
(COPPA) by specifying true
or false
in the childDirected
field. By
specifying true
in the childDirected
field, you confirm that your use of Amazon
Lex is related to a website, program, or other application that is directed or targeted, in whole
or in part, to children under age 13 and subject to COPPA. By specifying false
in the
childDirected
field, you confirm that your use of Amazon Lex is not related to a
website, program, or other application that is directed or targeted, in whole or in part, to children
under age 13 and subject to COPPA. You may not specify a default value for the childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or
other application that is directed or targeted, in whole or in part, to children under age 13 and subject
to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
public Boolean isChildDirected()
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of
Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in
part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
true
or false
in the childDirected
field. By specifying true
in the childDirected
field, you confirm that your use of Amazon Lex is related to a website,
program, or other application that is directed or targeted, in whole or in part, to children under age 13 and
subject to COPPA. By specifying false
in the childDirected
field, you confirm that your
use of Amazon Lex is not related to a website, program, or other application that is directed or targeted,
in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the
childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a
website, program, or other application that is directed or targeted, in whole or in part, to children under age
13 and subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
true
or false
in the childDirected
field. By
specifying true
in the childDirected
field, you confirm that your use of Amazon
Lex is related to a website, program, or other application that is directed or targeted, in whole
or in part, to children under age 13 and subject to COPPA. By specifying false
in the
childDirected
field, you confirm that your use of Amazon Lex is not related to a
website, program, or other application that is directed or targeted, in whole or in part, to children
under age 13 and subject to COPPA. You may not specify a default value for the childDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program,
or other application that is directed or targeted, in whole or in part, to children under age 13 and
subject to COPPA.
If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ.
public void setEnableModelImprovements(Boolean enableModelImprovements)
Indicates whether the bot uses accuracy improvements. true
indicates that the bot is using the
improvements, otherwise, false
.
enableModelImprovements
- Indicates whether the bot uses accuracy improvements. true
indicates that the bot is using
the improvements, otherwise, false
.public Boolean getEnableModelImprovements()
Indicates whether the bot uses accuracy improvements. true
indicates that the bot is using the
improvements, otherwise, false
.
true
indicates that the bot is using
the improvements, otherwise, false
.public CreateBotVersionResult withEnableModelImprovements(Boolean enableModelImprovements)
Indicates whether the bot uses accuracy improvements. true
indicates that the bot is using the
improvements, otherwise, false
.
enableModelImprovements
- Indicates whether the bot uses accuracy improvements. true
indicates that the bot is using
the improvements, otherwise, false
.public Boolean isEnableModelImprovements()
Indicates whether the bot uses accuracy improvements. true
indicates that the bot is using the
improvements, otherwise, false
.
true
indicates that the bot is using
the improvements, otherwise, false
.public void setDetectSentiment(Boolean detectSentiment)
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
detectSentiment
- Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment
analysis.public Boolean getDetectSentiment()
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
public CreateBotVersionResult withDetectSentiment(Boolean detectSentiment)
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
detectSentiment
- Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment
analysis.public Boolean isDetectSentiment()
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
public String toString()
toString
in class Object
Object.toString()
public CreateBotVersionResult clone()