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 ==.impl StructuralPartialEq for GetTrafficDistributionInputBuilder
Auto Trait Implementations§
impl Freeze for GetTrafficDistributionInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more