Interface CassandraConnectionDetails

All Superinterfaces:
org.springframework.boot.autoconfigure.service.connection.ConnectionDetails

public interface CassandraConnectionDetails extends org.springframework.boot.autoconfigure.service.connection.ConnectionDetails
Details required to establish a connection to a Cassandra service.
Since:
4.0.0
  • Method Details

    • getContactPoints

      Cluster node addresses.
      Returns:
      the cluster node addresses
    • getUsername

      default @Nullable String getUsername()
      Login user of the server.
      Returns:
      the login user of the server or null
    • getPassword

      default @Nullable String getPassword()
      Login password of the server.
      Returns:
      the login password of the server or null
    • getLocalDatacenter

      @Nullable String getLocalDatacenter()
      Datacenter that is considered "local". Contact points should be from this datacenter.
      Returns:
      the datacenter that is considered "local"
    • getSslBundle

      default @Nullable org.springframework.boot.ssl.SslBundle getSslBundle()
      SSL bundle to use.
      Returns:
      the SSL bundle to use