public PageClassification withPageType(java.util.Collection<Prediction> pageType) {
        setPageType(pageType);
        return this;
    }
<p>
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a
detected Page object.
</p>

@param pageType
       The class, or document type, assigned to a detected Page object. The class, or document type, assigned to
       a detected Page object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/PageClassification.java