public RelayAction withRelay(String relay) {
        setRelay(relay);
        return this;
    }
<p>
The identifier of the relay resource to be used when relaying an email.
</p>

@param relay
       The identifier of the relay resource to be used when relaying an email.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RelayAction.java