Struct aws_sdk_batch::types::builders::UpdatePolicyBuilder
source · #[non_exhaustive]pub struct UpdatePolicyBuilder { /* private fields */ }
Expand description
A builder for UpdatePolicy
.
Implementations§
source§impl UpdatePolicyBuilder
impl UpdatePolicyBuilder
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 get_terminate_jobs_on_update(&self) -> &Option<bool>
pub fn get_terminate_jobs_on_update(&self) -> &Option<bool>
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 get_job_execution_timeout_minutes(&self) -> &Option<i64>
pub fn get_job_execution_timeout_minutes(&self) -> &Option<i64>
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
.
Trait Implementations§
source§impl Clone for UpdatePolicyBuilder
impl Clone for UpdatePolicyBuilder
source§fn clone(&self) -> UpdatePolicyBuilder
fn clone(&self) -> UpdatePolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdatePolicyBuilder
impl Debug for UpdatePolicyBuilder
source§impl Default for UpdatePolicyBuilder
impl Default for UpdatePolicyBuilder
source§fn default() -> UpdatePolicyBuilder
fn default() -> UpdatePolicyBuilder
source§impl PartialEq<UpdatePolicyBuilder> for UpdatePolicyBuilder
impl PartialEq<UpdatePolicyBuilder> for UpdatePolicyBuilder
source§fn eq(&self, other: &UpdatePolicyBuilder) -> bool
fn eq(&self, other: &UpdatePolicyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.