public Output<Optional<APIServiceSpecPatch>> spec() {
        return Codegen.optional(this.spec);
    }
@return Spec contains information for locating and communicating with a server
sdk/java/src/main/java/com/pulumi/kubernetes/apiregistration/v1/APIServicePatch.java