Struct aws_sdk_connect::operation::create_integration_association::builders::CreateIntegrationAssociationInputBuilder
source · #[non_exhaustive]pub struct CreateIntegrationAssociationInputBuilder { /* private fields */ }
Expand description
A builder for CreateIntegrationAssociationInput
.
Implementations§
source§impl CreateIntegrationAssociationInputBuilder
impl CreateIntegrationAssociationInputBuilder
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 integration_type(self, input: IntegrationType) -> Self
pub fn integration_type(self, input: IntegrationType) -> Self
The type of information to be ingested.
This field is required.sourcepub fn set_integration_type(self, input: Option<IntegrationType>) -> Self
pub fn set_integration_type(self, input: Option<IntegrationType>) -> Self
The type of information to be ingested.
sourcepub fn get_integration_type(&self) -> &Option<IntegrationType>
pub fn get_integration_type(&self) -> &Option<IntegrationType>
The type of information to be ingested.
sourcepub fn integration_arn(self, input: impl Into<String>) -> Self
pub fn integration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
sourcepub fn set_integration_arn(self, input: Option<String>) -> Self
pub fn set_integration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
sourcepub fn get_integration_arn(&self) -> &Option<String>
pub fn get_integration_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
sourcepub fn source_application_url(self, input: impl Into<String>) -> Self
pub fn source_application_url(self, input: impl Into<String>) -> Self
The URL for the external application. This field is only required for the EVENT integration type.
sourcepub fn set_source_application_url(self, input: Option<String>) -> Self
pub fn set_source_application_url(self, input: Option<String>) -> Self
The URL for the external application. This field is only required for the EVENT integration type.
sourcepub fn get_source_application_url(&self) -> &Option<String>
pub fn get_source_application_url(&self) -> &Option<String>
The URL for the external application. This field is only required for the EVENT integration type.
sourcepub fn source_application_name(self, input: impl Into<String>) -> Self
pub fn source_application_name(self, input: impl Into<String>) -> Self
The name of the external application. This field is only required for the EVENT integration type.
sourcepub fn set_source_application_name(self, input: Option<String>) -> Self
pub fn set_source_application_name(self, input: Option<String>) -> Self
The name of the external application. This field is only required for the EVENT integration type.
sourcepub fn get_source_application_name(&self) -> &Option<String>
pub fn get_source_application_name(&self) -> &Option<String>
The name of the external application. This field is only required for the EVENT integration type.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
The type of the data source. This field is only required for the EVENT integration type.
sourcepub fn set_source_type(self, input: Option<SourceType>) -> Self
pub fn set_source_type(self, input: Option<SourceType>) -> Self
The type of the data source. This field is only required for the EVENT integration type.
sourcepub fn get_source_type(&self) -> &Option<SourceType>
pub fn get_source_type(&self) -> &Option<SourceType>
The type of the data source. This field is only required for the EVENT integration type.
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 build(self) -> Result<CreateIntegrationAssociationInput, BuildError>
pub fn build(self) -> Result<CreateIntegrationAssociationInput, BuildError>
Consumes the builder and constructs a CreateIntegrationAssociationInput
.
source§impl CreateIntegrationAssociationInputBuilder
impl CreateIntegrationAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIntegrationAssociationOutput, SdkError<CreateIntegrationAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIntegrationAssociationOutput, SdkError<CreateIntegrationAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIntegrationAssociationInputBuilder
impl Clone for CreateIntegrationAssociationInputBuilder
source§fn clone(&self) -> CreateIntegrationAssociationInputBuilder
fn clone(&self) -> CreateIntegrationAssociationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateIntegrationAssociationInputBuilder
impl Default for CreateIntegrationAssociationInputBuilder
source§fn default() -> CreateIntegrationAssociationInputBuilder
fn default() -> CreateIntegrationAssociationInputBuilder
source§impl PartialEq for CreateIntegrationAssociationInputBuilder
impl PartialEq for CreateIntegrationAssociationInputBuilder
source§fn eq(&self, other: &CreateIntegrationAssociationInputBuilder) -> bool
fn eq(&self, other: &CreateIntegrationAssociationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.