Interface LifecycleConfiguration.Builder

  • Method Details

    • idleRuntimeSessionTimeout

      LifecycleConfiguration.Builder idleRuntimeSessionTimeout(Integer idleRuntimeSessionTimeout)

      Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).

      Parameters:
      idleRuntimeSessionTimeout - Timeout in seconds for idle runtime sessions. When a session remains idle for this duration, it will be automatically terminated. Default: 900 seconds (15 minutes).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxLifetime

      LifecycleConfiguration.Builder maxLifetime(Integer maxLifetime)

      Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).

      Parameters:
      maxLifetime - Maximum lifetime for the instance in seconds. Once reached, instances will be automatically terminated and replaced. Default: 28800 seconds (8 hours).
      Returns:
      Returns a reference to this object so that method calls can be chained together.