public StrategyOption withIsPreferred(Boolean isPreferred) {
        setIsPreferred(isPreferred);
        return this;
    }
<p>
Indicates if a specific strategy is preferred for the application component.
</p>

@param isPreferred
       Indicates if a specific strategy is preferred for the application component.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhubstrategyrecommendations/src/main/java/com/amazonaws/services/migrationhubstrategyrecommendations/model/StrategyOption.java