Struct aws_sdk_connect::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowInputBuilder
source · #[non_exhaustive]pub struct AssociatePhoneNumberContactFlowInputBuilder { /* private fields */ }
Expand description
A builder for AssociatePhoneNumberContactFlowInput
.
Implementations§
source§impl AssociatePhoneNumberContactFlowInputBuilder
impl AssociatePhoneNumberContactFlowInputBuilder
sourcepub fn phone_number_id(self, input: impl Into<String>) -> Self
pub fn phone_number_id(self, input: impl Into<String>) -> Self
A unique identifier for the phone number.
sourcepub fn set_phone_number_id(self, input: Option<String>) -> Self
pub fn set_phone_number_id(self, input: Option<String>) -> Self
A unique identifier for the phone number.
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 instanceId in the ARN of the instance.
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 instanceId in the ARN of the instance.
sourcepub fn contact_flow_id(self, input: impl Into<String>) -> Self
pub fn contact_flow_id(self, input: impl Into<String>) -> Self
The identifier of the flow.
sourcepub fn set_contact_flow_id(self, input: Option<String>) -> Self
pub fn set_contact_flow_id(self, input: Option<String>) -> Self
The identifier of the flow.
sourcepub fn build(self) -> Result<AssociatePhoneNumberContactFlowInput, BuildError>
pub fn build(self) -> Result<AssociatePhoneNumberContactFlowInput, BuildError>
Consumes the builder and constructs a AssociatePhoneNumberContactFlowInput
.
Trait Implementations§
source§impl Clone for AssociatePhoneNumberContactFlowInputBuilder
impl Clone for AssociatePhoneNumberContactFlowInputBuilder
source§fn clone(&self) -> AssociatePhoneNumberContactFlowInputBuilder
fn clone(&self) -> AssociatePhoneNumberContactFlowInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AssociatePhoneNumberContactFlowInputBuilder
impl Default for AssociatePhoneNumberContactFlowInputBuilder
source§fn default() -> AssociatePhoneNumberContactFlowInputBuilder
fn default() -> AssociatePhoneNumberContactFlowInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociatePhoneNumberContactFlowInputBuilder> for AssociatePhoneNumberContactFlowInputBuilder
impl PartialEq<AssociatePhoneNumberContactFlowInputBuilder> for AssociatePhoneNumberContactFlowInputBuilder
source§fn eq(&self, other: &AssociatePhoneNumberContactFlowInputBuilder) -> bool
fn eq(&self, other: &AssociatePhoneNumberContactFlowInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.