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.
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.
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
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 GetTrafficDistributionInputBuilder
impl Default for GetTrafficDistributionInputBuilder
source§fn default() -> GetTrafficDistributionInputBuilder
fn default() -> GetTrafficDistributionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetTrafficDistributionInputBuilder> for GetTrafficDistributionInputBuilder
impl PartialEq<GetTrafficDistributionInputBuilder> for GetTrafficDistributionInputBuilder
source§fn eq(&self, other: &GetTrafficDistributionInputBuilder) -> bool
fn eq(&self, other: &GetTrafficDistributionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTrafficDistributionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetTrafficDistributionInputBuilder
impl Send for GetTrafficDistributionInputBuilder
impl Sync for GetTrafficDistributionInputBuilder
impl Unpin for GetTrafficDistributionInputBuilder
impl UnwindSafe for GetTrafficDistributionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more