#[non_exhaustive]pub struct GetJobRunsInputBuilder { /* private fields */ }Expand description
A builder for GetJobRunsInput.
Implementations§
Source§impl GetJobRunsInputBuilder
impl GetJobRunsInputBuilder
Sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the job definition for which to retrieve all job runs.
This field is required.Sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the job definition for which to retrieve all job runs.
Sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name of the job definition for which to retrieve all job runs.
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, if this is a continuation call.
Sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, if this is a continuation call.
Sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, if this is a continuation call.
Sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum size of the response.
Sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum size of the response.
Sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum size of the response.
Sourcepub fn build(self) -> Result<GetJobRunsInput, BuildError>
pub fn build(self) -> Result<GetJobRunsInput, BuildError>
Consumes the builder and constructs a GetJobRunsInput.
Source§impl GetJobRunsInputBuilder
impl GetJobRunsInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetJobRunsOutput, SdkError<GetJobRunsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetJobRunsOutput, SdkError<GetJobRunsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for GetJobRunsInputBuilder
impl Clone for GetJobRunsInputBuilder
Source§fn clone(&self) -> GetJobRunsInputBuilder
fn clone(&self) -> GetJobRunsInputBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetJobRunsInputBuilder
impl Debug for GetJobRunsInputBuilder
Source§impl Default for GetJobRunsInputBuilder
impl Default for GetJobRunsInputBuilder
Source§fn default() -> GetJobRunsInputBuilder
fn default() -> GetJobRunsInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetJobRunsInputBuilder
impl PartialEq for GetJobRunsInputBuilder
Source§fn eq(&self, other: &GetJobRunsInputBuilder) -> bool
fn eq(&self, other: &GetJobRunsInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetJobRunsInputBuilder
Auto Trait Implementations§
impl Freeze for GetJobRunsInputBuilder
impl RefUnwindSafe for GetJobRunsInputBuilder
impl Send for GetJobRunsInputBuilder
impl Sync for GetJobRunsInputBuilder
impl Unpin for GetJobRunsInputBuilder
impl UnsafeUnpin for GetJobRunsInputBuilder
impl UnwindSafe for GetJobRunsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.