Interface AutoStopConfig.Builder

    • Method Detail

      • enabled

        AutoStopConfig.Builder enabled​(Boolean enabled)

        Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

        Parameters:
        enabled - Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idleTimeoutMinutes

        AutoStopConfig.Builder idleTimeoutMinutes​(Integer idleTimeoutMinutes)

        The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

        Parameters:
        idleTimeoutMinutes - The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.