Interface UpdatePolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatePolicy.Builder,,UpdatePolicy> SdkBuilder<UpdatePolicy.Builder,,UpdatePolicy> SdkPojo
- Enclosing class:
UpdatePolicy
-
Method Summary
Modifier and TypeMethodDescriptionjobExecutionTimeoutMinutes(Long jobExecutionTimeoutMinutes) Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.terminateJobsOnUpdate(Boolean terminateJobsOnUpdate) Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
jobExecutionTimeoutMinutesduring 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
jobExecutionTimeoutMinutesduring 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.
-