public static interface TargetGroupPairInfo.Builder extends SdkPojo, CopyableBuilder<TargetGroupPairInfo.Builder,TargetGroupPairInfo>
Modifier and Type | Method and Description |
---|---|
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.
|
TargetGroupPairInfo.Builder |
prodTrafficRoute(TrafficRoute prodTrafficRoute)
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
|
TargetGroupPairInfo.Builder |
targetGroups(Collection<TargetGroupInfo> targetGroups)
One pair of target groups.
|
TargetGroupPairInfo.Builder |
targetGroups(Consumer<TargetGroupInfo.Builder>... targetGroups)
One pair of target groups.
|
TargetGroupPairInfo.Builder |
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.
|
TargetGroupPairInfo.Builder |
testTrafficRoute(TrafficRoute testTrafficRoute)
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
|
copy
applyMutation, build
TargetGroupPairInfo.Builder targetGroups(Collection<TargetGroupInfo> targetGroups)
One pair of target groups. One is associated with the original task set. The second target is associated with the task set that serves traffic after the deployment completes.
targetGroups
- One pair of target groups. One is associated with the original task set. The second target is
associated with the task set that serves traffic after the deployment completes.TargetGroupPairInfo.Builder targetGroups(TargetGroupInfo... targetGroups)
One pair of target groups. One is associated with the original task set. The second target is associated with the task set that serves traffic after the deployment completes.
targetGroups
- One pair of target groups. One is associated with the original task set. The second target is
associated with the task set that serves traffic after the deployment completes.TargetGroupPairInfo.Builder targetGroups(Consumer<TargetGroupInfo.Builder>... targetGroups)
One pair of target groups. One is associated with the original task set. The second target is associated with the task set that serves traffic after the deployment completes.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #targetGroups(List)
.targetGroups
- a consumer that will call methods on List.Builder
#targetGroups(List)
TargetGroupPairInfo.Builder prodTrafficRoute(TrafficRoute prodTrafficRoute)
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
prodTrafficRoute
- The path used by a load balancer to route production traffic when an Amazon ECS deployment is
complete.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 that creates an instance of theTrafficRoute.Builder
avoiding the need to
create one manually via TrafficRoute.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to prodTrafficRoute(TrafficRoute)
.prodTrafficRoute
- a consumer that will call methods on TrafficRoute.Builder
prodTrafficRoute(TrafficRoute)
TargetGroupPairInfo.Builder testTrafficRoute(TrafficRoute testTrafficRoute)
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can happen while test traffic is served during a deployment.
testTrafficRoute
- An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
Validation can happen while test traffic is served during a deployment.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 happen while test traffic is served during a deployment.
This is a convenience that creates an instance of theTrafficRoute.Builder
avoiding the need to
create one manually via TrafficRoute.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to testTrafficRoute(TrafficRoute)
.testTrafficRoute
- a consumer that will call methods on TrafficRoute.Builder
testTrafficRoute(TrafficRoute)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.