Struct aws_sdk_codepipeline::input::poll_for_jobs_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PollForJobsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn action_type_id(self, input: ActionTypeId) -> Self
pub fn action_type_id(self, input: ActionTypeId) -> Self
Represents information about an action type.
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 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 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 build(self) -> Result<PollForJobsInput, BuildError>
pub fn build(self) -> Result<PollForJobsInput, BuildError>
Consumes the builder and constructs a PollForJobsInput
.