Class AdminOptions

All Implemented Interfaces:
Cloneable

public class AdminOptions extends BaseOptions<AdminOptions>
Represents the configuration options for administrative operations in the database API. This class extends BaseOptions to inherit common configuration options and provides additional functionality specific to administrative commands.

Example usage:

 
 AdminOptions options = new AdminOptions()
     .token("your-token-here")
     .options(new DataAPIClientOptions())
     .serializer(new CustomSerializer());
 
 

Key Features:

  • Constructor Details

    • AdminOptions

      public AdminOptions()
      Serializer for the collections. Defaults to DatabaseSerializer.
    • AdminOptions

      public AdminOptions(String token, DataAPIClientOptions options)
      Constructs an AdminOptions instance with the specified token and options.
      Parameters:
      token - the authentication token to use.
      options - additional configuration options for the Data API client.