Struct aws_sdk_iot::types::builders::AwsJobAbortConfigBuilder
source · #[non_exhaustive]pub struct AwsJobAbortConfigBuilder { /* private fields */ }
Expand description
A builder for AwsJobAbortConfig
.
Implementations§
source§impl AwsJobAbortConfigBuilder
impl AwsJobAbortConfigBuilder
sourcepub fn abort_criteria_list(self, input: AwsJobAbortCriteria) -> Self
pub fn abort_criteria_list(self, input: AwsJobAbortCriteria) -> Self
Appends an item to abort_criteria_list
.
To override the contents of this collection use set_abort_criteria_list
.
The list of criteria that determine when and how to abort the job.
sourcepub fn set_abort_criteria_list(
self,
input: Option<Vec<AwsJobAbortCriteria>>
) -> Self
pub fn set_abort_criteria_list( self, input: Option<Vec<AwsJobAbortCriteria>> ) -> Self
The list of criteria that determine when and how to abort the job.
sourcepub fn get_abort_criteria_list(&self) -> &Option<Vec<AwsJobAbortCriteria>>
pub fn get_abort_criteria_list(&self) -> &Option<Vec<AwsJobAbortCriteria>>
The list of criteria that determine when and how to abort the job.
sourcepub fn build(self) -> Result<AwsJobAbortConfig, BuildError>
pub fn build(self) -> Result<AwsJobAbortConfig, BuildError>
Consumes the builder and constructs a AwsJobAbortConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AwsJobAbortConfigBuilder
impl Clone for AwsJobAbortConfigBuilder
source§fn clone(&self) -> AwsJobAbortConfigBuilder
fn clone(&self) -> AwsJobAbortConfigBuilder
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 AwsJobAbortConfigBuilder
impl Debug for AwsJobAbortConfigBuilder
source§impl Default for AwsJobAbortConfigBuilder
impl Default for AwsJobAbortConfigBuilder
source§fn default() -> AwsJobAbortConfigBuilder
fn default() -> AwsJobAbortConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsJobAbortConfigBuilder
impl PartialEq for AwsJobAbortConfigBuilder
source§fn eq(&self, other: &AwsJobAbortConfigBuilder) -> bool
fn eq(&self, other: &AwsJobAbortConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsJobAbortConfigBuilder
Auto Trait Implementations§
impl Freeze for AwsJobAbortConfigBuilder
impl RefUnwindSafe for AwsJobAbortConfigBuilder
impl Send for AwsJobAbortConfigBuilder
impl Sync for AwsJobAbortConfigBuilder
impl Unpin for AwsJobAbortConfigBuilder
impl UnwindSafe for AwsJobAbortConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.