public void setName(String name) {
        this.name = name;
    }
<p>
For blue/green deployments, the name of the target group that instances in the original environment are
deregistered from, and instances in the replacement environment are registered with. For in-place deployments,
the name of the target group that instances are deregistered from, so they are not serving traffic during a
deployment, and then re-registered with after the deployment is complete.
</p>

@param name
       For blue/green deployments, the name of the target group that instances in the original environment are
       deregistered from, and instances in the replacement environment are registered with. For in-place
       deployments, the name of the target group that instances are deregistered from, so they are not serving
       traffic during a deployment, and then re-registered with after the deployment is complete.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TargetGroupInfo.java