public DescribeLocationSmbResult withUser(String user) {
        setUser(user);
        return this;
    }
<p>
The user that can mount and access the files, folders, and file metadata in your SMB file server.
</p>

@param user
       The user that can mount and access the files, folders, and file metadata in your SMB file server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/DescribeLocationSmbResult.java