public void setSourceArn(String sourceArn) {
        this.sourceArn = sourceArn;
    }
<p>
The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
<code>SourceArn</code> email from a verified domain only with an API request. You can set a verified email
address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email
address that you provide in one of the following ways, depending on the value that you specify for the
<code>EmailSendingAccount</code> parameter:
</p>
<ul>
<li>
<p>
If you specify <code>COGNITO_DEFAULT</code>, Amazon Cognito uses this address as the custom FROM address when it
emails your users using its built-in email account.
</p>
</li>
<li>
<p>
If you specify <code>DEVELOPER</code>, Amazon Cognito emails your users with this address by calling Amazon SES
on your behalf.
</p>
</li>
</ul>
<p>
The Region value of the <code>SourceArn</code> parameter must indicate a supported Amazon Web Services Region of
your user pool. Typically, the Region in the <code>SourceArn</code> and the user pool Region are the same. For
more information, see <a href=
"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html#user-pool-email-developer-region-mapping"
>Amazon SES email configuration regions</a> in the <a
href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito
Developer Guide</a>.
</p>

@param sourceArn
       The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a
       <code>SourceArn</code> email from a verified domain only with an API request. You can set a verified email
       address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the
       email address that you provide in one of the following ways, depending on the value that you specify for
       the <code>EmailSendingAccount</code> parameter:</p>
       <ul>
       <li>
       <p>
       If you specify <code>COGNITO_DEFAULT</code>, Amazon Cognito uses this address as the custom FROM address
       when it emails your users using its built-in email account.
       </p>
       </li>
       <li>
       <p>
       If you specify <code>DEVELOPER</code>, Amazon Cognito emails your users with this address by calling
       Amazon SES on your behalf.
       </p>
       </li>
       </ul>
       <p>
       The Region value of the <code>SourceArn</code> parameter must indicate a supported Amazon Web Services
       Region of your user pool. Typically, the Region in the <code>SourceArn</code> and the user pool Region are
       the same. For more information, see <a href=
       "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html#user-pool-email-developer-region-mapping"
       >Amazon SES email configuration regions</a> in the <a
       href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon
       Cognito Developer Guide</a>.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/EmailConfigurationType.java