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 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 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<UpdateTrafficDistributionInputBuilder> for UpdateTrafficDistributionInputBuilder
impl PartialEq<UpdateTrafficDistributionInputBuilder> 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 ==
.