public GetTemplateSummaryResult withWarnings(Warnings warnings) {
        setWarnings(warnings);
        return this;
    }
<p>
An object containing any warnings returned.
</p>

@param warnings
       An object containing any warnings returned.
@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/GetTemplateSummaryResult.java