#[non_exhaustive]pub struct TargetGroupPairInfoBuilder { /* private fields */ }
Expand description
A builder for TargetGroupPairInfo
.
Implementations§
source§impl TargetGroupPairInfoBuilder
impl TargetGroupPairInfoBuilder
sourcepub fn target_groups(self, input: TargetGroupInfo) -> Self
pub fn target_groups(self, input: TargetGroupInfo) -> Self
Appends an item to target_groups
.
To override the contents of this collection use set_target_groups
.
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
sourcepub fn set_target_groups(self, input: Option<Vec<TargetGroupInfo>>) -> Self
pub fn set_target_groups(self, input: Option<Vec<TargetGroupInfo>>) -> Self
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
sourcepub fn get_target_groups(&self) -> &Option<Vec<TargetGroupInfo>>
pub fn get_target_groups(&self) -> &Option<Vec<TargetGroupInfo>>
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
sourcepub fn prod_traffic_route(self, input: TrafficRoute) -> Self
pub fn prod_traffic_route(self, input: TrafficRoute) -> Self
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
sourcepub fn set_prod_traffic_route(self, input: Option<TrafficRoute>) -> Self
pub fn set_prod_traffic_route(self, input: Option<TrafficRoute>) -> Self
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
sourcepub fn get_prod_traffic_route(&self) -> &Option<TrafficRoute>
pub fn get_prod_traffic_route(&self) -> &Option<TrafficRoute>
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
sourcepub fn test_traffic_route(self, input: TrafficRoute) -> Self
pub fn test_traffic_route(self, input: TrafficRoute) -> Self
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.
sourcepub fn set_test_traffic_route(self, input: Option<TrafficRoute>) -> Self
pub fn set_test_traffic_route(self, input: Option<TrafficRoute>) -> Self
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.
sourcepub fn get_test_traffic_route(&self) -> &Option<TrafficRoute>
pub fn get_test_traffic_route(&self) -> &Option<TrafficRoute>
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.
sourcepub fn build(self) -> TargetGroupPairInfo
pub fn build(self) -> TargetGroupPairInfo
Consumes the builder and constructs a TargetGroupPairInfo
.
Trait Implementations§
source§impl Clone for TargetGroupPairInfoBuilder
impl Clone for TargetGroupPairInfoBuilder
source§fn clone(&self) -> TargetGroupPairInfoBuilder
fn clone(&self) -> TargetGroupPairInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetGroupPairInfoBuilder
impl Debug for TargetGroupPairInfoBuilder
source§impl Default for TargetGroupPairInfoBuilder
impl Default for TargetGroupPairInfoBuilder
source§fn default() -> TargetGroupPairInfoBuilder
fn default() -> TargetGroupPairInfoBuilder
source§impl PartialEq for TargetGroupPairInfoBuilder
impl PartialEq for TargetGroupPairInfoBuilder
source§fn eq(&self, other: &TargetGroupPairInfoBuilder) -> bool
fn eq(&self, other: &TargetGroupPairInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.