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 balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList
array instead of this one.
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 balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList
array instead of this one.
sourcepub fn get_elb_info_list(&self) -> &Option<Vec<ElbInfo>>
pub fn get_elb_info_list(&self) -> &Option<Vec<ElbInfo>>
An array that contains information about the load balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList
array instead of this one.
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 groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList
array instead of this one.
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 groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList
array instead of this one.
sourcepub fn get_target_group_info_list(&self) -> &Option<Vec<TargetGroupInfo>>
pub fn get_target_group_info_list(&self) -> &Option<Vec<TargetGroupInfo>>
An array that contains information about the target groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList
array instead of this one.
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 get_target_group_pair_info_list(
&self
) -> &Option<Vec<TargetGroupPairInfo>>
pub fn get_target_group_pair_info_list( &self ) -> &Option<Vec<TargetGroupPairInfo>>
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 for LoadBalancerInfoBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for LoadBalancerInfoBuilder
Auto Trait Implementations§
impl Freeze for LoadBalancerInfoBuilder
impl RefUnwindSafe for LoadBalancerInfoBuilder
impl Send for LoadBalancerInfoBuilder
impl Sync for LoadBalancerInfoBuilder
impl Unpin for LoadBalancerInfoBuilder
impl UnwindSafe for LoadBalancerInfoBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more