ClusterOptions class Core
Options for connecting to a cluster.
See Cluster.connect.
Constructors
- ClusterOptions({String? username, String? password, Authenticator? authenticator, SecurityConfig? security, TimeoutConfig timeouts = const TimeoutConfig(), Transcoder transcoder = const DefaultTranscoder(), DnsConfig? dnsConfig, String? configProfile})
Properties
- authenticator → Authenticator?
-
Authenticator to use when connecting to the cluster.
final
- configProfile → String?
-
Config profile to use for the cluster.
final
- dnsConfig → DnsConfig?
-
Options for transactions.
DNS config for connecting to the cluster.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- password → String?
-
Password to be used in concert with username for authentication.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- security → SecurityConfig?
-
Security config for connecting to the cluster.
final
- timeouts → TimeoutConfig
-
Default timeout options for operations performed against the cluster.
final
- transcoder → Transcoder
-
Default transcoder to use when encoding or decoding document values.
final
- username → String?
-
Username to use for an implicitly created PasswordAuthenticator
used for authentication with the cluster.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited