public RefreshPreferences withStandbyInstances(String standbyInstances) {
        setStandbyInstances(standbyInstances);
        return this;
    }
<p>
Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances in <code>Standby</code> state are
found.
</p>
<p>
The following lists the valid values:
</p>
<dl>
<dt>Terminate</dt>
<dd>
<p>
Amazon EC2 Auto Scaling terminates instances that are in <code>Standby</code>.
</p>
</dd>
<dt>Ignore</dt>
<dd>
<p>
Amazon EC2 Auto Scaling ignores instances that are in <code>Standby</code> and continues to replace instances
that are in the <code>InService</code> state.
</p>
</dd>
<dt>Wait (default)</dt>
<dd>
<p>
Amazon EC2 Auto Scaling waits one hour for you to return the instances to service. Otherwise, the instance
refresh will fail.
</p>
</dd>
</dl>

@param standbyInstances
       Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances in <code>Standby</code>
       state are found.</p>
       <p>
       The following lists the valid values:
       </p>
       <dl>
       <dt>Terminate</dt>
       <dd>
       <p>
       Amazon EC2 Auto Scaling terminates instances that are in <code>Standby</code>.
       </p>
       </dd>
       <dt>Ignore</dt>
       <dd>
       <p>
       Amazon EC2 Auto Scaling ignores instances that are in <code>Standby</code> and continues to replace
       instances that are in the <code>InService</code> state.
       </p>
       </dd>
       <dt>Wait (default)</dt>
       <dd>
       <p>
       Amazon EC2 Auto Scaling waits one hour for you to return the instances to service. Otherwise, the instance
       refresh will fail.
       </p>
       </dd>
@return Returns a reference to this object so that method calls can be chained together.
@see StandbyInstances
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/RefreshPreferences.java