public static class ListBuckets.Builder extends Object
Constructor and Description |
---|
ListBuckets.Builder(BinaryValue type)
Construct a Builder for a ListBuckets command.
|
ListBuckets.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 ListBuckets.Builder(String type)
type
- the bucket type.public ListBuckets.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 © 2014. All rights reserved.