public ELBInfo withName(String name) {
        setName(name);
        return this;
    }
<p>
For blue/green deployments, the name of the Classic Load Balancer that is used to route traffic from original
instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the Classic
Load Balancer 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 Classic Load Balancer that is used to route traffic from
       original instances to replacement instances in a blue/green deployment. For in-place deployments, the name
       of the Classic Load Balancer that instances are deregistered from so they are not serving traffic during a
       deployment, and then re-registered with after the deployment is complete.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/ELBInfo.java