public static final class IdentitySourceLdapServer.Builder
extends java.lang.Object
IdentitySourceLdapServer.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
IdentitySourceLdapServer. |
| Modifier and Type | Method and Description |
|---|---|
IdentitySourceLdapServer |
build() |
IdentitySourceLdapServer.Builder |
setBindIdentity(java.lang.String bindIdentity)
A username used to authenticate to the directory when admnistering roles in NSX.
|
IdentitySourceLdapServer.Builder |
setCertificates(java.util.List<java.lang.String> certificates)
If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in
PEM format.
|
IdentitySourceLdapServer.Builder |
setEnabled(java.lang.Boolean enabled)
Allows the LDAP server to be enabled or disabled.
|
IdentitySourceLdapServer.Builder |
setPassword(java.lang.String password)
A password used when authenticating to the directory.
|
IdentitySourceLdapServer.Builder |
setUrl(java.lang.String url)
The URL for the LDAP server.
|
IdentitySourceLdapServer.Builder |
setUseStarttls(java.lang.Boolean useStarttls)
If set to true, Use the StartTLS extended operation to upgrade the connection to
TLS before sending any sensitive information.
|
public Builder()
IdentitySourceLdapServer.public IdentitySourceLdapServer.Builder setBindIdentity(java.lang.String bindIdentity)
bindIdentity - New value for the property.public IdentitySourceLdapServer.Builder setCertificates(java.util.List<java.lang.String> certificates)
certificates - New value for the property.public IdentitySourceLdapServer.Builder setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public IdentitySourceLdapServer.Builder setPassword(java.lang.String password)
password - New value for the property.public IdentitySourceLdapServer.Builder setUrl(java.lang.String url)
url - New value for the property.public IdentitySourceLdapServer.Builder setUseStarttls(java.lang.Boolean useStarttls)
useStarttls - New value for the property.public IdentitySourceLdapServer build()