#[non_exhaustive]pub struct TrafficDistributionGroupBuilder { /* private fields */ }
Expand description
A builder for TrafficDistributionGroup
.
Implementations§
source§impl TrafficDistributionGroupBuilder
impl TrafficDistributionGroupBuilder
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the traffic distribution group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description 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).
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).
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> TrafficDistributionGroup
pub fn build(self) -> TrafficDistributionGroup
Consumes the builder and constructs a TrafficDistributionGroup
.
Trait Implementations§
source§impl Clone for TrafficDistributionGroupBuilder
impl Clone for TrafficDistributionGroupBuilder
source§fn clone(&self) -> TrafficDistributionGroupBuilder
fn clone(&self) -> TrafficDistributionGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TrafficDistributionGroupBuilder
impl Default for TrafficDistributionGroupBuilder
source§fn default() -> TrafficDistributionGroupBuilder
fn default() -> TrafficDistributionGroupBuilder
source§impl PartialEq<TrafficDistributionGroupBuilder> for TrafficDistributionGroupBuilder
impl PartialEq<TrafficDistributionGroupBuilder> for TrafficDistributionGroupBuilder
source§fn eq(&self, other: &TrafficDistributionGroupBuilder) -> bool
fn eq(&self, other: &TrafficDistributionGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.