public AssociateFacesResult withAssociatedFaces(AssociatedFace... associatedFaces) {
        if (this.associatedFaces == null) {
            setAssociatedFaces(new java.util.ArrayList<AssociatedFace>(associatedFaces.length));
        }
        for (AssociatedFace ele : associatedFaces) {
            this.associatedFaces.add(ele);
        }
        return this;
    }
<p>
An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the UserID.
Returned if the AssociateFaces action is successful.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssociatedFaces(java.util.Collection)} or {@link #withAssociatedFaces(java.util.Collection)} if you
want to override the existing values.
</p>

@param associatedFaces
       An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the
       UserID. Returned if the AssociateFaces action is successful.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesResult.java