public EmailMessageActivity withMessageConfig(JourneyEmailMessage messageConfig) {
        setMessageConfig(messageConfig);
        return this;
    }
<p>
Specifies the sender address for an email message that's sent to participants in the journey.
</p>

@param messageConfig
       Specifies the sender address for an email message that's sent to participants in the journey.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/EmailMessageActivity.java