public Ec2InstanceSavingsPlans withCostCalculation(SavingsPlansCostCalculation costCalculation) {
        setCostCalculation(costCalculation);
        return this;
    }
<p>
Cost impact of the Savings Plans purchase recommendation.
</p>

@param costCalculation
       Cost impact of the Savings Plans purchase recommendation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/Ec2InstanceSavingsPlans.java