/*
* 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 PutBotResult 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 prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see
* PutBot.
*
* The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
*
* When you send a request to create a bot with
* In the
* If Amazon Lex can't build the bot, Amazon Lex sets
* When you set
* When the bot is in the
* 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 length of time 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 that you created.
*
* 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.
*
*
*
* A list of tags associated with the bot.
*
* 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 prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see
* PutBot.
*
* The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see
* PutBot.
*
* The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see
* PutBot.
*
* The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
*
* The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
*
* The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
*
* When you send a request to create a bot with
* In the
* If Amazon Lex can't build the bot, Amazon Lex sets
* When you set
* When the bot is in the 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.
* processBehavior
set to BUILD
, Amazon Lex
* sets the status
response element to BUILDING
.
* READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
* status
to FAILED
. Amazon Lex returns
* the reason for the failure in the failureReason
response element.
* processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
* READY
state you can test and publish the bot.
* status
is FAILED
, Amazon Lex provides the reason that it failed to build the bot.
* $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.
* True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
* true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis.
* If the detectSentiment
field was not specified in the request, the detectSentiment
* field is false
in the response.
* 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 PutBotResult 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 PutBotResult 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 PutBotResult 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 PutBotResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) {
setNluIntentConfidenceThreshold(nluIntentConfidenceThreshold);
return this;
}
/**
* processBehavior
set to BUILD
, Amazon Lex
* sets the status
response element to BUILDING
.
* READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
* status
to FAILED
. Amazon Lex returns
* the reason for the failure in the failureReason
response element.
* processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
* READY
state you can test and publish the bot.
* processBehavior
set to BUILD
,
* Amazon Lex sets the status
response element to BUILDING
.
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex
* returns the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
* @see Status
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* When you send a request to create a bot with processBehavior
set to BUILD
, Amazon Lex
* sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex returns
* the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
*
processBehavior
set to BUILD
,
* Amazon Lex sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match
* the utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex
* returns the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
* @see Status
*/
public String getStatus() {
return this.status;
}
/**
*
* When you send a request to create a bot with processBehavior
set to BUILD
, Amazon Lex
* sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex returns
* the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
*
processBehavior
set to BUILD
,
* Amazon Lex sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex
* returns the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
* @return Returns a reference to this object so that method calls can be chained together.
* @see Status
*/
public PutBotResult withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* When you send a request to create a bot with processBehavior
set to BUILD
, Amazon Lex
* sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex returns
* the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
*
processBehavior
set to BUILD
,
* Amazon Lex sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex
* returns the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
* @see Status
*/
public void setStatus(Status status) {
withStatus(status);
}
/**
*
* When you send a request to create a bot with processBehavior
set to BUILD
, Amazon Lex
* sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex returns
* the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
*
processBehavior
set to BUILD
,
* Amazon Lex sets the status
response element to BUILDING
.
*
* In the READY_BASIC_TESTING
state you can test the bot with user inputs that exactly match the
* utterances configured for the bot's intents and values in the slot types.
*
* If Amazon Lex can't build the bot, Amazon Lex sets status
to FAILED
. Amazon Lex
* returns the reason for the failure in the failureReason
response element.
*
* When you set processBehavior
to SAVE
, Amazon Lex sets the status code to
* NOT BUILT
.
*
* When the bot is in the READY
state you can test and publish the bot.
* @return Returns a reference to this object so that method calls can be chained together.
* @see Status
*/
public PutBotResult withStatus(Status status) {
this.status = status.toString();
return this;
}
/**
*
* 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 void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
/**
*
* 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 String getFailureReason() {
return this.failureReason;
}
/**
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PutBotResult 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 PutBotResult 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 PutBotResult withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** ** The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see * PutBot. *
* * @param idleSessionTTLInSeconds * The maximum length of time 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 length of time that Amazon Lex retains the data gathered in a conversation. For more information, see * PutBot. *
* * @return The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more * information, see PutBot. */ public Integer getIdleSessionTTLInSeconds() { return this.idleSessionTTLInSeconds; } /** ** The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see * PutBot. *
* * @param idleSessionTTLInSeconds * The maximum length of time 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 PutBotResult 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 PutBotResult withVoiceId(String voiceId) { setVoiceId(voiceId); return this; } /** ** Checksum of the bot that you created. *
* * @param checksum * Checksum of the bot that you created. */ public void setChecksum(String checksum) { this.checksum = checksum; } /** ** Checksum of the bot that you created. *
* * @return Checksum of the bot that you created. */ public String getChecksum() { return this.checksum; } /** ** Checksum of the bot that you created. *
* * @param checksum * Checksum of the bot that you created. * @return Returns a reference to this object so that method calls can be chained together. */ public PutBotResult 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 PutBotResult 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 PutBotResult 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 PutBotResult 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 PutBotResult 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; } /** *
* True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
*
True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
*/
public void setCreateVersion(Boolean createVersion) {
this.createVersion = createVersion;
}
/**
*
* True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
*
True
if a new version of the bot was created. If the createVersion
field was
* not specified in the request, the createVersion
field is set to false in the response.
*/
public Boolean getCreateVersion() {
return this.createVersion;
}
/**
*
* True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
*
True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PutBotResult withCreateVersion(Boolean createVersion) {
setCreateVersion(createVersion);
return this;
}
/**
*
* True
if a new version of the bot was created. If the createVersion
field was not
* specified in the request, the createVersion
field is set to false in the response.
*
True
if a new version of the bot was created. If the createVersion
field was
* not specified in the request, the createVersion
field is set to false in the response.
*/
public Boolean isCreateVersion() {
return this.createVersion;
}
/**
*
* true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis.
* If the detectSentiment
field was not specified in the request, the detectSentiment
* field is false
in the response.
*
true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment
* analysis. If the detectSentiment
field was not specified in the request, the
* detectSentiment
field is false
in the response.
*/
public void setDetectSentiment(Boolean detectSentiment) {
this.detectSentiment = detectSentiment;
}
/**
*
* true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis.
* If the detectSentiment
field was not specified in the request, the detectSentiment
* field is false
in the response.
*
true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment
* analysis. If the detectSentiment
field was not specified in the request, the
* detectSentiment
field is false
in the response.
*/
public Boolean getDetectSentiment() {
return this.detectSentiment;
}
/**
*
* true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis.
* If the detectSentiment
field was not specified in the request, the detectSentiment
* field is false
in the response.
*
true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment
* analysis. If the detectSentiment
field was not specified in the request, the
* detectSentiment
field is false
in the response.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PutBotResult withDetectSentiment(Boolean detectSentiment) {
setDetectSentiment(detectSentiment);
return this;
}
/**
*
* true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis.
* If the detectSentiment
field was not specified in the request, the detectSentiment
* field is false
in the response.
*
true
if the bot is configured to send user utterances to Amazon Comprehend for sentiment
* analysis. If the detectSentiment
field was not specified in the request, the
* detectSentiment
field is false
in the response.
*/
public Boolean isDetectSentiment() {
return this.detectSentiment;
}
/**
* * A list of tags associated with the bot. *
* * @return A list of tags associated with the bot. */ public java.util.List* A list of tags associated with the bot. *
* * @param tags * A list of tags associated with the bot. */ public void setTags(java.util.Collection* A list of tags associated with the bot. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * A list of tags associated with the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public PutBotResult withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* A list of tags associated with the bot. *
* * @param tags * A list of tags associated with the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public PutBotResult withTags(java.util.Collection