Interface BatchDetectSyntaxRequest.Builder

    • Method Detail

      • textList

        BatchDetectSyntaxRequest.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 for 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 for each document is 5 KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textList

        BatchDetectSyntaxRequest.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 for 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 for each document is 5 KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        BatchDetectSyntaxRequest.Builder languageCode​(String languageCode)

        The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.

        Parameters:
        languageCode - The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). 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:
        SyntaxLanguageCode, SyntaxLanguageCode
      • languageCode

        BatchDetectSyntaxRequest.Builder languageCode​(SyntaxLanguageCode languageCode)

        The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.

        Parameters:
        languageCode - The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). 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:
        SyntaxLanguageCode, SyntaxLanguageCode