public PageClassification withPageType(Prediction... pageType) {
        if (this.pageType == null) {
            setPageType(new java.util.ArrayList<Prediction>(pageType.length));
        }
        for (Prediction ele : pageType) {
            this.pageType.add(ele);
        }
        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>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPageType(java.util.Collection)} or {@link #withPageType(java.util.Collection)} if you want to override
the existing values.
</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