Struct aws_sdk_connect::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetInputBuilder
source · #[non_exhaustive]pub struct AssociateAnalyticsDataSetInputBuilder { /* private fields */ }
Expand description
A builder for AssociateAnalyticsDataSetInput
.
Implementations§
source§impl AssociateAnalyticsDataSetInputBuilder
impl AssociateAnalyticsDataSetInputBuilder
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 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.
This field is required.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.
sourcepub fn build(self) -> Result<AssociateAnalyticsDataSetInput, BuildError>
pub fn build(self) -> Result<AssociateAnalyticsDataSetInput, BuildError>
Consumes the builder and constructs a AssociateAnalyticsDataSetInput
.
source§impl AssociateAnalyticsDataSetInputBuilder
impl AssociateAnalyticsDataSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateAnalyticsDataSetOutput, SdkError<AssociateAnalyticsDataSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateAnalyticsDataSetOutput, SdkError<AssociateAnalyticsDataSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateAnalyticsDataSetInputBuilder
impl Clone for AssociateAnalyticsDataSetInputBuilder
source§fn clone(&self) -> AssociateAnalyticsDataSetInputBuilder
fn clone(&self) -> AssociateAnalyticsDataSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateAnalyticsDataSetInputBuilder
impl Default for AssociateAnalyticsDataSetInputBuilder
source§fn default() -> AssociateAnalyticsDataSetInputBuilder
fn default() -> AssociateAnalyticsDataSetInputBuilder
source§impl PartialEq for AssociateAnalyticsDataSetInputBuilder
impl PartialEq for AssociateAnalyticsDataSetInputBuilder
source§fn eq(&self, other: &AssociateAnalyticsDataSetInputBuilder) -> bool
fn eq(&self, other: &AssociateAnalyticsDataSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.