public OrganizationRecommendation withType(RecommendationType type) {
        this.type = type.toString();
        return this;
    }
<p>
Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
</p>

@param type
       Whether the Recommendation was automated or generated by AWS Trusted Advisor Priority
@return Returns a reference to this object so that method calls can be chained together.
@see RecommendationType
aws-java-sdk-trustedadvisor/src/main/java/com/amazonaws/services/trustedadvisor/model/OrganizationRecommendation.java