Struct aws_sdk_connect::operation::update_traffic_distribution::builders::UpdateTrafficDistributionInputBuilder
source · #[non_exhaustive]pub struct UpdateTrafficDistributionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTrafficDistributionInput
.
Implementations§
source§impl UpdateTrafficDistributionInputBuilder
impl UpdateTrafficDistributionInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn 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_id(self, input: Option<String>) -> Self
pub fn set_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_id(&self) -> &Option<String>
pub fn get_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 telephony_config(self, input: TelephonyConfig) -> Self
pub fn telephony_config(self, input: TelephonyConfig) -> Self
The distribution of traffic between the instance and its replica(s).
sourcepub fn set_telephony_config(self, input: Option<TelephonyConfig>) -> Self
pub fn set_telephony_config(self, input: Option<TelephonyConfig>) -> Self
The distribution of traffic between the instance and its replica(s).
sourcepub fn get_telephony_config(&self) -> &Option<TelephonyConfig>
pub fn get_telephony_config(&self) -> &Option<TelephonyConfig>
The distribution of traffic between the instance and its replica(s).
sourcepub fn sign_in_config(self, input: SignInConfig) -> Self
pub fn sign_in_config(self, input: SignInConfig) -> Self
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
sourcepub fn set_sign_in_config(self, input: Option<SignInConfig>) -> Self
pub fn set_sign_in_config(self, input: Option<SignInConfig>) -> Self
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
sourcepub fn get_sign_in_config(&self) -> &Option<SignInConfig>
pub fn get_sign_in_config(&self) -> &Option<SignInConfig>
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
sourcepub fn agent_config(self, input: AgentConfig) -> Self
pub fn agent_config(self, input: AgentConfig) -> Self
The distribution of agents between the instance and its replica(s).
sourcepub fn set_agent_config(self, input: Option<AgentConfig>) -> Self
pub fn set_agent_config(self, input: Option<AgentConfig>) -> Self
The distribution of agents between the instance and its replica(s).
sourcepub fn get_agent_config(&self) -> &Option<AgentConfig>
pub fn get_agent_config(&self) -> &Option<AgentConfig>
The distribution of agents between the instance and its replica(s).
sourcepub fn build(self) -> Result<UpdateTrafficDistributionInput, BuildError>
pub fn build(self) -> Result<UpdateTrafficDistributionInput, BuildError>
Consumes the builder and constructs a UpdateTrafficDistributionInput
.
source§impl UpdateTrafficDistributionInputBuilder
impl UpdateTrafficDistributionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTrafficDistributionOutput, SdkError<UpdateTrafficDistributionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTrafficDistributionOutput, SdkError<UpdateTrafficDistributionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTrafficDistributionInputBuilder
impl Clone for UpdateTrafficDistributionInputBuilder
source§fn clone(&self) -> UpdateTrafficDistributionInputBuilder
fn clone(&self) -> UpdateTrafficDistributionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateTrafficDistributionInputBuilder
impl Default for UpdateTrafficDistributionInputBuilder
source§fn default() -> UpdateTrafficDistributionInputBuilder
fn default() -> UpdateTrafficDistributionInputBuilder
source§impl PartialEq for UpdateTrafficDistributionInputBuilder
impl PartialEq for UpdateTrafficDistributionInputBuilder
source§fn eq(&self, other: &UpdateTrafficDistributionInputBuilder) -> bool
fn eq(&self, other: &UpdateTrafficDistributionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.