Package com.oracle.bmc.filestorage.model
Class LdapIdmap.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.LdapIdmap.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LdapIdmap
build()
LdapIdmap.Builder
cacheLifetimeSeconds(Integer cacheLifetimeSeconds)
The maximum amount of time the mount target is allowed to use a cached entry.LdapIdmap.Builder
cacheRefreshIntervalSeconds(Integer cacheRefreshIntervalSeconds)
The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.LdapIdmap.Builder
copy(LdapIdmap model)
LdapIdmap.Builder
groupSearchBase(String groupSearchBase)
All LDAP searches are recursive starting at this group.LdapIdmap.Builder
negativeCacheLifetimeSeconds(Integer negativeCacheLifetimeSeconds)
The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.LdapIdmap.Builder
outboundConnector1Id(String outboundConnector1Id)
The OCID of the first connector to use to communicate with the LDAP server.LdapIdmap.Builder
outboundConnector2Id(String outboundConnector2Id)
The OCID of the second connector to use to communicate with the LDAP server.LdapIdmap.Builder
schemaType(LdapIdmap.SchemaType schemaType)
Schema type of the LDAP account.LdapIdmap.Builder
userSearchBase(String userSearchBase)
All LDAP searches are recursive starting at this user.
-
-
-
Method Detail
-
schemaType
public LdapIdmap.Builder schemaType(LdapIdmap.SchemaType schemaType)
Schema type of the LDAP account.- Parameters:
schemaType
- the value to set- Returns:
- this builder
-
cacheRefreshIntervalSeconds
public LdapIdmap.Builder cacheRefreshIntervalSeconds(Integer cacheRefreshIntervalSeconds)
The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.- Parameters:
cacheRefreshIntervalSeconds
- the value to set- Returns:
- this builder
-
cacheLifetimeSeconds
public LdapIdmap.Builder cacheLifetimeSeconds(Integer cacheLifetimeSeconds)
The maximum amount of time the mount target is allowed to use a cached entry.- Parameters:
cacheLifetimeSeconds
- the value to set- Returns:
- this builder
-
negativeCacheLifetimeSeconds
public LdapIdmap.Builder negativeCacheLifetimeSeconds(Integer negativeCacheLifetimeSeconds)
The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.- Parameters:
negativeCacheLifetimeSeconds
- the value to set- Returns:
- this builder
-
userSearchBase
public LdapIdmap.Builder userSearchBase(String userSearchBase)
All LDAP searches are recursive starting at this user.Example: CN=User,DC=domain,DC=com
- Parameters:
userSearchBase
- the value to set- Returns:
- this builder
-
groupSearchBase
public LdapIdmap.Builder groupSearchBase(String groupSearchBase)
All LDAP searches are recursive starting at this group.Example: CN=Group,DC=domain,DC=com
- Parameters:
groupSearchBase
- the value to set- Returns:
- this builder
-
outboundConnector1Id
public LdapIdmap.Builder outboundConnector1Id(String outboundConnector1Id)
The OCID of the first connector to use to communicate with the LDAP server.- Parameters:
outboundConnector1Id
- the value to set- Returns:
- this builder
-
outboundConnector2Id
public LdapIdmap.Builder outboundConnector2Id(String outboundConnector2Id)
The OCID of the second connector to use to communicate with the LDAP server.- Parameters:
outboundConnector2Id
- the value to set- Returns:
- this builder
-
build
public LdapIdmap build()
-
copy
public LdapIdmap.Builder copy(LdapIdmap model)
-
-