public ObjectMetricSourceArgs build() {
            if ($.metricName == null) {
                throw new MissingRequiredPropertyException("ObjectMetricSourceArgs", "metricName");
            }
            if ($.target == null) {
                throw new MissingRequiredPropertyException("ObjectMetricSourceArgs", "target");
            }
            if ($.targetValue == null) {
                throw new MissingRequiredPropertyException("ObjectMetricSourceArgs", "targetValue");
            }
            return $;
        }
@param targetValue targetValue is the target value of the metric (as a quantity).

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta1/inputs/ObjectMetricSourceArgs.java