public IdentityDocument withIdentityDocumentFields(IdentityDocumentField... identityDocumentFields) {
        if (this.identityDocumentFields == null) {
            setIdentityDocumentFields(new java.util.ArrayList<IdentityDocumentField>(identityDocumentFields.length));
        }
        for (IdentityDocumentField ele : identityDocumentFields) {
            this.identityDocumentFields.add(ele);
        }
        return this;
    }
<p>
The structure used to record information extracted from identity documents. Contains both normalized field and
value of the extracted text.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIdentityDocumentFields(java.util.Collection)} or
{@link #withIdentityDocumentFields(java.util.Collection)} if you want to override the existing values.
</p>

@param identityDocumentFields
       The structure used to record information extracted from identity documents. Contains both normalized field
       and value of the extracted text.
@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/IdentityDocument.java