public EmailRecipients withTo(java.util.Collection<RecipientDetail> to) {
        setTo(to);
        return this;
    }
<p>
Specifies one or more recipients who receive the email.
</p>

@param to
       Specifies one or more recipients who receive the email.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/EmailRecipients.java