Interface DetectKeyPhrasesRequest.Builder

  • Method Details

    • text

      A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.

      Parameters:
      text - A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

      DetectKeyPhrasesRequest.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

      DetectKeyPhrasesRequest.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:
    • overrideConfiguration

      DetectKeyPhrasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.