Package com.couchbase.client.java
Class ClusterOptions
- java.lang.Object
-
- com.couchbase.client.java.ClusterOptions
-
public class ClusterOptions extends Object
Allows to specify custom options when connecting to the cluster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ClusterOptions.Built
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterOptions.Built
build()
static ClusterOptions
clusterOptions(Authenticator authenticator)
static ClusterOptions
clusterOptions(String username, String password)
ClusterOptions
environment(ClusterEnvironment environment)
-
-
-
Method Detail
-
clusterOptions
public static ClusterOptions clusterOptions(Authenticator authenticator)
-
clusterOptions
public static ClusterOptions clusterOptions(String username, String password)
-
environment
public ClusterOptions environment(ClusterEnvironment environment)
-
build
@Internal public ClusterOptions.Built build()
-
-