Package com.couchbase.client.java.kv
Class LookupInAnyReplicaOptions
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions<LookupInAnyReplicaOptions>
-
- com.couchbase.client.java.kv.LookupInAnyReplicaOptions
-
public class LookupInAnyReplicaOptions extends CommonOptions<LookupInAnyReplicaOptions>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLookupInAnyReplicaOptions.Built-
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupInAnyReplicaOptions.Builtbuild()static LookupInAnyReplicaOptionslookupInAnyReplicaOptions()LookupInAnyReplicaOptionsserializer(JsonSerializer serializer)Allows to specify a custom serializer that is used to decode the content of the result.-
Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
-
-
-
Method Detail
-
lookupInAnyReplicaOptions
public static LookupInAnyReplicaOptions lookupInAnyReplicaOptions()
-
serializer
public LookupInAnyReplicaOptions serializer(JsonSerializer serializer)
Allows to specify a custom serializer that is used to decode the content of the result.- Parameters:
serializer- the custom serializer that should be used for decoding.- Returns:
- the
LookupInAnyReplicaOptionsto allow method chaining.
-
build
@Internal public LookupInAnyReplicaOptions.Built build()
-
-