///GENMHASH:99B5E6539BC68E39ACAB01EEC7575486:175426222378DAACFA1C214E2C05A68B public MetricAlertConditionImpl WithCondition(MetricAlertRuleCondition condition, MetricAlertRuleTimeAggregation timeAggregation, double threshold) { this.Inner.OperatorProperty = condition.ToString(); this.Inner.TimeAggregation = timeAggregation.ToString(); this.Inner.Threshold = threshold; return(this); }