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