public java.util.List<ResourceDefinition> getResources() {
        if (resources == null) {
            resources = new com.amazonaws.internal.SdkInternalList<ResourceDefinition>();
        }
        return resources;
    }
<p>
An optional list of resources to be included in the generated template.
</p>
<p>
If no resources are specified,the template will be created without any resources. Resources can be added to the
template using the <code>UpdateGeneratedTemplate</code> API action.
</p>

@return An optional list of resources to be included in the generated template.</p>
        <p>
        If no resources are specified,the template will be created without any resources. Resources can be added
        to the template using the <code>UpdateGeneratedTemplate</code> API action.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/CreateGeneratedTemplateRequest.java