public Builder validation(@Nullable Output<CustomResourceValidationArgs> validation) {
            $.validation = validation;
            return this;
        }
@param validation 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.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1beta1/inputs/CustomResourceDefinitionSpecArgs.java