#[non_exhaustive]pub struct AssociateFlowInputBuilder { /* private fields */ }
Expand description
A builder for AssociateFlowInput
.
Implementations§
source§impl AssociateFlowInputBuilder
impl AssociateFlowInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The identifier of the resource.
This field is required.sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The identifier of the resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The identifier of the resource.
sourcepub fn flow_id(self, input: impl Into<String>) -> Self
pub fn flow_id(self, input: impl Into<String>) -> Self
The identifier of the flow.
This field is required.sourcepub fn set_flow_id(self, input: Option<String>) -> Self
pub fn set_flow_id(self, input: Option<String>) -> Self
The identifier of the flow.
sourcepub fn get_flow_id(&self) -> &Option<String>
pub fn get_flow_id(&self) -> &Option<String>
The identifier of the flow.
sourcepub fn resource_type(self, input: FlowAssociationResourceType) -> Self
pub fn resource_type(self, input: FlowAssociationResourceType) -> Self
A valid resource type.
This field is required.sourcepub fn set_resource_type(
self,
input: Option<FlowAssociationResourceType>,
) -> Self
pub fn set_resource_type( self, input: Option<FlowAssociationResourceType>, ) -> Self
A valid resource type.
sourcepub fn get_resource_type(&self) -> &Option<FlowAssociationResourceType>
pub fn get_resource_type(&self) -> &Option<FlowAssociationResourceType>
A valid resource type.
sourcepub fn build(self) -> Result<AssociateFlowInput, BuildError>
pub fn build(self) -> Result<AssociateFlowInput, BuildError>
Consumes the builder and constructs a AssociateFlowInput
.
source§impl AssociateFlowInputBuilder
impl AssociateFlowInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AssociateFlowOutput, SdkError<AssociateFlowError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AssociateFlowOutput, SdkError<AssociateFlowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateFlowInputBuilder
impl Clone for AssociateFlowInputBuilder
source§fn clone(&self) -> AssociateFlowInputBuilder
fn clone(&self) -> AssociateFlowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociateFlowInputBuilder
impl Debug for AssociateFlowInputBuilder
source§impl Default for AssociateFlowInputBuilder
impl Default for AssociateFlowInputBuilder
source§fn default() -> AssociateFlowInputBuilder
fn default() -> AssociateFlowInputBuilder
source§impl PartialEq for AssociateFlowInputBuilder
impl PartialEq for AssociateFlowInputBuilder
source§fn eq(&self, other: &AssociateFlowInputBuilder) -> bool
fn eq(&self, other: &AssociateFlowInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateFlowInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateFlowInputBuilder
impl RefUnwindSafe for AssociateFlowInputBuilder
impl Send for AssociateFlowInputBuilder
impl Sync for AssociateFlowInputBuilder
impl Unpin for AssociateFlowInputBuilder
impl UnwindSafe for AssociateFlowInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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