Nexus API scripts LDAP Validator class not found

While creating RestAPI script for LDAP change and validation , I get the error unable to resolve class at import org.sonatype.nexus.ldap.persist.entity.Validator or import org.sonatype.nexus.ldap.internal.persist.entity.Validator as per the docs Validator (org.sonatype.nexus.plugins:nexus-ldap-plugin 3.0.0-b2015061001 API)

While i am sucessfully able to import the following classes
import org.sonatype.nexus.ldap.persist.LdapConfigurationManager
import org.sonatype.nexus.ldap.persist.entity.LdapConfiguration
import org.sonatype.nexus.ldap.persist.entity.Connection

I am using OSS 3.14.0-04 , Is the class available ? or can you guide with the appropriate class. My script is to update the credentials of LDAP entry and to validate the entry.