public UserDetails withUserName(String userName) {
        setUserName(userName);
        return this;
    }
<p>
A unique string that identifies a Transfer Family user associated with a server.
</p>

@param userName
       A unique string that identifies a Transfer Family user associated with a server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/UserDetails.java