Interface LoadBalancerInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoadBalancerInfo.Builder,
,LoadBalancerInfo> SdkBuilder<LoadBalancerInfo.Builder,
,LoadBalancerInfo> SdkPojo
- Enclosing class:
LoadBalancerInfo
-
Method Summary
Modifier and TypeMethodDescriptionelbInfoList
(Collection<ELBInfo> elbInfoList) An array that contains information about the load balancers to use for load balancing in a deployment.elbInfoList
(Consumer<ELBInfo.Builder>... elbInfoList) An array that contains information about the load balancers to use for load balancing in a deployment.elbInfoList
(ELBInfo... elbInfoList) An array that contains information about the load balancers to use for load balancing in a deployment.targetGroupInfoList
(Collection<TargetGroupInfo> targetGroupInfoList) An array that contains information about the target groups to use for load balancing in a deployment.targetGroupInfoList
(Consumer<TargetGroupInfo.Builder>... targetGroupInfoList) An array that contains information about the target groups to use for load balancing in a deployment.targetGroupInfoList
(TargetGroupInfo... targetGroupInfoList) An array that contains information about the target groups to use for load balancing in a deployment.targetGroupPairInfoList
(Collection<TargetGroupPairInfo> targetGroupPairInfoList) The target group pair information.targetGroupPairInfoList
(Consumer<TargetGroupPairInfo.Builder>... targetGroupPairInfoList) The target group pair information.targetGroupPairInfoList
(TargetGroupPairInfo... targetGroupPairInfoList) The target group pair information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
elbInfoList
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.- Parameters:
elbInfoList
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elbInfoList
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.- Parameters:
elbInfoList
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elbInfoList
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.ELBInfo.Builder
avoiding the need to create one manually viaELBInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelbInfoList(List<ELBInfo>)
.- Parameters:
elbInfoList
- a consumer that will call methods onELBInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetGroupInfoList
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.- Parameters:
targetGroupInfoList
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupInfoList
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.- Parameters:
targetGroupInfoList
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupInfoList
LoadBalancerInfo.Builder targetGroupInfoList(Consumer<TargetGroupInfo.Builder>... targetGroupInfoList) 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.TargetGroupInfo.Builder
avoiding the need to create one manually viaTargetGroupInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetGroupInfoList(List<TargetGroupInfo>)
.- Parameters:
targetGroupInfoList
- a consumer that will call methods onTargetGroupInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetGroupPairInfoList
LoadBalancerInfo.Builder targetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList) The target group pair information. This is an array of
TargeGroupPairInfo
objects with a maximum size of one.- Parameters:
targetGroupPairInfoList
- The target group pair information. This is an array ofTargeGroupPairInfo
objects with a maximum size of one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupPairInfoList
The target group pair information. This is an array of
TargeGroupPairInfo
objects with a maximum size of one.- Parameters:
targetGroupPairInfoList
- The target group pair information. This is an array ofTargeGroupPairInfo
objects with a maximum size of one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupPairInfoList
LoadBalancerInfo.Builder targetGroupPairInfoList(Consumer<TargetGroupPairInfo.Builder>... targetGroupPairInfoList) The target group pair information. This is an array of
This is a convenience method that creates an instance of theTargeGroupPairInfo
objects with a maximum size of one.TargetGroupPairInfo.Builder
avoiding the need to create one manually viaTargetGroupPairInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetGroupPairInfoList(List<TargetGroupPairInfo>)
.- Parameters:
targetGroupPairInfoList
- a consumer that will call methods onTargetGroupPairInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-