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 for UpdatePolicyBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdatePolicyBuilder
Auto Trait Implementations§
impl Freeze for UpdatePolicyBuilder
impl RefUnwindSafe for UpdatePolicyBuilder
impl Send for UpdatePolicyBuilder
impl Sync for UpdatePolicyBuilder
impl Unpin for UpdatePolicyBuilder
impl UnwindSafe for UpdatePolicyBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more