Interface EnvironmentBackend.Builder

  • Method Details

    • auth

      The authentication settings for the environment's backend, as a JSON document, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.

      Parameters:
      auth - The authentication settings for the environment's backend, as a JSON document, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database settings for the environment, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.

      Parameters:
      database - The database settings for the environment, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database settings for the environment, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.

      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:
    • databaseLogConfig

      EnvironmentBackend.Builder databaseLogConfig(DatabaseLogConfig databaseLogConfig)

      The delivery settings for the environment's database logs.

      Parameters:
      databaseLogConfig - The delivery settings for the environment's database logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseLogConfig

      default EnvironmentBackend.Builder databaseLogConfig(Consumer<DatabaseLogConfig.Builder> databaseLogConfig)

      The delivery settings for the environment's database logs.

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

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

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