public DeleteMobileDeviceAccessOverrideRequest withUserId(String userId) {
        setUserId(userId);
        return this;
    }
<p>
The WorkMail user for which you want to delete the override. Accepts the following types of user identities:
</p>
<ul>
<li>
<p>
User ID: <code>12345678-1234-1234-1234-123456789012</code> or
<code>S-1-1-12-1234567890-123456789-123456789-1234</code>
</p>
</li>
<li>
<p>
Email address: <code>user@domain.tld</code>
</p>
</li>
<li>
<p>
User name: <code>user</code>
</p>
</li>
</ul>

@param userId
       The WorkMail user for which you want to delete the override. Accepts the following types of user
       identities:</p>
       <ul>
       <li>
       <p>
       User ID: <code>12345678-1234-1234-1234-123456789012</code> or
       <code>S-1-1-12-1234567890-123456789-123456789-1234</code>
       </p>
       </li>
       <li>
       <p>
       Email address: <code>user@domain.tld</code>
       </p>
       </li>
       <li>
       <p>
       User name: <code>user</code>
       </p>
       </li>
@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/DeleteMobileDeviceAccessOverrideRequest.java