public CreateUserPoolRequest withEmailConfiguration(EmailConfigurationType emailConfiguration) {
        setEmailConfiguration(emailConfiguration);
        return this;
    }
<p>
The email configuration of your user pool. The email configuration type sets your preferred sending method,
Amazon Web Services Region, and sender for messages from your user pool.
</p>

@param emailConfiguration
       The email configuration of your user pool. The email configuration type sets your preferred sending
       method, Amazon Web Services Region, and sender for messages from your user pool.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/CreateUserPoolRequest.java