This isn't necessary. Validation only occurs on write, and these are read-only. Also, if it were writable, the default validation for an attribute with this config would be the same as  NOT_NULL_STRING_LENGTH_ONE_VALIDATOR.