public ScheduledUpdateGroupActionRequest withDesiredCapacity(Integer desiredCapacity) {
        setDesiredCapacity(desiredCapacity);
        return this;
    }
<p>
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the
capacity it attempts to maintain.
</p>

@param desiredCapacity
       The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and
       the capacity it attempts to maintain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/ScheduledUpdateGroupActionRequest.java