* The identifier of the bot associated with this custom vocabulary. *
*/ private String botId; /** ** The identifier of the version of the bot associated with this custom vocabulary. *
*/ private String botVersion; /** ** The identifier of the language and locale where this custom vocabulary is used. The string must match one of the * supported locales. For more information, see Supported Languages . *
*/ private String localeId; /** ** A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. *
*/ private java.util.List* A list of custom vocabulary items that were successfully created during the operation. *
*/ private java.util.List* The identifier of the bot associated with this custom vocabulary. *
* * @param botId * The identifier of the bot associated with this custom vocabulary. */ public void setBotId(String botId) { this.botId = botId; } /** ** The identifier of the bot associated with this custom vocabulary. *
* * @return The identifier of the bot associated with this custom vocabulary. */ public String getBotId() { return this.botId; } /** ** The identifier of the bot associated with this custom vocabulary. *
* * @param botId * The identifier of the bot associated with this custom vocabulary. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withBotId(String botId) { setBotId(botId); return this; } /** ** The identifier of the version of the bot associated with this custom vocabulary. *
* * @param botVersion * The identifier of the version of the bot associated with this custom vocabulary. */ public void setBotVersion(String botVersion) { this.botVersion = botVersion; } /** ** The identifier of the version of the bot associated with this custom vocabulary. *
* * @return The identifier of the version of the bot associated with this custom vocabulary. */ public String getBotVersion() { return this.botVersion; } /** ** The identifier of the version of the bot associated with this custom vocabulary. *
* * @param botVersion * The identifier of the version of the bot associated with this custom vocabulary. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withBotVersion(String botVersion) { setBotVersion(botVersion); return this; } /** ** The identifier of the language and locale where this custom vocabulary is used. The string must match one of the * supported locales. For more information, see Supported Languages . *
* * @param localeId * The identifier of the language and locale where this custom vocabulary is used. The string must match one * of the supported locales. For more information, see Supported Languages . */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** ** The identifier of the language and locale where this custom vocabulary is used. The string must match one of the * supported locales. For more information, see Supported Languages . *
* * @return The identifier of the language and locale where this custom vocabulary is used. The string must match one * of the supported locales. For more information, see Supported Languages . */ public String getLocaleId() { return this.localeId; } /** ** The identifier of the language and locale where this custom vocabulary is used. The string must match one of the * supported locales. For more information, see Supported Languages . *
* * @param localeId * The identifier of the language and locale where this custom vocabulary is used. The string must match one * of the supported locales. For more information, see Supported Languages . * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** ** A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. *
* * @return A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. */ public java.util.List* A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. *
* * @param errors * A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. */ public void setErrors(java.util.Collection* A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withErrors(FailedCustomVocabularyItem... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. *
* * @param errors * A list of custom vocabulary items that failed to create during the operation. The reason for the error is * contained within each error object. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withErrors(java.util.Collection* A list of custom vocabulary items that were successfully created during the operation. *
* * @return A list of custom vocabulary items that were successfully created during the operation. */ public java.util.List* A list of custom vocabulary items that were successfully created during the operation. *
* * @param resources * A list of custom vocabulary items that were successfully created during the operation. */ public void setResources(java.util.Collection* A list of custom vocabulary items that were successfully created during the operation. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setResources(java.util.Collection)} or {@link #withResources(java.util.Collection)} if you want to * override the existing values. *
* * @param resources * A list of custom vocabulary items that were successfully created during the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withResources(CustomVocabularyItem... resources) { if (this.resources == null) { setResources(new java.util.ArrayList* A list of custom vocabulary items that were successfully created during the operation. *
* * @param resources * A list of custom vocabulary items that were successfully created during the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCreateCustomVocabularyItemResult withResources(java.util.Collection