Class FaunaConfig.FaunaEnvironment

  • Enclosing class:
    FaunaConfig

    public static class FaunaConfig.FaunaEnvironment
    extends java.lang.Object
    This class handles reading Fauna environment variables for the client.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<java.lang.String> faunaEndpoint()  
      static java.util.Optional<java.lang.String> faunaSecret()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FaunaEnvironment

        public FaunaEnvironment()
    • Method Detail

      • faunaSecret

        public static java.util.Optional<java.lang.String> faunaSecret()
        Returns:
        The (non-empty, non-blank) value of the FAUNA_SECRET environment variable, or Optional.empty().
      • faunaEndpoint

        public static java.util.Optional<java.lang.String> faunaEndpoint()
        Returns:
        The (non-empty, non-blank) value of the FAUNA_ENDPOINT environment variable, or Optional.empty().