{
StoreValue.Builder store =
new StoreValue.Builder(riakObject).withLocation(key)
.withOption(Option.ASIS, true)
.withOption(Option.DW, new Quorum(1))
.withOption(Option.IF_NONE_MATCH, true)
.withOption(Option.IF_NOT_MODIFIED, true)
.withOption(Option.PW, new Quorum(1))
.withOption(Option.N_VAL, 1)
.withOption(Option.RETURN_BODY, true)
.withOption(Option.RETURN_HEAD, true)
.withOption(Option.SLOPPY_QUORUM, true)
.withOption(Option.TIMEOUT, 1000)
.withOption(Option.W, new Quorum(1));
client.execute(store.build());
ArgumentCaptor<StoreOperation> captor =
ArgumentCaptor.forClass(StoreOperation.class);