Interface UpdatePolicy.Builder

  • Method Details

    • terminateJobsOnUpdate

      UpdatePolicy.Builder terminateJobsOnUpdate(Boolean terminateJobsOnUpdate)

      Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is false.

      Parameters:
      terminateJobsOnUpdate - Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobExecutionTimeoutMinutes

      UpdatePolicy.Builder jobExecutionTimeoutMinutes(Long jobExecutionTimeoutMinutes)

      Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200.

      Increasing jobExecutionTimeoutMinutes during infrastructure updates delays the replacement of instances with new instances that include updates such as security patches, but provides more time for jobs to execute. Consider the security implications of this tradeoff when setting timeout values.

      Parameters:
      jobExecutionTimeoutMinutes - Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200.

      Increasing jobExecutionTimeoutMinutes during infrastructure updates delays the replacement of instances with new instances that include updates such as security patches, but provides more time for jobs to execute. Consider the security implications of this tradeoff when setting timeout values.

      Returns:
      Returns a reference to this object so that method calls can be chained together.