public CreateAnomalySubscriptionRequest withAnomalySubscription(AnomalySubscription anomalySubscription) {
        setAnomalySubscription(anomalySubscription);
        return this;
    }
<p>
The cost anomaly subscription object that you want to create.
</p>

@param anomalySubscription
       The cost anomaly subscription object that you want to create.
@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/CreateAnomalySubscriptionRequest.java