@CustomType.Setter
        public Builder metric(MetricIdentifier metric) {
            if (metric == null) {
              throw new MissingRequiredPropertyException("ExternalMetricStatus", "metric");
            }
            this.metric = metric;
            return this;
        }
@return metric identifies the target metric by name and selector
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta2/outputs/ExternalMetricStatus.java