public ExternalMetricStatusArgs build() {
            if ($.current == null) {
                throw new MissingRequiredPropertyException("ExternalMetricStatusArgs", "current");
            }
            if ($.metric == null) {
                throw new MissingRequiredPropertyException("ExternalMetricStatusArgs", "metric");
            }
            return $;
        }
@param metric metric identifies the target metric by name and selector

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/ExternalMetricStatusArgs.java