Interface TargetGroupPairInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetGroupPairInfo.Builder,
,TargetGroupPairInfo> SdkBuilder<TargetGroupPairInfo.Builder,
,TargetGroupPairInfo> SdkPojo
- Enclosing class:
TargetGroupPairInfo
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.prodTrafficRoute
(TrafficRoute prodTrafficRoute) The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.targetGroups
(Collection<TargetGroupInfo> targetGroups) One pair of target groups.targetGroups
(Consumer<TargetGroupInfo.Builder>... targetGroups) One pair of target groups.targetGroups
(TargetGroupInfo... targetGroups) One pair of target groups.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.testTrafficRoute
(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, sdkFields
-
Method Details
-
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
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
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.Builder
avoiding the need to create one manually viaTargetGroupInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetGroups(List<TargetGroupInfo>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaTrafficRoute.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaTrafficRoute.builder()
.When the
Consumer
completes,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:
-