Interface EntityRecognizerDocuments.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EntityRecognizerDocuments.Builder,EntityRecognizerDocuments>, SdkBuilder<EntityRecognizerDocuments.Builder,EntityRecognizerDocuments>, SdkPojo
Enclosing class:
EntityRecognizerDocuments

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

    • s3Uri

      Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.

      Parameters:
      s3Uri - Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same Region as the API endpoint that you are calling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testS3Uri

      Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.

      Parameters:
      testS3Uri - Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same Amazon Web Services Region as the API endpoint that you are calling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputFormat

      EntityRecognizerDocuments.Builder inputFormat(String inputFormat)

      Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

      Parameters:
      inputFormat - Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputFormat

      Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

      Parameters:
      inputFormat - Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: