/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.lexmodelbuilding.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetBotResult extends com.amazonaws.AmazonWebServiceResult
* The name of the bot.
*
* A description of the bot.
*
* An array of
* Indicates whether the bot uses accuracy improvements.
* The score that determines where Amazon Lex inserts the
* The message Amazon Lex uses when it doesn't understand the user's request. For more information, see
* PutBot.
*
* The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more
* information, see PutBot.
*
* The status of the bot.
*
* When the status is
* If the status of the bot is
* If there was a problem with building the bot, the status is
* If the bot was saved but not built, the status is
* If
* The date that the bot was updated. When you create a resource, the creation date and last updated date are the
* same.
*
* The date that the bot was created.
*
* The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information,
* see PutBot.
*
* The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see
* PutBot.
*
* Checksum of the bot used to identify a specific revision of the bot's
* The version of the bot. For a new bot, the version is always
* The target locale for the bot.
*
* 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
*
* 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.
*
* Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis.
*
* The name of the bot.
*
* The name of the bot.
*
* The name of the bot.
*
* A description of the bot.
*
* A description of the bot.
*
* A description of the bot.
*
* An array of
* An array of
* An array of
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setIntents(java.util.Collection)} or {@link #withIntents(java.util.Collection)} if you want to override
* the existing values.
*
* An array of
* Indicates whether the bot uses accuracy improvements.
* Indicates whether the bot uses accuracy improvements.
* Indicates whether the bot uses accuracy improvements.
* Indicates whether the bot uses accuracy improvements.
* The score that determines where Amazon Lex inserts the
* The score that determines where Amazon Lex inserts the
* The score that determines where Amazon Lex inserts the
* The message Amazon Lex uses when it doesn't understand the user's request. For more information, see
* PutBot.
*
* The message Amazon Lex uses when it doesn't understand the user's request. For more information, see
* PutBot.
*
* The message Amazon Lex uses when it doesn't understand the user's request. For more information, see
* PutBot.
*
* The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more
* information, see PutBot.
*
* The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more
* information, see PutBot.
*
* The message that Amazon Lex returns when the user elects to end the conversation without completing it. For more
* information, see PutBot.
*
* The status of the bot.
*
* When the status is
* If the status of the bot is
* If there was a problem with building the bot, the status is
* If the bot was saved but not built, the status is intent
objects. For more information, see PutBot.
* true
indicates that the bot is using the
* improvements, otherwise, false
.
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this value.
* AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
* BUILDING
Amazon Lex is building the bot for testing and use.
* READY_BASIC_TESTING
, you can test the bot using the exact utterances
* specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
* FAILED
and the
* failureReason
field explains why the bot did not build.
* NOT_BUILT
.
* status
is FAILED
, Amazon Lex explains why it failed to build the bot.
* $LATEST
version.
* $LATEST
.
* 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.
* intent
objects. For more information, see PutBot.
* intent
objects. For more information, see PutBot.
*/
public java.util.Listintent
objects. For more information, see PutBot.
* intent
objects. For more information, see PutBot.
*/
public void setIntents(java.util.Collectionintent
objects. For more information, see PutBot.
* intent
objects. For more information, see PutBot.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withIntents(Intent... intents) {
if (this.intents == null) {
setIntents(new java.util.ArrayListintent
objects. For more information, see PutBot.
* intent
objects. For more information, see PutBot.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withIntents(java.util.Collectiontrue
indicates that the bot is using the
* improvements, otherwise, false
.
* true
indicates that the bot is using
* the improvements, otherwise, false
.
*/
public void setEnableModelImprovements(Boolean enableModelImprovements) {
this.enableModelImprovements = enableModelImprovements;
}
/**
* true
indicates that the bot is using the
* improvements, otherwise, false
.
* true
indicates that the bot is using
* the improvements, otherwise, false
.
*/
public Boolean getEnableModelImprovements() {
return this.enableModelImprovements;
}
/**
* true
indicates that the bot is using the
* improvements, otherwise, false
.
* true
indicates that the bot is using
* the improvements, otherwise, false
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withEnableModelImprovements(Boolean enableModelImprovements) {
setEnableModelImprovements(enableModelImprovements);
return this;
}
/**
* true
indicates that the bot is using the
* improvements, otherwise, false
.
* true
indicates that the bot is using
* the improvements, otherwise, false
.
*/
public Boolean isEnableModelImprovements() {
return this.enableModelImprovements;
}
/**
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this value.
* AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this
* value. AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
*/
public void setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) {
this.nluIntentConfidenceThreshold = nluIntentConfidenceThreshold;
}
/**
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this value.
* AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this
* value. AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
*/
public Double getNluIntentConfidenceThreshold() {
return this.nluIntentConfidenceThreshold;
}
/**
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this value.
* AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
* AMAZON.FallbackIntent
,
* AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response.
* AMAZON.FallbackIntent
is inserted if the confidence score for all intents is below this
* value. AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) {
setNluIntentConfidenceThreshold(nluIntentConfidenceThreshold);
return this;
}
/**
* BUILDING
Amazon Lex is building the bot for testing and use.
* READY_BASIC_TESTING
, you can test the bot using the exact utterances
* specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
* FAILED
and the
* failureReason
field explains why the bot did not build.
* NOT_BUILT
.
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact
* utterances specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
* @see Status
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* The status of the bot. *
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact utterances
* specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact
* utterances specified in the bot's intents. When the bot is ready for full testing or to run, the status
* is READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
* @see Status
*/
public String getStatus() {
return this.status;
}
/**
*
* The status of the bot. *
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact utterances
* specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact
* utterances specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see Status
*/
public GetBotResult withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* The status of the bot. *
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact utterances
* specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact
* utterances specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
* @see Status
*/
public void setStatus(Status status) {
withStatus(status);
}
/**
*
* The status of the bot. *
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact utterances
* specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
*
* When the status is BUILDING
Amazon Lex is building the bot for testing and use.
*
* If the status of the bot is READY_BASIC_TESTING
, you can test the bot using the exact
* utterances specified in the bot's intents. When the bot is ready for full testing or to run, the status is
* READY
.
*
* If there was a problem with building the bot, the status is FAILED
and the
* failureReason
field explains why the bot did not build.
*
* If the bot was saved but not built, the status is NOT_BUILT
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see Status
*/
public GetBotResult withStatus(Status status) {
this.status = status.toString();
return this;
}
/**
*
* 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 void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
/**
*
* 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 String getFailureReason() {
return this.failureReason;
}
/**
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withFailureReason(String failureReason) {
setFailureReason(failureReason);
return this;
}
/**
* * The date that the bot was updated. When you create a resource, the creation date and last updated date are the * same. *
* * @param 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 setLastUpdatedDate(java.util.Date lastUpdatedDate) { this.lastUpdatedDate = lastUpdatedDate; } /** ** The date that the bot was updated. When you create a resource, the creation date and last updated date are the * same. *
* * @return The date that the bot was updated. When you create a resource, the creation date and last updated date * are the same. */ public java.util.Date getLastUpdatedDate() { return this.lastUpdatedDate; } /** ** The date that the bot was updated. When you create a resource, the creation date and last updated date are the * same. *
* * @param lastUpdatedDate * The date that the bot was updated. When you create a resource, the creation date and last updated date are * the same. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBotResult withLastUpdatedDate(java.util.Date lastUpdatedDate) { setLastUpdatedDate(lastUpdatedDate); return this; } /** ** The date that the bot was created. *
* * @param createdDate * The date that the bot was created. */ public void setCreatedDate(java.util.Date createdDate) { this.createdDate = createdDate; } /** ** The date that the bot was created. *
* * @return The date that the bot was created. */ public java.util.Date getCreatedDate() { return this.createdDate; } /** ** The date that the bot was created. *
* * @param createdDate * The date that the bot was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBotResult withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, * see PutBot. *
* * @param idleSessionTTLInSeconds * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more * information, see PutBot. */ public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { this.idleSessionTTLInSeconds = idleSessionTTLInSeconds; } /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, * see PutBot. *
* * @return The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more * information, see PutBot. */ public Integer getIdleSessionTTLInSeconds() { return this.idleSessionTTLInSeconds; } /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, * see PutBot. *
* * @param idleSessionTTLInSeconds * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more * information, see PutBot. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBotResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { setIdleSessionTTLInSeconds(idleSessionTTLInSeconds); return this; } /** ** The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see * PutBot. *
* * @param voiceId * The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, * see PutBot. */ public void setVoiceId(String voiceId) { this.voiceId = voiceId; } /** ** The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see * PutBot. *
* * @return The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, * see PutBot. */ public String getVoiceId() { return this.voiceId; } /** ** The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see * PutBot. *
* * @param voiceId * The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, * see PutBot. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBotResult withVoiceId(String voiceId) { setVoiceId(voiceId); return this; } /** *
* Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.
*
$LATEST
version.
*/
public void setChecksum(String checksum) {
this.checksum = checksum;
}
/**
*
* Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.
*
$LATEST
version.
*/
public String getChecksum() {
return this.checksum;
}
/**
*
* Checksum of the bot used to identify a specific revision of the bot's $LATEST
version.
*
$LATEST
version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withChecksum(String checksum) {
setChecksum(checksum);
return this;
}
/**
*
* The version of the bot. For a new bot, the version is always $LATEST
.
*
$LATEST
.
*/
public void setVersion(String version) {
this.version = version;
}
/**
*
* The version of the bot. For a new bot, the version is always $LATEST
.
*
$LATEST
.
*/
public String getVersion() {
return this.version;
}
/**
*
* The version of the bot. For a new bot, the version is always $LATEST
.
*
$LATEST
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBotResult withVersion(String version) {
setVersion(version);
return this;
}
/**
* * The target locale for the bot. *
* * @param locale * The target locale for the bot. * @see Locale */ public void setLocale(String locale) { this.locale = locale; } /** ** The target locale for the bot. *
* * @return The target locale for the bot. * @see Locale */ public String getLocale() { return this.locale; } /** ** The target locale for the bot. *
* * @param locale * The target locale for the bot. * @return Returns a reference to this object so that method calls can be chained together. * @see Locale */ public GetBotResult withLocale(String locale) { setLocale(locale); return this; } /** ** The target locale for the bot. *
* * @param locale * The target locale for the bot. * @see Locale */ public void setLocale(Locale locale) { withLocale(locale); } /** ** The target locale for the bot. *
* * @param locale * The target locale for the bot. * @return Returns a reference to this object so that method calls can be chained together. * @see Locale */ public GetBotResult withLocale(Locale locale) { this.locale = locale.toString(); return this; } /** *
* 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. *
* * @param 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 specifyingtrue
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 setChildDirected(Boolean childDirected) { this.childDirected = 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. *
* * @return 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 specifyingtrue
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() { return this.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. *
* * @param 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 specifyingtrue
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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBotResult withChildDirected(Boolean childDirected) { setChildDirected(childDirected); return this; } /** *
* 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. *
* * @return 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 specifyingtrue
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() { return this.childDirected; } /** *
* Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. *
* * @param detectSentiment * Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. */ public void setDetectSentiment(Boolean detectSentiment) { this.detectSentiment = detectSentiment; } /** ** Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. *
* * @return Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. */ public Boolean getDetectSentiment() { return this.detectSentiment; } /** ** Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. *
* * @param detectSentiment * Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBotResult withDetectSentiment(Boolean detectSentiment) { setDetectSentiment(detectSentiment); return this; } /** ** Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. *
* * @return Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis. */ public Boolean isDetectSentiment() { return this.detectSentiment; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getIntents() != null) sb.append("Intents: ").append(getIntents()).append(","); if (getEnableModelImprovements() != null) sb.append("EnableModelImprovements: ").append(getEnableModelImprovements()).append(","); if (getNluIntentConfidenceThreshold() != null) sb.append("NluIntentConfidenceThreshold: ").append(getNluIntentConfidenceThreshold()).append(","); if (getClarificationPrompt() != null) sb.append("ClarificationPrompt: ").append(getClarificationPrompt()).append(","); if (getAbortStatement() != null) sb.append("AbortStatement: ").append(getAbortStatement()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getFailureReason() != null) sb.append("FailureReason: ").append(getFailureReason()).append(","); if (getLastUpdatedDate() != null) sb.append("LastUpdatedDate: ").append(getLastUpdatedDate()).append(","); if (getCreatedDate() != null) sb.append("CreatedDate: ").append(getCreatedDate()).append(","); if (getIdleSessionTTLInSeconds() != null) sb.append("IdleSessionTTLInSeconds: ").append(getIdleSessionTTLInSeconds()).append(","); if (getVoiceId() != null) sb.append("VoiceId: ").append(getVoiceId()).append(","); if (getChecksum() != null) sb.append("Checksum: ").append(getChecksum()).append(","); if (getVersion() != null) sb.append("Version: ").append(getVersion()).append(","); if (getLocale() != null) sb.append("Locale: ").append(getLocale()).append(","); if (getChildDirected() != null) sb.append("ChildDirected: ").append(getChildDirected()).append(","); if (getDetectSentiment() != null) sb.append("DetectSentiment: ").append(getDetectSentiment()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetBotResult == false) return false; GetBotResult other = (GetBotResult) obj; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getIntents() == null ^ this.getIntents() == null) return false; if (other.getIntents() != null && other.getIntents().equals(this.getIntents()) == false) return false; if (other.getEnableModelImprovements() == null ^ this.getEnableModelImprovements() == null) return false; if (other.getEnableModelImprovements() != null && other.getEnableModelImprovements().equals(this.getEnableModelImprovements()) == false) return false; if (other.getNluIntentConfidenceThreshold() == null ^ this.getNluIntentConfidenceThreshold() == null) return false; if (other.getNluIntentConfidenceThreshold() != null && other.getNluIntentConfidenceThreshold().equals(this.getNluIntentConfidenceThreshold()) == false) return false; if (other.getClarificationPrompt() == null ^ this.getClarificationPrompt() == null) return false; if (other.getClarificationPrompt() != null && other.getClarificationPrompt().equals(this.getClarificationPrompt()) == false) return false; if (other.getAbortStatement() == null ^ this.getAbortStatement() == null) return false; if (other.getAbortStatement() != null && other.getAbortStatement().equals(this.getAbortStatement()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false) return false; if (other.getLastUpdatedDate() == null ^ this.getLastUpdatedDate() == null) return false; if (other.getLastUpdatedDate() != null && other.getLastUpdatedDate().equals(this.getLastUpdatedDate()) == false) return false; if (other.getCreatedDate() == null ^ this.getCreatedDate() == null) return false; if (other.getCreatedDate() != null && other.getCreatedDate().equals(this.getCreatedDate()) == false) return false; if (other.getIdleSessionTTLInSeconds() == null ^ this.getIdleSessionTTLInSeconds() == null) return false; if (other.getIdleSessionTTLInSeconds() != null && other.getIdleSessionTTLInSeconds().equals(this.getIdleSessionTTLInSeconds()) == false) return false; if (other.getVoiceId() == null ^ this.getVoiceId() == null) return false; if (other.getVoiceId() != null && other.getVoiceId().equals(this.getVoiceId()) == false) return false; if (other.getChecksum() == null ^ this.getChecksum() == null) return false; if (other.getChecksum() != null && other.getChecksum().equals(this.getChecksum()) == false) return false; if (other.getVersion() == null ^ this.getVersion() == null) return false; if (other.getVersion() != null && other.getVersion().equals(this.getVersion()) == false) return false; if (other.getLocale() == null ^ this.getLocale() == null) return false; if (other.getLocale() != null && other.getLocale().equals(this.getLocale()) == false) return false; if (other.getChildDirected() == null ^ this.getChildDirected() == null) return false; if (other.getChildDirected() != null && other.getChildDirected().equals(this.getChildDirected()) == false) return false; if (other.getDetectSentiment() == null ^ this.getDetectSentiment() == null) return false; if (other.getDetectSentiment() != null && other.getDetectSentiment().equals(this.getDetectSentiment()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getIntents() == null) ? 0 : getIntents().hashCode()); hashCode = prime * hashCode + ((getEnableModelImprovements() == null) ? 0 : getEnableModelImprovements().hashCode()); hashCode = prime * hashCode + ((getNluIntentConfidenceThreshold() == null) ? 0 : getNluIntentConfidenceThreshold().hashCode()); hashCode = prime * hashCode + ((getClarificationPrompt() == null) ? 0 : getClarificationPrompt().hashCode()); hashCode = prime * hashCode + ((getAbortStatement() == null) ? 0 : getAbortStatement().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedDate() == null) ? 0 : getLastUpdatedDate().hashCode()); hashCode = prime * hashCode + ((getCreatedDate() == null) ? 0 : getCreatedDate().hashCode()); hashCode = prime * hashCode + ((getIdleSessionTTLInSeconds() == null) ? 0 : getIdleSessionTTLInSeconds().hashCode()); hashCode = prime * hashCode + ((getVoiceId() == null) ? 0 : getVoiceId().hashCode()); hashCode = prime * hashCode + ((getChecksum() == null) ? 0 : getChecksum().hashCode()); hashCode = prime * hashCode + ((getVersion() == null) ? 0 : getVersion().hashCode()); hashCode = prime * hashCode + ((getLocale() == null) ? 0 : getLocale().hashCode()); hashCode = prime * hashCode + ((getChildDirected() == null) ? 0 : getChildDirected().hashCode()); hashCode = prime * hashCode + ((getDetectSentiment() == null) ? 0 : getDetectSentiment().hashCode()); return hashCode; } @Override public GetBotResult clone() { try { return (GetBotResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }