* The identifier of the bot that contains the updated locale. *
*/ private String botId; /** ** The version of the bot that contains the updated locale. *
*/ private String botVersion; /** ** The language and locale of the updated bot locale. *
*/ private String localeId; /** ** The updated locale name for the locale. *
*/ private String localeName; /** ** The updated description of the locale. *
*/ private String description; /** *
* The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*
* The updated Amazon Polly voice to use for voice interaction with the user. *
*/ private VoiceSettings voiceSettings; /** *
* The current status of the locale. When the bot status is Built
the locale is ready for use.
*
* If the botLocaleStatus
is Failed
, the failureReasons
field lists the
* errors that occurred while building the bot.
*
* A timestamp of the date and time that the locale was created. *
*/ private java.util.Date creationDateTime; /** ** A timestamp of the date and time that the locale was last updated. *
*/ private java.util.Date lastUpdatedDateTime; /** *
* Recommended actions to take to resolve an error in the failureReasons
field.
*
* The identifier of the bot that contains the updated locale. *
* * @param botId * The identifier of the bot that contains the updated locale. */ public void setBotId(String botId) { this.botId = botId; } /** ** The identifier of the bot that contains the updated locale. *
* * @return The identifier of the bot that contains the updated locale. */ public String getBotId() { return this.botId; } /** ** The identifier of the bot that contains the updated locale. *
* * @param botId * The identifier of the bot that contains the updated locale. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withBotId(String botId) { setBotId(botId); return this; } /** ** The version of the bot that contains the updated locale. *
* * @param botVersion * The version of the bot that contains the updated locale. */ public void setBotVersion(String botVersion) { this.botVersion = botVersion; } /** ** The version of the bot that contains the updated locale. *
* * @return The version of the bot that contains the updated locale. */ public String getBotVersion() { return this.botVersion; } /** ** The version of the bot that contains the updated locale. *
* * @param botVersion * The version of the bot that contains the updated locale. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withBotVersion(String botVersion) { setBotVersion(botVersion); return this; } /** ** The language and locale of the updated bot locale. *
* * @param localeId * The language and locale of the updated bot locale. */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** ** The language and locale of the updated bot locale. *
* * @return The language and locale of the updated bot locale. */ public String getLocaleId() { return this.localeId; } /** ** The language and locale of the updated bot locale. *
* * @param localeId * The language and locale of the updated bot locale. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** ** The updated locale name for the locale. *
* * @param localeName * The updated locale name for the locale. */ public void setLocaleName(String localeName) { this.localeName = localeName; } /** ** The updated locale name for the locale. *
* * @return The updated locale name for the locale. */ public String getLocaleName() { return this.localeName; } /** ** The updated locale name for the locale. *
* * @param localeName * The updated locale name for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withLocaleName(String localeName) { setLocaleName(localeName); return this; } /** ** The updated description of the locale. *
* * @param description * The updated description of the locale. */ public void setDescription(String description) { this.description = description; } /** ** The updated description of the locale. *
* * @return The updated description of the locale. */ public String getDescription() { return this.description; } /** ** The updated description of the locale. *
* * @param description * The updated description of the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withDescription(String description) { setDescription(description); return this; } /** *
* The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*
AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*/
public void setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) {
this.nluIntentConfidenceThreshold = nluIntentConfidenceThreshold;
}
/**
*
* The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*
AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*/
public Double getNluIntentConfidenceThreshold() {
return this.nluIntentConfidenceThreshold;
}
/**
*
* The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*
AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateBotLocaleResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) {
setNluIntentConfidenceThreshold(nluIntentConfidenceThreshold);
return this;
}
/**
* * The updated Amazon Polly voice to use for voice interaction with the user. *
* * @param voiceSettings * The updated Amazon Polly voice to use for voice interaction with the user. */ public void setVoiceSettings(VoiceSettings voiceSettings) { this.voiceSettings = voiceSettings; } /** ** The updated Amazon Polly voice to use for voice interaction with the user. *
* * @return The updated Amazon Polly voice to use for voice interaction with the user. */ public VoiceSettings getVoiceSettings() { return this.voiceSettings; } /** ** The updated Amazon Polly voice to use for voice interaction with the user. *
* * @param voiceSettings * The updated Amazon Polly voice to use for voice interaction with the user. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withVoiceSettings(VoiceSettings voiceSettings) { setVoiceSettings(voiceSettings); return this; } /** *
* The current status of the locale. When the bot status is Built
the locale is ready for use.
*
Built
the locale is ready for use.
* @see BotLocaleStatus
*/
public void setBotLocaleStatus(String botLocaleStatus) {
this.botLocaleStatus = botLocaleStatus;
}
/**
*
* The current status of the locale. When the bot status is Built
the locale is ready for use.
*
Built
the locale is ready for use.
* @see BotLocaleStatus
*/
public String getBotLocaleStatus() {
return this.botLocaleStatus;
}
/**
*
* The current status of the locale. When the bot status is Built
the locale is ready for use.
*
Built
the locale is ready for use.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotLocaleStatus
*/
public UpdateBotLocaleResult withBotLocaleStatus(String botLocaleStatus) {
setBotLocaleStatus(botLocaleStatus);
return this;
}
/**
*
* The current status of the locale. When the bot status is Built
the locale is ready for use.
*
Built
the locale is ready for use.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotLocaleStatus
*/
public UpdateBotLocaleResult withBotLocaleStatus(BotLocaleStatus botLocaleStatus) {
this.botLocaleStatus = botLocaleStatus.toString();
return this;
}
/**
*
* If the botLocaleStatus
is Failed
, the failureReasons
field lists the
* errors that occurred while building the bot.
*
botLocaleStatus
is Failed
, the failureReasons
field lists
* the errors that occurred while building the bot.
*/
public java.util.List
* If the botLocaleStatus
is Failed
, the failureReasons
field lists the
* errors that occurred while building the bot.
*
botLocaleStatus
is Failed
, the failureReasons
field lists
* the errors that occurred while building the bot.
*/
public void setFailureReasons(java.util.Collection
* If the botLocaleStatus
is Failed
, the failureReasons
field lists the
* errors that occurred while building the bot.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailureReasons(java.util.Collection)} or {@link #withFailureReasons(java.util.Collection)} if you want * to override the existing values. *
* * @param failureReasons * If thebotLocaleStatus
is Failed
, the failureReasons
field lists
* the errors that occurred while building the bot.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateBotLocaleResult withFailureReasons(String... failureReasons) {
if (this.failureReasons == null) {
setFailureReasons(new java.util.ArrayList
* If the botLocaleStatus
is Failed
, the failureReasons
field lists the
* errors that occurred while building the bot.
*
botLocaleStatus
is Failed
, the failureReasons
field lists
* the errors that occurred while building the bot.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateBotLocaleResult withFailureReasons(java.util.Collection* A timestamp of the date and time that the locale was created. *
* * @param creationDateTime * A timestamp of the date and time that the locale was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** A timestamp of the date and time that the locale was created. *
* * @return A timestamp of the date and time that the locale was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** A timestamp of the date and time that the locale was created. *
* * @param creationDateTime * A timestamp of the date and time that the locale was created. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** A timestamp of the date and time that the locale was last updated. *
* * @param lastUpdatedDateTime * A timestamp of the date and time that the locale was last updated. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** ** A timestamp of the date and time that the locale was last updated. *
* * @return A timestamp of the date and time that the locale was last updated. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** ** A timestamp of the date and time that the locale was last updated. *
* * @param lastUpdatedDateTime * A timestamp of the date and time that the locale was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateBotLocaleResult withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); return this; } /** *
* Recommended actions to take to resolve an error in the failureReasons
field.
*
failureReasons
field.
*/
public java.util.List
* Recommended actions to take to resolve an error in the failureReasons
field.
*
failureReasons
field.
*/
public void setRecommendedActions(java.util.Collection
* Recommended actions to take to resolve an error in the failureReasons
field.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setRecommendedActions(java.util.Collection)} or {@link #withRecommendedActions(java.util.Collection)} if * you want to override the existing values. *
* * @param recommendedActions * Recommended actions to take to resolve an error in thefailureReasons
field.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateBotLocaleResult withRecommendedActions(String... recommendedActions) {
if (this.recommendedActions == null) {
setRecommendedActions(new java.util.ArrayList
* Recommended actions to take to resolve an error in the failureReasons
field.
*
failureReasons
field.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateBotLocaleResult withRecommendedActions(java.util.Collection