@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public final class LdapIdmap extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Mount target details about the LDAP ID mapping configuration.
Note: Objects should always be created or deserialized using the LdapIdmap.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 the LdapIdmap.Builder
, which maintain a
set of all explicitly set fields called LdapIdmap.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
LdapIdmap.Builder |
static class |
LdapIdmap.SchemaType
Schema type of the LDAP account.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
LdapIdmap(LdapIdmap.SchemaType schemaType,
Integer cacheRefreshIntervalSeconds,
Integer cacheLifetimeSeconds,
Integer negativeCacheLifetimeSeconds,
String userSearchBase,
String groupSearchBase,
String outboundConnector1Id,
String outboundConnector2Id)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LdapIdmap.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getCacheLifetimeSeconds()
The maximum amount of time the mount target is allowed to use a cached entry.
|
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.
|
String |
getGroupSearchBase()
All LDAP searches are recursive starting at this group.
|
Integer |
getNegativeCacheLifetimeSeconds()
The amount of time that a mount target will maintain information that a user is not found in
the ID mapping configuration.
|
String |
getOutboundConnector1Id()
The OCID of the
first connector to use to communicate with the LDAP server.
|
String |
getOutboundConnector2Id()
The OCID of the
second connector to use to communicate with the LDAP server.
|
LdapIdmap.SchemaType |
getSchemaType()
Schema type of the LDAP account.
|
String |
getUserSearchBase()
All LDAP searches are recursive starting at this user.
|
int |
hashCode() |
LdapIdmap.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static LdapIdmap.Builder builder()
Create a new builder.
public LdapIdmap.Builder toBuilder()
public LdapIdmap.SchemaType getSchemaType()
Schema type of the LDAP account.
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.
public Integer getCacheLifetimeSeconds()
The maximum amount of time the mount target is allowed to use a cached entry.
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.
public String getUserSearchBase()
All LDAP searches are recursive starting at this user.
Example: CN=User,DC=domain,DC=com
public String getGroupSearchBase()
All LDAP searches are recursive starting at this group.
Example: CN=Group,DC=domain,DC=com
public String getOutboundConnector1Id()
The OCID of the first connector to use to communicate with the LDAP server.
public String getOutboundConnector2Id()
The OCID of the second connector to use to communicate with the LDAP server.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.