Click or drag to resize

DseClusterBuilderWithCloudSecureConnectionBundle Method

Configures a DseCluster using the Cloud Secure Connection Bundle. Using this method will configure this builder with specific contact points, SSL options, credentials and load balancing policy. When needed, you can specify custom settings by calling other builder methods.

In case you need to specify a different set of credentials from the one in the bundle, here is an example:

DseCluster.Builder()
          .WithCloudSecureConnectionBundle("/path/to/bundle.zip")
          .WithCredentials("username", "password")
          .Build();

Build will throw InvalidOperationException when an error occurs that is not related to connectivity and NoHostAvailableException when an error occurs while trying to obtain the cluster metadata from the remote endpoint.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public DseClusterBuilder WithCloudSecureConnectionBundle(
	string bundlePath
)

Parameters

bundlePath
Type: SystemString
Path of the secure connection bundle.

Return Value

Type: DseClusterBuilder
A preconfigured builder ready for use.
See Also