Interface BatchDetectEntitiesRequest.Builder

    • Method Detail

      • textList

        BatchDetectEntitiesRequest.Builder textList​(Collection<String> textList)

        A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.

        Parameters:
        textList - A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textList

        BatchDetectEntitiesRequest.Builder textList​(String... textList)

        A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.

        Parameters:
        textList - A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        BatchDetectEntitiesRequest.Builder languageCode​(String languageCode)

        The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

        Parameters:
        languageCode - The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • languageCode

        BatchDetectEntitiesRequest.Builder languageCode​(LanguageCode languageCode)

        The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

        Parameters:
        languageCode - The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode