public ManagedScaling withStatus(ManagedScalingStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
Determines whether to use managed scaling for the capacity provider.
</p>

@param status
       Determines whether to use managed scaling for the capacity provider.
@return Returns a reference to this object so that method calls can be chained together.
@see ManagedScalingStatus
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ManagedScaling.java