pub struct Builder { /* private fields */ }
Expand description
A builder for CreateIntegrationAssociationInput
.
Implementations§
source§impl Builder
impl Builder
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 integration_type(self, input: IntegrationType) -> Self
pub fn integration_type(self, input: IntegrationType) -> Self
The type of information to be ingested.
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 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 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 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 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.
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"} }.
sourcepub fn build(self) -> Result<CreateIntegrationAssociationInput, BuildError>
pub fn build(self) -> Result<CreateIntegrationAssociationInput, BuildError>
Consumes the builder and constructs a CreateIntegrationAssociationInput
.