public void setAllocationStrategy(String allocationStrategy) {
        this.allocationStrategy = allocationStrategy;
    }
<p>
The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use.
Currently, only the <code>prioritized</code> allocation strategy is supported. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation
strategy</a> in the <i>Amazon EC2 User Guide</i>.
</p>
<p>
Valid values: <code>prioritized</code>
</p>

@param allocationStrategy
       The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to
       use. Currently, only the <code>prioritized</code> allocation strategy is supported. For more information,
       see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy">
       Allocation strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
       <p>
       Valid values: <code>prioritized</code>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateCapacityReservationFleetRequest.java