public SavingsPlan withCurrency(CurrencyCode currency) {
        this.currency = currency.toString();
        return this;
    }
<p>
The currency.
</p>

@param currency
       The currency.
@return Returns a reference to this object so that method calls can be chained together.
@see CurrencyCode
aws-java-sdk-savingsplans/src/main/java/com/amazonaws/services/savingsplans/model/SavingsPlan.java