#[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<BatchStopJobRunOutputBuilder> for BatchStopJobRunOutputBuilder
impl PartialEq<BatchStopJobRunOutputBuilder> 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 ==.