public GetTemplateResult withTemplateBody(String templateBody) {
        setTemplateBody(templateBody);
        return this;
    }
<p>
Structure containing the template body. (For more information, go to <a
href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a>
in the <i>CloudFormation User Guide</i>.)
</p>
<p>
CloudFormation returns the same template that was used when the stack was created.
</p>

@param templateBody
       Structure containing the template body. (For more information, go to <a
       href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template
       Anatomy</a> in the <i>CloudFormation User Guide</i>.)</p>
       <p>
       CloudFormation returns the same template that was used when the stack was created.
@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/GetTemplateResult.java