public Service withPendingCount(Integer pendingCount) {
        setPendingCount(pendingCount);
        return this;
    }
<p>
The number of tasks in the cluster that are in the <code>PENDING</code> state.
</p>

@param pendingCount
       The number of tasks in the cluster that are in the <code>PENDING</code> state.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Service.java