Interface LoadBalancerInfo.Builder

    • 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 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

        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 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

        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.

        If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList array instead of this one.

        This is a convenience method that creates an instance of the ELBInfo.Builder avoiding the need to create one manually via ELBInfo.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #elbInfoList(List).

        Parameters:
        elbInfoList - a consumer that will call methods on ELBInfo.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 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​(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 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.

        This is a convenience method that creates an instance of the TargetGroupInfo.Builder avoiding the need to create one manually via TargetGroupInfo.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #targetGroupInfoList(List).

        Parameters:
        targetGroupInfoList - a consumer that will call methods on TargetGroupInfo.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 TargeGroupPairInfo objects with a maximum size of one.

        Parameters:
        targetGroupPairInfoList - The target group pair information. This is an array of TargeGroupPairInfo 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​(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 of TargeGroupPairInfo objects with a maximum size of one.
        Returns:
        Returns a reference to this object so that method calls can be chained together.