Interface DeploymentBackend.Builder

  • Method Details

    • migrationsDirectory

      DeploymentBackend.Builder migrationsDirectory(String migrationsDirectory)

      The directory that contains the migration files, relative to the root of the source.

      Parameters:
      migrationsDirectory - The directory that contains the migration files, relative to the root of the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auth

      The authentication settings that the deployment sent to its branch, as a JSON document, whether or not the deployment succeeded.

      Parameters:
      auth - The authentication settings that the deployment sent to its branch, as a JSON document, whether or not the deployment succeeded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database settings that the deployment sent to its branch, whether or not the deployment succeeded.

      Parameters:
      database - The database settings that the deployment sent to its branch, whether or not the deployment succeeded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database settings that the deployment sent to its branch, whether or not the deployment succeeded.

      This is a convenience method that creates an instance of the DatabaseConfig.Builder avoiding the need to create one manually via DatabaseConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to database(DatabaseConfig).

      Parameters:
      database - a consumer that will call methods on DatabaseConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: