Interface DetectSyntaxRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ComprehendRequest.Builder, CopyableBuilder<DetectSyntaxRequest.Builder,DetectSyntaxRequest>, SdkBuilder<DetectSyntaxRequest.Builder,DetectSyntaxRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DetectSyntaxRequest

public static interface DetectSyntaxRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<DetectSyntaxRequest.Builder,DetectSyntaxRequest>
  • Method Details

    • text

      A UTF-8 string. The maximum string size is 5 KB.

      Parameters:
      text - A UTF-8 string. The maximum string size is 5 KB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

      DetectSyntaxRequest.Builder languageCode(String languageCode)

      The language code 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").

      Parameters:
      languageCode - The language code 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").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • languageCode

      DetectSyntaxRequest.Builder languageCode(SyntaxLanguageCode languageCode)

      The language code 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").

      Parameters:
      languageCode - The language code 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").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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