public void setRelay(RelayAction relay) {
        this.relay = relay;
    }
<p>
This action relays the email to another SMTP server.
</p>

@param relay
       This action relays the email to another SMTP server.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RuleAction.java