public UpdateMailboxQuotaRequest withUserId(String userId) {
        setUserId(userId);
        return this;
    }
<p>
The identifer for the user for whom to update the mailbox quota.
</p>
<p>
The identifier can be the <i>UserId</i>, <i>Username</i>, or <i>email</i>. The following identity formats are
available:
</p>
<ul>
<li>
<p>
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
</p>
</li>
<li>
<p>
Email address: user@domain.tld
</p>
</li>
<li>
<p>
User name: user
</p>
</li>
</ul>

@param userId
       The identifer for the user for whom to update the mailbox quota.</p>
       <p>
       The identifier can be the <i>UserId</i>, <i>Username</i>, or <i>email</i>. The following identity formats
       are available:
       </p>
       <ul>
       <li>
       <p>
       User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
       </p>
       </li>
       <li>
       <p>
       Email address: user@domain.tld
       </p>
       </li>
       <li>
       <p>
       User name: user
       </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/UpdateMailboxQuotaRequest.java