Package com.oracle.bmc.filestorage.model
Class CreateLdapIdmapDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.CreateLdapIdmapDetails.Builder
-
- Enclosing class:
- CreateLdapIdmapDetails
public static class CreateLdapIdmapDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLdapIdmapDetailsbuild()CreateLdapIdmapDetails.BuildercacheLifetimeSeconds(Integer cacheLifetimeSeconds)The maximum amount of time the mount target is allowed to use a cached entry.CreateLdapIdmapDetails.BuildercacheRefreshIntervalSeconds(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.CreateLdapIdmapDetails.Buildercopy(CreateLdapIdmapDetails model)CreateLdapIdmapDetails.BuildergroupSearchBase(String groupSearchBase)All LDAP searches are recursive starting at this group.CreateLdapIdmapDetails.BuildernegativeCacheLifetimeSeconds(Integer negativeCacheLifetimeSeconds)The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.CreateLdapIdmapDetails.BuilderoutboundConnector1Id(String outboundConnector1Id)The OCID of the first connector to use to communicate with the LDAP server.CreateLdapIdmapDetails.BuilderoutboundConnector2Id(String outboundConnector2Id)The OCID of the second connector to use to communicate with the LDAP server.CreateLdapIdmapDetails.BuilderschemaType(CreateLdapIdmapDetails.SchemaType schemaType)Schema type of the LDAP account.CreateLdapIdmapDetails.BuilderuserSearchBase(String userSearchBase)All LDAP searches are recursive starting at this user.
-
-
-
Method Detail
-
schemaType
public CreateLdapIdmapDetails.Builder schemaType(CreateLdapIdmapDetails.SchemaType schemaType)
Schema type of the LDAP account.- Parameters:
schemaType- the value to set- Returns:
- this builder
-
cacheRefreshIntervalSeconds
public CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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 CreateLdapIdmapDetails build()
-
copy
public CreateLdapIdmapDetails.Builder copy(CreateLdapIdmapDetails model)
-
-