public void setRecommendationTypes(java.util.Collection<String> recommendationTypes) {
        if (recommendationTypes == null) {
            this.recommendationTypes = null;
            return;
        }

        this.recommendationTypes = new java.util.ArrayList<String>(recommendationTypes);
    }
<p>
An array of strings that specify the recommendation template type or types.
</p>
<dl>
<dt>Alarm</dt>
<dd>
<p>
The template is an <a>AlarmRecommendation</a> template.
</p>
</dd>
<dt>Sop</dt>
<dd>
<p>
The template is a <a>SopRecommendation</a> template.
</p>
</dd>
<dt>Test</dt>
<dd>
<p>
The template is a <a>TestRecommendation</a> template.
</p>
</dd>
</dl>

@param recommendationTypes
       An array of strings that specify the recommendation template type or types.</p>
       <dl>
       <dt>Alarm</dt>
       <dd>
       <p>
       The template is an <a>AlarmRecommendation</a> template.
       </p>
       </dd>
       <dt>Sop</dt>
       <dd>
       <p>
       The template is a <a>SopRecommendation</a> template.
       </p>
       </dd>
       <dt>Test</dt>
       <dd>
       <p>
       The template is a <a>TestRecommendation</a> template.
       </p>
       </dd>
@see RenderRecommendationType
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/CreateRecommendationTemplateRequest.java