Package com.vmware.nsx_policy.model
Class IdentitySourceLdapServerEndpoint.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdentitySourceLdapServerEndpoint.Builder
-
- Enclosing class:
- IdentitySourceLdapServerEndpoint
public static final class IdentitySourceLdapServerEndpoint.Builder extends java.lang.Object
Builder class forIdentitySourceLdapServerEndpoint
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIdentitySourceLdapServerEndpoint
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentitySourceLdapServerEndpoint
build()
IdentitySourceLdapServerEndpoint.Builder
setUrl(java.lang.String url)
The URL for the LDAP server.IdentitySourceLdapServerEndpoint.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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdentitySourceLdapServerEndpoint
.
-
-
Method Detail
-
setUrl
public IdentitySourceLdapServerEndpoint.Builder setUrl(java.lang.String url)
The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.- Parameters:
url
- New value for the property.
-
setUseStarttls
public IdentitySourceLdapServerEndpoint.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. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.- Parameters:
useStarttls
- New value for the property.
-
build
public IdentitySourceLdapServerEndpoint build()
-
-