public StackSummary withInstancesCount(InstancesCount instancesCount) {
        setInstancesCount(instancesCount);
        return this;
    }
<p>
An <code>InstancesCount</code> object with the number of instances in each status.
</p>

@param instancesCount
       An <code>InstancesCount</code> object with the number of instances in each status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/StackSummary.java