public CreateUserRequest withSurname(String surname) {
        setSurname(surname);
        return this;
    }
<p>
The surname of the user.
</p>

@param surname
       The surname of the user.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/CreateUserRequest.java