Package com.oracle.bmc.filestorage.model
Class CreateLdapIdmapDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.filestorage.model.CreateLdapIdmapDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public final class CreateLdapIdmapDetails 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 theCreateLdapIdmapDetails.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 theCreateLdapIdmapDetails.Builder
, which maintain a set of all explicitly set fields calledCreateLdapIdmapDetails.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 class
CreateLdapIdmapDetails.Builder
static class
CreateLdapIdmapDetails.SchemaType
Schema type of the LDAP account.
-
Constructor Summary
Constructors Constructor Description CreateLdapIdmapDetails(CreateLdapIdmapDetails.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 CreateLdapIdmapDetails.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.CreateLdapIdmapDetails.SchemaType
getSchemaType()
Schema type of the LDAP account.String
getUserSearchBase()
All LDAP searches are recursive starting at this user.int
hashCode()
CreateLdapIdmapDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateLdapIdmapDetails
@Deprecated @ConstructorProperties({"schemaType","cacheRefreshIntervalSeconds","cacheLifetimeSeconds","negativeCacheLifetimeSeconds","userSearchBase","groupSearchBase","outboundConnector1Id","outboundConnector2Id"}) public CreateLdapIdmapDetails(CreateLdapIdmapDetails.SchemaType schemaType, Integer cacheRefreshIntervalSeconds, Integer cacheLifetimeSeconds, Integer negativeCacheLifetimeSeconds, String userSearchBase, String groupSearchBase, String outboundConnector1Id, String outboundConnector2Id)
Deprecated.
-
-
Method Detail
-
builder
public static CreateLdapIdmapDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateLdapIdmapDetails.Builder toBuilder()
-
getSchemaType
public CreateLdapIdmapDetails.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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-