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

@param anomalySubscription
       The cost anomaly subscription object that you want to create.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/CreateAnomalySubscriptionRequest.java