public GetTemplateResult withStagesAvailable(java.util.Collection<String> stagesAvailable) {
        setStagesAvailable(stagesAvailable);
        return this;
    }
<p>
The stage of the template that you can retrieve. For stacks, the <code>Original</code> and <code>Processed</code>
templates are always available. For change sets, the <code>Original</code> template is always available. After
CloudFormation finishes creating the change set, the <code>Processed</code> template becomes available.
</p>

@param stagesAvailable
       The stage of the template that you can retrieve. For stacks, the <code>Original</code> and
       <code>Processed</code> templates are always available. For change sets, the <code>Original</code> template
       is always available. After CloudFormation finishes creating the change set, the <code>Processed</code>
       template becomes available.
@return Returns a reference to this object so that method calls can be chained together.
@see TemplateStage
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/GetTemplateResult.java