Class DBCreateOptions

java.lang.Object
com.arangodb.model.DBCreateOptions

public final class DBCreateOptions extends Object
Author:
Mark Vollmary
  • Constructor Details

    • DBCreateOptions

      public DBCreateOptions()
  • Method Details

    • getUsers

      public Collection<DatabaseUsersOptions> getUsers()
    • users

      Parameters:
      users - array of user objects to initially create for the new database. User information will not be changed for users that already exist. If users is not specified or does not contain any users, a default user root will be created with an empty string password. This ensures that the new database will be accessible after it is created.
      Returns:
      options
    • getName

      public String getName()
    • name

      public DBCreateOptions name(String name)
      Parameters:
      name - database name
      Returns:
      options
    • getOptions

      public DatabaseOptions getOptions()
    • options

      public DBCreateOptions options(DatabaseOptions options)