public Optional<Output<String>> apiVersion() {
        return Optional.ofNullable(this.apiVersion);
    }
@return apiVersion is the API version of the referent
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/CrossVersionObjectReferenceArgs.java