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

      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

      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 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 targetGroups(List<TargetGroupInfo>).

      Parameters:
      targetGroups - 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:
    • 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 the TrafficRoute.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).

      Parameters:
      prodTrafficRoute - a consumer that will call methods on TrafficRoute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the TrafficRoute.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).

      Parameters:
      testTrafficRoute - a consumer that will call methods on TrafficRoute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: