public void setIsPreferred(Boolean isPreferred) {
        this.isPreferred = isPreferred;
    }
<p>
Set to true if the recommendation is set as preferred.
</p>

@param isPreferred
       Set to true if the recommendation is set as preferred.
aws-java-sdk-migrationhubstrategyrecommendations/src/main/java/com/amazonaws/services/migrationhubstrategyrecommendations/model/ApplicationComponentStrategy.java