public RecommendationTemplate withNeedsReplacements(Boolean needsReplacements) {
        setNeedsReplacements(needsReplacements);
        return this;
    }
<p>
Indicates if replacements are needed.
</p>

@param needsReplacements
       Indicates if replacements are needed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/RecommendationTemplate.java