Struct aws_sdk_connect::operation::associate_traffic_distribution_group_user::builders::AssociateTrafficDistributionGroupUserFluentBuilder
source · pub struct AssociateTrafficDistributionGroupUserFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateTrafficDistributionGroupUser
.
Associates an agent with a traffic distribution group.
Implementations§
source§impl AssociateTrafficDistributionGroupUserFluentBuilder
impl AssociateTrafficDistributionGroupUserFluentBuilder
sourcepub fn as_input(&self) -> &AssociateTrafficDistributionGroupUserInputBuilder
pub fn as_input(&self) -> &AssociateTrafficDistributionGroupUserInputBuilder
Access the AssociateTrafficDistributionGroupUser as a reference.
sourcepub async fn send(
self
) -> Result<AssociateTrafficDistributionGroupUserOutput, SdkError<AssociateTrafficDistributionGroupUserError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateTrafficDistributionGroupUserOutput, SdkError<AssociateTrafficDistributionGroupUserError, 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 async fn customize(
self
) -> Result<CustomizableOperation<AssociateTrafficDistributionGroupUserOutput, AssociateTrafficDistributionGroupUserError, Self>, SdkError<AssociateTrafficDistributionGroupUserError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AssociateTrafficDistributionGroupUserOutput, AssociateTrafficDistributionGroupUserError, Self>, SdkError<AssociateTrafficDistributionGroupUserError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn traffic_distribution_group_id(self, input: impl Into<String>) -> Self
pub fn traffic_distribution_group_id(self, input: impl Into<String>) -> Self
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn set_traffic_distribution_group_id(self, input: Option<String>) -> Self
pub fn set_traffic_distribution_group_id(self, input: Option<String>) -> Self
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn get_traffic_distribution_group_id(&self) -> &Option<String>
pub fn get_traffic_distribution_group_id(&self) -> &Option<String>
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user account. This can be the ID or the ARN of the user.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user account. This can be the ID or the ARN of the user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier of the user account. This can be the ID or the ARN of the user.
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.
Trait Implementations§
source§impl Clone for AssociateTrafficDistributionGroupUserFluentBuilder
impl Clone for AssociateTrafficDistributionGroupUserFluentBuilder
source§fn clone(&self) -> AssociateTrafficDistributionGroupUserFluentBuilder
fn clone(&self) -> AssociateTrafficDistributionGroupUserFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more