Struct aws_sdk_codedeploy::model::load_balancer_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LoadBalancerInfo
.
Implementations§
source§impl Builder
impl Builder
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
.