public ResourceMetricStatusArgs build() {
            if ($.current == null) {
                throw new MissingRequiredPropertyException("ResourceMetricStatusArgs", "current");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ResourceMetricStatusArgs", "name");
            }
            return $;
        }
@param name Name is the name of the resource in question.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2beta2/inputs/ResourceMetricStatusArgs.java