pub struct ListJobRunsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListJobRuns
.
Lists job runs based on a set of parameters.
Implementations§
source§impl ListJobRunsFluentBuilder
impl ListJobRunsFluentBuilder
sourcepub fn as_input(&self) -> &ListJobRunsInputBuilder
pub fn as_input(&self) -> &ListJobRunsInputBuilder
Access the ListJobRuns as a reference.
sourcepub async fn send(
self
) -> Result<ListJobRunsOutput, SdkError<ListJobRunsError, HttpResponse>>
pub async fn send( self ) -> Result<ListJobRunsOutput, SdkError<ListJobRunsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListJobRunsOutput, ListJobRunsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListJobRunsOutput, ListJobRunsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListJobRunsPaginator
pub fn into_paginator(self) -> ListJobRunsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application for which to list the job run.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application for which to list the job run.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application for which to list the job run.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of job run results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of job run results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of job run results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of job runs that can be listed.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of job runs that can be listed.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of job runs that can be listed.
sourcepub fn created_at_after(self, input: DateTime) -> Self
pub fn created_at_after(self, input: DateTime) -> Self
The lower bound of the option to filter by creation date and time.
sourcepub fn set_created_at_after(self, input: Option<DateTime>) -> Self
pub fn set_created_at_after(self, input: Option<DateTime>) -> Self
The lower bound of the option to filter by creation date and time.
sourcepub fn get_created_at_after(&self) -> &Option<DateTime>
pub fn get_created_at_after(&self) -> &Option<DateTime>
The lower bound of the option to filter by creation date and time.
sourcepub fn created_at_before(self, input: DateTime) -> Self
pub fn created_at_before(self, input: DateTime) -> Self
The upper bound of the option to filter by creation date and time.
sourcepub fn set_created_at_before(self, input: Option<DateTime>) -> Self
pub fn set_created_at_before(self, input: Option<DateTime>) -> Self
The upper bound of the option to filter by creation date and time.
sourcepub fn get_created_at_before(&self) -> &Option<DateTime>
pub fn get_created_at_before(&self) -> &Option<DateTime>
The upper bound of the option to filter by creation date and time.
sourcepub fn states(self, input: JobRunState) -> Self
pub fn states(self, input: JobRunState) -> Self
Appends an item to states
.
To override the contents of this collection use set_states
.
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
sourcepub fn set_states(self, input: Option<Vec<JobRunState>>) -> Self
pub fn set_states(self, input: Option<Vec<JobRunState>>) -> Self
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
sourcepub fn get_states(&self) -> &Option<Vec<JobRunState>>
pub fn get_states(&self) -> &Option<Vec<JobRunState>>
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
sourcepub fn mode(self, input: JobRunMode) -> Self
pub fn mode(self, input: JobRunMode) -> Self
The mode of the job runs to list.
sourcepub fn set_mode(self, input: Option<JobRunMode>) -> Self
pub fn set_mode(self, input: Option<JobRunMode>) -> Self
The mode of the job runs to list.
sourcepub fn get_mode(&self) -> &Option<JobRunMode>
pub fn get_mode(&self) -> &Option<JobRunMode>
The mode of the job runs to list.
Trait Implementations§
source§impl Clone for ListJobRunsFluentBuilder
impl Clone for ListJobRunsFluentBuilder
source§fn clone(&self) -> ListJobRunsFluentBuilder
fn clone(&self) -> ListJobRunsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListJobRunsFluentBuilder
impl !RefUnwindSafe for ListJobRunsFluentBuilder
impl Send for ListJobRunsFluentBuilder
impl Sync for ListJobRunsFluentBuilder
impl Unpin for ListJobRunsFluentBuilder
impl !UnwindSafe for ListJobRunsFluentBuilder
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