public PodsMetricSourceArgs build() {
            if ($.metricName == null) {
                throw new MissingRequiredPropertyException("PodsMetricSourceArgs", "metricName");
            }
            if ($.targetAverageValue == null) {
                throw new MissingRequiredPropertyException("PodsMetricSourceArgs", "targetAverageValue");
            }
            return $;
        }
@param targetAverageValue targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)

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