public CapacityReservationSpecification getCapacityReservationSpecification() {
        return this.capacityReservationSpecification;
    }
<p>
Information about the Capacity Reservation targeting option. If you do not specify this parameter, the instance's
Capacity Reservation preference defaults to <code>open</code>, which enables it to run in any open Capacity
Reservation that has matching attributes (instance type, platform, Availability Zone).
</p>

@return Information about the Capacity Reservation targeting option. If you do not specify this parameter, the
        instance's Capacity Reservation preference defaults to <code>open</code>, which enables it to run in any
        open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RunInstancesRequest.java