Package com.oracle.bmc.filestorage.model
Class LdapIdmap
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.filestorage.model.LdapIdmap
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public final class LdapIdmap extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelMount target details about the LDAP ID mapping configuration.
Note: Objects should always be created or deserialized using theLdapIdmap.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theLdapIdmap.Builder, which maintain a set of all explicitly set fields calledLdapIdmap.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLdapIdmap.Builderstatic classLdapIdmap.SchemaTypeSchema type of the LDAP account.
-
Constructor Summary
Constructors Constructor Description LdapIdmap(LdapIdmap.SchemaType schemaType, Integer cacheRefreshIntervalSeconds, Integer cacheLifetimeSeconds, Integer negativeCacheLifetimeSeconds, String userSearchBase, String groupSearchBase, String outboundConnector1Id, String outboundConnector2Id)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LdapIdmap.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCacheLifetimeSeconds()The maximum amount of time the mount target is allowed to use a cached entry.IntegergetCacheRefreshIntervalSeconds()The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.StringgetGroupSearchBase()All LDAP searches are recursive starting at this group.IntegergetNegativeCacheLifetimeSeconds()The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.StringgetOutboundConnector1Id()The OCID of the first connector to use to communicate with the LDAP server.StringgetOutboundConnector2Id()The OCID of the second connector to use to communicate with the LDAP server.LdapIdmap.SchemaTypegetSchemaType()Schema type of the LDAP account.StringgetUserSearchBase()All LDAP searches are recursive starting at this user.inthashCode()LdapIdmap.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
LdapIdmap
@Deprecated @ConstructorProperties({"schemaType","cacheRefreshIntervalSeconds","cacheLifetimeSeconds","negativeCacheLifetimeSeconds","userSearchBase","groupSearchBase","outboundConnector1Id","outboundConnector2Id"}) public LdapIdmap(LdapIdmap.SchemaType schemaType, Integer cacheRefreshIntervalSeconds, Integer cacheLifetimeSeconds, Integer negativeCacheLifetimeSeconds, String userSearchBase, String groupSearchBase, String outboundConnector1Id, String outboundConnector2Id)
Deprecated.
-
-
Method Detail
-
builder
public static LdapIdmap.Builder builder()
Create a new builder.
-
toBuilder
public LdapIdmap.Builder toBuilder()
-
getSchemaType
public LdapIdmap.SchemaType getSchemaType()
Schema type of the LDAP account.- Returns:
- the value
-
getCacheRefreshIntervalSeconds
public Integer getCacheRefreshIntervalSeconds()
The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.- Returns:
- the value
-
getCacheLifetimeSeconds
public Integer getCacheLifetimeSeconds()
The maximum amount of time the mount target is allowed to use a cached entry.- Returns:
- the value
-
getNegativeCacheLifetimeSeconds
public Integer getNegativeCacheLifetimeSeconds()
The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.- Returns:
- the value
-
getUserSearchBase
public String getUserSearchBase()
All LDAP searches are recursive starting at this user.Example: CN=User,DC=domain,DC=com
- Returns:
- the value
-
getGroupSearchBase
public String getGroupSearchBase()
All LDAP searches are recursive starting at this group.Example: CN=Group,DC=domain,DC=com
- Returns:
- the value
-
getOutboundConnector1Id
public String getOutboundConnector1Id()
The OCID of the first connector to use to communicate with the LDAP server.- Returns:
- the value
-
getOutboundConnector2Id
public String getOutboundConnector2Id()
The OCID of the second connector to use to communicate with the LDAP server.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-