code: public java.util.List<String> getResourceTypes() {
          if (resourceTypes == null) {
              resourceTypes = new com.amazonaws.internal.SdkInternalList<String>();
          }
          return resourceTypes;
      }
docs: <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>.