public java.util.List<String> getResourceTypes() {
        if (resourceTypes == null) {
            resourceTypes = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return resourceTypes;
    }
<p>
A list of all the template resource types that are defined in the template, such as
<code>AWS::EC2::Instance</code>, <code>AWS::Dynamo::Table</code>, and <code>Custom::MyCustomInstance</code>.
</p>

@return A list of all the template resource types that are defined in the template, such as
        <code>AWS::EC2::Instance</code>, <code>AWS::Dynamo::Table</code>, and
        <code>Custom::MyCustomInstance</code>.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/GetTemplateSummaryResult.java