#[non_exhaustive]pub struct PollForJobsInput {
pub action_type_id: Option<ActionTypeId>,
pub max_batch_size: Option<i32>,
pub query_param: Option<HashMap<String, String>>,
}
Expand description
Represents the input of a PollForJobs
action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action_type_id: Option<ActionTypeId>
Represents information about an action type.
max_batch_size: Option<i32>
The maximum number of jobs to return in a poll for jobs call.
query_param: 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.
Implementations§
source§impl PollForJobsInput
impl PollForJobsInput
sourcepub fn action_type_id(&self) -> Option<&ActionTypeId>
pub fn action_type_id(&self) -> Option<&ActionTypeId>
Represents information about an action type.
sourcepub fn max_batch_size(&self) -> Option<i32>
pub fn max_batch_size(&self) -> Option<i32>
The maximum number of jobs to return in a poll for jobs call.
sourcepub fn query_param(&self) -> Option<&HashMap<String, String>>
pub fn 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.
source§impl PollForJobsInput
impl PollForJobsInput
sourcepub fn builder() -> PollForJobsInputBuilder
pub fn builder() -> PollForJobsInputBuilder
Creates a new builder-style object to manufacture PollForJobsInput
.
Trait Implementations§
source§impl Clone for PollForJobsInput
impl Clone for PollForJobsInput
source§fn clone(&self) -> PollForJobsInput
fn clone(&self) -> PollForJobsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PollForJobsInput
impl Debug for PollForJobsInput
source§impl PartialEq for PollForJobsInput
impl PartialEq for PollForJobsInput
source§fn eq(&self, other: &PollForJobsInput) -> bool
fn eq(&self, other: &PollForJobsInput) -> bool
self
and other
values to be equal, and is used
by ==
.