public RdsReservedInstancesConfiguration withUpfrontCost(String upfrontCost) {
        setUpfrontCost(upfrontCost);
        return this;
    }
<p>
How much purchasing this instance costs you upfront.
</p>

@param upfrontCost
       How much purchasing this instance costs you upfront.
@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/RdsReservedInstancesConfiguration.java