public InviteUsersResult withInvites(Invite... invites) {
        if (this.invites == null) {
            setInvites(new java.util.ArrayList<Invite>(invites.length));
        }
        for (Invite ele : invites) {
            this.invites.add(ele);
        }
        return this;
    }
<p>
The email invitation details.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInvites(java.util.Collection)} or {@link #withInvites(java.util.Collection)} if you want to override
the existing values.
</p>

@param invites
       The email invitation details.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/InviteUsersResult.java