* The identifier of the bot associated with the locale. *
*/ private String botId; /** ** The version of the bot associated with the locale. *
*/ private String botVersion; /** ** The unique identifier of the described locale. *
*/ private String localeId; /** ** The name of the locale. *
*/ private String localeName; /** ** The description of the locale. *
*/ private String description; /** *
* The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and
* AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
*
* The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *
*/ private VoiceSettings voiceSettings; /** ** The number of intents defined for the locale. *
*/ private Integer intentsCount; /** ** The number of slot types defined for the locale. *
*/ private Integer slotTypesCount; /** *
* The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
* failureReasons
field.
*
* if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
*
* The date and time that the locale was created. *
*/ private java.util.Date creationDateTime; /** ** The date and time that the locale was last updated. *
*/ private java.util.Date lastUpdatedDateTime; /** ** The date and time that the locale was last submitted for building. *
*/ private java.util.Date lastBuildSubmittedDateTime; /** ** History of changes, such as when a locale is used in an alias, that have taken place for the locale. *
*/ private java.util.List
* Recommended actions to take to resolve an error in the failureReasons
field.
*
* The identifier of the bot associated with the locale. *
* * @param botId * The identifier of the bot associated with the locale. */ public void setBotId(String botId) { this.botId = botId; } /** ** The identifier of the bot associated with the locale. *
* * @return The identifier of the bot associated with the locale. */ public String getBotId() { return this.botId; } /** ** The identifier of the bot associated with the locale. *
* * @param botId * The identifier of the bot associated with the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotId(String botId) { setBotId(botId); return this; } /** ** The version of the bot associated with the locale. *
* * @param botVersion * The version of the bot associated with the locale. */ public void setBotVersion(String botVersion) { this.botVersion = botVersion; } /** ** The version of the bot associated with the locale. *
* * @return The version of the bot associated with the locale. */ public String getBotVersion() { return this.botVersion; } /** ** The version of the bot associated with the locale. *
* * @param botVersion * The version of the bot associated with the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotVersion(String botVersion) { setBotVersion(botVersion); return this; } /** ** The unique identifier of the described locale. *
* * @param localeId * The unique identifier of the described locale. */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** ** The unique identifier of the described locale. *
* * @return The unique identifier of the described locale. */ public String getLocaleId() { return this.localeId; } /** ** The unique identifier of the described locale. *
* * @param localeId * The unique identifier of the described locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** ** The name of the locale. *
* * @param localeName * The name of the locale. */ public void setLocaleName(String localeName) { this.localeName = localeName; } /** ** The name of the locale. *
* * @return The name of the locale. */ public String getLocaleName() { return this.localeName; } /** ** The name of the locale. *
* * @param localeName * The name of the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLocaleName(String localeName) { setLocaleName(localeName); return this; } /** ** The description of the locale. *
* * @param description * The description of the locale. */ public void setDescription(String description) { this.description = description; } /** ** The description of the locale. *
* * @return The description of the locale. */ public String getDescription() { return this.description; } /** ** The description of the locale. *
* * @param description * The description of the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withDescription(String description) { setDescription(description); return this; } /** *
* The confidence threshold where Amazon Lex inserts 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 confidence threshold where Amazon Lex inserts 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 confidence threshold where Amazon Lex inserts 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 DescribeBotLocaleResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold) {
setNluIntentConfidenceThreshold(nluIntentConfidenceThreshold);
return this;
}
/**
* * The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *
* * @param voiceSettings * The Amazon Polly voice Amazon Lex uses for voice interaction with the user. */ public void setVoiceSettings(VoiceSettings voiceSettings) { this.voiceSettings = voiceSettings; } /** ** The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *
* * @return The Amazon Polly voice Amazon Lex uses for voice interaction with the user. */ public VoiceSettings getVoiceSettings() { return this.voiceSettings; } /** ** The Amazon Polly voice Amazon Lex uses for voice interaction with the user. *
* * @param voiceSettings * The Amazon Polly voice Amazon Lex uses for voice interaction with the user. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withVoiceSettings(VoiceSettings voiceSettings) { setVoiceSettings(voiceSettings); return this; } /** ** The number of intents defined for the locale. *
* * @param intentsCount * The number of intents defined for the locale. */ public void setIntentsCount(Integer intentsCount) { this.intentsCount = intentsCount; } /** ** The number of intents defined for the locale. *
* * @return The number of intents defined for the locale. */ public Integer getIntentsCount() { return this.intentsCount; } /** ** The number of intents defined for the locale. *
* * @param intentsCount * The number of intents defined for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withIntentsCount(Integer intentsCount) { setIntentsCount(intentsCount); return this; } /** ** The number of slot types defined for the locale. *
* * @param slotTypesCount * The number of slot types defined for the locale. */ public void setSlotTypesCount(Integer slotTypesCount) { this.slotTypesCount = slotTypesCount; } /** ** The number of slot types defined for the locale. *
* * @return The number of slot types defined for the locale. */ public Integer getSlotTypesCount() { return this.slotTypesCount; } /** ** The number of slot types defined for the locale. *
* * @param slotTypesCount * The number of slot types defined for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withSlotTypesCount(Integer slotTypesCount) { setSlotTypesCount(slotTypesCount); return this; } /** *
* The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
* failureReasons
field.
*
Failed
, the reasons for the failure are listed in the
* failureReasons
field.
* @see BotLocaleStatus
*/
public void setBotLocaleStatus(String botLocaleStatus) {
this.botLocaleStatus = botLocaleStatus;
}
/**
*
* The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
* failureReasons
field.
*
Failed
, the reasons for the failure are listed in
* the failureReasons
field.
* @see BotLocaleStatus
*/
public String getBotLocaleStatus() {
return this.botLocaleStatus;
}
/**
*
* The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
* failureReasons
field.
*
Failed
, the reasons for the failure are listed in the
* failureReasons
field.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotLocaleStatus
*/
public DescribeBotLocaleResult withBotLocaleStatus(String botLocaleStatus) {
setBotLocaleStatus(botLocaleStatus);
return this;
}
/**
*
* The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
* failureReasons
field.
*
Failed
, the reasons for the failure are listed in the
* failureReasons
field.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotLocaleStatus
*/
public DescribeBotLocaleResult withBotLocaleStatus(BotLocaleStatus botLocaleStatus) {
this.botLocaleStatus = botLocaleStatus.toString();
return this;
}
/**
*
* if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
*
botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the
* bot.
*/
public java.util.List
* if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
*
botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the
* bot.
*/
public void setFailureReasons(java.util.Collection
* if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build 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 * ifbotLocaleStatus
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 DescribeBotLocaleResult withFailureReasons(String... failureReasons) {
if (this.failureReasons == null) {
setFailureReasons(new java.util.ArrayList
* if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
*
botLocaleStatus
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 DescribeBotLocaleResult withFailureReasons(java.util.Collection* The date and time that the locale was created. *
* * @param creationDateTime * The date and time that the locale was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** The date and time that the locale was created. *
* * @return The date and time that the locale was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** The date and time that the locale was created. *
* * @param creationDateTime * 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 DescribeBotLocaleResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** The date and time that the locale was last updated. *
* * @param lastUpdatedDateTime * The date and time that the locale was last updated. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** ** The date and time that the locale was last updated. *
* * @return The date and time that the locale was last updated. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** ** The date and time that the locale was last updated. *
* * @param lastUpdatedDateTime * 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 DescribeBotLocaleResult withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); return this; } /** ** The date and time that the locale was last submitted for building. *
* * @param lastBuildSubmittedDateTime * The date and time that the locale was last submitted for building. */ public void setLastBuildSubmittedDateTime(java.util.Date lastBuildSubmittedDateTime) { this.lastBuildSubmittedDateTime = lastBuildSubmittedDateTime; } /** ** The date and time that the locale was last submitted for building. *
* * @return The date and time that the locale was last submitted for building. */ public java.util.Date getLastBuildSubmittedDateTime() { return this.lastBuildSubmittedDateTime; } /** ** The date and time that the locale was last submitted for building. *
* * @param lastBuildSubmittedDateTime * The date and time that the locale was last submitted for building. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withLastBuildSubmittedDateTime(java.util.Date lastBuildSubmittedDateTime) { setLastBuildSubmittedDateTime(lastBuildSubmittedDateTime); return this; } /** ** History of changes, such as when a locale is used in an alias, that have taken place for the locale. *
* * @return History of changes, such as when a locale is used in an alias, that have taken place for the locale. */ public java.util.List* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *
* * @param botLocaleHistoryEvents * History of changes, such as when a locale is used in an alias, that have taken place for the locale. */ public void setBotLocaleHistoryEvents(java.util.Collection* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setBotLocaleHistoryEvents(java.util.Collection)} or * {@link #withBotLocaleHistoryEvents(java.util.Collection)} if you want to override the existing values. *
* * @param botLocaleHistoryEvents * History of changes, such as when a locale is used in an alias, that have taken place for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotLocaleHistoryEvents(BotLocaleHistoryEvent... botLocaleHistoryEvents) { if (this.botLocaleHistoryEvents == null) { setBotLocaleHistoryEvents(new java.util.ArrayList* History of changes, such as when a locale is used in an alias, that have taken place for the locale. *
* * @param botLocaleHistoryEvents * History of changes, such as when a locale is used in an alias, that have taken place for the locale. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotLocaleResult withBotLocaleHistoryEvents(java.util.Collection
* 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 DescribeBotLocaleResult 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 DescribeBotLocaleResult withRecommendedActions(java.util.Collection