Struct aws_sdk_connect::operation::batch_associate_analytics_data_set::builders::BatchAssociateAnalyticsDataSetInputBuilder
source · #[non_exhaustive]pub struct BatchAssociateAnalyticsDataSetInputBuilder { /* private fields */ }
Expand description
A builder for BatchAssociateAnalyticsDataSetInput
.
Implementations§
source§impl BatchAssociateAnalyticsDataSetInputBuilder
impl BatchAssociateAnalyticsDataSetInputBuilder
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_ids(self, input: impl Into<String>) -> Self
pub fn data_set_ids(self, input: impl Into<String>) -> Self
Appends an item to data_set_ids
.
To override the contents of this collection use set_data_set_ids
.
An array of dataset identifiers to associate.
sourcepub fn set_data_set_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_data_set_ids(self, input: Option<Vec<String>>) -> Self
An array of dataset identifiers to associate.
sourcepub fn get_data_set_ids(&self) -> &Option<Vec<String>>
pub fn get_data_set_ids(&self) -> &Option<Vec<String>>
An array of dataset identifiers to associate.
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<BatchAssociateAnalyticsDataSetInput, BuildError>
pub fn build(self) -> Result<BatchAssociateAnalyticsDataSetInput, BuildError>
Consumes the builder and constructs a BatchAssociateAnalyticsDataSetInput
.
source§impl BatchAssociateAnalyticsDataSetInputBuilder
impl BatchAssociateAnalyticsDataSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchAssociateAnalyticsDataSetOutput, SdkError<BatchAssociateAnalyticsDataSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchAssociateAnalyticsDataSetOutput, SdkError<BatchAssociateAnalyticsDataSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchAssociateAnalyticsDataSetInputBuilder
impl Clone for BatchAssociateAnalyticsDataSetInputBuilder
source§fn clone(&self) -> BatchAssociateAnalyticsDataSetInputBuilder
fn clone(&self) -> BatchAssociateAnalyticsDataSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchAssociateAnalyticsDataSetInputBuilder
impl Default for BatchAssociateAnalyticsDataSetInputBuilder
source§fn default() -> BatchAssociateAnalyticsDataSetInputBuilder
fn default() -> BatchAssociateAnalyticsDataSetInputBuilder
source§impl PartialEq for BatchAssociateAnalyticsDataSetInputBuilder
impl PartialEq for BatchAssociateAnalyticsDataSetInputBuilder
source§fn eq(&self, other: &BatchAssociateAnalyticsDataSetInputBuilder) -> bool
fn eq(&self, other: &BatchAssociateAnalyticsDataSetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.