public AvailabilityConfiguration withEwsProvider(RedactedEwsAvailabilityProvider ewsProvider) {
        setEwsProvider(ewsProvider);
        return this;
    }
<p>
If <code>ProviderType</code> is <code>EWS</code>, then this field contains
<code>RedactedEwsAvailabilityProvider</code>. Otherwise, it is not required.
</p>

@param ewsProvider
       If <code>ProviderType</code> is <code>EWS</code>, then this field contains
       <code>RedactedEwsAvailabilityProvider</code>. Otherwise, it is not required.
@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/AvailabilityConfiguration.java