public AutoScalingGroupProvider withManagedDraining(String managedDraining) {
        setManagedDraining(managedDraining);
        return this;
    }
<p>
The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS
manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
</p>

@param managedDraining
       The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS
       manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity
       provider.
@return Returns a reference to this object so that method calls can be chained together.
@see ManagedDraining
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/AutoScalingGroupProvider.java