Struct aws_sdk_codedeploy::types::builders::LoadBalancerInfoBuilder
source · #[non_exhaustive]pub struct LoadBalancerInfoBuilder { /* private fields */ }
Expand description
A builder for LoadBalancerInfo
.
Implementations§
source§impl LoadBalancerInfoBuilder
impl LoadBalancerInfoBuilder
sourcepub fn elb_info_list(self, input: ElbInfo) -> Self
pub fn elb_info_list(self, input: ElbInfo) -> Self
Appends an item to elb_info_list
.
To override the contents of this collection use set_elb_info_list
.
An array that contains information about the load balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.
Adding more than one load balancer to the array is not supported.
sourcepub fn set_elb_info_list(self, input: Option<Vec<ElbInfo>>) -> Self
pub fn set_elb_info_list(self, input: Option<Vec<ElbInfo>>) -> Self
An array that contains information about the load balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.
Adding more than one load balancer to the array is not supported.
sourcepub fn target_group_info_list(self, input: TargetGroupInfo) -> Self
pub fn target_group_info_list(self, input: TargetGroupInfo) -> Self
Appends an item to target_group_info_list
.
To override the contents of this collection use set_target_group_info_list
.
An array that contains information about the target group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.
Adding more than one target group to the array is not supported.
sourcepub fn set_target_group_info_list(
self,
input: Option<Vec<TargetGroupInfo>>
) -> Self
pub fn set_target_group_info_list( self, input: Option<Vec<TargetGroupInfo>> ) -> Self
An array that contains information about the target group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.
Adding more than one target group to the array is not supported.
sourcepub fn target_group_pair_info_list(self, input: TargetGroupPairInfo) -> Self
pub fn target_group_pair_info_list(self, input: TargetGroupPairInfo) -> Self
Appends an item to target_group_pair_info_list
.
To override the contents of this collection use set_target_group_pair_info_list
.
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum size of one.
sourcepub fn set_target_group_pair_info_list(
self,
input: Option<Vec<TargetGroupPairInfo>>
) -> Self
pub fn set_target_group_pair_info_list( self, input: Option<Vec<TargetGroupPairInfo>> ) -> Self
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum size of one.
sourcepub fn build(self) -> LoadBalancerInfo
pub fn build(self) -> LoadBalancerInfo
Consumes the builder and constructs a LoadBalancerInfo
.
Trait Implementations§
source§impl Clone for LoadBalancerInfoBuilder
impl Clone for LoadBalancerInfoBuilder
source§fn clone(&self) -> LoadBalancerInfoBuilder
fn clone(&self) -> LoadBalancerInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerInfoBuilder
impl Debug for LoadBalancerInfoBuilder
source§impl Default for LoadBalancerInfoBuilder
impl Default for LoadBalancerInfoBuilder
source§fn default() -> LoadBalancerInfoBuilder
fn default() -> LoadBalancerInfoBuilder
source§impl PartialEq<LoadBalancerInfoBuilder> for LoadBalancerInfoBuilder
impl PartialEq<LoadBalancerInfoBuilder> for LoadBalancerInfoBuilder
source§fn eq(&self, other: &LoadBalancerInfoBuilder) -> bool
fn eq(&self, other: &LoadBalancerInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.