ResetBucketProps.Builder Class
A builder for constructing ResetBucketProps instances.
Rather than having to manually construct the options and instantiating a ResetBucketProps directly, this builder may be used.
var fetchValue = new ResetBucketProps.Builder()
.withBucketType('myBucketType')
.withBucket('myBucket')
.build();
Constructor
ResetBucketProps.Builder
()
Item Index
Methods
Methods
withBucket
(
chainable
-
bucket
Set the bucket.
Parameters:
-
bucket
Stringthe bucket in Riak
withBucketType
(
chainable
-
bucketType
Set the bucket type. If not supplied, 'default' is used.
Parameters:
-
bucketType
Stringthe bucket type in riak
withCallback
(
chainable
-
callback
Set the callback to be executed when the operation completes.
Parameters:
-
callback
FunctionThe callback to be executed when the operation completes.
-
err
StringAn error message. Will ne null if no error.
-
response
Objectthe response from Riak.
-
preflist
ObjectAn array of one or more preflist items.
-
-