JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codedeploy.model

Class TargetGroupPairInfo

    • Constructor Detail

      • TargetGroupPairInfo

        public TargetGroupPairInfo()
    • Method Detail

      • getTargetGroups

        public List<TargetGroupInfo> getTargetGroups()

        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:
        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.
      • setTargetGroups

        public void setTargetGroups(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.
      • withTargetGroups

        public TargetGroupPairInfo withTargetGroups(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.

        NOTE: This method appends the values to the existing list (if any). Use setTargetGroups(java.util.Collection) or withTargetGroups(java.util.Collection) if you want to override the existing values.

        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.
      • withTargetGroups

        public TargetGroupPairInfo withTargetGroups(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.
      • setProdTrafficRoute

        public void setProdTrafficRoute(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.
      • getProdTrafficRoute

        public TrafficRoute getProdTrafficRoute()

        The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.

        Returns:
        The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
      • withProdTrafficRoute

        public TargetGroupPairInfo withProdTrafficRoute(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.
      • setTestTrafficRoute

        public void setTestTrafficRoute(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.
      • getTestTrafficRoute

        public TrafficRoute getTestTrafficRoute()

        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:
        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.
      • withTestTrafficRoute

        public TargetGroupPairInfo withTestTrafficRoute(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /