Struct aws_sdk_batch::model::update_policy::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdatePolicy
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn terminate_jobs_on_update(self, input: bool) -> Self
pub fn terminate_jobs_on_update(self, input: bool) -> Self
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is false
.
sourcepub fn set_terminate_jobs_on_update(self, input: Option<bool>) -> Self
pub fn set_terminate_jobs_on_update(self, input: Option<bool>) -> Self
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is false
.
sourcepub fn job_execution_timeout_minutes(self, input: i64) -> Self
pub fn job_execution_timeout_minutes(self, input: i64) -> Self
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.
sourcepub fn set_job_execution_timeout_minutes(self, input: Option<i64>) -> Self
pub fn set_job_execution_timeout_minutes(self, input: Option<i64>) -> Self
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.
sourcepub fn build(self) -> UpdatePolicy
pub fn build(self) -> UpdatePolicy
Consumes the builder and constructs a UpdatePolicy
.