Struct aws_sdk_batch::types::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 Updating compute environments 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() -> UpdatePolicyBuilder
pub fn builder() -> UpdatePolicyBuilder
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 moresource§impl Debug for UpdatePolicy
impl Debug for UpdatePolicy
source§impl PartialEq<UpdatePolicy> for UpdatePolicy
impl PartialEq<UpdatePolicy> for UpdatePolicy
source§fn eq(&self, other: &UpdatePolicy) -> bool
fn eq(&self, other: &UpdatePolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.