use Basho\Riak\Command;
use Basho\Riak\Bucket;
use Basho\Riak\Location;
$bucket = new Bucket('users');
$command = (new Command\Builder(Command::STORE_OBJECT))
->withObject(new Object('test_data'))
->atLocation(new Location('test_key', $bucket))
->build();