#[non_exhaustive]pub struct TrafficDistributionGroupSummaryBuilder { /* private fields */ }
Expand description
A builder for TrafficDistributionGroupSummary
.
Implementations§
source§impl TrafficDistributionGroupSummaryBuilder
impl TrafficDistributionGroupSummaryBuilder
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.
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 arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the traffic distribution group.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the traffic distribution group.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the traffic distribution group.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the traffic distribution group.
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the traffic distribution group.
sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the traffic distribution group.
sourcepub fn status(self, input: TrafficDistributionGroupStatus) -> Self
pub fn status(self, input: TrafficDistributionGroupStatus) -> Self
The status of the traffic distribution group.
-
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
sourcepub fn set_status(self, input: Option<TrafficDistributionGroupStatus>) -> Self
pub fn set_status(self, input: Option<TrafficDistributionGroupStatus>) -> Self
The status of the traffic distribution group.
-
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
sourcepub fn build(self) -> TrafficDistributionGroupSummary
pub fn build(self) -> TrafficDistributionGroupSummary
Consumes the builder and constructs a TrafficDistributionGroupSummary
.
Trait Implementations§
source§impl Clone for TrafficDistributionGroupSummaryBuilder
impl Clone for TrafficDistributionGroupSummaryBuilder
source§fn clone(&self) -> TrafficDistributionGroupSummaryBuilder
fn clone(&self) -> TrafficDistributionGroupSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TrafficDistributionGroupSummaryBuilder
impl Default for TrafficDistributionGroupSummaryBuilder
source§fn default() -> TrafficDistributionGroupSummaryBuilder
fn default() -> TrafficDistributionGroupSummaryBuilder
source§impl PartialEq<TrafficDistributionGroupSummaryBuilder> for TrafficDistributionGroupSummaryBuilder
impl PartialEq<TrafficDistributionGroupSummaryBuilder> for TrafficDistributionGroupSummaryBuilder
source§fn eq(&self, other: &TrafficDistributionGroupSummaryBuilder) -> bool
fn eq(&self, other: &TrafficDistributionGroupSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.