public Impact withTotalImpact(Double totalImpact) {
        setTotalImpact(totalImpact);
        return this;
    }
<p>
The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as
<code>TotalActualSpend - TotalExpectedSpend</code>.
</p>

@param totalImpact
       The cumulative dollar difference between the total actual spend and total expected spend. It is calculated
       as <code>TotalActualSpend - TotalExpectedSpend</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/Impact.java