#[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
source§fn eq(&self, other: &PollForJobsInputBuilder) -> bool
fn eq(&self, other: &PollForJobsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.