Struct aws_sdk_connect::operation::create_contact_flow_module::builders::CreateContactFlowModuleInputBuilder
source · #[non_exhaustive]pub struct CreateContactFlowModuleInputBuilder { /* private fields */ }
Expand description
A builder for CreateContactFlowModuleInput
.
Implementations§
source§impl CreateContactFlowModuleInputBuilder
impl CreateContactFlowModuleInputBuilder
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the flow module.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the flow module.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the flow module.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the flow module.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
This field is required.sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn build(self) -> Result<CreateContactFlowModuleInput, BuildError>
pub fn build(self) -> Result<CreateContactFlowModuleInput, BuildError>
Consumes the builder and constructs a CreateContactFlowModuleInput
.
source§impl CreateContactFlowModuleInputBuilder
impl CreateContactFlowModuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateContactFlowModuleOutput, SdkError<CreateContactFlowModuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateContactFlowModuleOutput, SdkError<CreateContactFlowModuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateContactFlowModuleInputBuilder
impl Clone for CreateContactFlowModuleInputBuilder
source§fn clone(&self) -> CreateContactFlowModuleInputBuilder
fn clone(&self) -> CreateContactFlowModuleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateContactFlowModuleInputBuilder
impl Default for CreateContactFlowModuleInputBuilder
source§fn default() -> CreateContactFlowModuleInputBuilder
fn default() -> CreateContactFlowModuleInputBuilder
source§impl PartialEq for CreateContactFlowModuleInputBuilder
impl PartialEq for CreateContactFlowModuleInputBuilder
source§fn eq(&self, other: &CreateContactFlowModuleInputBuilder) -> bool
fn eq(&self, other: &CreateContactFlowModuleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.