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