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