Struct aws_sdk_appflow::operation::cancel_flow_executions::builders::CancelFlowExecutionsInputBuilder
source · #[non_exhaustive]pub struct CancelFlowExecutionsInputBuilder { /* private fields */ }Expand description
A builder for CancelFlowExecutionsInput.
Implementations§
source§impl CancelFlowExecutionsInputBuilder
impl CancelFlowExecutionsInputBuilder
sourcepub fn flow_name(self, input: impl Into<String>) -> Self
pub fn flow_name(self, input: impl Into<String>) -> Self
The name of a flow with active runs that you want to cancel.
sourcepub fn set_flow_name(self, input: Option<String>) -> Self
pub fn set_flow_name(self, input: Option<String>) -> Self
The name of a flow with active runs that you want to cancel.
sourcepub fn get_flow_name(&self) -> &Option<String>
pub fn get_flow_name(&self) -> &Option<String>
The name of a flow with active runs that you want to cancel.
sourcepub fn execution_ids(self, input: impl Into<String>) -> Self
pub fn execution_ids(self, input: impl Into<String>) -> Self
Appends an item to execution_ids.
To override the contents of this collection use set_execution_ids.
The ID of each active run to cancel. These runs must belong to the flow you specify in your request.
If you omit this parameter, your request ends all active runs that belong to the flow.
sourcepub fn set_execution_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_execution_ids(self, input: Option<Vec<String>>) -> Self
The ID of each active run to cancel. These runs must belong to the flow you specify in your request.
If you omit this parameter, your request ends all active runs that belong to the flow.
sourcepub fn get_execution_ids(&self) -> &Option<Vec<String>>
pub fn get_execution_ids(&self) -> &Option<Vec<String>>
The ID of each active run to cancel. These runs must belong to the flow you specify in your request.
If you omit this parameter, your request ends all active runs that belong to the flow.
sourcepub fn build(self) -> Result<CancelFlowExecutionsInput, BuildError>
pub fn build(self) -> Result<CancelFlowExecutionsInput, BuildError>
Consumes the builder and constructs a CancelFlowExecutionsInput.
source§impl CancelFlowExecutionsInputBuilder
impl CancelFlowExecutionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelFlowExecutionsOutput, SdkError<CancelFlowExecutionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelFlowExecutionsOutput, SdkError<CancelFlowExecutionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelFlowExecutionsInputBuilder
impl Clone for CancelFlowExecutionsInputBuilder
source§fn clone(&self) -> CancelFlowExecutionsInputBuilder
fn clone(&self) -> CancelFlowExecutionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CancelFlowExecutionsInputBuilder
impl Default for CancelFlowExecutionsInputBuilder
source§fn default() -> CancelFlowExecutionsInputBuilder
fn default() -> CancelFlowExecutionsInputBuilder
source§impl PartialEq<CancelFlowExecutionsInputBuilder> for CancelFlowExecutionsInputBuilder
impl PartialEq<CancelFlowExecutionsInputBuilder> for CancelFlowExecutionsInputBuilder
source§fn eq(&self, other: &CancelFlowExecutionsInputBuilder) -> bool
fn eq(&self, other: &CancelFlowExecutionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.