Struct aws_sdk_connect::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder
source · pub struct AssociateAnalyticsDataSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateAnalyticsDataSet
.
This API is in preview release for Amazon Connect and is subject to change.
Associates the specified dataset for a Amazon Connect instance with the target account. You can associate only one dataset in a single call.
Implementations§
source§impl AssociateAnalyticsDataSetFluentBuilder
impl AssociateAnalyticsDataSetFluentBuilder
sourcepub fn as_input(&self) -> &AssociateAnalyticsDataSetInputBuilder
pub fn as_input(&self) -> &AssociateAnalyticsDataSetInputBuilder
Access the AssociateAnalyticsDataSet as a reference.
sourcepub async fn send(
self
) -> Result<AssociateAnalyticsDataSetOutput, SdkError<AssociateAnalyticsDataSetError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateAnalyticsDataSetOutput, SdkError<AssociateAnalyticsDataSetError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateAnalyticsDataSetOutput, AssociateAnalyticsDataSetError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateAnalyticsDataSetOutput, AssociateAnalyticsDataSetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 data_set_id(self, input: impl Into<String>) -> Self
pub fn data_set_id(self, input: impl Into<String>) -> Self
The identifier of the dataset to associate with the target account.
sourcepub fn set_data_set_id(self, input: Option<String>) -> Self
pub fn set_data_set_id(self, input: Option<String>) -> Self
The identifier of the dataset to associate with the target account.
sourcepub fn get_data_set_id(&self) -> &Option<String>
pub fn get_data_set_id(&self) -> &Option<String>
The identifier of the dataset to associate with the target account.
sourcepub fn target_account_id(self, input: impl Into<String>) -> Self
pub fn target_account_id(self, input: impl Into<String>) -> Self
The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
sourcepub fn set_target_account_id(self, input: Option<String>) -> Self
pub fn set_target_account_id(self, input: Option<String>) -> Self
The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
sourcepub fn get_target_account_id(&self) -> &Option<String>
pub fn get_target_account_id(&self) -> &Option<String>
The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
Trait Implementations§
source§impl Clone for AssociateAnalyticsDataSetFluentBuilder
impl Clone for AssociateAnalyticsDataSetFluentBuilder
source§fn clone(&self) -> AssociateAnalyticsDataSetFluentBuilder
fn clone(&self) -> AssociateAnalyticsDataSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more