Struct aws_sdk_m2::operation::list_batch_job_executions::builders::ListBatchJobExecutionsOutputBuilder
source · #[non_exhaustive]pub struct ListBatchJobExecutionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListBatchJobExecutionsOutput
.
Implementations§
source§impl ListBatchJobExecutionsOutputBuilder
impl ListBatchJobExecutionsOutputBuilder
sourcepub fn batch_job_executions(self, input: BatchJobExecutionSummary) -> Self
pub fn batch_job_executions(self, input: BatchJobExecutionSummary) -> Self
Appends an item to batch_job_executions
.
To override the contents of this collection use set_batch_job_executions
.
Returns a list of batch job executions for an application.
sourcepub fn set_batch_job_executions(
self,
input: Option<Vec<BatchJobExecutionSummary>>
) -> Self
pub fn set_batch_job_executions( self, input: Option<Vec<BatchJobExecutionSummary>> ) -> Self
Returns a list of batch job executions for an application.
sourcepub fn get_batch_job_executions(&self) -> &Option<Vec<BatchJobExecutionSummary>>
pub fn get_batch_job_executions(&self) -> &Option<Vec<BatchJobExecutionSummary>>
Returns a list of batch job executions for an application.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token that's returned when the response doesn't contain all batch job executions.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token that's returned when the response doesn't contain all batch job executions.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token that's returned when the response doesn't contain all batch job executions.
sourcepub fn build(self) -> Result<ListBatchJobExecutionsOutput, BuildError>
pub fn build(self) -> Result<ListBatchJobExecutionsOutput, BuildError>
Consumes the builder and constructs a ListBatchJobExecutionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListBatchJobExecutionsOutputBuilder
impl Clone for ListBatchJobExecutionsOutputBuilder
source§fn clone(&self) -> ListBatchJobExecutionsOutputBuilder
fn clone(&self) -> ListBatchJobExecutionsOutputBuilder
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 Default for ListBatchJobExecutionsOutputBuilder
impl Default for ListBatchJobExecutionsOutputBuilder
source§fn default() -> ListBatchJobExecutionsOutputBuilder
fn default() -> ListBatchJobExecutionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListBatchJobExecutionsOutputBuilder
impl PartialEq for ListBatchJobExecutionsOutputBuilder
source§fn eq(&self, other: &ListBatchJobExecutionsOutputBuilder) -> bool
fn eq(&self, other: &ListBatchJobExecutionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListBatchJobExecutionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBatchJobExecutionsOutputBuilder
impl RefUnwindSafe for ListBatchJobExecutionsOutputBuilder
impl Send for ListBatchJobExecutionsOutputBuilder
impl Sync for ListBatchJobExecutionsOutputBuilder
impl Unpin for ListBatchJobExecutionsOutputBuilder
impl UnwindSafe for ListBatchJobExecutionsOutputBuilder
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.