public CreateUserRequest withPreferredLanguage(String preferredLanguage) {
        setPreferredLanguage(preferredLanguage);
        return this;
    }
<p>
A string containing the preferred language of the user. For example, "American English" or "en-us."
</p>

@param preferredLanguage
       A string containing the preferred language of the user. For example, "American English" or "en-us."
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/CreateUserRequest.java