public void setRelays(java.util.Collection<Relay> relays) {
        if (relays == null) {
            this.relays = null;
            return;
        }

        this.relays = new java.util.ArrayList<Relay>(relays);
    }
<p>
The list of returned relays.
</p>

@param relays
       The list of returned relays.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/ListRelaysResult.java