public RedactedEwsAvailabilityProvider withEwsUsername(String ewsUsername) {
        setEwsUsername(ewsUsername);
        return this;
    }
<p>
The username used to authenticate the remote EWS server.
</p>

@param ewsUsername
       The username used to authenticate the remote EWS server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/RedactedEwsAvailabilityProvider.java