public RecurringCharge withFrequency(String frequency) {
        setFrequency(frequency);
        return this;
    }
<p>
The frequency of the recurring charge.
</p>

@param frequency
       The frequency of the recurring charge.
@return Returns a reference to this object so that method calls can be chained together.
@see RecurringChargeFrequency
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RecurringCharge.java