@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBotResult() |
Modifier and Type | Method and Description |
---|---|
GetBotResult |
clone() |
boolean |
equals(Object obj) |
Statement |
getAbortStatement()
The message that Amazon Lex returns when the user elects to end the conversation without completing it.
|
String |
getChecksum()
Checksum of the bot used to identify a specific revision of the bot's
$LATEST version. |
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 Amazon Lex uses when it doesn't understand the user's request.
|
Date |
getCreatedDate()
The date that the bot was created.
|
String |
getDescription()
A description of the bot.
|
String |
getFailureReason()
If
status is FAILED , Amazon Lex explains why 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 that the bot was updated.
|
String |
getLocale()
The target locale for the bot.
|
String |
getName()
The name of the bot.
|
String |
getStatus()
The status of the bot.
|
String |
getVersion()
The version of the bot.
|
String |
getVoiceId()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction 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. |
void |
setAbortStatement(Statement abortStatement)
The message that Amazon Lex returns when the user elects to end the conversation without completing it.
|
void |
setChecksum(String checksum)
Checksum of the bot used to identify a specific revision of the bot's
$LATEST version. |
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 Amazon Lex uses when it doesn't understand the user's request.
|
void |
setCreatedDate(Date createdDate)
The date that the bot was created.
|
void |
setDescription(String description)
A description of the bot.
|
void |
setFailureReason(String failureReason)
If
status is FAILED , Amazon Lex explains why 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 that the bot was updated.
|
void |
setLocale(Locale locale)
The target locale for the bot.
|
void |
setLocale(String locale)
The target locale for the bot.
|
void |
setName(String name)
The name of the bot.
|
void |
setStatus(Status status)
The status of the bot.
|
void |
setStatus(String status)
The status of the bot.
|
void |
setVersion(String version)
The version of the bot.
|
void |
setVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetBotResult |
withAbortStatement(Statement abortStatement)
The message that Amazon Lex returns when the user elects to end the conversation without completing it.
|
GetBotResult |
withChecksum(String checksum)
Checksum of the bot used to identify a specific revision of the bot's
$LATEST version. |
GetBotResult |
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. |
GetBotResult |
withClarificationPrompt(Prompt clarificationPrompt)
The message Amazon Lex uses when it doesn't understand the user's request.
|
GetBotResult |
withCreatedDate(Date createdDate)
The date that the bot was created.
|
GetBotResult |
withDescription(String description)
A description of the bot.
|
GetBotResult |
withFailureReason(String failureReason)
If
status is FAILED , Amazon Lex explains why it failed to build the bot. |
GetBotResult |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
GetBotResult |
withIntents(Collection<Intent> intents)
An array of
intent objects. |
GetBotResult |
withIntents(Intent... intents)
An array of
intent objects. |
GetBotResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated.
|
GetBotResult |
withLocale(Locale locale)
The target locale for the bot.
|
GetBotResult |
withLocale(String locale)
The target locale for the bot.
|
GetBotResult |
withName(String name)
The name of the bot.
|
GetBotResult |
withStatus(Status status)
The status of the bot.
|
GetBotResult |
withStatus(String status)
The status of the bot.
|
GetBotResult |
withVersion(String version)
The version of the bot.
|
GetBotResult |
withVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction 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 GetBotResult 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 GetBotResult 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 GetBotResult 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 GetBotResult 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 Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.
clarificationPrompt
- The message Amazon Lex uses when it doesn't understand the user's request. For more information, see
PutBot.public Prompt getClarificationPrompt()
The message Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.
public GetBotResult withClarificationPrompt(Prompt clarificationPrompt)
The message Amazon Lex uses when it doesn't understand the user's request. For more information, see PutBot.
clarificationPrompt
- The message 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 returns when the user elects to end the conversation without completing it. For more information, see PutBot.
abortStatement
- The message that Amazon Lex returns when the user elects to end the conversation without completing it.
For more information, see PutBot.public Statement getAbortStatement()
The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more information, see PutBot.
public GetBotResult withAbortStatement(Statement abortStatement)
The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more information, see PutBot.
abortStatement
- The message that Amazon Lex returns when the user elects to end the conversation without completing it.
For more information, see PutBot.public void setStatus(String status)
The status of the bot. If the bot is ready to run, the status is READY
. If there was a problem with
building the bot, the status is FAILED
and the failureReason
explains why the bot did
not build. If the bot was saved but not built, the status is NOT BUILT
.
status
- The status of the bot. If the bot is ready to run, the status is READY
. If there was a
problem with building the bot, the status is FAILED
and the failureReason
explains why the bot did not build. If the bot was saved but not built, the status is
NOT BUILT
.Status
public String getStatus()
The status of the bot. If the bot is ready to run, the status is READY
. If there was a problem with
building the bot, the status is FAILED
and the failureReason
explains why the bot did
not build. If the bot was saved but not built, the status is NOT BUILT
.
READY
. If there was a
problem with building the bot, the status is FAILED
and the failureReason
explains why the bot did not build. If the bot was saved but not built, the status is
NOT BUILT
.Status
public GetBotResult withStatus(String status)
The status of the bot. If the bot is ready to run, the status is READY
. If there was a problem with
building the bot, the status is FAILED
and the failureReason
explains why the bot did
not build. If the bot was saved but not built, the status is NOT BUILT
.
status
- The status of the bot. If the bot is ready to run, the status is READY
. If there was a
problem with building the bot, the status is FAILED
and the failureReason
explains why the bot did not build. If the bot was saved but not built, the status is
NOT BUILT
.Status
public void setStatus(Status status)
The status of the bot. If the bot is ready to run, the status is READY
. If there was a problem with
building the bot, the status is FAILED
and the failureReason
explains why the bot did
not build. If the bot was saved but not built, the status is NOT BUILT
.
status
- The status of the bot. If the bot is ready to run, the status is READY
. If there was a
problem with building the bot, the status is FAILED
and the failureReason
explains why the bot did not build. If the bot was saved but not built, the status is
NOT BUILT
.Status
public GetBotResult withStatus(Status status)
The status of the bot. If the bot is ready to run, the status is READY
. If there was a problem with
building the bot, the status is FAILED
and the failureReason
explains why the bot did
not build. If the bot was saved but not built, the status is NOT BUILT
.
status
- The status of the bot. If the bot is ready to run, the status is READY
. If there was a
problem with building the bot, the status is FAILED
and the failureReason
explains why the bot did not build. If the bot was saved but not built, the status is
NOT BUILT
.Status
public void setFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex explains why it failed to build the bot.
failureReason
- If status
is FAILED
, Amazon Lex explains why it failed to build the bot.public String getFailureReason()
If status
is FAILED
, Amazon Lex explains why it failed to build the bot.
status
is FAILED
, Amazon Lex explains why it failed to build the bot.public GetBotResult withFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex explains why it failed to build the bot.
failureReason
- If status
is FAILED
, Amazon Lex explains why it failed to build the bot.public void setLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated. When you create a resource, the creation date and last updated date are the same.
lastUpdatedDate
- The date that the bot was updated. When you create a resource, the creation date and last updated date are
the same.public Date getLastUpdatedDate()
The date that the bot was updated. When you create a resource, the creation date and last updated date are the same.
public GetBotResult withLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated. When you create a resource, the creation date and last updated date are the same.
lastUpdatedDate
- The date that the bot was updated. When you create a resource, the creation date and last updated date are
the same.public void setCreatedDate(Date createdDate)
The date that the bot was created.
createdDate
- The date that the bot was created.public Date getCreatedDate()
The date that the bot was created.
public GetBotResult withCreatedDate(Date createdDate)
The date that the bot was created.
createdDate
- The date that the bot 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 GetBotResult 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 interaction with the user. For more information, see PutBot.
voiceId
- The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information,
see PutBot.public String getVoiceId()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.
public GetBotResult withVoiceId(String voiceId)
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.
voiceId
- The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information,
see PutBot.public void setChecksum(String checksum)
Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.
checksum
- Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.public String getChecksum()
Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.
$LATEST
version.public GetBotResult withChecksum(String checksum)
Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.
checksum
- Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.public void setVersion(String version)
The version of the bot. For a new bot, the version is always $LATEST
.
version
- The version of the bot. For a new bot, the version is always $LATEST
.public String getVersion()
The version of the bot. For a new bot, the version is always $LATEST
.
$LATEST
.public GetBotResult withVersion(String version)
The version of the bot. For a new bot, the version is always $LATEST
.
version
- The version of the bot. For a new bot, the version is always $LATEST
.public void setLocale(String locale)
The target locale for the bot.
locale
- The target locale for the bot.Locale
public String getLocale()
The target locale for the bot.
Locale
public GetBotResult withLocale(String locale)
The target locale for the bot.
locale
- The target locale for the bot.Locale
public void setLocale(Locale locale)
The target locale for the bot.
locale
- The target locale for the bot.Locale
public GetBotResult withLocale(Locale locale)
The target locale for the bot.
locale
- 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 GetBotResult 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 String toString()
toString
in class Object
Object.toString()
public GetBotResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.