@Override
    public ModifyInstanceCapacityReservationAttributesResult modifyInstanceCapacityReservationAttributes(
            ModifyInstanceCapacityReservationAttributesRequest request) {
        request = beforeClientExecution(request);
        return executeModifyInstanceCapacityReservationAttributes(request);
    }
<p>
Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an instance to
target a specific Capacity Reservation, run in any <code>open</code> Capacity Reservation with matching
attributes, or run On-Demand Instance capacity.
</p>

@param modifyInstanceCapacityReservationAttributesRequest
@return Result of the ModifyInstanceCapacityReservationAttributes operation returned by the service.
@sample AmazonEC2.ModifyInstanceCapacityReservationAttributes
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCapacityReservationAttributes"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java