Interface CosmosDbFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CosmosDbFactory
    Factory for CosmosClientBuilder connection.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • createCosmosClientBuilder

        com.azure.cosmos.CosmosClientBuilder createCosmosClientBuilder()
                                                                throws java.lang.Exception
        Creates the CosmosClientBuilder.
        Returns:
        CosmosClientBuilder.
        Throws:
        java.lang.Exception - If fails to create CosmosClientBuilder.