public void setTotalTargetCapacity(Integer totalTargetCapacity) {
        this.totalTargetCapacity = totalTargetCapacity;
    }
<p>
The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with
the instance type weights that you assign to each instance type used by the Fleet determine the number of
instances for which the Fleet reserves capacity. Both values are based on units that make sense for your
workload. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
capacity</a> in the <i>Amazon EC2 User Guide</i>.
</p>

@param totalTargetCapacity
       The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together
       with the instance type weights that you assign to each instance type used by the Fleet determine the
       number of instances for which the Fleet reserves capacity. Both values are based on units that make sense
       for your workload. For more information, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total
       target capacity</a> in the <i>Amazon EC2 User Guide</i>.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateCapacityReservationFleetRequest.java