#[non_exhaustive]pub struct BatchStopJobRunOutputBuilder { /* private fields */ }Expand description
A builder for BatchStopJobRunOutput.
Implementations§
source§impl BatchStopJobRunOutputBuilder
impl BatchStopJobRunOutputBuilder
sourcepub fn successful_submissions(
self,
input: BatchStopJobRunSuccessfulSubmission,
) -> Self
pub fn successful_submissions( self, input: BatchStopJobRunSuccessfulSubmission, ) -> Self
Appends an item to successful_submissions.
To override the contents of this collection use set_successful_submissions.
A list of the JobRuns that were successfully submitted for stopping.
sourcepub fn set_successful_submissions(
self,
input: Option<Vec<BatchStopJobRunSuccessfulSubmission>>,
) -> Self
pub fn set_successful_submissions( self, input: Option<Vec<BatchStopJobRunSuccessfulSubmission>>, ) -> Self
A list of the JobRuns that were successfully submitted for stopping.
sourcepub fn get_successful_submissions(
&self,
) -> &Option<Vec<BatchStopJobRunSuccessfulSubmission>>
pub fn get_successful_submissions( &self, ) -> &Option<Vec<BatchStopJobRunSuccessfulSubmission>>
A list of the JobRuns that were successfully submitted for stopping.
sourcepub fn errors(self, input: BatchStopJobRunError) -> Self
pub fn errors(self, input: BatchStopJobRunError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.
sourcepub fn set_errors(self, input: Option<Vec<BatchStopJobRunError>>) -> Self
pub fn set_errors(self, input: Option<Vec<BatchStopJobRunError>>) -> Self
A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchStopJobRunError>>
pub fn get_errors(&self) -> &Option<Vec<BatchStopJobRunError>>
A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.
sourcepub fn build(self) -> BatchStopJobRunOutput
pub fn build(self) -> BatchStopJobRunOutput
Consumes the builder and constructs a BatchStopJobRunOutput.
Trait Implementations§
source§impl Clone for BatchStopJobRunOutputBuilder
impl Clone for BatchStopJobRunOutputBuilder
source§fn clone(&self) -> BatchStopJobRunOutputBuilder
fn clone(&self) -> BatchStopJobRunOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchStopJobRunOutputBuilder
impl Debug for BatchStopJobRunOutputBuilder
source§impl Default for BatchStopJobRunOutputBuilder
impl Default for BatchStopJobRunOutputBuilder
source§fn default() -> BatchStopJobRunOutputBuilder
fn default() -> BatchStopJobRunOutputBuilder
source§impl PartialEq for BatchStopJobRunOutputBuilder
impl PartialEq for BatchStopJobRunOutputBuilder
source§fn eq(&self, other: &BatchStopJobRunOutputBuilder) -> bool
fn eq(&self, other: &BatchStopJobRunOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchStopJobRunOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchStopJobRunOutputBuilder
impl RefUnwindSafe for BatchStopJobRunOutputBuilder
impl Send for BatchStopJobRunOutputBuilder
impl Sync for BatchStopJobRunOutputBuilder
impl Unpin for BatchStopJobRunOutputBuilder
impl UnwindSafe for BatchStopJobRunOutputBuilder
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