Interface EnvironmentBackendConfigRequest.Builder

  • Method Details

    • auth

      The authentication settings for the environment's backend, as a JSON document. A secret value must be a reference to a BACKEND-scoped environment variable, in the form ${env:NAME}. If you omit this, the default settings are used.

      Parameters:
      auth - The authentication settings for the environment's backend, as a JSON document. A secret value must be a reference to a BACKEND-scoped environment variable, in the form ${env:NAME}. If you omit this, the default settings are used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.

      Parameters:
      database - The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database settings for the environment. If you omit this, the plan's defaults are used. A value above the limit of the account's plan causes the next deployment to fail, not this request, because the plan can change between the two.

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

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

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