Class FaunaConfig


  • public class FaunaConfig
    extends java.lang.Object
    FaunaConfig is a configuration class used to set up and configure a connection to Fauna. It encapsulates various settings such as the endpoint URL, secret key, query timeout, and others.
    • Method Detail

      • getEndpoint

        public java.lang.String getEndpoint()
        Gets the Fauna endpoint URL.
        Returns:
        A String representing the endpoint URL. The default is https://db.fauna.com
      • getSecret

        public java.lang.String getSecret()
        Gets the secret key used for authentication.
        Returns:
        A String representing the secret key.
      • builder

        public static FaunaConfig.Builder builder()
        Creates a new builder for FaunaConfig.
        Returns:
        A new instance of Builder.