public CosmosContainer getContainer(final String name) {
        LOGGER.debug("Fetching CosmosDb database [{}]", properties.getDatabase());
        val databaseResponse = client.createDatabaseIfNotExists(properties.getDatabase());
        val database = client.getDatabase(databaseResponse.getProperties().getId());
        LOGGER.debug("Fetching CosmosDb container [{}]", name);
        return database.getContainer(name);
    }
Gets container.

@param name the name
@return the container
support/cas-server-support-cosmosdb-core/src/main/java/org/apereo/cas/cosmosdb/CosmosDbObjectFactory.java