Interface TargetGroupPairInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetGroupPairInfo.Builder,TargetGroupPairInfo>,SdkBuilder<TargetGroupPairInfo.Builder,TargetGroupPairInfo>,SdkPojo
- Enclosing class:
- TargetGroupPairInfo
public static interface TargetGroupPairInfo.Builder extends SdkPojo, CopyableBuilder<TargetGroupPairInfo.Builder,TargetGroupPairInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TargetGroupPairInfo.BuilderprodTrafficRoute(Consumer<TrafficRoute.Builder> prodTrafficRoute)The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.TargetGroupPairInfo.BuilderprodTrafficRoute(TrafficRoute prodTrafficRoute)The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.TargetGroupPairInfo.BuildertargetGroups(Collection<TargetGroupInfo> targetGroups)One pair of target groups.TargetGroupPairInfo.BuildertargetGroups(Consumer<TargetGroupInfo.Builder>... targetGroups)One pair of target groups.TargetGroupPairInfo.BuildertargetGroups(TargetGroupInfo... targetGroups)One pair of target groups.default TargetGroupPairInfo.BuildertestTrafficRoute(Consumer<TrafficRoute.Builder> testTrafficRoute)An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.TargetGroupPairInfo.BuildertestTrafficRoute(TrafficRoute testTrafficRoute)An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.-
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
-
targetGroups
TargetGroupPairInfo.Builder targetGroups(Collection<TargetGroupInfo> targetGroups)
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
- Parameters:
targetGroups- One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
TargetGroupPairInfo.Builder targetGroups(TargetGroupInfo... targetGroups)
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
- Parameters:
targetGroups- One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
TargetGroupPairInfo.Builder targetGroups(Consumer<TargetGroupInfo.Builder>... targetGroups)
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
This is a convenience method that creates an instance of theTargetGroupInfo.Builderavoiding the need to create one manually viaTargetGroupInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetGroups(List.) - Parameters:
targetGroups- 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:
#targetGroups(java.util.Collection)
-
prodTrafficRoute
TargetGroupPairInfo.Builder prodTrafficRoute(TrafficRoute prodTrafficRoute)
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
- Parameters:
prodTrafficRoute- The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prodTrafficRoute
default TargetGroupPairInfo.Builder prodTrafficRoute(Consumer<TrafficRoute.Builder> prodTrafficRoute)
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
This is a convenience method that creates an instance of theTrafficRoute.Builderavoiding the need to create one manually viaTrafficRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprodTrafficRoute(TrafficRoute).- Parameters:
prodTrafficRoute- a consumer that will call methods onTrafficRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
prodTrafficRoute(TrafficRoute)
-
testTrafficRoute
TargetGroupPairInfo.Builder testTrafficRoute(TrafficRoute testTrafficRoute)
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.
- Parameters:
testTrafficRoute- An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testTrafficRoute
default TargetGroupPairInfo.Builder testTrafficRoute(Consumer<TrafficRoute.Builder> testTrafficRoute)
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.
This is a convenience method that creates an instance of theTrafficRoute.Builderavoiding the need to create one manually viaTrafficRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestTrafficRoute(TrafficRoute).- Parameters:
testTrafficRoute- a consumer that will call methods onTrafficRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
testTrafficRoute(TrafficRoute)
-
-