public Recommendation withPattern(Pattern pattern) {
        setPattern(pattern);
        return this;
    }
<p>
The pattern that analysis recognized in the profile to make this recommendation.
</p>

@param pattern
       The pattern that analysis recognized in the profile to make this recommendation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/Recommendation.java