@CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("MetricStatus", "type");
            }
            this.type = type;
            return this;
        }
@return type is the type of metric source.  It will be one of &#34;Object&#34;, &#34;Pods&#34; or &#34;Resource&#34;, each corresponds to a matching field in the object.
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta2/outputs/MetricStatus.java