public AnomalyMonitor withMonitorSpecification(Expression monitorSpecification) {
        setMonitorSpecification(monitorSpecification);
        return this;
    }
@param monitorSpecification
@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/AnomalyMonitor.java