public OnDemandOptionsRequest withCapacityReservationOptions(CapacityReservationOptionsRequest capacityReservationOptions) {
        setCapacityReservationOptions(capacityReservationOptions);
        return this;
    }
<p>
The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
</p>
<p>
Supported only for fleets of type <code>instant</code>.
</p>

@param capacityReservationOptions
       The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.</p>
       <p>
       Supported only for fleets of type <code>instant</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/OnDemandOptionsRequest.java