JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lexmodelsv2.model

Class BatchUpdateCustomVocabularyItemResult

    • Constructor Detail

      • BatchUpdateCustomVocabularyItemResult

        public BatchUpdateCustomVocabularyItemResult()
    • Method Detail

      • setBotId

        public void setBotId(String botId)

        The identifier of the bot associated with this custom vocabulary.

        Parameters:
        botId - The identifier of the bot associated with this custom vocabulary.
      • getBotId

        public String getBotId()

        The identifier of the bot associated with this custom vocabulary.

        Returns:
        The identifier of the bot associated with this custom vocabulary.
      • withBotId

        public BatchUpdateCustomVocabularyItemResult withBotId(String botId)

        The identifier of the bot associated with this custom vocabulary.

        Parameters:
        botId - The identifier of the bot associated with this custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBotVersion

        public void setBotVersion(String botVersion)

        The identifier of the version of the bot associated with this custom vocabulary.

        Parameters:
        botVersion - The identifier of the version of the bot associated with this custom vocabulary.
      • getBotVersion

        public String getBotVersion()

        The identifier of the version of the bot associated with this custom vocabulary.

        Returns:
        The identifier of the version of the bot associated with this custom vocabulary.
      • withBotVersion

        public BatchUpdateCustomVocabularyItemResult withBotVersion(String botVersion)

        The identifier of the version of the bot associated with this custom vocabulary.

        Parameters:
        botVersion - The identifier of the version of the bot associated with this custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLocaleId

        public void setLocaleId(String 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 .

        Parameters:
        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 .
      • getLocaleId

        public String getLocaleId()

        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 .

        Returns:
        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 .
      • withLocaleId

        public BatchUpdateCustomVocabularyItemResult withLocaleId(String 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 .

        Parameters:
        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 .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getErrors

        public List<FailedCustomVocabularyItem> getErrors()

        A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.

        Returns:
        A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
      • setErrors

        public void setErrors(Collection<FailedCustomVocabularyItem> errors)

        A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.

        Parameters:
        errors - A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
      • withErrors

        public BatchUpdateCustomVocabularyItemResult withErrors(FailedCustomVocabularyItem... errors)

        A list of custom vocabulary items that failed to update 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 setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the existing values.

        Parameters:
        errors - A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withErrors

        public BatchUpdateCustomVocabularyItemResult withErrors(Collection<FailedCustomVocabularyItem> errors)

        A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.

        Parameters:
        errors - A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getResources

        public List<CustomVocabularyItem> getResources()

        A list of custom vocabulary items that were successfully updated during the operation.

        Returns:
        A list of custom vocabulary items that were successfully updated during the operation.
      • setResources

        public void setResources(Collection<CustomVocabularyItem> resources)

        A list of custom vocabulary items that were successfully updated during the operation.

        Parameters:
        resources - A list of custom vocabulary items that were successfully updated during the operation.
      • withResources

        public BatchUpdateCustomVocabularyItemResult withResources(Collection<CustomVocabularyItem> resources)

        A list of custom vocabulary items that were successfully updated during the operation.

        Parameters:
        resources - A list of custom vocabulary items that were successfully updated during the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /