public CrossVersionObjectReferenceArgs build() {
            if ($.kind == null) {
                throw new MissingRequiredPropertyException("CrossVersionObjectReferenceArgs", "kind");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("CrossVersionObjectReferenceArgs", "name");
            }
            return $;
        }
@param name Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

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