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 BatchUpdateCustomVocabularyItemRequest

    • Constructor Detail

      • BatchUpdateCustomVocabularyItemRequest

        public BatchUpdateCustomVocabularyItemRequest()
    • 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 BatchUpdateCustomVocabularyItemRequest 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 BatchUpdateCustomVocabularyItemRequest 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 BatchUpdateCustomVocabularyItemRequest 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.
      • getCustomVocabularyItemList

        public List<CustomVocabularyItem> getCustomVocabularyItemList()

        A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

        Returns:
        A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
      • setCustomVocabularyItemList

        public void setCustomVocabularyItemList(Collection<CustomVocabularyItem> customVocabularyItemList)

        A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

        Parameters:
        customVocabularyItemList - A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
      • withCustomVocabularyItemList

        public BatchUpdateCustomVocabularyItemRequest withCustomVocabularyItemList(CustomVocabularyItem... customVocabularyItemList)

        A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

        NOTE: This method appends the values to the existing list (if any). Use setCustomVocabularyItemList(java.util.Collection) or withCustomVocabularyItemList(java.util.Collection) if you want to override the existing values.

        Parameters:
        customVocabularyItemList - A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCustomVocabularyItemList

        public BatchUpdateCustomVocabularyItemRequest withCustomVocabularyItemList(Collection<CustomVocabularyItem> customVocabularyItemList)

        A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

        Parameters:
        customVocabularyItemList - A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
        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 によって変換されたページ (->オリジナル) /