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