Interface LoadBalancerInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LoadBalancerInfo.Builder,LoadBalancerInfo>,SdkBuilder<LoadBalancerInfo.Builder,LoadBalancerInfo>,SdkPojo
- Enclosing class:
- LoadBalancerInfo
public static interface LoadBalancerInfo.Builder extends SdkPojo, CopyableBuilder<LoadBalancerInfo.Builder,LoadBalancerInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadBalancerInfo.BuilderelbInfoList(Collection<ELBInfo> elbInfoList)An array that contains information about the load balancers to use for load balancing in a deployment.LoadBalancerInfo.BuilderelbInfoList(Consumer<ELBInfo.Builder>... elbInfoList)An array that contains information about the load balancers to use for load balancing in a deployment.LoadBalancerInfo.BuilderelbInfoList(ELBInfo... elbInfoList)An array that contains information about the load balancers to use for load balancing in a deployment.LoadBalancerInfo.BuildertargetGroupInfoList(Collection<TargetGroupInfo> targetGroupInfoList)An array that contains information about the target groups to use for load balancing in a deployment.LoadBalancerInfo.BuildertargetGroupInfoList(Consumer<TargetGroupInfo.Builder>... targetGroupInfoList)An array that contains information about the target groups to use for load balancing in a deployment.LoadBalancerInfo.BuildertargetGroupInfoList(TargetGroupInfo... targetGroupInfoList)An array that contains information about the target groups to use for load balancing in a deployment.LoadBalancerInfo.BuildertargetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList)The target group pair information.LoadBalancerInfo.BuildertargetGroupPairInfoList(Consumer<TargetGroupPairInfo.Builder>... targetGroupPairInfoList)The target group pair information.LoadBalancerInfo.BuildertargetGroupPairInfoList(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
elbInfoList
LoadBalancerInfo.Builder elbInfoList(Collection<ELBInfo> 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
targetGroupInfoListarray 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
targetGroupInfoListarray instead of this one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elbInfoList
LoadBalancerInfo.Builder elbInfoList(ELBInfo... 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
targetGroupInfoListarray 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
targetGroupInfoListarray instead of this one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elbInfoList
LoadBalancerInfo.Builder elbInfoList(Consumer<ELBInfo.Builder>... 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.
This is a convenience method that creates an instance of theIf you're using Application Load Balancers or Network Load Balancers, use the
targetGroupInfoListarray instead of this one.ELBInfo.Builderavoiding the need to create one manually viaELBInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#elbInfoList(List.) - 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:
#elbInfoList(java.util.Collection)
-
targetGroupInfoList
LoadBalancerInfo.Builder targetGroupInfoList(Collection<TargetGroupInfo> 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
elbInfoListarray 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
elbInfoListarray instead of this one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupInfoList
LoadBalancerInfo.Builder targetGroupInfoList(TargetGroupInfo... 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
elbInfoListarray 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
elbInfoListarray 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.
This is a convenience method that creates an instance of theIf you're using Classic Load Balancers, use the
elbInfoListarray instead of this one.TargetGroupInfo.Builderavoiding the need to create one manually viaTargetGroupInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetGroupInfoList(List.) - 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:
#targetGroupInfoList(java.util.Collection)
-
targetGroupPairInfoList
LoadBalancerInfo.Builder targetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList)
The target group pair information. This is an array of
TargeGroupPairInfoobjects with a maximum size of one.- Parameters:
targetGroupPairInfoList- The target group pair information. This is an array ofTargeGroupPairInfoobjects 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(TargetGroupPairInfo... targetGroupPairInfoList)
The target group pair information. This is an array of
TargeGroupPairInfoobjects with a maximum size of one.- Parameters:
targetGroupPairInfoList- The target group pair information. This is an array ofTargeGroupPairInfoobjects 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 theTargeGroupPairInfoobjects with a maximum size of one.TargetGroupPairInfo.Builderavoiding the need to create one manually viaTargetGroupPairInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetGroupPairInfoList(List.) - 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:
#targetGroupPairInfoList(java.util.Collection)
-
-