@CustomType.Setter
        public Builder metric(MetricIdentifier metric) {
            if (metric == null) {
              throw new MissingRequiredPropertyException("ObjectMetricSource", "metric");
            }
            this.metric = metric;
            return this;
        }
@return target specifies the target value for the given metric
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta2/outputs/ObjectMetricSource.java