public static class ListBuckets.Builder extends Object
Constructor and Description |
---|
Builder(BinaryValue type)
Construct a Builder for a ListBuckets command.
|
Builder(String type)
Construct a Builder for a ListBuckets command.
|
Modifier and Type | Method and Description |
---|---|
ListBuckets |
build()
Construct a new ListBuckets command.
|
ListBuckets.Builder |
withTimeout(int timeout)
Set the Riak-side timeout value.
|
public Builder(String type)
type
- the bucket type.public Builder(BinaryValue type)
type
- the bucket type.public ListBuckets.Builder withTimeout(int timeout)
By default, riak has a 60s timeout for operations. Setting this value will override that default for this operation.
timeout
- the timeout in milliseconds to be sent to riak.public ListBuckets build()
Copyright © 2016. All rights reserved.