public UpdateAnomalySubscriptionRequest withFrequency(AnomalySubscriptionFrequency frequency) {
        this.frequency = frequency.toString();
        return this;
    }
<p>
The update to the frequency value that subscribers receive notifications.
</p>

@param frequency
       The update to the frequency value that subscribers receive notifications.
@return Returns a reference to this object so that method calls can be chained together.
@see AnomalySubscriptionFrequency
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/UpdateAnomalySubscriptionRequest.java