public DetectEntitiesResult withDocumentType(java.util.Collection<DocumentTypeListItem> documentType) {
        setDocumentType(documentType);
        return this;
    }
<p>
The document type for each page in the input document. This field is present in the response only if your request
used the <code>Byte</code> parameter.
</p>

@param documentType
       The document type for each page in the input document. This field is present in the response only if your
       request used the <code>Byte</code> parameter.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DetectEntitiesResult.java