Package com.vmware.nsx_policy.model
Class IdentitySourceLdapServerProbeResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdentitySourceLdapServerProbeResult.Builder
-
- Enclosing class:
- IdentitySourceLdapServerProbeResult
public static final class IdentitySourceLdapServerProbeResult.Builder extends java.lang.ObjectBuilder class forIdentitySourceLdapServerProbeResult.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofIdentitySourceLdapServerProbeResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentitySourceLdapServerProbeResultbuild()IdentitySourceLdapServerProbeResult.BuildersetErrors(java.util.List<LdapProbeError> errors)Detail about errors encountered during the probe.IdentitySourceLdapServerProbeResult.BuildersetResult(java.lang.String result)Possible values are:IdentitySourceLdapServerProbeResult.RESULT_SUCCESSIdentitySourceLdapServerProbeResult.RESULT_FAILUREOverall result of the probe.IdentitySourceLdapServerProbeResult.BuildersetUrl(java.lang.String url)THe URL of the probed LDAP host.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdentitySourceLdapServerProbeResult.
-
-
Method Detail
-
setErrors
public IdentitySourceLdapServerProbeResult.Builder setErrors(java.util.List<LdapProbeError> errors)
Detail about errors encountered during the probe.- Parameters:
errors- New value for the property.
-
setResult
public IdentitySourceLdapServerProbeResult.Builder setResult(java.lang.String result)
Possible values are: Overall result of the probe. If the probe was able to connect to the LDAP service, authenticate using the provided credentials, and perform searches of the configured user and group search bases without error, the result is SUCCESS. Otherwise, the result is FAILURE, and additional details may be found in the errors property.- Parameters:
result- New value for the property.
-
setUrl
public IdentitySourceLdapServerProbeResult.Builder setUrl(java.lang.String url)
THe URL of the probed LDAP host.- Parameters:
url- New value for the property.
-
build
public IdentitySourceLdapServerProbeResult build()
-
-