public void setTo(java.util.Collection<RecipientDetail> to) {
        if (to == null) {
            this.to = null;
            return;
        }

        this.to = new java.util.ArrayList<RecipientDetail>(to);
    }
<p>
Specifies one or more recipients who receive the email.
</p>

@param to
       Specifies one or more recipients who receive the email.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/EmailRecipients.java