#[non_exhaustive]pub struct PollForJobsInputBuilder { /* private fields */ }
Expand description
A builder for PollForJobsInput
.
Implementations§
source§impl PollForJobsInputBuilder
impl PollForJobsInputBuilder
sourcepub fn action_type_id(self, input: ActionTypeId) -> Self
pub fn action_type_id(self, input: ActionTypeId) -> Self
Represents information about an action type.
This field is required.sourcepub fn set_action_type_id(self, input: Option<ActionTypeId>) -> Self
pub fn set_action_type_id(self, input: Option<ActionTypeId>) -> Self
Represents information about an action type.
sourcepub fn get_action_type_id(&self) -> &Option<ActionTypeId>
pub fn get_action_type_id(&self) -> &Option<ActionTypeId>
Represents information about an action type.
sourcepub fn max_batch_size(self, input: i32) -> Self
pub fn max_batch_size(self, input: i32) -> Self
The maximum number of jobs to return in a poll for jobs call.
sourcepub fn set_max_batch_size(self, input: Option<i32>) -> Self
pub fn set_max_batch_size(self, input: Option<i32>) -> Self
The maximum number of jobs to return in a poll for jobs call.
sourcepub fn get_max_batch_size(&self) -> &Option<i32>
pub fn get_max_batch_size(&self) -> &Option<i32>
The maximum number of jobs to return in a poll for jobs call.
sourcepub fn query_param(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn query_param(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to query_param
.
To override the contents of this collection use set_query_param
.
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
sourcepub fn set_query_param(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_query_param(self, input: Option<HashMap<String, String>>) -> Self
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
sourcepub fn get_query_param(&self) -> &Option<HashMap<String, String>>
pub fn get_query_param(&self) -> &Option<HashMap<String, String>>
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
sourcepub fn build(self) -> Result<PollForJobsInput, BuildError>
pub fn build(self) -> Result<PollForJobsInput, BuildError>
Consumes the builder and constructs a PollForJobsInput
.
source§impl PollForJobsInputBuilder
impl PollForJobsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PollForJobsOutput, SdkError<PollForJobsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PollForJobsOutput, SdkError<PollForJobsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PollForJobsInputBuilder
impl Clone for PollForJobsInputBuilder
source§fn clone(&self) -> PollForJobsInputBuilder
fn clone(&self) -> PollForJobsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PollForJobsInputBuilder
impl Debug for PollForJobsInputBuilder
source§impl Default for PollForJobsInputBuilder
impl Default for PollForJobsInputBuilder
source§fn default() -> PollForJobsInputBuilder
fn default() -> PollForJobsInputBuilder
source§impl PartialEq for PollForJobsInputBuilder
impl PartialEq for PollForJobsInputBuilder
impl StructuralPartialEq for PollForJobsInputBuilder
Auto Trait Implementations§
impl Freeze for PollForJobsInputBuilder
impl RefUnwindSafe for PollForJobsInputBuilder
impl Send for PollForJobsInputBuilder
impl Sync for PollForJobsInputBuilder
impl Unpin for PollForJobsInputBuilder
impl UnwindSafe for PollForJobsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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