public ObjectMetricStatusArgs build() {
            if ($.currentValue == null) {
                throw new MissingRequiredPropertyException("ObjectMetricStatusArgs", "currentValue");
            }
            if ($.metricName == null) {
                throw new MissingRequiredPropertyException("ObjectMetricStatusArgs", "metricName");
            }
            if ($.target == null) {
                throw new MissingRequiredPropertyException("ObjectMetricStatusArgs", "target");
            }
            return $;
        }
@param target target is the described Kubernetes object.

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