Struct aws_sdk_batch::model::UpdatePolicy
source · #[non_exhaustive]pub struct UpdatePolicy { /* private fields */ }
Expand description
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Infrastructure updates in the Batch User Guide.
Implementations§
source§impl UpdatePolicy
impl UpdatePolicy
sourcepub fn terminate_jobs_on_update(&self) -> Option<bool>
pub fn 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) -> i64
pub fn job_execution_timeout_minutes(&self) -> i64
Specifies the job timeout, in minutes, when the compute environment infrastructure is updated. The default value is 30.
source§impl UpdatePolicy
impl UpdatePolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdatePolicy
.
Trait Implementations§
source§impl Clone for UpdatePolicy
impl Clone for UpdatePolicy
source§fn clone(&self) -> UpdatePolicy
fn clone(&self) -> UpdatePolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more