public Optional<Output<CustomResourceValidationArgs>> validation() {
        return Optional.ofNullable(this.validation);
    }
@return validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive.
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1beta1/inputs/CustomResourceDefinitionSpecArgs.java