public EntityRecognizerDocuments withInputFormat(InputFormat inputFormat) {
        this.inputFormat = inputFormat.toString();
        return this;
    }
<p>
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.
</p>

@param 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.
@return Returns a reference to this object so that method calls can be chained together.
@see InputFormat
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EntityRecognizerDocuments.java