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.
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 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 build(self) -> Result<UpdateTrafficDistributionInput, BuildError>
pub fn build(self) -> Result<UpdateTrafficDistributionInput, BuildError>
Consumes the builder and constructs a UpdateTrafficDistributionInput
.
Trait Implementations§
source§impl Clone for UpdateTrafficDistributionInputBuilder
impl Clone for UpdateTrafficDistributionInputBuilder
source§fn clone(&self) -> UpdateTrafficDistributionInputBuilder
fn clone(&self) -> UpdateTrafficDistributionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateTrafficDistributionInputBuilder
impl Default for UpdateTrafficDistributionInputBuilder
source§fn default() -> UpdateTrafficDistributionInputBuilder
fn default() -> UpdateTrafficDistributionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateTrafficDistributionInputBuilder> for UpdateTrafficDistributionInputBuilder
impl PartialEq<UpdateTrafficDistributionInputBuilder> for UpdateTrafficDistributionInputBuilder
source§fn eq(&self, other: &UpdateTrafficDistributionInputBuilder) -> bool
fn eq(&self, other: &UpdateTrafficDistributionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.