#[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 ==
.