public TemplateSummary withNumberOfResources(Integer numberOfResources) {
        setNumberOfResources(numberOfResources);
        return this;
    }
<p>
The number of resources in the generated template. This is a total of resources in pending, in-progress,
completed, and failed states.
</p>

@param numberOfResources
       The number of resources in the generated template. This is a total of resources in pending, in-progress,
       completed, and failed states.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/TemplateSummary.java