Class CfnDeploymentGroup.LoadBalancerInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.LoadBalancerInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroup.LoadBalancerInfoProperty>
- Enclosing interface:
CfnDeploymentGroup.LoadBalancerInfoProperty
@Stability(Stable)
public static final class CfnDeploymentGroup.LoadBalancerInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroup.LoadBalancerInfoProperty>
A builder for
CfnDeploymentGroup.LoadBalancerInfoProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.elbInfoList
(List<? extends Object> elbInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getElbInfoList()
elbInfoList
(IResolvable elbInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getElbInfoList()
targetGroupInfoList
(List<? extends Object> targetGroupInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupInfoList()
targetGroupInfoList
(IResolvable targetGroupInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupInfoList()
targetGroupPairInfoList
(List<? extends Object> targetGroupPairInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupPairInfoList()
targetGroupPairInfoList
(IResolvable targetGroupPairInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupPairInfoList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elbInfoList
@Stability(Stable) public CfnDeploymentGroup.LoadBalancerInfoProperty.Builder elbInfoList(IResolvable elbInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getElbInfoList()
- Parameters:
elbInfoList
- 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.
- Returns:
this
-
elbInfoList
@Stability(Stable) public CfnDeploymentGroup.LoadBalancerInfoProperty.Builder elbInfoList(List<? extends Object> elbInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getElbInfoList()
- Parameters:
elbInfoList
- 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.
- Returns:
this
-
targetGroupInfoList
@Stability(Stable) public CfnDeploymentGroup.LoadBalancerInfoProperty.Builder targetGroupInfoList(IResolvable targetGroupInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupInfoList()
- Parameters:
targetGroupInfoList
- 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.
- Returns:
this
-
targetGroupInfoList
@Stability(Stable) public CfnDeploymentGroup.LoadBalancerInfoProperty.Builder targetGroupInfoList(List<? extends Object> targetGroupInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupInfoList()
- Parameters:
targetGroupInfoList
- 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.
- Returns:
this
-
targetGroupPairInfoList
@Stability(Stable) public CfnDeploymentGroup.LoadBalancerInfoProperty.Builder targetGroupPairInfoList(IResolvable targetGroupPairInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupPairInfoList()
- Parameters:
targetGroupPairInfoList
-CfnDeploymentGroup.LoadBalancerInfoProperty.TargetGroupPairInfoList
.- Returns:
this
-
targetGroupPairInfoList
@Stability(Stable) public CfnDeploymentGroup.LoadBalancerInfoProperty.Builder targetGroupPairInfoList(List<? extends Object> targetGroupPairInfoList) Sets the value ofCfnDeploymentGroup.LoadBalancerInfoProperty.getTargetGroupPairInfoList()
- Parameters:
targetGroupPairInfoList
-CfnDeploymentGroup.LoadBalancerInfoProperty.TargetGroupPairInfoList
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroup.LoadBalancerInfoProperty>
- Returns:
- a new instance of
CfnDeploymentGroup.LoadBalancerInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-