public StartInstanceRefreshRequest withPreferences(RefreshPreferences preferences) {
        setPreferences(preferences);
        return this;
    }
<p>
Sets your preferences for the instance refresh so that it performs as expected when you start it. Includes the
instance warmup time, the minimum and maximum healthy percentages, and the behaviors that you want Amazon EC2
Auto Scaling to use if instances that are in <code>Standby</code> state or protected from scale in are found. You
can also choose to enable additional features, such as the following:
</p>
<ul>
<li>
<p>
Auto rollback
</p>
</li>
<li>
<p>
Checkpoints
</p>
</li>
<li>
<p>
CloudWatch alarms
</p>
</li>
<li>
<p>
Skip matching
</p>
</li>
</ul>

@param preferences
       Sets your preferences for the instance refresh so that it performs as expected when you start it. Includes
       the instance warmup time, the minimum and maximum healthy percentages, and the behaviors that you want
       Amazon EC2 Auto Scaling to use if instances that are in <code>Standby</code> state or protected from scale
       in are found. You can also choose to enable additional features, such as the following:</p>
       <ul>
       <li>
       <p>
       Auto rollback
       </p>
       </li>
       <li>
       <p>
       Checkpoints
       </p>
       </li>
       <li>
       <p>
       CloudWatch alarms
       </p>
       </li>
       <li>
       <p>
       Skip matching
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/StartInstanceRefreshRequest.java